@opencode/core 0.0.0-dev-19758 → 0.0.0-dev-19761
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +5 -5
- package/dist/bus.js +72 -72
- package/dist/chunks/{bus-gcsw9y0t.js → file-mutation-0191c115.js} +8 -8
- package/dist/chunks/{bus-p139kq9c.js → file-mutation-038hfwp6.js} +25 -25
- package/dist/chunks/{bus-t2ps0g64.js → file-mutation-05hvfspe.js} +9 -9
- package/dist/chunks/{bus-3838ekre.js → file-mutation-0en0hh3r.js} +4 -4
- package/dist/chunks/file-mutation-0mesazry.js +4 -0
- package/dist/chunks/{bus-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{bus-mc494fkv.js → file-mutation-0veef661.js} +22 -22
- package/dist/chunks/{bus-4wmfdqaa.js → file-mutation-12wcs7zv.js} +17 -17
- package/dist/chunks/{bus-10jtetaj.js → file-mutation-19yq3b24.js} +6 -6
- package/dist/chunks/{bus-dv1qgsyq.js → file-mutation-1ajx6rf5.js} +8 -8
- package/dist/chunks/{bus-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-n4avssqr.js → file-mutation-1k4apf30.js} +24 -24
- package/dist/chunks/{bus-rfj6pkw1.js → file-mutation-1ptkcd49.js} +35 -35
- package/dist/chunks/{bus-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{bus-ge6x8gv9.js → file-mutation-23r5xw0j.js} +19 -19
- package/dist/chunks/{bus-wz82dyvb.js → file-mutation-25f8r58f.js} +23 -23
- package/dist/chunks/{bus-qf472px8.js → file-mutation-261r5e4n.js} +23 -23
- package/dist/chunks/{bus-sgz639f1.js → file-mutation-26ejc4a2.js} +13 -13
- package/dist/chunks/{bus-ja2b05k4.js → file-mutation-29t5f74k.js} +27 -27
- package/dist/chunks/{bus-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-hdab2k61.js → file-mutation-2a6rn6yr.js} +6 -6
- package/dist/chunks/{bus-33dbnsft.js → file-mutation-2dxbdfvq.js} +9 -9
- package/dist/chunks/{bus-cwa6csj7.js → file-mutation-2mq1h16s.js} +9 -9
- package/dist/chunks/{bus-hfdr1yjj.js → file-mutation-2tfmgkzg.js} +4 -4
- package/dist/chunks/{bus-dg3w1nd5.js → file-mutation-2vvhwkt5.js} +5 -5
- package/dist/chunks/{bus-pykab6j4.js → file-mutation-36f0d0z6.js} +11 -11
- package/dist/chunks/{bus-y7nx0r49.js → file-mutation-3dcz9ejy.js} +25 -25
- package/dist/chunks/{bus-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-f57shvpt.js → file-mutation-3fzqgf3j.js} +35 -35
- package/dist/chunks/{bus-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-xxq58sya.js → file-mutation-3jnr8qh1.js} +13 -13
- package/dist/chunks/{bus-2e96adxv.js → file-mutation-3ktbe3hf.js} +6 -6
- package/dist/chunks/{bus-drwba54j.js → file-mutation-3nyyq7xg.js} +14 -14
- package/dist/chunks/{bus-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-mmj3etnc.js → file-mutation-3sn28wb8.js} +11 -11
- package/dist/chunks/{bus-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-hjbpbmpy.js → file-mutation-490myrvf.js} +27 -27
- package/dist/chunks/{bus-67mc9q1p.js → file-mutation-4a7w1hwq.js} +6 -6
- package/dist/chunks/{bus-bz85s9hh.js → file-mutation-4jc5c4h4.js} +1 -1
- package/dist/chunks/{bus-c4mstr5p.js → file-mutation-4m13kmf8.js} +1 -1
- package/dist/chunks/{bus-nkcyb48x.js → file-mutation-4qc9h5b4.js} +37 -37
- package/dist/chunks/{bus-2tth53p7.js → file-mutation-4w6fs8m4.js} +34 -34
- package/dist/chunks/{bus-h4sy77rb.js → file-mutation-4wsvpbqa.js} +17 -17
- package/dist/chunks/{bus-g0b57gve.js → file-mutation-53hfenjt.js} +41 -41
- package/dist/chunks/{bus-57ez7d0k.js → file-mutation-57ez7d0k.js} +2 -2
- package/dist/chunks/{bus-a1bz86dw.js → file-mutation-5c4hm403.js} +3 -3
- package/dist/chunks/{bus-ayg85fpn.js → file-mutation-5cj2v5s1.js} +5 -5
- package/dist/chunks/{bus-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-098d3mqp.js → file-mutation-5dr71pny.js} +21 -21
- package/dist/chunks/{bus-hmhpv68n.js → file-mutation-5g5p3a4z.js} +11 -11
- package/dist/chunks/{bus-h8j3vz9y.js → file-mutation-5g9n2b99.js} +9 -9
- package/dist/chunks/{bus-zawb9p3e.js → file-mutation-5s9b6sk1.js} +11 -11
- package/dist/chunks/{bus-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-mxg2czg2.js → file-mutation-62n8bkpp.js} +18 -18
- package/dist/chunks/{bus-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{bus-38ac530a.js → file-mutation-68sx5bg2.js} +11 -11
- package/dist/chunks/{bus-gprn4qe6.js → file-mutation-6ar6m3bc.js} +16 -16
- package/dist/chunks/{bus-y05z3yvm.js → file-mutation-6fw138dj.js} +32 -32
- package/dist/chunks/{bus-2402vzrj.js → file-mutation-6h73sxmp.js} +5 -5
- package/dist/chunks/{bus-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-dpehwp0a.js → file-mutation-6naga41q.js} +13 -13
- package/dist/chunks/{bus-dq56eeb5.js → file-mutation-6pgbgpfd.js} +25 -25
- package/dist/chunks/{bus-w0ksh1wc.js → file-mutation-6s2w4xdb.js} +39 -39
- package/dist/chunks/{bus-c7beamen.js → file-mutation-6tqx5jbv.js} +7 -7
- package/dist/chunks/{bus-yqmax6eh.js → file-mutation-6x2kf1yf.js} +4 -4
- package/dist/chunks/{bus-dc69t32x.js → file-mutation-77g1rdh8.js} +14 -14
- package/dist/chunks/{bus-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-y5df08dr.js → file-mutation-7np6y5v9.js} +12 -12
- package/dist/chunks/{bus-tcezcvh9.js → file-mutation-89znhe33.js} +4 -4
- package/dist/chunks/{bus-jzy2rg4w.js → file-mutation-8crgj5r9.js} +15 -15
- package/dist/chunks/{bus-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-kprffh1k.js → file-mutation-8etrbmzw.js} +10 -10
- package/dist/chunks/{bus-1rfd4xxr.js → file-mutation-8f4tg2r9.js} +2 -2
- package/dist/chunks/{bus-xfe7h115.js → file-mutation-8fatmd01.js} +23 -23
- package/dist/chunks/{bus-q6gqpcae.js → file-mutation-8w32c8rg.js} +10 -10
- package/dist/chunks/{bus-xxbvdv54.js → file-mutation-8zfh6ja9.js} +7 -7
- package/dist/chunks/{bus-gv0zjanc.js → file-mutation-930xmq4h.js} +2 -2
- package/dist/chunks/{bus-6vaawb56.js → file-mutation-98kxh760.js} +56 -56
- package/dist/chunks/{bus-mvr5bn4j.js → file-mutation-9kr5jrcq.js} +12 -12
- package/dist/chunks/{bus-jjapnhx6.js → file-mutation-9pxd6j34.js} +3 -3
- package/dist/chunks/file-mutation-9qfwj0p7.js +478 -0
- package/dist/chunks/{bus-zvtp3jyd.js → file-mutation-9xk5h4y7.js} +26 -26
- package/dist/chunks/{bus-zk0vgq9k.js → file-mutation-a0025xpp.js} +15 -15
- package/dist/chunks/{bus-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-d84x1h8e.js → file-mutation-agkgk856.js} +26 -26
- package/dist/chunks/{bus-kmphysr3.js → file-mutation-argj9g0a.js} +15 -15
- package/dist/chunks/{bus-44jp0xn3.js → file-mutation-b5e2r92p.js} +16 -16
- package/dist/chunks/{bus-saatj7sj.js → file-mutation-b5f1m11j.js} +11 -11
- package/dist/chunks/{bus-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-7q2t57ev.js → file-mutation-bd6pnar5.js} +47 -47
- package/dist/chunks/{bus-td6h23sg.js → file-mutation-bhxm5nqe.js} +8 -8
- package/dist/chunks/{bus-100ecgng.js → file-mutation-c3t2pxbx.js} +7 -7
- package/dist/chunks/{bus-gbhek550.js → file-mutation-c43xdfev.js} +13 -13
- package/dist/chunks/{bus-rped87jq.js → file-mutation-c8axtkt9.js} +40 -40
- package/dist/chunks/{bus-hdf6015e.js → file-mutation-c8xwdywd.js} +37 -37
- package/dist/chunks/{bus-2s6k9xab.js → file-mutation-cc4mce2f.js} +7 -7
- package/dist/chunks/{bus-ck8c2f3r.js → file-mutation-cdpv32dq.js} +22 -22
- package/dist/chunks/{bus-yeh1225a.js → file-mutation-cdqffv3e.js} +19 -19
- package/dist/chunks/{bus-yqphrj09.js → file-mutation-cjjxcne9.js} +4 -4
- package/dist/chunks/{bus-6s3pmmk2.js → file-mutation-dhpnwncd.js} +8 -8
- package/dist/chunks/{bus-8p4f9s12.js → file-mutation-dj2t23y0.js} +2 -2
- package/dist/chunks/{bus-y71avatq.js → file-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{bus-xee2b91r.js → file-mutation-dvw9aka0.js} +12 -12
- package/dist/chunks/{bus-gn047571.js → file-mutation-dz1qt43r.js} +29 -29
- package/dist/chunks/{bus-ztvng5ec.js → file-mutation-dz3w7159.js} +16 -16
- package/dist/chunks/{bus-dapfwjck.js → file-mutation-e1psbap5.js} +32 -32
- package/dist/chunks/{bus-hnr5yq9h.js → file-mutation-e6hmchc5.js} +5 -5
- package/dist/chunks/{bus-72macrbw.js → file-mutation-e9kr5pq0.js} +55 -55
- package/dist/chunks/{bus-s8d7rejh.js → file-mutation-eaj1djv9.js} +6 -6
- package/dist/chunks/{bus-d3s8mw9x.js → file-mutation-ed0qr85z.js} +32 -32
- package/dist/chunks/{bus-9c3np669.js → file-mutation-eeaf82dq.js} +8 -8
- package/dist/chunks/{bus-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-456sctqq.js → file-mutation-eq20ba7x.js} +8 -8
- package/dist/chunks/{bus-erw5rpbs.js → file-mutation-erw5rpbs.js} +2 -2
- package/dist/chunks/{bus-25bb1hc4.js → file-mutation-eshnyej4.js} +13 -13
- package/dist/chunks/{bus-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-q6a741vd.js → file-mutation-eyh2t1hv.js} +6 -6
- package/dist/chunks/{bus-qgw0maww.js → file-mutation-f5a4ckrp.js} +25 -25
- package/dist/chunks/{bus-9bzaahhz.js → file-mutation-fcrgjy0e.js} +24 -24
- package/dist/chunks/{bus-x7ksmd0v.js → file-mutation-fqv15qzw.js} +174 -174
- package/dist/chunks/{bus-aeb4sny1.js → file-mutation-fwfdmgk0.js} +5 -5
- package/dist/chunks/{bus-82rhge12.js → file-mutation-fwwk8vbp.js} +2 -2
- package/dist/chunks/{bus-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{bus-d6mgh4yr.js → file-mutation-fxzs1me6.js} +8 -8
- package/dist/chunks/{bus-ymh54tbp.js → file-mutation-g1jht461.js} +19 -19
- package/dist/chunks/{bus-n1y7d7jv.js → file-mutation-g1yjvpwh.js} +5 -5
- package/dist/chunks/{bus-j8ajybmk.js → file-mutation-g2x9qc47.js} +11 -11
- package/dist/chunks/{bus-7dz8p9xt.js → file-mutation-g8head04.js} +32 -32
- package/dist/chunks/{bus-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-0c8m848g.js → file-mutation-gjfveh7j.js} +16 -16
- package/dist/chunks/{bus-gv6a8nnw.js → file-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{bus-z45f81hm.js → file-mutation-h0bsdgs8.js} +14 -14
- package/dist/chunks/{bus-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-1fn7qz6r.js → file-mutation-hcn8jsvf.js} +11 -11
- package/dist/chunks/{bus-f828m53h.js → file-mutation-hdnk95c8.js} +2 -2
- package/dist/chunks/{bus-vskbemtc.js → file-mutation-he1yacd3.js} +22 -22
- package/dist/chunks/{bus-adq3kxc0.js → file-mutation-hgfd4343.js} +5 -5
- package/dist/chunks/{bus-yt0fqk68.js → file-mutation-hkfg6fzm.js} +5 -5
- package/dist/chunks/{bus-0j9y03t3.js → file-mutation-hqp0mznc.js} +46 -46
- package/dist/chunks/{bus-v9j9833d.js → file-mutation-hs0crkaq.js} +3 -3
- package/dist/chunks/{bus-vbs1nqmn.js → file-mutation-hvx6p1wp.js} +22 -22
- package/dist/chunks/{bus-cwbe6ym8.js → file-mutation-hzemm2m2.js} +16 -16
- package/dist/chunks/{bus-54spjwjz.js → file-mutation-j1dch7pk.js} +28 -28
- package/dist/chunks/{bus-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-a4rjqnpf.js → file-mutation-j7z9c6ef.js} +11 -11
- package/dist/chunks/{bus-vy4e6tmv.js → file-mutation-jb2apxnp.js} +22 -22
- package/dist/chunks/{bus-f4sjgpj8.js → file-mutation-jbrrk9sm.js} +34 -34
- package/dist/chunks/{bus-nng2ktcm.js → file-mutation-jca4demv.js} +2 -2
- package/dist/chunks/{bus-4a6e8mmv.js → file-mutation-jnfbbasv.js} +19 -19
- package/dist/chunks/{bus-q4jz9h3x.js → file-mutation-jphjmkq6.js} +29 -29
- package/dist/chunks/{bus-7qgwwy7f.js → file-mutation-jx2pe4cz.js} +13 -13
- package/dist/chunks/{bus-hrns00hc.js → file-mutation-jxbs1d80.js} +3 -3
- package/dist/chunks/{bus-q9jgfmem.js → file-mutation-jxs4965q.js} +28 -28
- package/dist/chunks/{bus-whw3a6ka.js → file-mutation-jyerrpx0.js} +11 -11
- package/dist/chunks/{bus-za9cx4qh.js → file-mutation-k0gdq8ga.js} +8 -8
- package/dist/chunks/{bus-nzks3jc8.js → file-mutation-k3c624dm.js} +3 -3
- package/dist/chunks/{bus-3tq5qxbk.js → file-mutation-k9kj6xed.js} +4 -4
- package/dist/chunks/{bus-d5j16axh.js → file-mutation-kaa0v2ms.js} +15 -15
- package/dist/chunks/{bus-rvgr0dnq.js → file-mutation-kejfs2t8.js} +8 -8
- package/dist/chunks/{bus-4fccdz1z.js → file-mutation-kk9fvz0g.js} +47 -47
- package/dist/chunks/{bus-cyg049pt.js → file-mutation-kp9dcx9z.js} +5 -5
- package/dist/chunks/{bus-ypmjrw8q.js → file-mutation-kvx1rpnk.js} +39 -39
- package/dist/chunks/{bus-kg0nn6m1.js → file-mutation-kxxr9yc4.js} +3 -3
- package/dist/chunks/{bus-0qzv51dm.js → file-mutation-kzmnf39s.js} +35 -35
- package/dist/chunks/{bus-cfpkc3c9.js → file-mutation-m0jqrx5p.js} +2 -2
- package/dist/chunks/{bus-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{bus-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-qbfpstdc.js → file-mutation-mc8fvfg2.js} +11 -11
- package/dist/chunks/{bus-33w4ejhs.js → file-mutation-mfqp6xfm.js} +9 -9
- package/dist/chunks/{bus-mhkvc446.js → file-mutation-mhkvc446.js} +1 -1
- package/dist/chunks/{bus-441xk2wv.js → file-mutation-mkw2wvv0.js} +15 -15
- package/dist/chunks/{bus-17gne236.js → file-mutation-mv7q07d5.js} +4 -4
- package/dist/chunks/{bus-tehawftv.js → file-mutation-mx05ep7f.js} +30 -30
- package/dist/chunks/{bus-7azjdvpr.js → file-mutation-nfp31767.js} +11 -11
- package/dist/chunks/{bus-xj3yf2be.js → file-mutation-nk6nqe1f.js} +12 -12
- package/dist/chunks/{bus-nbtewark.js → file-mutation-nn804z9e.js} +15 -15
- package/dist/chunks/file-mutation-nr40dc33.js +26 -0
- package/dist/chunks/{bus-qg0jgkcp.js → file-mutation-nscznvay.js} +9 -9
- package/dist/chunks/{bus-ya6jt93q.js → file-mutation-nt5s6xes.js} +9 -9
- package/dist/chunks/{bus-h6r3nrb9.js → file-mutation-nzyhnfxz.js} +4 -4
- package/dist/chunks/{bus-9nepbqpa.js → file-mutation-p14ptj3g.js} +6 -6
- package/dist/chunks/{bus-p28j5sbe.js → file-mutation-p28j5sbe.js} +2 -2
- package/dist/chunks/{bus-cktevt8v.js → file-mutation-pfcs87zg.js} +49 -49
- package/dist/chunks/{bus-n3akjfbb.js → file-mutation-phhf31qs.js} +3 -3
- package/dist/chunks/{bus-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{bus-m2btv783.js → file-mutation-pz7nssfe.js} +11 -11
- package/dist/chunks/{bus-6xckhbd5.js → file-mutation-q2etyd9a.js} +15 -15
- package/dist/chunks/{bus-7w99qc9d.js → file-mutation-q3t37ft6.js} +3 -3
- package/dist/chunks/{bus-1956heqa.js → file-mutation-q6d53jre.js} +8 -8
- package/dist/chunks/{bus-2x1qdj5q.js → file-mutation-q9w8ad9e.js} +11 -11
- package/dist/chunks/{bus-2k8khapm.js → file-mutation-qgn6gcr1.js} +5 -5
- package/dist/chunks/{bus-cavr175a.js → file-mutation-qj8eh1ht.js} +4 -4
- package/dist/chunks/{bus-rhykyrb3.js → file-mutation-qnfp5vp9.js} +29 -29
- package/dist/chunks/{bus-heexpby2.js → file-mutation-qnxv3j9m.js} +15 -15
- package/dist/chunks/{bus-1s3p39g4.js → file-mutation-qqtwvk4z.js} +6 -6
- package/dist/chunks/{bus-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-ezbx256a.js → file-mutation-r503nhm6.js} +32 -32
- package/dist/chunks/{bus-55xf98n8.js → file-mutation-r5j3adnk.js} +12 -12
- package/dist/chunks/{bus-696j2597.js → file-mutation-ragexb62.js} +73 -73
- package/dist/chunks/file-mutation-rap9a73h.js +18 -0
- package/dist/chunks/{bus-g8d3gcyj.js → file-mutation-ratrq7cm.js} +5 -5
- package/dist/chunks/{bus-z2m37x9y.js → file-mutation-rda0977t.js} +18 -18
- package/dist/chunks/{bus-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-h3g6m2mf.js → file-mutation-rknfjh7e.js} +1 -1
- package/dist/chunks/{bus-gf7f2369.js → file-mutation-rmxzq7f5.js} +5 -5
- package/dist/chunks/{bus-jj64m3ds.js → file-mutation-rr9a01jb.js} +5 -5
- package/dist/chunks/{bus-feyb32n1.js → file-mutation-rry1p14s.js} +24 -24
- package/dist/chunks/{bus-qhxefk9a.js → file-mutation-rv7ejzpq.js} +14 -14
- package/dist/chunks/{bus-wb3k4ach.js → file-mutation-stpq40nd.js} +5 -5
- package/dist/chunks/{bus-2msw9s5m.js → file-mutation-sttmbcgd.js} +11 -11
- package/dist/chunks/{bus-sskj22e4.js → file-mutation-sxgvjrqz.js} +32 -32
- package/dist/chunks/{bus-fbwcgawc.js → file-mutation-t2bexvdy.js} +11 -11
- package/dist/chunks/{bus-aeck6645.js → file-mutation-ta2zm0w6.js} +8 -8
- package/dist/chunks/{bus-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-tggcyvkj.js → file-mutation-tdebhbgf.js} +20 -20
- package/dist/chunks/{bus-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{bus-yyhbbs14.js → file-mutation-tjt7rmbv.js} +13 -13
- package/dist/chunks/{bus-5bmybb02.js → file-mutation-tjzphfhm.js} +31 -31
- package/dist/chunks/{bus-37s12vcn.js → file-mutation-tn0aqsam.js} +5 -5
- package/dist/chunks/{bus-3nse7x66.js → file-mutation-trmcxas4.js} +20 -20
- package/dist/chunks/{bus-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-x353b1jt.js → file-mutation-tx9w5tca.js} +8 -8
- package/dist/chunks/{bus-4bj7sh8v.js → file-mutation-ty5fs5j6.js} +94 -94
- package/dist/chunks/{bus-d4g3vwm5.js → file-mutation-tyx8wm26.js} +21 -21
- package/dist/chunks/{bus-a471nxk4.js → file-mutation-v4d0xtvr.js} +28 -28
- package/dist/chunks/{bus-ff8g97f7.js → file-mutation-v8a45twc.js} +6 -6
- package/dist/chunks/{bus-fp3b2tyn.js → file-mutation-vb4sbr14.js} +24 -24
- package/dist/chunks/{bus-vncycja5.js → file-mutation-ve4pfa0n.js} +4 -4
- package/dist/chunks/{bus-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-xrfzp3qw.js → file-mutation-vv1kzm65.js} +21 -21
- package/dist/chunks/{bus-yzrekgkv.js → file-mutation-vwnqjcv5.js} +5 -5
- package/dist/chunks/{bus-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-06dxphr1.js → file-mutation-w1k39n5e.js} +4 -4
- package/dist/chunks/{bus-vgmgvddh.js → file-mutation-w1kcaz1j.js} +29 -29
- package/dist/chunks/{bus-sscd0z9x.js → file-mutation-w21rnkyj.js} +4 -4
- package/dist/chunks/{bus-c019crvg.js → file-mutation-w2a1qfyt.js} +18 -18
- package/dist/chunks/{bus-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-gffqj91w.js → file-mutation-w5rka97k.js} +9 -9
- package/dist/chunks/{bus-110m9arz.js → file-mutation-w6q7j1y8.js} +17 -17
- package/dist/chunks/{bus-6b0wr2gn.js → file-mutation-w9km2t8f.js} +23 -23
- package/dist/chunks/{bus-0cm1nqy3.js → file-mutation-wa4wttm3.js} +20 -20
- package/dist/chunks/{bus-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{bus-7xx1524k.js → file-mutation-wdg1qc82.js} +44 -44
- package/dist/chunks/{bus-x4aqctta.js → file-mutation-wg6s600h.js} +4 -4
- package/dist/chunks/{bus-kcdjsgm9.js → file-mutation-whj48kk1.js} +7 -7
- package/dist/chunks/{bus-xm4abfw6.js → file-mutation-wrzj8c0x.js} +31 -31
- package/dist/chunks/{bus-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-2chdexej.js → file-mutation-x8azae4j.js} +17 -17
- package/dist/chunks/{bus-b4tzb99z.js → file-mutation-xekxpj28.js} +4 -4
- package/dist/chunks/{bus-57b9ws8p.js → file-mutation-xfkkasph.js} +7 -7
- package/dist/chunks/{bus-1c4h0esh.js → file-mutation-xfr883hz.js} +6 -6
- package/dist/chunks/{bus-nzeerxgc.js → file-mutation-xsex6r0c.js} +10 -10
- package/dist/chunks/{bus-qr8h26wd.js → file-mutation-y0dw7cqc.js} +11 -11
- package/dist/chunks/{bus-gm7vvz5v.js → file-mutation-y0v1p1dt.js} +17 -17
- package/dist/chunks/{bus-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-xjk1tc7r.js → file-mutation-y1qgdahb.js} +22 -22
- package/dist/chunks/{bus-0cbj8ajh.js → file-mutation-y93vdqe0.js} +13 -13
- package/dist/chunks/{bus-ns2eanfy.js → file-mutation-ycq1j8r4.js} +25 -25
- package/dist/chunks/{bus-s0fe0qa9.js → file-mutation-yexxf089.js} +6 -6
- package/dist/chunks/{bus-5y3kegep.js → file-mutation-yngsm5fg.js} +4 -4
- package/dist/chunks/{bus-yp2x3t23.js → file-mutation-yp2x3t23.js} +1 -1
- package/dist/chunks/{bus-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-yrznvahk.js → file-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{bus-nb9p6b26.js → file-mutation-z0aj456m.js} +4 -4
- package/dist/chunks/{bus-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-47xrm495.js → file-mutation-z1pn07yf.js} +83 -83
- package/dist/chunks/{bus-7vvypxen.js → file-mutation-z35a98pe.js} +7 -7
- package/dist/chunks/{bus-z63w68vq.js → file-mutation-z63w68vq.js} +2 -2
- package/dist/chunks/{bus-8jr144xf.js → file-mutation-z74yzpyb.js} +9 -9
- package/dist/chunks/{bus-0b0th7s4.js → file-mutation-zanef7gq.js} +13 -13
- package/dist/chunks/{bus-zeh9ct20.js → file-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-p7r1y5kx.js → file-mutation-zh8xyr5z.js} +6 -6
- package/dist/chunks/{bus-h6z8d5tn.js → file-mutation-zj09a0ew.js} +4 -4
- package/dist/chunks/file-mutation-zn2zb1e7.js +252 -0
- package/dist/chunks/{bus-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-8gxqpgph.js → file-mutation-zvt5dnpc.js} +4 -4
- package/dist/chunks/{bus-25trdgaf.js → file-mutation-zxpkpj7m.js} +29 -29
- package/dist/chunks/{bus-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{bus-f010ntnv.js → file-mutation-zz8tbzf4.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +76 -76
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +103 -103
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- 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 +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/bus-2h9152w8.js +0 -252
- package/dist/chunks/bus-2r959258.js +0 -478
- package/dist/chunks/bus-619r8v3y.js +0 -18
- package/dist/chunks/bus-6kdq0pjd.js +0 -4
- package/dist/chunks/bus-m5kkt6zs.js +0 -26
- /package/dist/chunks/{bus-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → file-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./file-mutation-tyx8wm26.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service25,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-6naga41q.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./file-mutation-j7z9c6ef.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service74
|
|
14
|
+
} from "./file-mutation-e9kr5pq0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service24
|
|
17
|
+
} from "./file-mutation-nn804z9e.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
28
|
Input: () => Input10,
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin43,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
32
|
name: () => name10,
|
|
33
|
-
toModelContent: () =>
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
@@ -42,21 +42,21 @@ var Input10 = Schema.Struct({
|
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin43 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service24;
|
|
56
|
+
const fileMutation = yield* Service25;
|
|
57
|
+
const environment = yield* Service72;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service74;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
61
|
name: name10,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
@@ -66,7 +66,7 @@ Missing parent directories are created automatically.
|
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
68
|
input: Input10,
|
|
69
|
-
output:
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export { name10, Input10,
|
|
101
|
+
export { name10, Input10, Output7, toModelContent4, Plugin43, exports_write };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./file-mutation-b5e2r92p.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-nzyhnfxz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event17
|
|
9
|
+
} from "./file-mutation-kzmnf39s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID9
|
|
12
|
+
} from "./file-mutation-g8head04.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID8,
|
|
15
|
+
Service65
|
|
16
|
+
} from "./file-mutation-sxgvjrqz.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-r5j3adnk.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID8.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service65;
|
|
30
|
+
const bus = yield* Service81;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./file-mutation-5s9b6sk1.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service81,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node85,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service81 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service81,
|
|
84
|
+
deps: [node86],
|
|
85
|
+
layer: Layer.effect(Service81, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service82;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service81.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node85 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service81, configured12, node85, exports_bus };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service32,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node36
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service32 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service32, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -360,11 +360,11 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
|
|
|
360
360
|
}, { discard: true });
|
|
361
361
|
});
|
|
362
362
|
yield* Effect.addFinalizer(() => closeAll);
|
|
363
|
-
return
|
|
363
|
+
return Service32.of({ bind, close, closeAll });
|
|
364
364
|
}));
|
|
365
|
-
var
|
|
365
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
366
366
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
367
367
|
})));
|
|
368
|
-
var
|
|
368
|
+
var node36 = makeGlobalNode({ service: Service32, layer: layer12, deps: [webSocketConstructor2] });
|
|
369
369
|
|
|
370
|
-
export {
|
|
370
|
+
export { Service32, makeLayer2, layer12, node36, exports_model_transport };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-mutation-b5e2r92p.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-8f4tg2r9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service72,
|
|
11
|
+
node75
|
|
12
|
+
} from "./file-mutation-tyx8wm26.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service56,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node58
|
|
20
|
+
} from "./file-mutation-q2etyd9a.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service78,
|
|
23
|
+
node82
|
|
24
|
+
} from "./file-mutation-tx9w5tca.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service40,
|
|
27
|
+
node43
|
|
28
|
+
} from "./file-mutation-eeaf82dq.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-mutation-q3t37ft6.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service50,
|
|
35
|
+
node52
|
|
36
|
+
} from "./file-mutation-hqp0mznc.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./file-mutation-9kr5jrcq.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service39,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node42
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service39 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service81;
|
|
91
91
|
const location = yield* Service79;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service56;
|
|
94
|
+
const environment = yield* Service72;
|
|
95
|
+
const hooks = yield* Service78;
|
|
96
|
+
const environments = yield* Service40;
|
|
97
|
+
const config = yield* Service50;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError5({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service39.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node42 = makeLocationNode({
|
|
320
|
+
service: Service39,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
323
|
+
node85,
|
|
324
324
|
node83,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node58,
|
|
327
|
+
node75,
|
|
328
|
+
node82,
|
|
329
|
+
node43,
|
|
330
|
+
node52,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service39, cleanup2, node42, exports_shell4 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./file-mutation-y1qgdahb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make8
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make8 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service51;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make8, LoadError2, exports_module };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service79
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-8f4tg2r9.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-tdebhbgf.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-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: () => Plugin20,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/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 Plugin20 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service79;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin20, exports_hg };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-8f4tg2r9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service50
|
|
9
|
+
} from "./file-mutation-hqp0mznc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service17
|
|
12
|
+
} from "./file-mutation-dz3w7159.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin8
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin8 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service50;
|
|
34
34
|
const location = yield* Service79;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service17;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin43 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin8, exports_worktree };
|