@opencode/core 0.0.0-dev-20644 → 0.0.0-dev-20648
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{reference-cyya37fe.js → pty-0099bvhy.js} +9 -9
- package/dist/chunks/{reference-8mwpm1an.js → pty-09pca8az.js} +20 -20
- package/dist/chunks/{reference-76kk80dz.js → pty-0akqd5d4.js} +24 -24
- package/dist/chunks/{reference-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-s3pmgr9t.js → pty-0retw3c6.js} +39 -39
- package/dist/chunks/{reference-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{reference-r0yjwmba.js → pty-0y9mdftf.js} +6 -6
- package/dist/chunks/{reference-y07dqpd7.js → pty-0zrv4f4y.js} +13 -13
- package/dist/chunks/{reference-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{reference-mp7381ha.js → pty-1nxxv4qb.js} +11 -11
- package/dist/chunks/{reference-dvc89yjx.js → pty-1p7f10vm.js} +8 -8
- package/dist/chunks/{reference-88ywh4qk.js → pty-1qq73t15.js} +7 -7
- package/dist/chunks/{reference-1ygqh575.js → pty-1ygqh575.js} +2 -2
- package/dist/chunks/{reference-t2ykdevs.js → pty-23897brc.js} +5 -5
- package/dist/chunks/{reference-tah2dmcr.js → pty-27qxacty.js} +15 -15
- package/dist/chunks/{reference-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-q3m1smny.js → pty-2hpka7mt.js} +14 -14
- package/dist/chunks/{reference-86qzxe6p.js → pty-2k71kv7p.js} +4 -4
- package/dist/chunks/{reference-qgn6gcr1.js → pty-2k8khapm.js} +5 -5
- package/dist/chunks/{reference-qmqgtz8f.js → pty-2sejkfem.js} +9 -9
- package/dist/chunks/{reference-c5pjp08j.js → pty-2vqnfsz1.js} +12 -12
- package/dist/chunks/{reference-52jg0a30.js → pty-32t0bw84.js} +12 -12
- package/dist/chunks/{reference-3cegwx68.js → pty-3cegwx68.js} +2 -2
- package/dist/chunks/{reference-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{reference-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-k6tv6mb5.js → pty-3z4a0cq1.js} +4 -4
- package/dist/chunks/{reference-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{reference-nx7bjzyg.js → pty-42q8eg0m.js} +2 -2
- package/dist/chunks/{reference-vptjzd05.js → pty-48km10qy.js} +11 -11
- package/dist/chunks/{reference-jnvd0kyr.js → pty-4c91ejxn.js} +9 -9
- package/dist/chunks/{reference-qbe3snec.js → pty-4kbb9d62.js} +9 -9
- package/dist/chunks/{reference-bpmpjnmg.js → pty-4kc2bv9g.js} +35 -35
- package/dist/chunks/{reference-4ts7tf6z.js → pty-4ts7tf6z.js} +2 -2
- package/dist/chunks/{reference-xf0nr9dv.js → pty-4wwqnvbr.js} +4 -4
- package/dist/chunks/{reference-dkg05a5w.js → pty-53ybeb94.js} +25 -25
- package/dist/chunks/{reference-54ma36ye.js → pty-54ma36ye.js} +1 -1
- package/dist/chunks/{reference-1et4t6yv.js → pty-55t9wqe0.js} +22 -22
- package/dist/chunks/{reference-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{reference-8t7rhgz3.js → pty-5rpr6ftq.js} +9 -9
- package/dist/chunks/{reference-gwzp9a94.js → pty-5rz2hsq0.js} +7 -7
- package/dist/chunks/{reference-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{reference-h5brs6ad.js → pty-624z605s.js} +18 -18
- package/dist/chunks/{reference-m39cm8ca.js → pty-67edg2p2.js} +11 -11
- package/dist/chunks/{reference-0aacj8rv.js → pty-6fgykvfe.js} +3 -3
- package/dist/chunks/{reference-mszqqr5a.js → pty-6pdpv8kk.js} +8 -8
- package/dist/chunks/{reference-t11fnep0.js → pty-6rhsmm9b.js} +4 -4
- package/dist/chunks/{reference-wbtfkyzq.js → pty-6tsxpv82.js} +19 -19
- package/dist/chunks/{reference-6v23mrsw.js → pty-6v23mrsw.js} +3 -3
- package/dist/chunks/{reference-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{reference-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/pty-7fj5dwt0.js +18 -0
- package/dist/chunks/{reference-yt62qj12.js → pty-7pgwfb4h.js} +30 -30
- package/dist/chunks/{reference-defjrdcv.js → pty-7ppg2tjj.js} +73 -73
- package/dist/chunks/{reference-1sb9m88v.js → pty-7r9y934d.js} +140 -140
- package/dist/chunks/{reference-84h8c373.js → pty-84h8c373.js} +2 -2
- package/dist/chunks/{reference-td55a9w2.js → pty-84pbkp20.js} +12 -12
- package/dist/chunks/{reference-84txncab.js → pty-84txncab.js} +1 -1
- package/dist/chunks/{reference-vyfd576n.js → pty-874yzzjt.js} +24 -24
- package/dist/chunks/{reference-h4ckqw4f.js → pty-89rvcjqs.js} +8 -8
- package/dist/chunks/{reference-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{reference-kvffqfe9.js → pty-8j0pg7vy.js} +22 -22
- package/dist/chunks/{reference-7223d1z5.js → pty-8jypv1cv.js} +10 -10
- package/dist/chunks/{reference-b7mddd13.js → pty-8k3tzzhw.js} +45 -45
- package/dist/chunks/{reference-t2fc4mz5.js → pty-8rqycdgd.js} +7 -7
- package/dist/chunks/{reference-a3c7ahw6.js → pty-8wbxkt1z.js} +4 -4
- package/dist/chunks/{reference-amzhydp5.js → pty-8yen0vmk.js} +15 -15
- package/dist/chunks/{reference-87jy24nc.js → pty-923rcr6j.js} +15 -15
- package/dist/chunks/{reference-tdw7b37v.js → pty-92n0272q.js} +13 -13
- package/dist/chunks/{reference-r8kdp16q.js → pty-97c348b2.js} +30 -30
- package/dist/chunks/{reference-f43c2727.js → pty-9cfex9y1.js} +20 -20
- package/dist/chunks/{reference-2wgr0bg0.js → pty-9d8x5jdk.js} +29 -29
- package/dist/chunks/{reference-cq9vh2fv.js → pty-9ex8f1cq.js} +8 -8
- package/dist/chunks/{reference-vpt24r21.js → pty-9r9wb4j2.js} +11 -11
- package/dist/chunks/{reference-m6rwzraj.js → pty-9rh5dvbx.js} +3 -3
- package/dist/chunks/{reference-rrk1042z.js → pty-9se51ysk.js} +32 -32
- package/dist/chunks/{reference-jc4g2yrv.js → pty-9tyz0y11.js} +9 -9
- package/dist/chunks/{reference-73tb2d7t.js → pty-a1gpj94z.js} +3 -3
- package/dist/chunks/{reference-8tqdxazn.js → pty-a2hf6yb4.js} +8 -8
- package/dist/chunks/{reference-2p2thyt8.js → pty-a2zg833y.js} +11 -11
- package/dist/chunks/{reference-by0ebg82.js → pty-a6syyywt.js} +22 -22
- package/dist/chunks/{reference-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-b251r90g.js → pty-ab4j4ym1.js} +298 -298
- package/dist/chunks/{reference-hndc3k9c.js → pty-acg7byny.js} +9 -9
- package/dist/chunks/{reference-83t40xbf.js → pty-ad0bmy2v.js} +20 -20
- package/dist/chunks/{reference-wfb8b895.js → pty-ad0mmn42.js} +9 -9
- package/dist/chunks/{reference-dcb7qyjw.js → pty-anfgajne.js} +14 -14
- package/dist/chunks/{reference-cvnd2j5s.js → pty-ap8tz65t.js} +3 -3
- package/dist/chunks/{reference-1a1xd1b3.js → pty-ay5x7dxy.js} +36 -36
- package/dist/chunks/{reference-5c42fwyc.js → pty-b3jqpnzw.js} +11 -11
- package/dist/chunks/{reference-hbxrrpsy.js → pty-b56sn4ad.js} +13 -13
- package/dist/chunks/{reference-rk1r2hx8.js → pty-b69jv39p.js} +1 -1
- package/dist/chunks/{reference-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-4dz5bemh.js → pty-bd8ayshm.js} +4 -4
- package/dist/chunks/{reference-7zpbt3aj.js → pty-bmcex1jf.js} +9 -9
- package/dist/chunks/{reference-gjnvnc4y.js → pty-bncrevqt.js} +25 -25
- package/dist/chunks/{reference-gvt3vmzy.js → pty-bp8hqz04.js} +5 -5
- package/dist/chunks/{reference-8bdbvaz4.js → pty-bt3wk4ae.js} +4 -4
- package/dist/chunks/{reference-r0xwa5b9.js → pty-bvjche96.js} +14 -14
- package/dist/chunks/{reference-sgdqa063.js → pty-bw9phdsx.js} +35 -35
- package/dist/chunks/{reference-ftjf86m5.js → pty-bydnjh3t.js} +9 -9
- package/dist/chunks/{reference-yaj5ebgj.js → pty-c04nv0t5.js} +48 -48
- package/dist/chunks/{reference-qmrj7qv4.js → pty-c19p4hyh.js} +6 -6
- package/dist/chunks/{reference-9vqr2gqg.js → pty-c8449nhm.js} +11 -11
- package/dist/chunks/{reference-cfsekr6v.js → pty-cfsekr6v.js} +2 -2
- package/dist/chunks/{reference-afdssyjb.js → pty-ckf8nxjz.js} +4 -4
- package/dist/chunks/{reference-5xtgfte3.js → pty-cmwkp3r5.js} +8 -8
- package/dist/chunks/{reference-nk5qe5vz.js → pty-cq5kxxzs.js} +21 -21
- package/dist/chunks/{reference-72kjf32t.js → pty-csn018d7.js} +43 -43
- package/dist/chunks/{reference-9edtgxtv.js → pty-ctdhhp9a.js} +28 -28
- package/dist/chunks/{reference-7rpx7sq4.js → pty-cwtckkf6.js} +19 -19
- package/dist/chunks/{reference-0skng5dr.js → pty-d036g1ys.js} +7 -7
- package/dist/chunks/{reference-6c09zaff.js → pty-d3mnj8kh.js} +1 -1
- package/dist/chunks/{reference-veanqdwt.js → pty-d45sg6xs.js} +15 -15
- package/dist/chunks/{reference-hgc4p3n8.js → pty-d7jcpxfr.js} +13 -13
- package/dist/chunks/{reference-yww0r5a3.js → pty-d7tem15s.js} +15 -15
- package/dist/chunks/{reference-d8h4y8x2.js → pty-d8h4y8x2.js} +2 -2
- package/dist/chunks/{reference-ajgzqw9a.js → pty-da3p7k9k.js} +4 -4
- package/dist/chunks/{reference-x0agx93m.js → pty-ddy3e1gr.js} +5 -5
- package/dist/chunks/{reference-m4c3aw93.js → pty-dhng9vzx.js} +25 -25
- package/dist/chunks/{reference-prryrcpd.js → pty-dmpsdkb3.js} +52 -52
- package/dist/chunks/{reference-nxm207yx.js → pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{reference-wz3q2ckh.js → pty-dppya6f9.js} +20 -20
- package/dist/chunks/{reference-jnrqkn6c.js → pty-dshcjhsp.js} +26 -26
- package/dist/chunks/{reference-hgvy4kar.js → pty-e04nd2rq.js} +8 -8
- package/dist/chunks/{reference-je2kf47w.js → pty-e3cy6mqt.js} +5 -5
- package/dist/chunks/{reference-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-fpswryxc.js → pty-efk260vg.js} +13 -13
- package/dist/chunks/{reference-g9s62h09.js → pty-ehypbcz6.js} +22 -22
- package/dist/chunks/{reference-q538z9pc.js → pty-em95cejf.js} +15 -15
- package/dist/chunks/{reference-3801kdgp.js → pty-emwywv8g.js} +5 -5
- package/dist/chunks/{reference-tegs1ycp.js → pty-eqkxs06z.js} +6 -6
- package/dist/chunks/{reference-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{reference-ty1kjgn1.js → pty-ev7nexnv.js} +36 -36
- package/dist/chunks/{reference-f3bkb0dd.js → pty-f33yc4k3.js} +25 -25
- package/dist/chunks/{reference-v01fwtwf.js → pty-f34j0f4a.js} +6 -6
- package/dist/chunks/{reference-f75zav2x.js → pty-f75zav2x.js} +2 -2
- package/dist/chunks/{reference-gtzbc217.js → pty-f83zg7kr.js} +21 -21
- package/dist/chunks/{reference-cznc04wa.js → pty-f8m0k53h.js} +9 -9
- package/dist/chunks/{reference-7aj7xv8n.js → pty-fggkqnd8.js} +11 -11
- package/dist/chunks/{reference-50eqagw9.js → pty-fv8pqfsd.js} +5 -5
- package/dist/chunks/{reference-2zztsz65.js → pty-g3msn0ej.js} +8 -8
- package/dist/chunks/{reference-g5w8qwbj.js → pty-g5w8qwbj.js} +1 -1
- package/dist/chunks/{reference-w39jehkq.js → pty-g6yfr6ja.js} +5 -5
- package/dist/chunks/{reference-6t2k45be.js → pty-g9jfc9ac.js} +17 -17
- package/dist/chunks/{reference-m2wppme0.js → pty-gap9jj81.js} +19 -19
- package/dist/chunks/{reference-xrzsv9ds.js → pty-gb39ghec.js} +9 -9
- package/dist/chunks/{reference-yy493xsn.js → pty-gbvzc8kx.js} +20 -20
- package/dist/chunks/{reference-g9y2cd3z.js → pty-gcytf9y4.js} +26 -26
- package/dist/chunks/{reference-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-bx0gyb4h.js → pty-gj71zhbs.js} +5 -5
- package/dist/chunks/{reference-dppwmjh0.js → pty-gq70b9ca.js} +7 -7
- package/dist/chunks/{reference-mhb1xyd0.js → pty-gtmxr1a9.js} +25 -25
- package/dist/chunks/{reference-he0vrkkp.js → pty-gzqsmt5r.js} +4 -4
- package/dist/chunks/{reference-3g9wyfya.js → pty-h462srpz.js} +23 -23
- package/dist/chunks/{reference-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-pj60644h.js → pty-h921bxg9.js} +11 -11
- package/dist/chunks/{reference-3eescsqs.js → pty-hqq5g41y.js} +43 -43
- package/dist/chunks/{reference-qjeyhcp2.js → pty-hsf7jdvw.js} +28 -28
- package/dist/chunks/{reference-ss358qx3.js → pty-hzrfc1p4.js} +3 -3
- package/dist/chunks/{reference-d3tcrfr2.js → pty-j17byzzq.js} +11 -11
- package/dist/chunks/{reference-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{reference-gh5z95q3.js → pty-k70p9jzb.js} +9 -9
- package/dist/chunks/{reference-rpwhq6pb.js → pty-k9s9h972.js} +3 -3
- package/dist/chunks/{reference-kb9j3d72.js → pty-kb9j3d72.js} +3 -3
- package/dist/chunks/{reference-9k28mjf9.js → pty-kpxf0xq6.js} +29 -29
- package/dist/chunks/{reference-2avx1wba.js → pty-ksx0wd75.js} +11 -11
- package/dist/chunks/{reference-a8bn8zg0.js → pty-kvvk39gs.js} +4 -4
- package/dist/chunks/{reference-ag4901q7.js → pty-ky8w6whr.js} +6 -6
- package/dist/chunks/{reference-v9bgj935.js → pty-kyr1z5gy.js} +24 -24
- package/dist/chunks/{reference-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{reference-w4xhwz3h.js → pty-m5canyms.js} +6 -6
- package/dist/chunks/{reference-bvc4cg79.js → pty-m995qhkc.js} +5 -5
- package/dist/chunks/{reference-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-bpy139ph.js → pty-mb37bn90.js} +7 -7
- package/dist/chunks/{reference-6jsvsf2v.js → pty-mjex1bph.js} +38 -38
- package/dist/chunks/{reference-rpqbf71x.js → pty-mjv4r1bw.js} +20 -20
- package/dist/chunks/{reference-rm3eewz3.js → pty-mk442ktg.js} +6 -6
- package/dist/chunks/{reference-vvx487fg.js → pty-mt3n9ssm.js} +5 -5
- package/dist/chunks/{reference-cag15tqf.js → pty-mt4678g7.js} +24 -24
- package/dist/chunks/{reference-gqtdsdt7.js → pty-mxvxcxwy.js} +4 -4
- package/dist/chunks/{reference-pqwyxwmm.js → pty-nanknxd5.js} +11 -11
- package/dist/chunks/{reference-gpp0brcr.js → pty-nche7t88.js} +5 -5
- package/dist/chunks/{reference-3470gd9h.js → pty-ndphwy30.js} +16 -16
- package/dist/chunks/{reference-2eegacq4.js → pty-ngts6ef0.js} +8 -8
- package/dist/chunks/{reference-4r3amq6s.js → pty-nj17t0gr.js} +17 -17
- package/dist/chunks/{reference-4qzt904k.js → pty-nkxt7aqy.js} +16 -16
- package/dist/chunks/{reference-0anetptk.js → pty-nm21rvpv.js} +9 -9
- package/dist/chunks/{reference-bzh6v3xd.js → pty-nxkfy0rg.js} +9 -9
- package/dist/chunks/{reference-pg4qvhje.js → pty-p1a0bpjp.js} +22 -22
- package/dist/chunks/{reference-qc6fgdwa.js → pty-p48syh26.js} +16 -16
- package/dist/chunks/{reference-h6d45qjv.js → pty-p6drkcnf.js} +18 -18
- package/dist/chunks/{reference-y15vpdnr.js → pty-ph20cxtq.js} +9 -9
- package/dist/chunks/{reference-tvy4pmrp.js → pty-phze5rqg.js} +3 -3
- package/dist/chunks/{reference-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-jpdp1vnh.js → pty-pk028k88.js} +26 -26
- package/dist/chunks/{reference-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{reference-2194chap.js → pty-pr3txkn9.js} +15 -15
- package/dist/chunks/{reference-nhsamrrc.js → pty-q0jcpdgf.js} +51 -51
- package/dist/chunks/{reference-q0xm7vwc.js → pty-q0xm7vwc.js} +2 -2
- package/dist/chunks/{reference-2mq34jqw.js → pty-q581keqr.js} +2 -2
- package/dist/chunks/{reference-7sq9ks3h.js → pty-q8zbp1h0.js} +8 -8
- package/dist/chunks/{reference-dwajttkg.js → pty-qeh1kqdq.js} +8 -8
- package/dist/chunks/{reference-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{reference-pgp5awqq.js → pty-qq6e0a1m.js} +19 -19
- package/dist/chunks/{reference-nbgrff9b.js → pty-qr3e0xf1.js} +3 -3
- package/dist/chunks/{reference-w62h0ejf.js → pty-qs7m5bs1.js} +7 -7
- package/dist/chunks/{reference-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-cqdnmg2r.js → pty-qtx5aasq.js} +11 -11
- package/dist/chunks/{reference-qxjc9qry.js → pty-qxjc9qry.js} +3 -3
- package/dist/chunks/{reference-4qyddrjz.js → pty-r79jpe1g.js} +7 -7
- package/dist/chunks/{reference-nkf980df.js → pty-r8xr0va3.js} +4 -4
- package/dist/chunks/{reference-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{reference-s8w3rjvj.js → pty-rfyh9d2c.js} +24 -24
- package/dist/chunks/{reference-scsdzjr7.js → pty-rrpq0de9.js} +12 -12
- package/dist/chunks/{reference-fhyq4rkh.js → pty-rtjv9fpq.js} +32 -32
- package/dist/chunks/{reference-6zr4h8f4.js → pty-rvghhgda.js} +18 -18
- package/dist/chunks/{reference-qygbw77c.js → pty-scgrse2b.js} +5 -5
- package/dist/chunks/{reference-db7cgdsw.js → pty-sf4w6t5k.js} +40 -40
- package/dist/chunks/{reference-aabqg1yt.js → pty-sm2pca5m.js} +5 -5
- package/dist/chunks/{reference-sqvzcy4n.js → pty-sqvzcy4n.js} +4 -4
- package/dist/chunks/{reference-cftre4vt.js → pty-sv5c54x8.js} +32 -32
- package/dist/chunks/{reference-pakybbh2.js → pty-t17teb9f.js} +17 -17
- package/dist/chunks/{reference-61q39vzt.js → pty-t4y1vgnz.js} +26 -26
- package/dist/chunks/{reference-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-rnht7zsd.js → pty-tb7q8jz9.js} +14 -14
- package/dist/chunks/{reference-05xfxpq7.js → pty-tc6qcdy5.js} +5 -5
- package/dist/chunks/{reference-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{reference-fvqj4f3c.js → pty-thkc5986.js} +8 -8
- package/dist/chunks/{reference-83xsvayb.js → pty-thrtz6av.js} +3 -3
- package/dist/chunks/{reference-zzpvks7y.js → pty-tp4ajszw.js} +32 -32
- package/dist/chunks/{reference-rmg5xfkv.js → pty-txjh0ez7.js} +17 -17
- package/dist/chunks/{reference-v0es1rhs.js → pty-v0es1rhs.js} +2 -2
- package/dist/chunks/{reference-9angfs7f.js → pty-v5zgyzx5.js} +11 -11
- package/dist/chunks/{reference-gcrbmep4.js → pty-v8cctvef.js} +7 -7
- package/dist/chunks/{reference-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-ns7haffg.js → pty-vgd5xkr1.js} +75 -75
- package/dist/chunks/{reference-63db42yp.js → pty-vjjaysxc.js} +2 -2
- package/dist/chunks/{reference-0ev02b6f.js → pty-vpxjmme6.js} +12 -12
- package/dist/chunks/{reference-0nde5ztd.js → pty-vxp3kcg3.js} +5 -5
- package/dist/chunks/{reference-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{reference-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-ht8cmbj4.js → pty-w7qxzhtt.js} +13 -13
- package/dist/chunks/{reference-84gzjtx2.js → pty-wa3vteb6.js} +29 -29
- package/dist/chunks/{reference-b8cf1jne.js → pty-wd3qynhg.js} +1 -1
- package/dist/chunks/{reference-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{reference-za77p82n.js → pty-wja9eyn5.js} +6 -6
- package/dist/chunks/{reference-y0ty5fha.js → pty-wpybfb3e.js} +3 -3
- package/dist/chunks/{reference-wv396vej.js → pty-wv396vej.js} +1 -1
- package/dist/chunks/{reference-tqcqmy0z.js → pty-x3mar638.js} +168 -168
- package/dist/chunks/{reference-tmcwaswb.js → pty-x8t7tj7c.js} +10 -10
- package/dist/chunks/{reference-nfpgxjj6.js → pty-xbe8mphx.js} +12 -12
- package/dist/chunks/{reference-b64x0h7w.js → pty-xexk5p4t.js} +57 -57
- package/dist/chunks/{reference-xkntkrq7.js → pty-xkntkrq7.js} +2 -2
- package/dist/chunks/{reference-rkekhv0x.js → pty-xqpfqqd7.js} +20 -20
- package/dist/chunks/{reference-xm3t5kx7.js → pty-xvjb85ys.js} +4 -4
- package/dist/chunks/{reference-r656bzgr.js → pty-y1202j2k.js} +4 -4
- package/dist/chunks/{reference-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-yfs5p2ka.js → pty-y71s8m6t.js} +4 -4
- package/dist/chunks/{reference-04j0x0ww.js → pty-y8p3zjbc.js} +6 -6
- package/dist/chunks/{reference-1xmbdwss.js → pty-yac0akaj.js} +5 -5
- package/dist/chunks/{reference-6jc1b2h3.js → pty-yas84py3.js} +13 -13
- package/dist/chunks/{reference-ybdpay6p.js → pty-ykher12f.js} +17 -17
- package/dist/chunks/{reference-f29mbr7f.js → pty-yrcj3v3g.js} +4 -4
- package/dist/chunks/{reference-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-p9yds72b.js → pty-z1f2d5px.js} +32 -32
- package/dist/chunks/{reference-ykw2g6qf.js → pty-z4snssz9.js} +17 -17
- package/dist/chunks/{reference-10pc31tr.js → pty-zg438qz9.js} +42 -42
- package/dist/chunks/{reference-94xjc4x3.js → pty-zge3vb8x.js} +28 -28
- package/dist/chunks/{reference-rb1fbfth.js → pty-zp1h7pbg.js} +11 -11
- package/dist/chunks/{reference-4eekcfr3.js → pty-zqfdtaf3.js} +37 -37
- package/dist/chunks/{reference-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-tyvap7pe.js → pty-zt18z2tx.js} +32 -32
- package/dist/chunks/{reference-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +103 -103
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +100 -100
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +212 -212
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +87 -87
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +3 -3
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +74 -74
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/reference-619r8v3y.js +0 -18
- /package/dist/chunks/{reference-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-gzqsmt5r.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-8yen0vmk.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service22,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
available: () => available2,
|
|
25
|
+
configured: () => configured4,
|
|
26
|
+
layer: () => layer10,
|
|
27
|
+
node: () => node25
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,25 +35,25 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
+
var Options4 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service22 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service83;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service81, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service81, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service81, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service22.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service81, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer10 = makeLayer();
|
|
263
|
+
var configured4 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service22,
|
|
265
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
266
266
|
deps: [node87, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node25 = configured4();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError3, Service22, layer10, configured4, node25, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./pty-9cfex9y1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./pty-mjex1bph.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-mk442ktg.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin40
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin40 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service48;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service49;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin37 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin40, exports_compatibility };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info9,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info9 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info9, exports_permission };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service70
|
|
4
|
+
} from "./pty-9se51ysk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./pty-mjex1bph.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service70;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service48);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service80,
|
|
18
|
+
node84
|
|
19
|
+
} from "./pty-bvjche96.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service75,
|
|
22
|
+
node78
|
|
23
|
+
} from "./pty-gcytf9y4.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service74,
|
|
33
|
+
node: () => node77
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service74,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node77,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service74 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service80;
|
|
66
|
+
const workspace = yield* Service75;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service74.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node77 = makeLocationNode({
|
|
71
|
+
service: Service74,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node84, node78]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service74, node77, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
11
|
layer: () => layer17,
|
|
12
12
|
make: () => make17,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node47,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -29,7 +29,7 @@ function useragent2(app) {
|
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
31
|
var layer17 = (input) => Layer.succeed(Metadata2, make17(input));
|
|
32
|
-
var
|
|
33
|
-
var
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
|
|
33
|
+
var node47 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make17, useragent2, layer17,
|
|
35
|
+
export { Metadata2, make17, useragent2, layer17, configured6, node47, exports_app };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-ctdhhp9a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-dshcjhsp.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID12.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service71
|
|
3
|
-
} from "./reference-f3bkb0dd.js";
|
|
4
1
|
import {
|
|
5
2
|
Service73
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./pty-f33yc4k3.js";
|
|
4
|
+
import {
|
|
5
|
+
Service59
|
|
6
|
+
} from "./pty-dmpsdkb3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service73;
|
|
57
|
+
const permission = yield* Service59;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-gzqsmt5r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event17,
|
|
7
|
+
Service72,
|
|
8
|
+
node75
|
|
9
|
+
} from "./pty-ctdhhp9a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service49,
|
|
12
|
+
node53
|
|
13
|
+
} from "./pty-9cfex9y1.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./pty-bvjche96.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-4ts7tf6z.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-624z605s.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-nche7t88.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
35
|
Service50,
|
|
36
|
-
|
|
36
|
+
Event9,
|
|
37
37
|
node54
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./pty-1nxxv4qb.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./pty-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options6,
|
|
48
|
+
Service: () => Service48,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
52
|
layer: () => layer18,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node52,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options6 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service48 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,14 +89,14 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service48, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var layer18 = (options) => Layer.effect(
|
|
94
|
+
var layer18 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service80;
|
|
97
|
+
const watcher = yield* Service49;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service72;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
101
|
const wellknown = yield* Service50;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
@@ -221,8 +221,8 @@ var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service48.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured7(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
267
|
+
service: Service48,
|
|
268
268
|
layer: layer18(options),
|
|
269
|
-
deps: [
|
|
269
|
+
deps: [node53, node87, FSUtil.node, Global.node, node84, node75, node54]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node52 = configured7();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options6, Service48, Test2, testLayer2, layer18, configured7, node52, exports_config };
|