@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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./file-mutation-b5e2r92p.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event17
|
|
7
|
+
} from "./file-mutation-kzmnf39s.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-g8head04.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-sxgvjrqz.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID4,
|
|
19
19
|
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-9xk5h4y7.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID4
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID9.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -108,7 +108,7 @@ function oauth(http) {
|
|
|
108
108
|
var OpencodePlugin2 = define({
|
|
109
109
|
id: "opencode.provider.opencode",
|
|
110
110
|
effect: Effect.fn(function* (ctx) {
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service81;
|
|
112
112
|
const http = yield* HttpClient.HttpClient;
|
|
113
113
|
const loading = Semaphore.makeUnsafe(1);
|
|
114
114
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -134,7 +134,7 @@ var OpencodePlugin2 = define({
|
|
|
134
134
|
providers.update(providerID, (provider) => {
|
|
135
135
|
if (source && source.provider !== provider)
|
|
136
136
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
137
|
-
provider.integrationID =
|
|
137
|
+
provider.integrationID = ID9.make("opencode");
|
|
138
138
|
if (item.canonical !== undefined)
|
|
139
139
|
provider.canonical = item.canonical;
|
|
140
140
|
if (item.name !== undefined)
|
|
@@ -204,7 +204,7 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
sourceConnection: snapshot.connection
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
|
-
const item = providers.get(
|
|
207
|
+
const item = providers.get(ID8.opencode);
|
|
208
208
|
if (!item)
|
|
209
209
|
return;
|
|
210
210
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -216,7 +216,7 @@ var OpencodePlugin2 = define({
|
|
|
216
216
|
});
|
|
217
217
|
});
|
|
218
218
|
yield* ctx.model.transform((models) => {
|
|
219
|
-
const item = models.provider.get(
|
|
219
|
+
const item = models.provider.get(ID8.opencode);
|
|
220
220
|
if (!item)
|
|
221
221
|
return;
|
|
222
222
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -271,7 +271,7 @@ var OpencodePlugin2 = define({
|
|
|
271
271
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
272
272
|
});
|
|
273
273
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
274
|
-
yield* bus.subscribe(
|
|
274
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
275
275
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
276
276
|
})
|
|
277
277
|
});
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info19
|
|
7
|
+
} from "./file-mutation-qj8eh1ht.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info14
|
|
10
|
+
} from "./file-mutation-k0gdq8ga.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info17
|
|
13
|
+
} from "./file-mutation-tn0aqsam.js";
|
|
14
14
|
import {
|
|
15
15
|
Info15
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-ratrq7cm.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info16
|
|
19
|
+
} from "./file-mutation-19yq3b24.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-mutation-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info20
|
|
25
|
+
} from "./file-mutation-qqtwvk4z.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info12
|
|
28
|
+
} from "./file-mutation-hkfg6fzm.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-mutation-qgn6gcr1.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info13
|
|
34
|
+
} from "./file-mutation-e6hmchc5.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./file-mutation-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info18
|
|
40
|
+
} from "./file-mutation-ve4pfa0n.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info11,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info11 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -71,7 +71,7 @@ var Info8 = Schema.Struct({
|
|
|
71
71
|
command: Schema.optional(Schema.Record(Schema.String, Info15)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info18).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info8 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info14), plan: Schema.optional(Info14) }), [Schema.Record(Schema.String, Info14)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info14),
|
|
119
|
+
build: Schema.optional(Info14),
|
|
120
|
+
general: Schema.optional(Info14),
|
|
121
|
+
explore: Schema.optional(Info14),
|
|
122
|
+
title: Schema.optional(Info14),
|
|
123
|
+
summary: Schema.optional(Info14),
|
|
124
|
+
compaction: Schema.optional(Info14)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info14)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info13)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info12, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info16).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info20).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info19),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info17).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info8 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info11, exports_config2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-dj2t23y0.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service66
|
|
4
|
+
} from "./file-mutation-g8head04.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service66;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID9.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-8f4tg2r9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./file-mutation-tyx8wm26.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service25,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-6naga41q.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./file-mutation-j7z9c6ef.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service74
|
|
17
|
+
} from "./file-mutation-e9kr5pq0.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service24,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-nn804z9e.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_edit, {
|
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
33
|
Input: () => Input2,
|
|
34
34
|
Output: () => Output2,
|
|
35
|
-
Plugin: () =>
|
|
35
|
+
Plugin: () => Plugin34,
|
|
36
36
|
name: () => name2
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -103,15 +103,15 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin34 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service24;
|
|
110
|
+
const fileMutation = yield* Service25;
|
|
111
|
+
const environment = yield* Service72;
|
|
112
|
+
const formatter = yield* Service13;
|
|
113
113
|
const location = yield* Service79;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service74;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
116
|
name: name2,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
@@ -194,4 +194,4 @@ var Plugin2 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export { name2, Input2, Output2,
|
|
197
|
+
export { name2, Input2, Output2, Plugin34, exports_edit };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./file-mutation-dz1qt43r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./file-mutation-e9kr5pq0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin47,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin47 = {
|
|
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* Service67;
|
|
57
|
+
const permission = yield* Service74;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input14,
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./file-mutation-2a6rn6yr.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-rap9a73h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service39
|
|
9
|
+
} from "./file-mutation-bd6pnar5.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service47;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-zh8xyr5z.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9pxd6j34.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service82,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node86
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
|
|
|
30
30
|
path: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service82 extends Context.Service()("@opencode/storage/Database") {
|
|
34
34
|
}
|
|
35
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
35
|
+
var databaseLayer = (lock) => Layer.effect(Service82, Effect.gen(function* () {
|
|
36
36
|
const db = yield* makeDatabase;
|
|
37
37
|
if (supportsTuningPragmas) {
|
|
38
38
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
70
|
function configured13(options) {
|
|
71
|
-
return makeGlobalNode({ service:
|
|
71
|
+
return makeGlobalNode({ service: Service82, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
75
|
-
service:
|
|
75
|
+
service: Service82,
|
|
76
76
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node86 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11,
|
|
82
|
+
export { Options11, Service82, layer26, layerFromClient2, configured13, configuredClient2, node86, exports_database };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./file-mutation-5s9b6sk1.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info29,
|
|
18
18
|
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service76,
|
|
21
|
+
node: () => node80
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info29 = PermissionSaved.Info;
|
|
30
30
|
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service76 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service82).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID14.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service76.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node86] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID14, Info29, ListInput5, AddInput2, Service76, node80, exports_saved };
|