@opencode/core 0.0.0-dev-1234 → 0.0.0-dev-1235
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 +92 -92
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +105 -105
- package/dist/app.js +11 -11
- package/dist/artifact.js +248 -248
- package/dist/bus.js +80 -80
- package/dist/chunks/{voice-034tev2y.js → state-034tev2y.js} +2 -2
- package/dist/chunks/{voice-c12b3kem.js → state-05pxkjce.js} +6 -6
- package/dist/chunks/{voice-dr693m7s.js → state-08v7z8bj.js} +4 -4
- package/dist/chunks/{voice-0ma9gw4f.js → state-0ma9gw4f.js} +2 -2
- package/dist/chunks/{voice-k9cebszz.js → state-0te9php1.js} +3 -3
- package/dist/chunks/{voice-t0rj8fdn.js → state-0zd5ma7y.js} +15 -15
- package/dist/chunks/{voice-fszfs33h.js → state-12h42gc5.js} +4 -4
- package/dist/chunks/{voice-kg7d1rpe.js → state-12kdk8b4.js} +13 -13
- package/dist/chunks/{voice-dckfptcn.js → state-13qgbh2h.js} +24 -24
- package/dist/chunks/{voice-c14mxy62.js → state-146yjxz1.js} +7 -7
- package/dist/chunks/{voice-70vc3g7e.js → state-157fyfz6.js} +30 -30
- package/dist/chunks/{voice-5ar0v554.js → state-17b8a7h3.js} +9 -9
- package/dist/chunks/{voice-1aqsckx4.js → state-1aqsckx4.js} +1 -1
- package/dist/chunks/{voice-1aryjtsy.js → state-1aryjtsy.js} +1 -1
- package/dist/chunks/{voice-3sc30497.js → state-1crda53g.js} +15 -15
- package/dist/chunks/{voice-1ep2p91f.js → state-1ep2p91f.js} +2 -2
- package/dist/chunks/{voice-3n1bw4p7.js → state-1gdzt2xj.js} +1 -1
- package/dist/chunks/{voice-54gqmjga.js → state-1ky2091v.js} +11 -11
- package/dist/chunks/{voice-43t3wn51.js → state-1kzwae0a.js} +9 -9
- package/dist/chunks/{voice-qzyg05cc.js → state-1qbjy8pk.js} +6 -6
- package/dist/chunks/{voice-4tnarq1t.js → state-1v2g13eq.js} +6 -6
- package/dist/chunks/{voice-4y7871nc.js → state-1v50j346.js} +7 -7
- package/dist/chunks/{voice-szmfajws.js → state-1vj9z2t7.js} +24 -24
- package/dist/chunks/{voice-1x2knyw4.js → state-1x2knyw4.js} +1 -1
- package/dist/chunks/{voice-ftkefcqc.js → state-1xc4xt0c.js} +12 -12
- package/dist/chunks/{voice-nh0qskaj.js → state-1xww10mm.js} +18 -18
- package/dist/chunks/{voice-v9ez2kgh.js → state-1yq9hg58.js} +5 -5
- package/dist/chunks/{voice-3pysx2bx.js → state-21573k7e.js} +8 -8
- package/dist/chunks/{voice-qb3qxdzb.js → state-29b1w24h.js} +36 -36
- package/dist/chunks/{voice-xe689f40.js → state-2ajmtsj5.js} +27 -27
- package/dist/chunks/{voice-dhexw8m1.js → state-2dc9xx1n.js} +3 -3
- package/dist/chunks/{voice-2fc7eemy.js → state-2fc7eemy.js} +1 -1
- package/dist/chunks/{voice-pcgqrtg0.js → state-2h7vmg0a.js} +15 -15
- package/dist/chunks/{voice-1w56m6hw.js → state-2jjcv7wn.js} +6 -6
- package/dist/chunks/{voice-b405s5sn.js → state-2n6s2h8c.js} +28 -28
- package/dist/chunks/{voice-ad21tgm2.js → state-2p60zmnr.js} +4 -4
- package/dist/chunks/{voice-ypzfmdvb.js → state-2prt43t7.js} +4 -4
- package/dist/chunks/{voice-scpegsmr.js → state-2s8atfp2.js} +17 -17
- package/dist/chunks/{voice-gkxhnxqe.js → state-2skpza5b.js} +45 -45
- package/dist/chunks/{voice-w9n88m2c.js → state-32cp16zq.js} +13 -13
- package/dist/chunks/{voice-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{voice-53ajndgm.js → state-3hrr5cv7.js} +11 -11
- package/dist/chunks/{voice-0e9t1ah6.js → state-3nmd71g8.js} +27 -27
- package/dist/chunks/{voice-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
- package/dist/chunks/{voice-ykn132g3.js → state-3p591abm.js} +18 -18
- package/dist/chunks/{voice-r17fbvme.js → state-3qgwywyc.js} +4 -4
- package/dist/chunks/{voice-40y6dtc2.js → state-40y6dtc2.js} +1 -1
- package/dist/chunks/{voice-r41sfy63.js → state-40za9wsf.js} +6 -6
- package/dist/chunks/{voice-syecb52s.js → state-41n8xc56.js} +4 -4
- package/dist/chunks/{voice-twhtcdx9.js → state-44pmzq9c.js} +4 -4
- package/dist/chunks/{voice-wd0zen96.js → state-48yfz3tb.js} +28 -28
- package/dist/chunks/{voice-m4p4r8nc.js → state-4dfqsw0d.js} +4 -4
- package/dist/chunks/{voice-4dx1dgte.js → state-4dx1dgte.js} +1 -1
- package/dist/chunks/{voice-4f25tdd0.js → state-4f25tdd0.js} +1 -1
- package/dist/chunks/{voice-apy4gaa9.js → state-4g2y45a7.js} +19 -19
- package/dist/chunks/{voice-81r1xfmd.js → state-4jgtr414.js} +22 -22
- package/dist/chunks/{voice-p2rkjvv9.js → state-4mdat9m4.js} +31 -31
- package/dist/chunks/{voice-4pyp9zr9.js → state-4pyp9zr9.js} +1 -1
- package/dist/chunks/{voice-3tvyfpg7.js → state-4q2r4pwc.js} +4 -4
- package/dist/chunks/{voice-4v008n1t.js → state-4v008n1t.js} +1 -1
- package/dist/chunks/{voice-6n8w10m3.js → state-4zvs82v7.js} +40 -40
- package/dist/chunks/{voice-0vj9f7ry.js → state-56sz83fz.js} +14 -14
- package/dist/chunks/{voice-143vrqv8.js → state-5c1tbmp4.js} +23 -23
- package/dist/chunks/{voice-80a1w5an.js → state-5jandp8q.js} +2 -2
- package/dist/chunks/{voice-m4x4w83s.js → state-5kht1aj9.js} +1 -1
- package/dist/chunks/{voice-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{voice-w7z1pjs6.js → state-5r6v6fc0.js} +21 -21
- package/dist/chunks/{voice-kfh5zzm5.js → state-5vx230qf.js} +15 -15
- package/dist/chunks/{voice-ftmkga9r.js → state-610g93rr.js} +18 -18
- package/dist/chunks/{voice-826kd4ay.js → state-61mmvpeq.js} +5 -5
- package/dist/chunks/{voice-paw8xr35.js → state-63mgvd2p.js} +20 -20
- package/dist/chunks/{voice-5282f762.js → state-65jsfrh3.js} +9 -9
- package/dist/chunks/{voice-vt4r9rmy.js → state-6h8vcvjm.js} +9 -9
- package/dist/chunks/{voice-6y2b864j.js → state-6y2b864j.js} +1 -1
- package/dist/chunks/{voice-284xktz0.js → state-6yg7gkh7.js} +25 -25
- package/dist/chunks/{voice-kbr604j0.js → state-73txa7jk.js} +11 -11
- package/dist/chunks/{voice-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{voice-gx3pxtjz.js → state-7cqb7awd.js} +23 -23
- package/dist/chunks/{voice-wqn4wejd.js → state-7fp7qfak.js} +35 -35
- package/dist/chunks/{voice-269vg7n0.js → state-7tnzr79b.js} +15 -15
- package/dist/chunks/{voice-8d2bz6m6.js → state-7tpyp9vw.js} +8 -8
- package/dist/chunks/{voice-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
- package/dist/chunks/{voice-7weczvnd.js → state-7weczvnd.js} +1 -1
- package/dist/chunks/{voice-p6z53f2r.js → state-7y60gvjh.js} +21 -21
- package/dist/chunks/{voice-ewkvbqy6.js → state-7yf4mrpk.js} +14 -14
- package/dist/chunks/{voice-775hqbnd.js → state-80mg3ag8.js} +3 -3
- package/dist/chunks/{voice-80pdk984.js → state-80pdk984.js} +1 -1
- package/dist/chunks/{voice-4tvypb35.js → state-822e8phb.js} +34 -34
- package/dist/chunks/{voice-85jq8dht.js → state-85jq8dht.js} +1 -1
- package/dist/chunks/{voice-0ba3vbsa.js → state-896wxer7.js} +15 -15
- package/dist/chunks/{voice-8b3vzgkx.js → state-8b3vzgkx.js} +1 -1
- package/dist/chunks/{voice-0rbjmzzz.js → state-8cv530b8.js} +43 -43
- package/dist/chunks/{voice-a21cbjqh.js → state-8d63t3d3.js} +17 -17
- package/dist/chunks/{voice-8baw499s.js → state-8e74rt2q.js} +58 -58
- package/dist/chunks/{voice-p0cmaxr0.js → state-8f7gx5vx.js} +5 -5
- package/dist/chunks/{voice-8kjyvwy5.js → state-8kjyvwy5.js} +1 -1
- package/dist/chunks/{voice-crfddmzc.js → state-8n09hdvs.js} +8 -8
- package/dist/chunks/state-8phh5qdk.js +26 -0
- package/dist/chunks/{voice-p79e5v8n.js → state-8s75abyt.js} +14 -14
- package/dist/chunks/{voice-8sxe6kv8.js → state-8sxe6kv8.js} +2 -2
- package/dist/chunks/{voice-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
- package/dist/chunks/{voice-8zv0xmg5.js → state-8zv0xmg5.js} +1 -1
- package/dist/chunks/{voice-z080rjh6.js → state-90ct6wq4.js} +4 -4
- package/dist/chunks/{voice-9w7n6065.js → state-923z2668.js} +25 -25
- package/dist/chunks/{voice-cnajrw64.js → state-92fwtejg.js} +23 -23
- package/dist/chunks/{voice-2bswbpgz.js → state-93xmyh8q.js} +7 -7
- package/dist/chunks/{voice-k3a35t0p.js → state-96za3h7c.js} +18 -18
- package/dist/chunks/{voice-rpdyha9x.js → state-9cvfxry1.js} +17 -17
- package/dist/chunks/{voice-zbf8kyek.js → state-9e4xpj2z.js} +9 -9
- package/dist/chunks/{voice-8xgwt13h.js → state-9fgy5dtv.js} +8 -8
- package/dist/chunks/{voice-v59ax5r8.js → state-9hpwr794.js} +24 -24
- package/dist/chunks/{voice-j9bxpfec.js → state-9j57p5qp.js} +5 -5
- package/dist/chunks/{voice-v2x06h94.js → state-9rqhy0gk.js} +7 -7
- package/dist/chunks/{voice-9sk33afj.js → state-9sk33afj.js} +2 -2
- package/dist/chunks/{voice-1khtmqbj.js → state-a0d0vn03.js} +47 -47
- package/dist/chunks/{voice-963hk181.js → state-a0fq0pbv.js} +9 -9
- package/dist/chunks/{voice-0sv57hg1.js → state-a1nxhhb0.js} +16 -16
- package/dist/chunks/{voice-p9rytgqr.js → state-a6mv2m2w.js} +3 -3
- package/dist/chunks/{voice-avdeshn9.js → state-a7dsdcje.js} +33 -33
- package/dist/chunks/{voice-32af359g.js → state-a86g2bt8.js} +5 -5
- package/dist/chunks/{voice-r23tg28y.js → state-abby1hp7.js} +28 -28
- package/dist/chunks/{voice-h1dcghs6.js → state-ahghdt1q.js} +17 -17
- package/dist/chunks/{voice-adtecwtq.js → state-aq73hw13.js} +4 -4
- package/dist/chunks/{voice-pmbyj91k.js → state-arx8f56v.js} +376 -376
- package/dist/chunks/{voice-j71t6pgk.js → state-as7nmnb0.js} +19 -19
- package/dist/chunks/{voice-ayjs7tqn.js → state-ayjs7tqn.js} +2 -2
- package/dist/chunks/{voice-sqfrj0bb.js → state-az7m660a.js} +9 -9
- package/dist/chunks/{voice-shdn87a4.js → state-azh1rc5n.js} +24 -24
- package/dist/chunks/{voice-xvn8mnch.js → state-azqdag7d.js} +4 -4
- package/dist/chunks/{voice-yk8ek14c.js → state-b18kgc61.js} +7 -7
- package/dist/chunks/{voice-tp1jb13k.js → state-b26ddj6h.js} +7 -7
- package/dist/chunks/{voice-hsxh760k.js → state-b7pq7ra0.js} +10 -10
- package/dist/chunks/{voice-jkdcm5hg.js → state-bhfd478d.js} +4 -4
- package/dist/chunks/{voice-0prfaxw0.js → state-bmzkfxac.js} +10 -10
- package/dist/chunks/{voice-q2drxf57.js → state-bqzea05b.js} +2 -2
- package/dist/chunks/{voice-bstexjd6.js → state-bstexjd6.js} +1 -1
- package/dist/chunks/{voice-fhhkm4pr.js → state-btz4vdf2.js} +9 -9
- package/dist/chunks/{voice-0rdakhay.js → state-bwp70zy2.js} +6 -6
- package/dist/chunks/{voice-b3nz29kv.js → state-bx96q59d.js} +25 -25
- package/dist/chunks/{voice-xbrm0rdv.js → state-bz3qss21.js} +31 -31
- package/dist/chunks/{voice-c30dmggz.js → state-c1m4q5e0.js} +6 -6
- package/dist/chunks/{voice-rj7j5fvs.js → state-c5zvymhv.js} +4 -4
- package/dist/chunks/{voice-qqg9c0kv.js → state-c6x7d2ts.js} +4 -4
- package/dist/chunks/{voice-188h8059.js → state-c8psxp46.js} +20 -20
- package/dist/chunks/{voice-2xhas1ak.js → state-ce1m7vx5.js} +59 -59
- package/dist/chunks/{voice-9yqjp86x.js → state-cg3fcpn4.js} +6 -6
- package/dist/chunks/{voice-gwyytpcj.js → state-ckn0kvtp.js} +6 -6
- package/dist/chunks/{voice-e207tmyq.js → state-crx0bayg.js} +28 -28
- package/dist/chunks/{voice-zkpdq50k.js → state-ctyzbht0.js} +7 -7
- package/dist/chunks/{voice-vh04m7xy.js → state-cvtq930h.js} +16 -16
- package/dist/chunks/{voice-cwrgdav8.js → state-cwrgdav8.js} +2 -2
- package/dist/chunks/{voice-1sfa5jwh.js → state-d29c5j98.js} +9 -9
- package/dist/chunks/{voice-6bpxe0r7.js → state-d2h8y0r7.js} +5 -5
- package/dist/chunks/{voice-d4v9tmah.js → state-d4v9tmah.js} +2 -2
- package/dist/chunks/{voice-jne22z1y.js → state-d5d573qc.js} +10 -10
- package/dist/chunks/{voice-819b46tk.js → state-d860fp5q.js} +28 -28
- package/dist/chunks/{voice-d7pcbbrv.js → state-ddzwf2hk.js} +25 -25
- package/dist/chunks/{voice-1e5ykdt9.js → state-dfs3ke65.js} +11 -11
- package/dist/chunks/{voice-1g8xnmbq.js → state-dr2ev67s.js} +10 -10
- package/dist/chunks/{voice-dt77769w.js → state-dt77769w.js} +1 -1
- package/dist/chunks/{voice-jwve1gmd.js → state-dvnqv6yn.js} +4 -4
- package/dist/chunks/state-dypb56j1.js +16 -0
- package/dist/chunks/{voice-6re4j482.js → state-e4tacae6.js} +35 -35
- package/dist/chunks/{voice-1n3z4ddj.js → state-earqv9bj.js} +27 -27
- package/dist/chunks/{voice-bvm8gzzf.js → state-eatz8zw3.js} +4 -4
- package/dist/chunks/{voice-5wq278yk.js → state-ej37q9q9.js} +21 -21
- package/dist/chunks/{voice-cvtcvzwk.js → state-em6gyk8n.js} +5 -5
- package/dist/chunks/{voice-eqw4pqj1.js → state-eqw4pqj1.js} +2 -2
- package/dist/chunks/{voice-vb2sz2yh.js → state-espzy6sy.js} +6 -6
- package/dist/chunks/{voice-31avdb49.js → state-etrnj9s7.js} +8 -8
- package/dist/chunks/{voice-r73n3hrt.js → state-ev2hqs01.js} +14 -14
- package/dist/chunks/{voice-9p2szv1p.js → state-ez4sqtdc.js} +3 -3
- package/dist/chunks/{voice-36vn6f7f.js → state-f2wdtck0.js} +21 -21
- package/dist/chunks/{voice-b62sbhp2.js → state-fccvjkbp.js} +9 -9
- package/dist/chunks/{voice-hat3jkxt.js → state-fcrts5pp.js} +5 -5
- package/dist/chunks/{voice-szb9h512.js → state-fd4d6nj8.js} +10 -10
- package/dist/chunks/{voice-axwn8hgb.js → state-fdtndam9.js} +2 -2
- package/dist/chunks/{voice-9hgrb418.js → state-fe0p0k7n.js} +9 -9
- package/dist/chunks/{voice-prq7xxp2.js → state-fg9p65nk.js} +6 -6
- package/dist/chunks/{voice-405eskr3.js → state-fkndk5z2.js} +1 -1
- package/dist/chunks/{voice-q7q3cpjx.js → state-fpw8a7zs.js} +13 -13
- package/dist/chunks/{voice-d1hfjg4t.js → state-fr2qyp97.js} +10 -10
- package/dist/chunks/{voice-8fygwdam.js → state-fwg5afng.js} +10 -10
- package/dist/chunks/{voice-t4z4e2mp.js → state-g6ahpmy1.js} +11 -11
- package/dist/chunks/{voice-rh26g52a.js → state-g9gdr7fk.js} +6 -6
- package/dist/chunks/{voice-jy2czfqv.js → state-g9ndtp1p.js} +4 -4
- package/dist/chunks/{voice-gbjdnr5j.js → state-gbjdnr5j.js} +2 -2
- package/dist/chunks/{voice-wds4yzn3.js → state-gcahcqmt.js} +42 -42
- package/dist/chunks/{voice-qw2yrn34.js → state-gegd7n3j.js} +1 -1
- package/dist/chunks/{voice-ghrv1g9c.js → state-ghrv1g9c.js} +1 -1
- package/dist/chunks/{voice-qw1v1k33.js → state-gjv7na4e.js} +7 -7
- package/dist/chunks/{voice-9c366hf9.js → state-gp44nzrb.js} +5 -5
- package/dist/chunks/{voice-1c09x02e.js → state-grdxa8jy.js} +30 -30
- package/dist/chunks/{voice-tg7s7b5t.js → state-gxs71cxp.js} +4 -4
- package/dist/chunks/{voice-1fe58bqq.js → state-gzqyvavm.js} +11 -11
- package/dist/chunks/{voice-q02kg4qm.js → state-h3zmftah.js} +19 -19
- package/dist/chunks/{voice-1zwbbx3p.js → state-h5nac3dr.js} +2 -2
- package/dist/chunks/{voice-0k2sqz83.js → state-hadx4k33.js} +7 -7
- package/dist/chunks/state-henm3czy.js +35 -0
- package/dist/chunks/{voice-bnp8wq98.js → state-hgy5dwbr.js} +8 -8
- package/dist/chunks/{voice-hgzwgvze.js → state-hgzwgvze.js} +2 -2
- package/dist/chunks/{voice-7trt7kgg.js → state-hj0xet7m.js} +5 -5
- package/dist/chunks/{voice-ej6qfym8.js → state-hvcjhvbh.js} +11 -11
- package/dist/chunks/{voice-tn2hynd4.js → state-j9z46kd8.js} +11 -11
- package/dist/chunks/{voice-bjw201gr.js → state-jaxmtxzk.js} +15 -15
- package/dist/chunks/{voice-441kd1zg.js → state-jbbw453h.js} +54 -54
- package/dist/chunks/{voice-def6gxex.js → state-jbwnkpvz.js} +41 -41
- package/dist/chunks/{voice-jm70asfg.js → state-jm70asfg.js} +1 -1
- package/dist/chunks/{voice-78p2h4ex.js → state-jv5ccajn.js} +5 -5
- package/dist/chunks/{voice-a68fm8wd.js → state-jyy8cr9q.js} +4 -4
- package/dist/chunks/{voice-4z9ta83f.js → state-kb4kbwnh.js} +6 -6
- package/dist/chunks/{voice-k46dd5bg.js → state-kj9n5bvh.js} +4 -4
- package/dist/chunks/{voice-a33wy2bh.js → state-ksnhqdx8.js} +12 -12
- package/dist/chunks/{voice-k3n5zkqd.js → state-kt2vhnk6.js} +28 -28
- package/dist/chunks/{voice-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
- package/dist/chunks/{voice-8vhgn5aa.js → state-kv4xpykx.js} +10 -10
- package/dist/chunks/{voice-83rc7m6m.js → state-kw7mz92r.js} +6 -6
- package/dist/chunks/{voice-kzczzf4v.js → state-kzczzf4v.js} +1 -1
- package/dist/chunks/{voice-nn4f8fk1.js → state-m0r9mrhn.js} +6 -6
- package/dist/chunks/{voice-m1714858.js → state-m1714858.js} +1 -1
- package/dist/chunks/{voice-fys2znhn.js → state-m2kywmf4.js} +6 -6
- package/dist/chunks/{voice-xtx82q49.js → state-m4dsmddg.js} +38 -38
- package/dist/chunks/{voice-vtkyewdg.js → state-m4htaz91.js} +11 -11
- package/dist/chunks/{voice-m90tx7mw.js → state-m90tx7mw.js} +1 -1
- package/dist/chunks/{voice-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{voice-kcv70vhw.js → state-maptvskn.js} +32 -32
- package/dist/chunks/{voice-mb7mbhnz.js → state-mb7mbhnz.js} +3 -3
- package/dist/chunks/{voice-sn2kdhbr.js → state-mmq84whh.js} +13 -13
- package/dist/chunks/{voice-s3ayw3d1.js → state-mrnchmxb.js} +11 -11
- package/dist/chunks/{voice-k9c7xc9j.js → state-mt2tq025.js} +34 -34
- package/dist/chunks/{voice-bjwtzcra.js → state-mxj0r9mh.js} +169 -169
- package/dist/chunks/{voice-2yk9b220.js → state-n4dgardt.js} +14 -14
- package/dist/chunks/{voice-p84pzsrg.js → state-nbasw9vk.js} +25 -25
- package/dist/chunks/{voice-anenykp7.js → state-ndssgjv1.js} +11 -11
- package/dist/chunks/{voice-qsk24c9w.js → state-nkbtark2.js} +24 -24
- package/dist/chunks/{voice-eyxzwjs5.js → state-p071w3jm.js} +2 -2
- package/dist/chunks/{voice-rdg052zg.js → state-p5jwrm42.js} +7 -7
- package/dist/chunks/{voice-6mttvxm9.js → state-pa611nne.js} +5 -5
- package/dist/chunks/{voice-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{voice-n74x5zfx.js → state-pt6axzm3.js} +12 -12
- package/dist/chunks/{voice-xd0p63k3.js → state-ptx3cj57.js} +93 -93
- package/dist/chunks/{voice-1xymg9wx.js → state-pwzt2vz0.js} +17 -17
- package/dist/chunks/{voice-mbhm97dq.js → state-pxbvf64t.js} +5 -5
- package/dist/chunks/{voice-tgs016r6.js → state-pyc9zk8k.js} +81 -81
- package/dist/chunks/{voice-zf1dyc2h.js → state-pzw1dw73.js} +33 -33
- package/dist/chunks/{voice-kwprrb4r.js → state-q5wz344w.js} +28 -28
- package/dist/chunks/{voice-t5qddjj3.js → state-q7q8y45y.js} +20 -20
- package/dist/chunks/{voice-wsstkfp3.js → state-q9yy3jv5.js} +59 -59
- package/dist/chunks/{voice-0nbmpwcq.js → state-qh660x4p.js} +21 -21
- package/dist/chunks/state-qmh7vbk2.js +18 -0
- package/dist/chunks/{voice-qp7r0hxv.js → state-qp7r0hxv.js} +1 -1
- package/dist/chunks/{voice-fts3x8qd.js → state-qqrj1cck.js} +31 -31
- package/dist/chunks/{voice-mqa0hv9z.js → state-qs24j9sg.js} +19 -19
- package/dist/chunks/{voice-2kjve9be.js → state-qv4pjm17.js} +14 -14
- package/dist/chunks/{voice-dc1xgxkf.js → state-r0kj4fvy.js} +9 -9
- package/dist/chunks/{voice-yzqd8jzm.js → state-r4gqnmyj.js} +50 -50
- package/dist/chunks/{voice-nkzb5f1v.js → state-r7r55277.js} +8 -8
- package/dist/chunks/{voice-trmtm6jh.js → state-r8ek82sz.js} +4 -4
- package/dist/chunks/state-r8pfs0tk.js +273 -0
- package/dist/chunks/{voice-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
- package/dist/chunks/{voice-bvsf85hv.js → state-rcrtbk2k.js} +16 -16
- package/dist/chunks/{voice-4r1pbyqd.js → state-rdagnh11.js} +11 -11
- package/dist/chunks/{voice-rgc9cx3e.js → state-rgc9cx3e.js} +2 -2
- package/dist/chunks/{voice-27mm55e1.js → state-rgkwkrb9.js} +24 -24
- package/dist/chunks/{voice-h5chy42v.js → state-rj7jtxy8.js} +3 -3
- package/dist/chunks/{voice-w1zdr6fs.js → state-rx7dnwpf.js} +15 -15
- package/dist/chunks/{voice-1rb6r5aa.js → state-rxmw0rhb.js} +11 -11
- package/dist/chunks/{voice-ebrzph25.js → state-ryk8esgz.js} +13 -13
- package/dist/chunks/{voice-pwvymscv.js → state-s2fh24gv.js} +14 -14
- package/dist/chunks/{voice-2ytp0tvq.js → state-s47rahr7.js} +4 -4
- package/dist/chunks/{voice-sbya78hr.js → state-sbya78hr.js} +1 -1
- package/dist/chunks/{voice-fpj9pe2v.js → state-sf5110by.js} +13 -13
- package/dist/chunks/{voice-35a0jshe.js → state-skezxa7b.js} +8 -8
- package/dist/chunks/{voice-j05qaby9.js → state-sm5nc94v.js} +13 -13
- package/dist/chunks/{voice-svcy3p9a.js → state-svcy3p9a.js} +1 -1
- package/dist/chunks/{voice-8v7gw7aw.js → state-sw41xehz.js} +30 -30
- package/dist/chunks/{voice-qj133rt6.js → state-syk2ttnm.js} +18 -18
- package/dist/chunks/{voice-thvj9nc6.js → state-sznb0j4e.js} +10 -10
- package/dist/chunks/{voice-8v5fqg2d.js → state-t21xr684.js} +20 -20
- package/dist/chunks/{voice-9rqfe4ad.js → state-t48jrnqq.js} +3 -3
- package/dist/chunks/{voice-c71yvtec.js → state-t4qcw7hc.js} +5 -5
- package/dist/chunks/{voice-tpwh4fy3.js → state-t7r51tgb.js} +9 -9
- package/dist/chunks/{voice-1jh9d0x2.js → state-tagt9nex.js} +26 -26
- package/dist/chunks/{voice-tb2mrvc9.js → state-tb2mrvc9.js} +1 -1
- package/dist/chunks/{voice-wcwymg40.js → state-tbd5caq6.js} +13 -13
- package/dist/chunks/{voice-tbpn7jtk.js → state-tbpn7jtk.js} +1 -1
- package/dist/chunks/{voice-tczq8hjw.js → state-tczq8hjw.js} +1 -1
- package/dist/chunks/{voice-a0a8bqmx.js → state-tekz83mq.js} +22 -22
- package/dist/chunks/{voice-e6pewc8w.js → state-tgnr40tg.js} +20 -20
- package/dist/chunks/{voice-a29tsf32.js → state-tjyp8p49.js} +6 -6
- package/dist/chunks/{voice-bjjqy26h.js → state-tm2sh4kj.js} +4 -4
- package/dist/chunks/{voice-jht64jd1.js → state-tr8x705m.js} +4 -4
- package/dist/chunks/{voice-jv9ncv4x.js → state-tsfrrkx5.js} +8 -8
- package/dist/chunks/{voice-ttz31trp.js → state-ttz31trp.js} +2 -2
- package/dist/chunks/{voice-tvtps2q9.js → state-tvtps2q9.js} +1 -1
- package/dist/chunks/{voice-w3hzy3ct.js → state-tvtwxsyy.js} +11 -11
- package/dist/chunks/{voice-twssxy5n.js → state-twssxy5n.js} +2 -2
- package/dist/chunks/{voice-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
- package/dist/chunks/{voice-mnhgrts7.js → state-v72vfyp1.js} +18 -18
- package/dist/chunks/{voice-fthg4mkv.js → state-v7g2mpw4.js} +8 -8
- package/dist/chunks/{voice-8cvhm9sr.js → state-vba67v53.js} +35 -35
- package/dist/chunks/{voice-vjf35v1f.js → state-vjf35v1f.js} +1 -1
- package/dist/chunks/{voice-sbnwkvpm.js → state-vjz7c0d8.js} +10 -10
- package/dist/chunks/{voice-qbpw1hqx.js → state-w1xxh1rf.js} +22 -22
- package/dist/chunks/{voice-v1mrk6hn.js → state-w28k7sqx.js} +26 -26
- package/dist/chunks/{voice-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{voice-w687dnns.js → state-w687dnns.js} +1 -1
- package/dist/chunks/{voice-2m2g9ynh.js → state-w76xjer3.js} +4 -4
- package/dist/chunks/{voice-v0t96s7a.js → state-w79nt68w.js} +4 -4
- package/dist/chunks/{voice-wakvkjy4.js → state-wakvkjy4.js} +1 -1
- package/dist/chunks/{voice-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{voice-wegkxhrn.js → state-wegkxhrn.js} +2 -2
- package/dist/chunks/{voice-2qkzm5db.js → state-wq6ywtgw.js} +14 -14
- package/dist/chunks/{voice-mk32sn50.js → state-wx96rjq6.js} +5 -5
- package/dist/chunks/{voice-20axkdw4.js → state-wy93gack.js} +3 -3
- package/dist/chunks/{voice-mgn91kxq.js → state-xerazvms.js} +28 -28
- package/dist/chunks/{voice-a1d4y4bn.js → state-xhqgfte7.js} +3 -3
- package/dist/chunks/{voice-yjtvmw5q.js → state-xhr0vr4z.js} +19 -19
- package/dist/chunks/{voice-rp6t20zc.js → state-xjbsd7zy.js} +9 -9
- package/dist/chunks/{voice-xjr6c8m4.js → state-xjr6c8m4.js} +1 -1
- package/dist/chunks/{voice-r7pt5k5w.js → state-xk7swg5w.js} +18 -18
- package/dist/chunks/{voice-xksw6ev0.js → state-xksw6ev0.js} +1 -1
- package/dist/chunks/{voice-8wht2xma.js → state-xngwz0vj.js} +11 -11
- package/dist/chunks/{voice-yht4n7bk.js → state-xqv8rs9y.js} +12 -12
- package/dist/chunks/{voice-mwryn9q6.js → state-xs8ad273.js} +42 -42
- package/dist/chunks/{voice-aff2bvah.js → state-xvj4xk0h.js} +83 -83
- package/dist/chunks/{voice-1j6sk0fx.js → state-y4001wz8.js} +36 -36
- package/dist/chunks/{voice-yb20nhc3.js → state-yb20nhc3.js} +1 -1
- package/dist/chunks/{voice-amxz9qe9.js → state-yd46kdwt.js} +51 -51
- package/dist/chunks/{voice-wzeqr3rn.js → state-yesq018p.js} +5 -5
- package/dist/chunks/{voice-fdt1wdrj.js → state-yewyrtz9.js} +15 -15
- package/dist/chunks/{voice-bnmfd4hw.js → state-yk50763d.js} +30 -30
- package/dist/chunks/{voice-1nwjqe6e.js → state-ykw7y9nr.js} +20 -20
- package/dist/chunks/{voice-bp2skqpk.js → state-ynphyzz5.js} +14 -14
- package/dist/chunks/{voice-wr6peh8s.js → state-yny230gw.js} +5 -5
- package/dist/chunks/{voice-yr705xyq.js → state-yr705xyq.js} +1 -1
- package/dist/chunks/{voice-6qdmf9rv.js → state-ytf4f56c.js} +20 -20
- package/dist/chunks/{voice-yvtc2x31.js → state-yvtc2x31.js} +1 -1
- package/dist/chunks/{voice-8zwpk4af.js → state-z0n292p6.js} +9 -9
- package/dist/chunks/{voice-z0wbgq7s.js → state-z0wbgq7s.js} +1 -1
- package/dist/chunks/{voice-h4yrbj0f.js → state-zb8b10s4.js} +16 -16
- package/dist/chunks/{voice-824nqpp1.js → state-zdtba7n3.js} +18 -18
- package/dist/chunks/{voice-j9nxzz3g.js → state-ze75qvmd.js} +3 -3
- package/dist/chunks/{voice-rz04kpvg.js → state-zjd996k1.js} +3 -3
- package/dist/chunks/{voice-fzyg27t6.js → state-zp2hh6jp.js} +38 -38
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +8 -8
- package/dist/codemode/tool.js +157 -157
- 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 +113 -113
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +247 -247
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +146 -146
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +133 -133
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +158 -158
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- 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 +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- 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 +109 -109
- 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 +81 -81
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +258 -258
- 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 +134 -134
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +115 -115
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +107 -107
- 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 +441 -441
- package/dist/instruction-discovery.js +98 -98
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +6 -6
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +187 -187
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +147 -147
- package/dist/mcp/instructions.js +190 -190
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +105 -105
- package/dist/model-resolver.js +109 -109
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +158 -158
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- 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 +3 -3
- 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 +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +115 -115
- package/dist/plugin/provider/claude-agent/integration.js +114 -114
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +109 -109
- package/dist/plugin/provider/claude-agent/session.js +111 -111
- 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 +1 -1
- 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 +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +142 -142
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- 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 +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +154 -154
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +428 -428
- 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 +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +256 -256
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +98 -98
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +262 -262
- 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 +135 -135
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +208 -208
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +272 -272
- package/dist/session/execution/subagent-report.js +145 -145
- package/dist/session/execution.js +174 -174
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +152 -152
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +91 -91
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +148 -148
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +196 -196
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +173 -173
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +210 -210
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +257 -257
- package/dist/session/usage.js +1 -1
- package/dist/session.js +249 -249
- 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 +13 -13
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +163 -163
- 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 +191 -191
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +176 -176
- package/dist/tool/plugin/grep.js +175 -175
- package/dist/tool/plugin/image-generate.js +257 -257
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +169 -169
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +177 -177
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +253 -253
- package/dist/tool/plugin/skill.js +162 -162
- package/dist/tool/plugin/subagent.js +253 -253
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +162 -162
- package/dist/tool/plugin/websearch.js +160 -160
- package/dist/tool/plugin/write.js +173 -173
- 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 +165 -165
- package/dist/usage-limits.js +100 -100
- package/dist/util/canonical-json.js +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +107 -107
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- 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 +9 -9
- package/dist/chunks/voice-09kypqn1.js +0 -273
- package/dist/chunks/voice-0gdrrj59.js +0 -16
- package/dist/chunks/voice-5cjmjptv.js +0 -35
- package/dist/chunks/voice-8x060fmy.js +0 -18
- package/dist/chunks/voice-ft944t4t.js +0 -26
- /package/dist/chunks/{voice-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{voice-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{voice-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{voice-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{voice-1kah00gy.js → state-1kah00gy.js} +0 -0
- /package/dist/chunks/{voice-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{voice-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{voice-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{voice-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{voice-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{voice-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{voice-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{voice-4qk9sjk2.js → state-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{voice-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{voice-5w3e23ze.js → state-5w3e23ze.js} +0 -0
- /package/dist/chunks/{voice-6agm2x70.js → state-6agm2x70.js} +0 -0
- /package/dist/chunks/{voice-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{voice-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{voice-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{voice-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{voice-7rvsyqjv.js → state-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{voice-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{voice-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{voice-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{voice-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{voice-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{voice-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{voice-9ceax7yg.js → state-9ceax7yg.js} +0 -0
- /package/dist/chunks/{voice-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{voice-ade8csyh.js → state-ade8csyh.js} +0 -0
- /package/dist/chunks/{voice-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{voice-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{voice-beh6qq61.js → state-beh6qq61.js} +0 -0
- /package/dist/chunks/{voice-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{voice-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{voice-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{voice-cqv5kn06.js → state-cqv5kn06.js} +0 -0
- /package/dist/chunks/{voice-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{voice-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{voice-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{voice-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{voice-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{voice-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{voice-ean2d8b5.js → state-ean2d8b5.js} +0 -0
- /package/dist/chunks/{voice-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{voice-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{voice-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{voice-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{voice-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{voice-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{voice-fkpq3x5p.js → state-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{voice-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{voice-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{voice-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{voice-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{voice-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{voice-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{voice-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{voice-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{voice-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{voice-jwr30sdr.js → state-jwr30sdr.js} +0 -0
- /package/dist/chunks/{voice-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{voice-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{voice-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{voice-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{voice-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{voice-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{voice-nh4v3znn.js → state-nh4v3znn.js} +0 -0
- /package/dist/chunks/{voice-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{voice-p71gwv9c.js → state-p71gwv9c.js} +0 -0
- /package/dist/chunks/{voice-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{voice-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{voice-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{voice-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{voice-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{voice-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{voice-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{voice-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{voice-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{voice-syrav9an.js → state-syrav9an.js} +0 -0
- /package/dist/chunks/{voice-t03h4f5z.js → state-t03h4f5z.js} +0 -0
- /package/dist/chunks/{voice-ty7weeps.js → state-ty7weeps.js} +0 -0
- /package/dist/chunks/{voice-v2dnd5dt.js → state-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{voice-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{voice-vtarvj67.js → state-vtarvj67.js} +0 -0
- /package/dist/chunks/{voice-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{voice-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{voice-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{voice-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{voice-x4th4bpe.js → state-x4th4bpe.js} +0 -0
- /package/dist/chunks/{voice-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{voice-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{voice-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{voice-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{voice-z9919s4g.js → state-z9919s4g.js} +0 -0
- /package/dist/chunks/{voice-zxpyjp51.js → state-zxpyjp51.js} +0 -0
- /package/dist/chunks/{voice-zz5vv3aq.js → state-zz5vv3aq.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
outstanding2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-4dfqsw0d.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionMessage2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-gftt206x.js";
|
|
7
7
|
import {
|
|
8
8
|
SyntheticPayload2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-923z2668.js";
|
|
10
10
|
import {
|
|
11
11
|
NO_TEXT2,
|
|
12
12
|
text3,
|
|
13
13
|
formatBody2,
|
|
14
14
|
deliver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-1aryjtsy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/execution/subagent-report.ts
|
|
21
21
|
var exports_subagent_report = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-eatz8zw3.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service84,
|
|
10
|
+
node86
|
|
11
|
+
} from "./state-8d63t3d3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service58,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node60
|
|
16
|
+
} from "./state-as7nmnb0.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
@@ -28,9 +28,9 @@ __export(exports_pty, {
|
|
|
28
28
|
Info: () => Info3,
|
|
29
29
|
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service13,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node15
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -54,12 +54,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service13 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service93;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service84;
|
|
62
|
+
const shell = yield* Service58;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -255,12 +255,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
255
255
|
}
|
|
256
256
|
};
|
|
257
257
|
});
|
|
258
|
-
return
|
|
258
|
+
return Service13.of({ list, get, create, update, remove, write, attach });
|
|
259
259
|
}));
|
|
260
|
-
var
|
|
261
|
-
service:
|
|
260
|
+
var node15 = makeLocationNode({
|
|
261
|
+
service: Service13,
|
|
262
262
|
layer,
|
|
263
|
-
deps: [node95,
|
|
263
|
+
deps: [node95, node86, node60]
|
|
264
264
|
});
|
|
265
265
|
|
|
266
|
-
export { ID4, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2,
|
|
266
|
+
export { ID4, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node15, exports_pty, Event2 };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-rb9dy4dg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service84
|
|
13
|
+
} from "./state-8d63t3d3.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-7y60gvjh.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin3,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin3 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service84;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin3, exports_hg };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create4({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service8.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service8, node10, exports_location_watcher_policy };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./state-8cv530b8.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/webfetch.ts
|
|
20
20
|
var exports_webfetch = {};
|
|
21
21
|
__export(exports_webfetch, {
|
|
22
22
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input7,
|
|
24
24
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
25
|
-
MAX_RESPONSE_BYTES: () =>
|
|
25
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
26
26
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin47,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
|
-
description: () =>
|
|
30
|
+
description: () => description4,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name7
|
|
33
33
|
});
|
|
34
34
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
35
35
|
import { Duration, Effect, Schema } from "effect";
|
|
36
36
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
37
37
|
import { Parser } from "htmlparser2";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name7 = "webfetch";
|
|
39
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
40
40
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
41
41
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
42
|
-
var
|
|
42
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
43
43
|
|
|
44
44
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
45
45
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
46
|
-
var
|
|
46
|
+
var Input7 = Schema.Struct({
|
|
47
47
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
48
48
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
49
49
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -53,7 +53,7 @@ var Input12 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input7.fields.format,
|
|
57
57
|
output: Schema.String
|
|
58
58
|
});
|
|
59
59
|
var acceptHeader = (format) => {
|
|
@@ -107,7 +107,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
|
|
|
107
107
|
return yield* execute(http, check, next, format, userAgent, redirects + 1);
|
|
108
108
|
});
|
|
109
109
|
}));
|
|
110
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
110
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
111
111
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
112
112
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
113
113
|
var convert = (content, contentType, format) => {
|
|
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
|
|
|
119
119
|
return extractTextFromHTML2(content);
|
|
120
120
|
return content;
|
|
121
121
|
};
|
|
122
|
-
var
|
|
122
|
+
var Plugin47 = {
|
|
123
123
|
id: "opencode.tool.webfetch",
|
|
124
124
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
125
125
|
const http = yield* HttpClient.HttpClient;
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service70;
|
|
127
127
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
128
|
-
name:
|
|
128
|
+
name: name7,
|
|
129
129
|
options: { codemode: false },
|
|
130
|
-
description:
|
|
131
|
-
input:
|
|
130
|
+
description: description4,
|
|
131
|
+
input: Input7,
|
|
132
132
|
output: Output,
|
|
133
133
|
execute: (input, context) => Effect.gen(function* () {
|
|
134
134
|
const url = input.url.split("#")[0];
|
|
@@ -137,7 +137,7 @@ var Plugin16 = {
|
|
|
137
137
|
catch: (error) => error
|
|
138
138
|
});
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name7,
|
|
141
141
|
resources: [url],
|
|
142
142
|
save: ["*"],
|
|
143
143
|
metadata: input,
|
|
@@ -145,7 +145,7 @@ var Plugin16 = {
|
|
|
145
145
|
});
|
|
146
146
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
147
147
|
const check = (next) => permission.assertNotDenied({
|
|
148
|
-
action:
|
|
148
|
+
action: name7,
|
|
149
149
|
resources: [next],
|
|
150
150
|
metadata: { ...input, url: next },
|
|
151
151
|
...invocation2(context)
|
|
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
|
|
|
199
199
|
parser.end();
|
|
200
200
|
return text.trim();
|
|
201
201
|
}
|
|
202
|
-
export {
|
|
202
|
+
export { name7, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input7, MAX_REDIRECTS2, Plugin47, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make32,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-p5jwrm42.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
lookup2,
|
|
11
11
|
namespaceLine2,
|
|
12
12
|
cost2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-85jq8dht.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/codemode/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
CodeModeInstructions: () =>
|
|
22
|
-
make: () =>
|
|
19
|
+
var exports_instructions3 = {};
|
|
20
|
+
__export(exports_instructions3, {
|
|
21
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
22
|
+
make: () => make25,
|
|
23
23
|
render: () => render2,
|
|
24
24
|
update: () => update2
|
|
25
25
|
});
|
|
@@ -123,9 +123,9 @@ function fit(listings, budget) {
|
|
|
123
123
|
}
|
|
124
124
|
var key = Key3.make("core/codemode");
|
|
125
125
|
var codec = Schema.toCodecJson(Summary2);
|
|
126
|
-
var
|
|
126
|
+
var make25 = (inventory) => {
|
|
127
127
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
128
|
-
return
|
|
128
|
+
return make32({
|
|
129
129
|
key,
|
|
130
130
|
codec,
|
|
131
131
|
read: Effect.succeed(catalog),
|
|
@@ -139,4 +139,4 @@ var make24 = (inventory) => {
|
|
|
139
139
|
});
|
|
140
140
|
};
|
|
141
141
|
|
|
142
|
-
export { render2, update2,
|
|
142
|
+
export { render2, update2, make25, exports_instructions3 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./state-syk2ttnm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./state-8d63t3d3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./state-yd46kdwt.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-p5jwrm42.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
File2,
|
|
15
|
+
Service45
|
|
16
|
+
} from "./state-2ajmtsj5.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin33
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin33 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service45;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service76;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
|
-
const location = yield*
|
|
44
|
-
const watcher = yield*
|
|
43
|
+
const location = yield* Service84;
|
|
44
|
+
const watcher = yield* Service77;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -66,13 +66,13 @@ var Plugin45 = define({
|
|
|
66
66
|
yield* updates.pipe(Stream.runForEach(publish), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
}
|
|
68
68
|
const read = Effect.fn("ConfigInstructionPlugin.read")(function* (filepath) {
|
|
69
|
-
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new
|
|
69
|
+
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File2({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
|
|
70
70
|
});
|
|
71
71
|
const globalSource = Effect.fn("ConfigInstructionPlugin.globalSource")(function* () {
|
|
72
72
|
if (!discovery.global || !(yield* fs.isFile(globalFile)))
|
|
73
73
|
return [];
|
|
74
74
|
const file = yield* read(globalFile);
|
|
75
|
-
return file instanceof
|
|
75
|
+
return file instanceof File2 ? [file] : [];
|
|
76
76
|
});
|
|
77
77
|
const projectSource = Effect.fn("ConfigInstructionPlugin.projectSource")(function* () {
|
|
78
78
|
if (!project)
|
|
@@ -82,7 +82,7 @@ var Plugin45 = define({
|
|
|
82
82
|
const files = yield* Effect.forEach(discovered, read, { concurrency: "unbounded" });
|
|
83
83
|
if (files.some((file) => file === undefined))
|
|
84
84
|
return unavailable3;
|
|
85
|
-
return files.filter((file) => file instanceof
|
|
85
|
+
return files.filter((file) => file instanceof File2);
|
|
86
86
|
});
|
|
87
87
|
const match = Effect.fn("ConfigInstructionPlugin.match")(function* (source) {
|
|
88
88
|
const expanded = source.startsWith("~/") ? path.join(global.home, source.slice(2)) : source;
|
|
@@ -117,7 +117,7 @@ var Plugin45 = define({
|
|
|
117
117
|
continue;
|
|
118
118
|
watched.add(resolved);
|
|
119
119
|
const file = yield* read(resolved);
|
|
120
|
-
if (file instanceof
|
|
120
|
+
if (file instanceof File2)
|
|
121
121
|
files.push(file);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -136,7 +136,7 @@ var Plugin45 = define({
|
|
|
136
136
|
const reconfigure = Effect.fn("ConfigInstructionPlugin.reconfigure")(function* () {
|
|
137
137
|
const entries = yield* config.entries();
|
|
138
138
|
const sources = Array.from(new Set(entries.flatMap((entry) => entry.type === "document" ? entry.info.instructions ?? [] : [])));
|
|
139
|
-
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new
|
|
139
|
+
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File2({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
|
|
140
140
|
configured.sources = sources;
|
|
141
141
|
configured.remote = new Map(fetched.filter((file) => file !== undefined).map((file) => [file.path, file]));
|
|
142
142
|
}, (effect) => lock.withPermit(effect));
|
|
@@ -180,4 +180,4 @@ function isUrl(source) {
|
|
|
180
180
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Plugin33, exports_instruction };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-r8ek82sz.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service76
|
|
11
|
+
} from "./state-yd46kdwt.js";
|
|
12
12
|
import {
|
|
13
13
|
DirectoryNotFoundError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-grdxa8jy.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service74
|
|
17
|
+
} from "./state-1vj9z2t7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service49,
|
|
20
|
+
node51
|
|
21
|
+
} from "./state-cg3fcpn4.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessage2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-gftt206x.js";
|
|
25
25
|
import {
|
|
26
26
|
SessionInboxTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-mb7mbhnz.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service46,
|
|
30
|
+
node49
|
|
31
|
+
} from "./state-xs8ad273.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service29,
|
|
34
|
+
node32
|
|
35
|
+
} from "./state-ptx3cj57.js";
|
|
36
36
|
import {
|
|
37
37
|
validate2,
|
|
38
38
|
describe2,
|
|
39
39
|
authorize2,
|
|
40
40
|
evaluate2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./state-maptvskn.js";
|
|
42
42
|
import {
|
|
43
43
|
ScheduleTable2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./state-wegkxhrn.js";
|
|
45
45
|
import {
|
|
46
46
|
__export
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./state-9rqn6x4v.js";
|
|
48
48
|
|
|
49
49
|
// src/schedule.ts
|
|
50
50
|
var exports_schedule2 = {};
|
|
@@ -60,10 +60,10 @@ __export(exports_schedule2, {
|
|
|
60
60
|
Outcome: () => Outcome3,
|
|
61
61
|
Request: () => Request2,
|
|
62
62
|
Schedule: () => exports_schedule2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service18,
|
|
64
64
|
Status: () => Status2,
|
|
65
65
|
When: () => When2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node20,
|
|
67
67
|
toCreateInput: () => toCreateInput2
|
|
68
68
|
});
|
|
69
69
|
import { randomUUID } from "node:crypto";
|
|
@@ -105,7 +105,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
class
|
|
108
|
+
class Service18 extends Context.Service()("@opencode/Schedule") {
|
|
109
109
|
}
|
|
110
110
|
var MINUTE = 60000;
|
|
111
111
|
var HOUR = 60 * MINUTE;
|
|
@@ -191,16 +191,16 @@ var toInfo = (row, lastOutput) => ({
|
|
|
191
191
|
...lastOutput === undefined ? {} : { lastOutput },
|
|
192
192
|
time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
|
|
193
193
|
});
|
|
194
|
-
var layer = Layer.effect(
|
|
194
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
195
195
|
const database = yield* Service94;
|
|
196
196
|
const db = database.db;
|
|
197
|
-
const sessions = yield*
|
|
198
|
-
const instances = yield*
|
|
199
|
-
const execution = yield*
|
|
197
|
+
const sessions = yield* Service29;
|
|
198
|
+
const instances = yield* Service49;
|
|
199
|
+
const execution = yield* Service46;
|
|
200
200
|
const doorbell = yield* Latch.make();
|
|
201
201
|
const settings = (session) => Effect.gen(function* () {
|
|
202
|
-
const config = yield*
|
|
203
|
-
const flags = yield*
|
|
202
|
+
const config = yield* Service76;
|
|
203
|
+
const flags = yield* Service74;
|
|
204
204
|
const entries = yield* config.entries();
|
|
205
205
|
return {
|
|
206
206
|
enabled: flags.resolve(entries).schedules.enabled,
|
|
@@ -481,7 +481,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
481
481
|
return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
|
|
482
482
|
return Math.min(at.value, after ?? at.value);
|
|
483
483
|
});
|
|
484
|
-
return
|
|
484
|
+
return Service18.of({
|
|
485
485
|
create: Effect.fn("Schedule.create")(function* (input) {
|
|
486
486
|
const session = yield* sessions.get(input.sessionID);
|
|
487
487
|
const missingDirectory = () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }));
|
|
@@ -593,10 +593,10 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
593
593
|
run
|
|
594
594
|
});
|
|
595
595
|
}));
|
|
596
|
-
var
|
|
597
|
-
service:
|
|
596
|
+
var node20 = makeGlobalNode({
|
|
597
|
+
service: Service18,
|
|
598
598
|
layer,
|
|
599
|
-
deps: [node96,
|
|
599
|
+
deps: [node96, node32, node49, node51]
|
|
600
600
|
});
|
|
601
601
|
|
|
602
|
-
export { Condition2, ConditionInput2, CreateInput3, ID5, Info4, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError3, InvalidError2, DisabledError2,
|
|
602
|
+
export { Condition2, ConditionInput2, CreateInput3, ID5, Info4, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError3, InvalidError2, DisabledError2, Service18, node20, exports_schedule2 };
|