@opencode/core 0.0.0-dev-1032 → 0.0.0-dev-1035
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +11 -11
- package/dist/artifact.js +244 -244
- package/dist/bus.js +86 -86
- package/dist/chunks/{persistent-pty-5xfnvs9t.js → session-004vsan7.js} +93 -93
- package/dist/chunks/{persistent-pty-aj7mw0zk.js → session-034tev2y.js} +2 -2
- package/dist/chunks/{persistent-pty-cwqy654b.js → session-06ans4sc.js} +25 -25
- package/dist/chunks/{persistent-pty-zd7gysdr.js → session-07rjnbsc.js} +4 -4
- package/dist/chunks/{persistent-pty-w6a4rfzh.js → session-07xjpvws.js} +47 -47
- package/dist/chunks/{persistent-pty-dr9jq6ps.js → session-09e9vt85.js} +19 -19
- package/dist/chunks/{persistent-pty-0j7gp832.js → session-0j7gp832.js} +1 -1
- package/dist/chunks/{persistent-pty-bykntp9t.js → session-0k8n1jvn.js} +155 -155
- package/dist/chunks/{persistent-pty-0ma9gw4f.js → session-0ma9gw4f.js} +2 -2
- package/dist/chunks/{persistent-pty-xe6pezxp.js → session-0mtp185z.js} +5 -5
- package/dist/chunks/{persistent-pty-tycv7n3a.js → session-0php2d2a.js} +4 -4
- package/dist/chunks/{persistent-pty-69r9trhz.js → session-0xqb3yf3.js} +9 -9
- package/dist/chunks/{persistent-pty-05rmg206.js → session-10kj9emf.js} +5 -5
- package/dist/chunks/{persistent-pty-8q0qjtas.js → session-11praj1z.js} +10 -10
- package/dist/chunks/{persistent-pty-4ed64wak.js → session-129wp8fc.js} +11 -11
- package/dist/chunks/{persistent-pty-55g2q5p5.js → session-19gkfjnk.js} +2 -2
- package/dist/chunks/{persistent-pty-1aqsckx4.js → session-1aqsckx4.js} +1 -1
- package/dist/chunks/{persistent-pty-27w5k9zf.js → session-1ep2p91f.js} +2 -2
- package/dist/chunks/{persistent-pty-ny6mnk2g.js → session-1mtmz2ev.js} +15 -15
- package/dist/chunks/{persistent-pty-weqc7sb9.js → session-1njtx4es.js} +2 -2
- package/dist/chunks/{persistent-pty-73xb0yka.js → session-1r7pcxhb.js} +14 -14
- package/dist/chunks/{persistent-pty-msd2a3qm.js → session-1v2g13eq.js} +4 -4
- package/dist/chunks/{persistent-pty-1x2knyw4.js → session-1x2knyw4.js} +1 -1
- package/dist/chunks/{persistent-pty-fjsbg05v.js → session-214mfmz3.js} +26 -26
- package/dist/chunks/{persistent-pty-c5zvymhv.js → session-229tvxdn.js} +4 -4
- package/dist/chunks/{persistent-pty-s5zrq09q.js → session-266325jp.js} +8 -8
- package/dist/chunks/{persistent-pty-2j4fkh89.js → session-2b0ppgdm.js} +23 -23
- package/dist/chunks/{persistent-pty-2fc7eemy.js → session-2fc7eemy.js} +1 -1
- package/dist/chunks/{persistent-pty-99dq7pwz.js → session-2hstjc24.js} +18 -18
- package/dist/chunks/{persistent-pty-gvm60899.js → session-2nfgxt3t.js} +32 -32
- package/dist/chunks/{persistent-pty-2p60zmnr.js → session-2p60zmnr.js} +2 -2
- package/dist/chunks/{persistent-pty-n18yd1gk.js → session-2y650p2w.js} +7 -7
- package/dist/chunks/{persistent-pty-av2grgkj.js → session-30xjqf5d.js} +3 -3
- package/dist/chunks/{persistent-pty-phrewnzr.js → session-33jayjx7.js} +18 -18
- package/dist/chunks/{persistent-pty-ms3ackzp.js → session-39xny0z1.js} +7 -7
- package/dist/chunks/{persistent-pty-3hepkmqq.js → session-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-61c202f5.js → session-3hhxy6qe.js} +7 -7
- package/dist/chunks/{persistent-pty-3nnrz6f6.js → session-3nnrz6f6.js} +1 -1
- package/dist/chunks/{persistent-pty-r17fbvme.js → session-3qgwywyc.js} +4 -4
- package/dist/chunks/{persistent-pty-xmx7xj34.js → session-3ryz99p0.js} +4 -4
- package/dist/chunks/{persistent-pty-40y6dtc2.js → session-40y6dtc2.js} +1 -1
- package/dist/chunks/{persistent-pty-yz7qpr75.js → session-411pd3fp.js} +6 -6
- package/dist/chunks/{persistent-pty-44pmzq9c.js → session-44pmzq9c.js} +2 -2
- package/dist/chunks/{persistent-pty-7m7xz3kt.js → session-4585399y.js} +33 -33
- package/dist/chunks/{persistent-pty-ar7zn80h.js → session-48yjr85p.js} +27 -27
- package/dist/chunks/{persistent-pty-jrfjmkz9.js → session-4ab527s9.js} +22 -22
- package/dist/chunks/{persistent-pty-gaczjh3k.js → session-4cza9xhs.js} +25 -25
- package/dist/chunks/{persistent-pty-4dx1dgte.js → session-4dx1dgte.js} +1 -1
- package/dist/chunks/{persistent-pty-rmy5batf.js → session-4jk35adj.js} +2 -2
- package/dist/chunks/{persistent-pty-4tkbxcjd.js → session-4jqbg0vq.js} +13 -13
- package/dist/chunks/{persistent-pty-8xb43s2n.js → session-4pk3sz26.js} +11 -11
- package/dist/chunks/{persistent-pty-4pyp9zr9.js → session-4pyp9zr9.js} +1 -1
- package/dist/chunks/{persistent-pty-4v008n1t.js → session-4v008n1t.js} +1 -1
- package/dist/chunks/{persistent-pty-wxs8n6r9.js → session-4wtmbywt.js} +12 -12
- package/dist/chunks/{persistent-pty-xnrb1esw.js → session-4yk136rf.js} +80 -80
- package/dist/chunks/{persistent-pty-fmdh6ntc.js → session-5404s7cw.js} +9 -9
- package/dist/chunks/{persistent-pty-syht00xc.js → session-553wvx7h.js} +21 -21
- package/dist/chunks/{persistent-pty-vsn8s1db.js → session-58tb78vh.js} +11 -11
- package/dist/chunks/{persistent-pty-w8mjxz1x.js → session-5azktag2.js} +2 -2
- package/dist/chunks/{persistent-pty-y2nh019w.js → session-5bpk227z.js} +2 -2
- package/dist/chunks/{persistent-pty-4s0af25y.js → session-5bqctfzp.js} +12 -12
- package/dist/chunks/{persistent-pty-xv6pghre.js → session-5eaa87dd.js} +3 -3
- package/dist/chunks/{persistent-pty-r41sfy63.js → session-5enarcya.js} +9 -9
- package/dist/chunks/{persistent-pty-q8epvwh5.js → session-5k9nsk0k.js} +15 -15
- package/dist/chunks/{persistent-pty-5m9w47nd.js → session-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-vmxsyvj6.js → session-5n0rnk8e.js} +4 -4
- package/dist/chunks/{persistent-pty-wc1zf1mw.js → session-5vgzxpp6.js} +6 -6
- package/dist/chunks/{persistent-pty-s47rahr7.js → session-5whx36p1.js} +4 -4
- package/dist/chunks/{persistent-pty-sdwrp5t9.js → session-5xdsncsq.js} +5 -5
- package/dist/chunks/{persistent-pty-s5qqf86t.js → session-648tqgk9.js} +20 -20
- package/dist/chunks/{persistent-pty-0xt30dj7.js → session-66rjgp0a.js} +9 -9
- package/dist/chunks/{persistent-pty-ty8hj3pf.js → session-6acj9vyv.js} +6 -6
- package/dist/chunks/{persistent-pty-8z2w2hfr.js → session-6act4pnq.js} +33 -33
- package/dist/chunks/{persistent-pty-wzb0nzr7.js → session-6b8e9njp.js} +2 -2
- package/dist/chunks/{persistent-pty-y68qyc85.js → session-6bmana56.js} +46 -46
- package/dist/chunks/{persistent-pty-wsecr1wj.js → session-6c6y3bjk.js} +44 -44
- package/dist/chunks/{persistent-pty-wfd0njk8.js → session-6d7aqqgb.js} +11 -11
- package/dist/chunks/{persistent-pty-zeej7hz5.js → session-6jbkmm31.js} +29 -29
- package/dist/chunks/{persistent-pty-vwcz1f45.js → session-6y2b864j.js} +7 -7
- package/dist/chunks/{persistent-pty-90ej29g3.js → session-73yy6ya2.js} +25 -25
- package/dist/chunks/{persistent-pty-7bmhse3q.js → session-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-ta65xwbd.js → session-7hrrxk50.js} +13 -13
- package/dist/chunks/{persistent-pty-h6rfbwat.js → session-7qyc9z36.js} +9 -9
- package/dist/chunks/{persistent-pty-tg1vr1qt.js → session-7tpyp9vw.js} +4 -4
- package/dist/chunks/{persistent-pty-7w2ypzdf.js → session-7w2ypzdf.js} +1 -1
- package/dist/chunks/{persistent-pty-7weczvnd.js → session-7weczvnd.js} +1 -1
- package/dist/chunks/{persistent-pty-g6axq7c8.js → session-80m5xgxj.js} +11 -11
- package/dist/chunks/{persistent-pty-775hqbnd.js → session-80mg3ag8.js} +3 -3
- package/dist/chunks/{persistent-pty-80pdk984.js → session-80pdk984.js} +1 -1
- package/dist/chunks/{persistent-pty-85jq8dht.js → session-85jq8dht.js} +1 -1
- package/dist/chunks/{persistent-pty-7d9xhrrr.js → session-88rn1gh2.js} +5 -5
- package/dist/chunks/{persistent-pty-8a1dtk4b.js → session-898atfjq.js} +17 -17
- package/dist/chunks/{persistent-pty-8b3vzgkx.js → session-8b3vzgkx.js} +1 -1
- package/dist/chunks/{persistent-pty-q4374hh0.js → session-8g9x758g.js} +13 -13
- package/dist/chunks/{persistent-pty-ycmh1q3e.js → session-8jev9a8r.js} +7 -7
- package/dist/chunks/{persistent-pty-4xkt0fpb.js → session-8k8vqbkb.js} +11 -11
- package/dist/chunks/{persistent-pty-m3j6vy3e.js → session-8njyd3dh.js} +45 -45
- package/dist/chunks/{persistent-pty-bb3mmwvh.js → session-8sxe6kv8.js} +2 -2
- package/dist/chunks/{persistent-pty-d92j7ps2.js → session-8t0y8k1v.js} +26 -26
- package/dist/chunks/{persistent-pty-54kb3r0y.js → session-8wjggt8d.js} +14 -14
- package/dist/chunks/{persistent-pty-8wtp7s3z.js → session-8wtp7s3z.js} +1 -1
- package/dist/chunks/session-8x060fmy.js +18 -0
- package/dist/chunks/{persistent-pty-8zv0xmg5.js → session-8zv0xmg5.js} +1 -1
- package/dist/chunks/{persistent-pty-tc6a3jrq.js → session-939bh8jf.js} +5 -5
- package/dist/chunks/{persistent-pty-j95aavqs.js → session-9nrp62ew.js} +36 -36
- package/dist/chunks/{persistent-pty-v0t96s7a.js → session-9q8g9sv8.js} +4 -4
- package/dist/chunks/{persistent-pty-dbatw319.js → session-9rqfe4ad.js} +3 -3
- package/dist/chunks/{persistent-pty-kmekj7m2.js → session-9sk33afj.js} +8 -8
- package/dist/chunks/{persistent-pty-wcm5dmz2.js → session-a3cxkf77.js} +16 -16
- package/dist/chunks/{persistent-pty-g701k7s0.js → session-ad2epmmf.js} +27 -27
- package/dist/chunks/{persistent-pty-spg3d6gt.js → session-ad4d2wh0.js} +8 -8
- package/dist/chunks/{persistent-pty-m2436x33.js → session-af23tvmx.js} +25 -25
- package/dist/chunks/{persistent-pty-pm8j4n8z.js → session-afpmxkn4.js} +11 -11
- package/dist/chunks/{persistent-pty-3wy79f45.js → session-ags90a5x.js} +4 -4
- package/dist/chunks/{persistent-pty-0aepn986.js → session-akz1y9sa.js} +3 -3
- package/dist/chunks/{persistent-pty-ba2680mm.js → session-asdf7mj1.js} +4 -4
- package/dist/chunks/{persistent-pty-xw1at7cb.js → session-at0h8jc3.js} +4 -4
- package/dist/chunks/{persistent-pty-3cbjf1nt.js → session-ayjs7tqn.js} +2 -2
- package/dist/chunks/{persistent-pty-b26ddj6h.js → session-b26ddj6h.js} +4 -4
- package/dist/chunks/{persistent-pty-gkh3b8fz.js → session-b2vy73zm.js} +14 -14
- package/dist/chunks/{persistent-pty-h28t7544.js → session-b6p6zzas.js} +3 -3
- package/dist/chunks/{persistent-pty-pg1md4vx.js → session-bc1z3e6j.js} +16 -16
- package/dist/chunks/{persistent-pty-02x640a5.js → session-bc66kjyb.js} +16 -16
- package/dist/chunks/{persistent-pty-xd9cc171.js → session-bstexjd6.js} +5 -5
- package/dist/chunks/{persistent-pty-zpdbqgja.js → session-by8ty0bx.js} +4 -4
- package/dist/chunks/{persistent-pty-vyy6dw9k.js → session-c043ce66.js} +7 -7
- package/dist/chunks/{persistent-pty-2xaxmgsp.js → session-c414qtde.js} +13 -13
- package/dist/chunks/{persistent-pty-7kd3kb55.js → session-c6zpv22c.js} +18 -18
- package/dist/chunks/{persistent-pty-c7cw818c.js → session-c7cw818c.js} +2 -2
- package/dist/chunks/{persistent-pty-arjrttjv.js → session-cknfthjh.js} +27 -27
- package/dist/chunks/{persistent-pty-n8y2t71q.js → session-cqshfmb3.js} +3 -3
- package/dist/chunks/{persistent-pty-m3bwdyvc.js → session-crwcsahh.js} +20 -20
- package/dist/chunks/{persistent-pty-4g3sdj5g.js → session-ctmpqb7w.js} +9 -9
- package/dist/chunks/{persistent-pty-ebr616tk.js → session-ctst738n.js} +6 -6
- package/dist/chunks/{persistent-pty-pha4g85c.js → session-cw35tvbj.js} +14 -14
- package/dist/chunks/{persistent-pty-cwrgdav8.js → session-cwrgdav8.js} +2 -2
- package/dist/chunks/{persistent-pty-36dpt3f9.js → session-cymgxjg5.js} +13 -13
- package/dist/chunks/{persistent-pty-z51dkrce.js → session-d0kwmjpa.js} +10 -10
- package/dist/chunks/{persistent-pty-pw9jqd11.js → session-d0sv50r0.js} +36 -36
- package/dist/chunks/{persistent-pty-3aq5kzzx.js → session-d300fm4a.js} +33 -33
- package/dist/chunks/{persistent-pty-d4v9tmah.js → session-d4v9tmah.js} +2 -2
- package/dist/chunks/{persistent-pty-ggh1vzxf.js → session-d51s47ph.js} +12 -12
- package/dist/chunks/{persistent-pty-xww8vq85.js → session-d5wtkh1g.js} +25 -25
- package/dist/chunks/{persistent-pty-kj3403fm.js → session-d6htae0v.js} +14 -14
- package/dist/chunks/{persistent-pty-f33r9zn5.js → session-d6kh3mdg.js} +7 -7
- package/dist/chunks/{persistent-pty-e9f91jjt.js → session-d7h608er.js} +34 -34
- package/dist/chunks/{persistent-pty-jt10jbkf.js → session-d8ayht3b.js} +21 -21
- package/dist/chunks/{persistent-pty-50mnmyd9.js → session-db0t5ekk.js} +1 -1
- package/dist/chunks/{persistent-pty-5thev09r.js → session-dbfahj80.js} +8 -8
- package/dist/chunks/{persistent-pty-3rmaysnb.js → session-dcfy4m7g.js} +18 -18
- package/dist/chunks/{persistent-pty-qgtht8ak.js → session-dd247a9c.js} +59 -59
- package/dist/chunks/{persistent-pty-ygyn9pw1.js → session-decz40d6.js} +32 -32
- package/dist/chunks/{persistent-pty-rem7qn2m.js → session-dh1dqcs1.js} +4 -4
- package/dist/chunks/{persistent-pty-ch55aqef.js → session-drts1hv6.js} +21 -21
- package/dist/chunks/{persistent-pty-6v3nz0sg.js → session-dsk6wzvc.js} +10 -10
- package/dist/chunks/{persistent-pty-dt77769w.js → session-dt77769w.js} +1 -1
- package/dist/chunks/{persistent-pty-72ghnh0f.js → session-dx2d513j.js} +22 -22
- package/dist/chunks/{persistent-pty-xynthp8b.js → session-e174pryb.js} +8 -8
- package/dist/chunks/{persistent-pty-mqsrdytg.js → session-e2jgqnb2.js} +14 -14
- package/dist/chunks/{persistent-pty-w9w8mt4n.js → session-e45fk36t.js} +4 -4
- package/dist/chunks/{persistent-pty-yzcavgq9.js → session-e50bnvt6.js} +14 -14
- package/dist/chunks/{persistent-pty-ybd7cc9e.js → session-eh1xkk5s.js} +11 -11
- package/dist/chunks/{persistent-pty-r45nfa48.js → session-ekhvmsd2.js} +9 -9
- package/dist/chunks/{persistent-pty-wkx8cfqz.js → session-ekpkdr4c.js} +6 -6
- package/dist/chunks/{persistent-pty-eqw4pqj1.js → session-eqw4pqj1.js} +2 -2
- package/dist/chunks/session-evyxtfj4.js +35 -0
- package/dist/chunks/{persistent-pty-39j3dj9y.js → session-ez50bbzc.js} +11 -11
- package/dist/chunks/{persistent-pty-9npe7we1.js → session-f1xd2d74.js} +28 -28
- package/dist/chunks/{persistent-pty-t5n3652n.js → session-f20pwbmj.js} +29 -29
- package/dist/chunks/{persistent-pty-nd2qx06s.js → session-f2nzj6et.js} +9 -9
- package/dist/chunks/{persistent-pty-fwcjjeez.js → session-f4cstaaw.js} +47 -47
- package/dist/chunks/{persistent-pty-s2fyzqp6.js → session-f4ymwd89.js} +5 -5
- package/dist/chunks/{persistent-pty-2s9mae96.js → session-f80thpwy.js} +6 -6
- package/dist/chunks/{persistent-pty-pa83dvsw.js → session-fa8cqrb6.js} +10 -10
- package/dist/chunks/{persistent-pty-fcrd7kek.js → session-fcrd7kek.js} +1 -1
- package/dist/chunks/{persistent-pty-052w9z54.js → session-fdm9rnd4.js} +23 -23
- package/dist/chunks/{persistent-pty-gk9vpw29.js → session-fjzjq6pd.js} +11 -11
- package/dist/chunks/{persistent-pty-w0vng6zx.js → session-fptm8sga.js} +25 -25
- package/dist/chunks/{persistent-pty-cs3vapk0.js → session-fr2zrk6t.js} +23 -23
- package/dist/chunks/{persistent-pty-pev27ssz.js → session-fs8bmpa7.js} +19 -19
- package/dist/chunks/{persistent-pty-b5fbxp4f.js → session-fv1ywcqh.js} +4 -4
- package/dist/chunks/{persistent-pty-ds68585e.js → session-fyydvtbx.js} +19 -19
- package/dist/chunks/{persistent-pty-ckdg7d4d.js → session-g8skt20n.js} +43 -43
- package/dist/chunks/{persistent-pty-ysae8jbx.js → session-gag8qd9r.js} +18 -18
- package/dist/chunks/{persistent-pty-gbjdnr5j.js → session-gbjdnr5j.js} +2 -2
- package/dist/chunks/session-gdxrvgq0.js +273 -0
- package/dist/chunks/{persistent-pty-m0qw8bp9.js → session-gfssdxk4.js} +10 -10
- package/dist/chunks/{persistent-pty-ghrv1g9c.js → session-ghrv1g9c.js} +1 -1
- package/dist/chunks/{persistent-pty-b1zmcwxq.js → session-gmqpgk4x.js} +9 -9
- package/dist/chunks/{persistent-pty-vsm2qhy0.js → session-gpnjexd0.js} +45 -45
- package/dist/chunks/{persistent-pty-enbdjs5f.js → session-gr4xz3hj.js} +9 -9
- package/dist/chunks/{persistent-pty-tg7s7b5t.js → session-gxs71cxp.js} +4 -4
- package/dist/chunks/{persistent-pty-p8pjvayg.js → session-h0h32d3b.js} +3 -3
- package/dist/chunks/{persistent-pty-tyhh164w.js → session-h28kg6rh.js} +23 -23
- package/dist/chunks/{persistent-pty-axkw7k22.js → session-h2cvrfbc.js} +16 -16
- package/dist/chunks/{persistent-pty-x165wbyp.js → session-hcb80m79.js} +10 -10
- package/dist/chunks/{persistent-pty-hgzwgvze.js → session-hgzwgvze.js} +2 -2
- package/dist/chunks/{persistent-pty-7thzb1bs.js → session-hknxt8c4.js} +22 -22
- package/dist/chunks/{persistent-pty-8y4adk89.js → session-hq0c1rnk.js} +12 -12
- package/dist/chunks/{persistent-pty-99eawj82.js → session-hwkyjen6.js} +11 -11
- package/dist/chunks/{persistent-pty-0kwzp1h3.js → session-hxq9gabx.js} +4 -4
- package/dist/chunks/{persistent-pty-3h6zqhk3.js → session-j2trdzaz.js} +52 -52
- package/dist/chunks/{persistent-pty-3p3vrp57.js → session-j64r1s95.js} +35 -35
- package/dist/chunks/{persistent-pty-twhczwgq.js → session-j7j34wb0.js} +24 -24
- package/dist/chunks/{persistent-pty-z5hjdsb2.js → session-j7mncw5t.js} +35 -35
- package/dist/chunks/{persistent-pty-3c49005s.js → session-j99pe2cq.js} +41 -41
- package/dist/chunks/{persistent-pty-sgfnyq3m.js → session-jk83d3q9.js} +11 -11
- package/dist/chunks/{persistent-pty-yswt24xe.js → session-jkyac8e3.js} +5 -5
- package/dist/chunks/{persistent-pty-jm70asfg.js → session-jm70asfg.js} +1 -1
- package/dist/chunks/{persistent-pty-mj7rnnrd.js → session-jtebxeh8.js} +26 -26
- package/dist/chunks/{persistent-pty-t8erkws8.js → session-jv5ccajn.js} +5 -5
- package/dist/chunks/{persistent-pty-13s9knam.js → session-k0zef275.js} +35 -35
- package/dist/chunks/session-k3w9j0e6.js +26 -0
- package/dist/chunks/{persistent-pty-fzvzvf7m.js → session-k40n0ez3.js} +30 -30
- package/dist/chunks/{persistent-pty-yc0zpe5z.js → session-k9s2myw9.js} +12 -12
- package/dist/chunks/{persistent-pty-66bn7b26.js → session-ka0gdbz1.js} +6 -6
- package/dist/chunks/{persistent-pty-bq5mnsak.js → session-kfn62fte.js} +18 -18
- package/dist/chunks/{persistent-pty-kt3bjfbg.js → session-kt3bjfbg.js} +1 -1
- package/dist/chunks/{persistent-pty-y5ydw4mn.js → session-kwc19p6y.js} +29 -29
- package/dist/chunks/{persistent-pty-kzczzf4v.js → session-kzczzf4v.js} +1 -1
- package/dist/chunks/{persistent-pty-1q07fp1w.js → session-kze6nzna.js} +7 -7
- package/dist/chunks/{persistent-pty-m1714858.js → session-m1714858.js} +1 -1
- package/dist/chunks/{persistent-pty-qz9v9b44.js → session-m4wkk3mm.js} +12 -12
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-8z6m94af.js → session-mb7mbhnz.js} +3 -3
- package/dist/chunks/{persistent-pty-e5per85x.js → session-mm4ngpvd.js} +16 -16
- package/dist/chunks/{persistent-pty-20apqqgx.js → session-mr3tbpza.js} +19 -19
- package/dist/chunks/{persistent-pty-mjncsf6d.js → session-mt573a97.js} +20 -20
- package/dist/chunks/{persistent-pty-hj7m51sm.js → session-mx33avyk.js} +15 -15
- package/dist/chunks/{persistent-pty-0dbea112.js → session-mxzn1egb.js} +27 -27
- package/dist/chunks/{persistent-pty-j6kp0q3a.js → session-mz9snk5v.js} +4 -4
- package/dist/chunks/{persistent-pty-f6krd2ps.js → session-n0j2tacc.js} +9 -9
- package/dist/chunks/{persistent-pty-xex4k2qj.js → session-n1t648g8.js} +35 -35
- package/dist/chunks/{persistent-pty-n3j33rb6.js → session-n3j33rb6.js} +1 -1
- package/dist/chunks/{persistent-pty-vqvjgts4.js → session-nc0zb0vg.js} +40 -40
- package/dist/chunks/{persistent-pty-7wt2j25k.js → session-nqzd7fjx.js} +11 -11
- package/dist/chunks/{persistent-pty-yg04shzz.js → session-nt4h2hq7.js} +11 -11
- package/dist/chunks/{persistent-pty-bqtkhzzp.js → session-ntwg0xza.js} +5 -5
- package/dist/chunks/{persistent-pty-y9hymxjv.js → session-p03e3ka6.js} +4 -4
- package/dist/chunks/{persistent-pty-p7vhpwh8.js → session-p7vhpwh8.js} +1 -1
- package/dist/chunks/{persistent-pty-7906w3qj.js → session-pewt5hyp.js} +36 -36
- package/dist/chunks/{persistent-pty-jvna2xk7.js → session-pfkqc1qn.js} +16 -16
- package/dist/chunks/{persistent-pty-ytgt8nph.js → session-pj4vbncy.js} +17 -17
- package/dist/chunks/{persistent-pty-pknna89w.js → session-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-fg9p65nk.js → session-prq7xxp2.js} +6 -6
- package/dist/chunks/{persistent-pty-xy9cmw47.js → session-pz47eqtp.js} +41 -41
- package/dist/chunks/{persistent-pty-55mce0kc.js → session-pz8cf33p.js} +32 -32
- package/dist/chunks/{persistent-pty-67mr8n5m.js → session-pzjm16t0.js} +3 -3
- package/dist/chunks/{persistent-pty-54d1fxz7.js → session-q2ppftd2.js} +26 -26
- package/dist/chunks/{persistent-pty-q42tzrxa.js → session-q42tzrxa.js} +1 -1
- package/dist/chunks/session-q7r4dzd0.js +577 -0
- package/dist/chunks/{persistent-pty-nm6gbtbr.js → session-qawts5ky.js} +4 -4
- package/dist/chunks/{persistent-pty-529v019t.js → session-qb5hzfck.js} +32 -32
- package/dist/chunks/{persistent-pty-6nqa5c8e.js → session-qg74nxhh.js} +29 -29
- package/dist/chunks/{persistent-pty-efq2r9mz.js → session-qjfqcjef.js} +19 -19
- package/dist/chunks/{persistent-pty-qp7r0hxv.js → session-qp7r0hxv.js} +1 -1
- package/dist/chunks/{persistent-pty-gb55vkr1.js → session-qqxn877c.js} +13 -13
- package/dist/chunks/{persistent-pty-vhnx89g9.js → session-qrhraqvg.js} +6 -6
- package/dist/chunks/{persistent-pty-4f25tdd0.js → session-r542h3bh.js} +5 -5
- package/dist/chunks/{persistent-pty-rb9dy4dg.js → session-rb9dy4dg.js} +1 -1
- package/dist/chunks/{persistent-pty-qa0vgdwz.js → session-rc5gsvhr.js} +19 -19
- package/dist/chunks/{persistent-pty-9mhjgwg6.js → session-rceqhxez.js} +8 -8
- package/dist/chunks/{persistent-pty-rgc9cx3e.js → session-rgc9cx3e.js} +2 -2
- package/dist/chunks/{persistent-pty-94e33dpz.js → session-rj7jtxy8.js} +3 -3
- package/dist/chunks/{persistent-pty-q2m9hkf6.js → session-rnbfpsbe.js} +29 -29
- package/dist/chunks/{persistent-pty-nyg080gc.js → session-s8bpvz2e.js} +9 -9
- package/dist/chunks/{persistent-pty-fqzc6vv2.js → session-s8rmvscc.js} +25 -25
- package/dist/chunks/{persistent-pty-q4dd99bp.js → session-s968vkjm.js} +26 -26
- package/dist/chunks/{persistent-pty-sbya78hr.js → session-sbya78hr.js} +1 -1
- package/dist/chunks/{persistent-pty-anvcme1c.js → session-sf9y72b7.js} +4 -4
- package/dist/chunks/{persistent-pty-5m6a7xby.js → session-sq4s6wq1.js} +6 -6
- package/dist/chunks/{persistent-pty-svcy3p9a.js → session-svcy3p9a.js} +1 -1
- package/dist/chunks/{persistent-pty-ef9rmxvn.js → session-t58ysrjg.js} +10 -10
- package/dist/chunks/{persistent-pty-3c8g2tnf.js → session-t78nftqh.js} +5 -5
- package/dist/chunks/{persistent-pty-q2wvz720.js → session-tbd4er4q.js} +6 -6
- package/dist/chunks/{persistent-pty-tbpn7jtk.js → session-tbpn7jtk.js} +1 -1
- package/dist/chunks/{persistent-pty-tczq8hjw.js → session-tczq8hjw.js} +1 -1
- package/dist/chunks/{persistent-pty-tr8x705m.js → session-tr8x705m.js} +1 -1
- package/dist/chunks/{persistent-pty-9xd27y89.js → session-tsbe1gfb.js} +6 -6
- package/dist/chunks/{persistent-pty-xcj8ebhb.js → session-ttcdv07e.js} +10 -10
- package/dist/chunks/{persistent-pty-tvtps2q9.js → session-tvtps2q9.js} +1 -1
- package/dist/chunks/{persistent-pty-266besvt.js → session-tvzcr0s1.js} +16 -16
- package/dist/chunks/{persistent-pty-twssxy5n.js → session-twssxy5n.js} +2 -2
- package/dist/chunks/{persistent-pty-v2r1d0zg.js → session-v2r1d0zg.js} +1 -1
- package/dist/chunks/{persistent-pty-dkpjsqx5.js → session-v75htaq3.js} +6 -6
- package/dist/chunks/{persistent-pty-x9q7tyzk.js → session-vahc30mb.js} +11 -11
- package/dist/chunks/{persistent-pty-zkm723st.js → session-vd24h3x2.js} +15 -15
- package/dist/chunks/{persistent-pty-s5k2yxe7.js → session-ve14sg7r.js} +22 -22
- package/dist/chunks/{persistent-pty-5fv5qszf.js → session-vg8592v2.js} +10 -10
- package/dist/chunks/{persistent-pty-vjf35v1f.js → session-vjf35v1f.js} +1 -1
- package/dist/chunks/{persistent-pty-hj0xet7m.js → session-vjhrddsw.js} +5 -5
- package/dist/chunks/{persistent-pty-wzfa06mn.js → session-vmqe41cb.js} +4 -4
- package/dist/chunks/{persistent-pty-b1h36zfr.js → session-vpb4v2jf.js} +7 -7
- package/dist/chunks/{persistent-pty-zbnt2kpn.js → session-vqqj8dcy.js} +14 -14
- package/dist/chunks/{persistent-pty-02sw5z67.js → session-vt5ka884.js} +19 -19
- package/dist/chunks/{persistent-pty-1yyk7nd3.js → session-vx2sy5jh.js} +27 -27
- package/dist/chunks/{persistent-pty-ydbwe5aa.js → session-vxwy7evn.js} +7 -7
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-wakvkjy4.js → session-wakvkjy4.js} +1 -1
- package/dist/chunks/{persistent-pty-2naa2pyn.js → session-wanqqa17.js} +20 -20
- package/dist/chunks/{persistent-pty-wd87259q.js → session-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-3m0b6qpz.js → session-wdt6k690.js} +47 -47
- package/dist/chunks/{persistent-pty-nx4vzyjd.js → session-wegkxhrn.js} +2 -2
- package/dist/chunks/{persistent-pty-eyg57hv5.js → session-weh8csvj.js} +1 -1
- package/dist/chunks/{persistent-pty-wfdx5ztx.js → session-wfdx5ztx.js} +1 -1
- package/dist/chunks/{persistent-pty-9ct73esb.js → session-wjcvrq0c.js} +34 -34
- package/dist/chunks/{persistent-pty-4159fx6g.js → session-wn79rs8n.js} +39 -39
- package/dist/chunks/{persistent-pty-7csf6rvh.js → session-wq13t35g.js} +15 -15
- package/dist/chunks/{persistent-pty-wr3re1en.js → session-wr3re1en.js} +1 -1
- package/dist/chunks/{persistent-pty-ghdv7bgm.js → session-x1rw5a29.js} +16 -16
- package/dist/chunks/{persistent-pty-8xfrfp31.js → session-x6g1tf2c.js} +15 -15
- package/dist/chunks/{persistent-pty-fhsyb8a2.js → session-xaej0n6x.js} +21 -21
- package/dist/chunks/{persistent-pty-cbyt66wj.js → session-xd14w7b3.js} +2 -2
- package/dist/chunks/{persistent-pty-j5k2q35g.js → session-xgdc9yd3.js} +5 -5
- package/dist/chunks/{persistent-pty-gerka9tj.js → session-xjbsd7zy.js} +9 -9
- package/dist/chunks/{persistent-pty-tjvb8cdj.js → session-xkkxtad0.js} +9 -9
- package/dist/chunks/{persistent-pty-6dwjhfha.js → session-xpaagfnw.js} +8 -8
- package/dist/chunks/{persistent-pty-wma4bvzc.js → session-xqf2pqdp.js} +57 -57
- package/dist/chunks/{persistent-pty-kx5zn6kr.js → session-xr1yr3wg.js} +11 -11
- package/dist/chunks/{persistent-pty-yqzk7gxy.js → session-xsq9ft9s.js} +7 -7
- package/dist/chunks/{persistent-pty-d8p3t516.js → session-xsvq7cjt.js} +4 -4
- package/dist/chunks/session-xtyr0vxr.js +16 -0
- package/dist/chunks/{persistent-pty-6166w2t8.js → session-xvb81xa7.js} +11 -11
- package/dist/chunks/{persistent-pty-1ghd4wvb.js → session-xwvxhq05.js} +12 -12
- package/dist/chunks/{persistent-pty-xjr6c8m4.js → session-xxschbft.js} +4 -4
- package/dist/chunks/{persistent-pty-z1w6mwej.js → session-y7zm3j6b.js} +36 -36
- package/dist/chunks/{persistent-pty-yb20nhc3.js → session-yb20nhc3.js} +1 -1
- package/dist/chunks/{persistent-pty-m528r48h.js → session-yh1frphp.js} +4 -4
- package/dist/chunks/{persistent-pty-yr705xyq.js → session-yr705xyq.js} +1 -1
- package/dist/chunks/{persistent-pty-babktaw3.js → session-yts2a8qm.js} +4 -4
- package/dist/chunks/{persistent-pty-yvtc2x31.js → session-yvtc2x31.js} +1 -1
- package/dist/chunks/{persistent-pty-479eyxvy.js → session-ywthjcrc.js} +14 -14
- package/dist/chunks/{persistent-pty-w5f4t4jj.js → session-yx92g8n9.js} +11 -11
- package/dist/chunks/{persistent-pty-gj5mtfrs.js → session-yy75hewy.js} +39 -39
- package/dist/chunks/{persistent-pty-6kvezxzn.js → session-z58kxkzk.js} +84 -84
- package/dist/chunks/{persistent-pty-j9nxzz3g.js → session-ze75qvmd.js} +3 -3
- package/dist/chunks/{persistent-pty-xq3kv1yr.js → session-zpemznmz.js} +13 -13
- package/dist/chunks/{persistent-pty-daccadq3.js → session-zpmv3r1q.js} +29 -29
- package/dist/chunks/{persistent-pty-nw5eecxx.js → session-zzxsfh0g.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +111 -103
- package/dist/database/v1-migration.js +5 -4
- package/dist/effect/app-node-builder.js +441 -441
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +106 -106
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +135 -135
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +112 -112
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +432 -432
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +92 -92
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +86 -86
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -105
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +410 -410
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +147 -147
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +420 -420
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +99 -99
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- 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 +250 -250
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +109 -109
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +248 -248
- package/dist/session/usage.js +3 -3
- package/dist/session.js +241 -241
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +106 -106
- 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 +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +154 -154
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +154 -154
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/types/database/v1-migration.bun.d.ts +1 -1
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-4jm3sk83.js +0 -26
- package/dist/chunks/persistent-pty-a610t88q.js +0 -18
- package/dist/chunks/persistent-pty-dnk52k5g.js +0 -273
- package/dist/chunks/persistent-pty-gkb3m8fg.js +0 -16
- package/dist/chunks/persistent-pty-nnqmkxkb.js +0 -577
- package/dist/chunks/persistent-pty-qmcvqmmr.js +0 -35
- package/dist/chunks/persistent-pty-rt5dr6hb.js +0 -14
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → session-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → session-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → session-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kah00gy.js → session-1kah00gy.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → session-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → session-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → session-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → session-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → session-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → session-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4qk9sjk2.js → session-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → session-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-5w3e23ze.js → session-5w3e23ze.js} +0 -0
- /package/dist/chunks/{persistent-pty-6agm2x70.js → session-6agm2x70.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → session-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → session-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → session-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → session-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → session-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → session-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → session-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → session-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → session-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → session-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → session-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-beh6qq61.js → session-beh6qq61.js} +0 -0
- /package/dist/chunks/{persistent-pty-bhmrqjy3.js → session-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → session-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cqv5kn06.js → session-cqv5kn06.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → session-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → session-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → session-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → session-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-ean2d8b5.js → session-ean2d8b5.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → session-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → session-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → session-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → session-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → session-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fkpq3x5p.js → session-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → session-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → session-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → session-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hcxmzztb.js → session-hcxmzztb.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → session-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → session-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → session-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwr30sdr.js → session-jwr30sdr.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → session-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → session-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → session-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → session-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → session-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-nh4v3znn.js → session-nh4v3znn.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → session-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-p71gwv9c.js → session-p71gwv9c.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → session-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → session-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → session-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → session-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → session-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → session-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → session-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-syrav9an.js → session-syrav9an.js} +0 -0
- /package/dist/chunks/{persistent-pty-t03h4f5z.js → session-t03h4f5z.js} +0 -0
- /package/dist/chunks/{persistent-pty-ty7weeps.js → session-ty7weeps.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → session-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-vtarvj67.js → session-vtarvj67.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → session-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → session-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → session-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x4th4bpe.js → session-x4th4bpe.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → session-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → session-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-z0h12gs8.js → session-z0h12gs8.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → session-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → session-z9919s4g.js} +0 -0
- /package/dist/chunks/{persistent-pty-zxpyjp51.js → session-zxpyjp51.js} +0 -0
- /package/dist/chunks/{persistent-pty-zz5vv3aq.js → session-zz5vv3aq.js} +0 -0
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service92
|
|
3
|
+
} from "./session-d5wtkh1g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service88
|
|
6
|
+
} from "./session-cw35tvbj.js";
|
|
7
7
|
import {
|
|
8
8
|
Unattended2,
|
|
9
9
|
merge2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service60
|
|
11
|
+
} from "./session-gpnjexd0.js";
|
|
12
12
|
import {
|
|
13
13
|
qualifiedName2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-0xqb3yf3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service86
|
|
17
|
+
} from "./session-fs8bmpa7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service21,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./session-4cza9xhs.js";
|
|
22
22
|
import {
|
|
23
23
|
awaitActivation2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./session-8x060fmy.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service51
|
|
27
|
+
} from "./session-pz8cf33p.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service40
|
|
30
|
+
} from "./session-k0zef275.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
Service78,
|
|
33
33
|
args2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./session-nqzd7fjx.js";
|
|
35
35
|
import {
|
|
36
36
|
scan3
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./session-mz9snk5v.js";
|
|
38
38
|
import {
|
|
39
39
|
__export
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./session-9rqn6x4v.js";
|
|
41
41
|
|
|
42
42
|
// src/schedule/check.ts
|
|
43
43
|
var exports_check = {};
|
|
@@ -152,8 +152,8 @@ var wakeOutcome = (wake, state, message) => ({
|
|
|
152
152
|
...wake && message !== undefined ? { message } : {}
|
|
153
153
|
});
|
|
154
154
|
var codeActions = Effect.fnUntraced(function* (paths) {
|
|
155
|
-
const mcp = yield*
|
|
156
|
-
const tools = yield*
|
|
155
|
+
const mcp = yield* Service40;
|
|
156
|
+
const tools = yield* Service51;
|
|
157
157
|
if (paths.length > 0)
|
|
158
158
|
yield* mcp.flush;
|
|
159
159
|
const registered = yield* tools.list();
|
|
@@ -173,8 +173,8 @@ var codeActions = Effect.fnUntraced(function* (paths) {
|
|
|
173
173
|
return { tools, actions: Array.dedupe(resolved.map((tool) => tool.options?.permission ?? tool.id)) };
|
|
174
174
|
});
|
|
175
175
|
var authorizeCode = Effect.fnUntraced(function* (session, name, when, mode, condition) {
|
|
176
|
-
const permission = yield*
|
|
177
|
-
const agents = yield*
|
|
176
|
+
const permission = yield* Service60;
|
|
177
|
+
const agents = yield* Service92;
|
|
178
178
|
const agent = yield* agents.select(session.agent);
|
|
179
179
|
const scanned = CodeMode.scanTools(condition.code);
|
|
180
180
|
if (Result.isFailure(scanned))
|
|
@@ -212,8 +212,8 @@ var authorizeCode = Effect.fnUntraced(function* (session, name, when, mode, cond
|
|
|
212
212
|
}), { discard: true });
|
|
213
213
|
});
|
|
214
214
|
var runCode = Effect.fnUntraced(function* (session, condition, prevState, context) {
|
|
215
|
-
const permission = yield*
|
|
216
|
-
const agents = yield*
|
|
215
|
+
const permission = yield* Service60;
|
|
216
|
+
const agents = yield* Service92;
|
|
217
217
|
const agent = yield* agents.select(session.agent);
|
|
218
218
|
if (!agent.info)
|
|
219
219
|
return { ok: false, error: `Agent not found: ${agent.id}` };
|
|
@@ -278,9 +278,9 @@ var runCode = Effect.fnUntraced(function* (session, condition, prevState, contex
|
|
|
278
278
|
return wakeOutcome(decoded.success.wake, state, message);
|
|
279
279
|
});
|
|
280
280
|
var scanShell = Effect.fnUntraced(function* (command) {
|
|
281
|
-
const location = yield*
|
|
282
|
-
const access = yield*
|
|
283
|
-
const shellSelect = yield*
|
|
281
|
+
const location = yield* Service88;
|
|
282
|
+
const access = yield* Service21;
|
|
283
|
+
const shellSelect = yield* Service78;
|
|
284
284
|
const target = yield* access.resolve({ path: location.directory, kind: "directory" }).pipe(Effect.mapError((error) => error.message));
|
|
285
285
|
const shell = yield* shellSelect.resolve({ priority: "compat" });
|
|
286
286
|
const parsed = yield* scan3(command, shell, target.absolute).pipe(Effect.mapError((error) => error.message));
|
|
@@ -290,8 +290,8 @@ var scanShell = Effect.fnUntraced(function* (command) {
|
|
|
290
290
|
return { shell, cwd: target.absolute, workspaceID: location.workspaceID, external, commands };
|
|
291
291
|
});
|
|
292
292
|
var assertShellPermissions = Effect.fnUntraced(function* (session, scanned, metadata) {
|
|
293
|
-
const permission = yield*
|
|
294
|
-
const agents = yield*
|
|
293
|
+
const permission = yield* Service60;
|
|
294
|
+
const agents = yield* Service92;
|
|
295
295
|
const agent = yield* agents.select(session.agent);
|
|
296
296
|
if (scanned.external.length > 0) {
|
|
297
297
|
yield* permission.assert({
|
|
@@ -323,7 +323,7 @@ var authorizeShell = Effect.fnUntraced(function* (session, name, when, mode, con
|
|
|
323
323
|
});
|
|
324
324
|
});
|
|
325
325
|
var runShell = Effect.fnUntraced(function* (session, condition, prevState) {
|
|
326
|
-
const environment = yield*
|
|
326
|
+
const environment = yield* Service86;
|
|
327
327
|
const scannedExit = yield* Effect.result(scanShell(condition.run));
|
|
328
328
|
if (Result.isFailure(scannedExit))
|
|
329
329
|
return { ok: false, error: scannedExit.failure };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
load3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-tr8x705m.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/claude/probe.ts
|
|
9
9
|
var exports_probe = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
make15
|
|
3
|
+
} from "./session-5n0rnk8e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
make16
|
|
6
|
+
} from "./session-8jev9a8r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/claude/query-options.ts
|
|
12
12
|
var exports_query_options = {};
|
|
@@ -80,14 +80,14 @@ async function session2(input) {
|
|
|
80
80
|
systemPrompt: input.system,
|
|
81
81
|
includePartialMessages: true,
|
|
82
82
|
persistSession: input.persist,
|
|
83
|
-
hooks:
|
|
83
|
+
hooks: make15(input.pending),
|
|
84
84
|
mcpServers: {}
|
|
85
85
|
};
|
|
86
86
|
if (input.maxOutputTokens !== undefined) {
|
|
87
87
|
options.env = { ...options.env, CLAUDE_CODE_MAX_OUTPUT_TOKENS: String(input.maxOutputTokens) };
|
|
88
88
|
}
|
|
89
89
|
if (input.tools.length > 0)
|
|
90
|
-
options.mcpServers = { opencode: await
|
|
90
|
+
options.mcpServers = { opencode: await make16(input.tools, input.pending) };
|
|
91
91
|
if (input.resume !== undefined) {
|
|
92
92
|
options.resume = input.resume;
|
|
93
93
|
return options;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
stringify2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-z0h12gs8.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-ctst738n.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./session-ywthjcrc.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service88,
|
|
11
|
+
node90
|
|
12
|
+
} from "./session-cw35tvbj.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID15,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service81,
|
|
20
|
+
node82,
|
|
21
21
|
Event16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./session-hknxt8c4.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./session-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_model2, {
|
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
45
|
node: () => node80,
|
|
46
|
-
parse: () =>
|
|
46
|
+
parse: () => parse5,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
49
49
|
import { Model } from "@opencode/schema/model";
|
|
@@ -74,9 +74,9 @@ var Info22 = Model.Info;
|
|
|
74
74
|
class Service79 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
76
|
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
77
|
-
const providers = yield*
|
|
78
|
-
const bus = yield*
|
|
79
|
-
const location = yield*
|
|
77
|
+
const providers = yield* Service81;
|
|
78
|
+
const bus = yield* Service93;
|
|
79
|
+
const location = yield* Service88;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
81
81
|
let input;
|
|
82
82
|
const state = create4({
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var node80 = makeLocationNode({ service: Service79, layer, deps: [
|
|
250
|
+
var node80 = makeLocationNode({ service: Service79, layer, deps: [node82, node95, node90] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -271,7 +271,7 @@ function compatibility2(input) {
|
|
|
271
271
|
return;
|
|
272
272
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function parse5(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
277
|
providerID: ID15.make(index === -1 ? input : input.slice(0, index)),
|
|
@@ -279,4 +279,4 @@ function parse4(input) {
|
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info22, Service79, node80, supportsText2, compatibility2,
|
|
282
|
+
export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info22, Service79, node80, supportsText2, compatibility2, parse5, exports_model2, Event15 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID15,
|
|
3
3
|
aisdk2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-hknxt8c4.js";
|
|
5
5
|
import {
|
|
6
6
|
ID14,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Family2,
|
|
9
9
|
Info22
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-33jayjx7.js";
|
|
11
11
|
import {
|
|
12
12
|
connectionEnv2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-2y650p2w.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/provider/claude-agent/provider.ts
|
|
19
19
|
var exports_provider2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_provider2, {
|
|
|
22
22
|
ID: () => ID3,
|
|
23
23
|
PACKAGE: () => PACKAGE2,
|
|
24
24
|
connection: () => connection2,
|
|
25
|
-
register: () =>
|
|
25
|
+
register: () => register8
|
|
26
26
|
});
|
|
27
27
|
import { Effect, Option, Schema, Stream, SubscriptionRef } from "effect";
|
|
28
28
|
var ID3 = ID15.claudeAgent;
|
|
@@ -48,7 +48,7 @@ var PRICE_SOURCES = {
|
|
|
48
48
|
vertex: ID15.googleVertex,
|
|
49
49
|
foundry: ID15.azure
|
|
50
50
|
};
|
|
51
|
-
var
|
|
51
|
+
var register8 = Effect.fn("ClaudeProvider.register")(function* (ctx, status, io) {
|
|
52
52
|
const saved = Schema.decodeUnknownOption(Catalog)(yield* ctx.storage.get(CATALOG_KEY));
|
|
53
53
|
const current = { catalog: Option.getOrElse(saved, () => ({ models: [] })) };
|
|
54
54
|
yield* ctx.provider.transform((editor) => {
|
|
@@ -131,4 +131,4 @@ function toModel(model, prices) {
|
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
export { ID3, PACKAGE2,
|
|
134
|
+
export { ID3, PACKAGE2, register8, connection2, exports_provider2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./session-214mfmz3.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./session-gpnjexd0.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/tool/plugin/question.ts
|
|
13
13
|
var exports_question = {};
|
|
@@ -54,8 +54,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
54
54
|
var Plugin55 = {
|
|
55
55
|
id: "opencode.tool.question",
|
|
56
56
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
57
|
-
const forms = yield*
|
|
58
|
-
const permission = yield*
|
|
57
|
+
const forms = yield* Service84;
|
|
58
|
+
const permission = yield* Service60;
|
|
59
59
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
60
60
|
name: name15,
|
|
61
61
|
options: { codemode: false },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/integration.ts
|
|
6
6
|
var exports_integration2 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_integration2, {
|
|
|
10
10
|
Policies: () => Policies2,
|
|
11
11
|
Remote: () => Remote3,
|
|
12
12
|
WellKnownDocument: () => WellKnownDocument2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make33,
|
|
14
14
|
suppliers: () => suppliers2
|
|
15
15
|
});
|
|
16
16
|
import { Option, Schema, SchemaGetter } from "effect";
|
|
@@ -51,7 +51,7 @@ class WellKnownDocument2 extends Config.Document.extend("Config.WellKnownDocumen
|
|
|
51
51
|
function suppliers2(entries) {
|
|
52
52
|
return new Map(entries.filter((entry) => entry instanceof WellKnownDocument2).flatMap((document) => Object.keys(document.info.providers ?? {}).map((id) => [id, document.integrationID])));
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function make33(input) {
|
|
55
55
|
const servers = input.info.mcp?.servers;
|
|
56
56
|
return new Document3({
|
|
57
57
|
type: "document",
|
|
@@ -90,4 +90,4 @@ function withoutCredentials(settings) {
|
|
|
90
90
|
return settings && Object.fromEntries(Object.entries(settings).filter(([key]) => !["apiKey", "authToken", "accessToken"].includes(key)));
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
export { Policies2, Remote3, Document3, WellKnownDocument2, suppliers2,
|
|
93
|
+
export { Policies2, Remote3, Document3, WellKnownDocument2, suppliers2, make33, exports_integration2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info17
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info17 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info21 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info17, exports_command5 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
run2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-2p60zmnr.js";
|
|
4
4
|
import {
|
|
5
5
|
base2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-2y650p2w.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/claude/status.ts
|
|
12
12
|
var exports_status = {};
|
|
13
13
|
__export(exports_status, {
|
|
14
14
|
ClaudeStatus: () => exports_status,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make8
|
|
16
16
|
});
|
|
17
17
|
import { Effect, Semaphore, SubscriptionRef } from "effect";
|
|
18
|
-
var
|
|
18
|
+
var make8 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
19
19
|
const state = yield* SubscriptionRef.make({ type: "checking" });
|
|
20
20
|
const lock = yield* Semaphore.make(1);
|
|
21
21
|
const refresh = Effect.fn("ClaudeStatus.refresh")(function* () {
|
|
@@ -33,4 +33,4 @@ var make4 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
|
33
33
|
return { state, refresh, report };
|
|
34
34
|
});
|
|
35
35
|
|
|
36
|
-
export {
|
|
36
|
+
export { make8, exports_status };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
load3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-tr8x705m.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/claude/fork.ts
|
|
9
9
|
var exports_fork = {};
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service90,
|
|
9
|
+
node92
|
|
10
|
+
} from "./session-d51s47ph.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service88,
|
|
13
|
+
node90
|
|
14
|
+
} from "./session-cw35tvbj.js";
|
|
15
15
|
import {
|
|
16
16
|
create4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./session-40y6dtc2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./session-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID10,
|
|
27
|
+
Service: () => Service55,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node56,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID10 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service55 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service90;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service88;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
75
75
|
if (!FSUtil.contains(worktree, directory))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
97
97
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
98
98
|
});
|
|
99
99
|
yield* packWhenDue(repo.snapshotRepository);
|
|
100
|
-
return
|
|
100
|
+
return ID10.make(tree);
|
|
101
101
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
102
102
|
});
|
|
103
103
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
142
142
|
for (const [file, snapshot] of input.files) {
|
|
143
143
|
const absolute = path.resolve(worktree, file);
|
|
144
144
|
if (!FSUtil.contains(worktree, absolute))
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
146
146
|
files.set(file, TreeID2.make(snapshot));
|
|
147
147
|
}
|
|
148
148
|
return files;
|
|
149
149
|
});
|
|
150
150
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
151
151
|
if (!enabled())
|
|
152
|
-
return yield* new
|
|
152
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
153
153
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
155
155
|
});
|
|
156
|
-
return
|
|
156
|
+
return Service55.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
157
157
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
158
|
-
var
|
|
159
|
-
service:
|
|
158
|
+
var node56 = makeLocationNode({
|
|
159
|
+
service: Service55,
|
|
160
160
|
layer,
|
|
161
|
-
deps: [FSUtil.node,
|
|
161
|
+
deps: [FSUtil.node, node92, Global.node, node90]
|
|
162
162
|
});
|
|
163
|
-
var
|
|
163
|
+
var noopLayer3 = Layer.succeed(Service55, Service55.of({
|
|
164
164
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
165
165
|
reload: () => Effect.void,
|
|
166
166
|
capture: () => Effect.undefined,
|
|
@@ -169,13 +169,13 @@ var noopLayer2 = Layer.succeed(Service41, Service41.of({
|
|
|
169
169
|
restore: () => Effect.void
|
|
170
170
|
}));
|
|
171
171
|
function failure(operation, cause) {
|
|
172
|
-
if (cause instanceof
|
|
172
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
173
173
|
return cause;
|
|
174
|
-
return new
|
|
174
|
+
return new Error3({
|
|
175
175
|
operation,
|
|
176
176
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
177
177
|
cause
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export {
|
|
181
|
+
export { ID10, Error3, Service55, node56, noopLayer3, exports_snapshot2 };
|