@opencode/core 0.0.0-dev-20361 → 0.0.0-dev-20363
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{generate-et8frtwb.js → model-resolver-00bdd51n.js} +10 -10
- package/dist/chunks/{generate-r8rnv0jj.js → model-resolver-04shvbr1.js} +12 -12
- package/dist/chunks/{generate-9pj3ea5v.js → model-resolver-0703wr40.js} +4 -4
- package/dist/chunks/{generate-ra6s1qz5.js → model-resolver-08yw13zg.js} +12 -12
- package/dist/chunks/{generate-znsx74x0.js → model-resolver-0bfcnrg1.js} +1 -1
- package/dist/chunks/{generate-j79x0brg.js → model-resolver-0c6c0zmn.js} +18 -18
- package/dist/chunks/{generate-hhdwea2n.js → model-resolver-0ehkc6b3.js} +7 -7
- package/dist/chunks/{generate-137qhyq7.js → model-resolver-0np6v5dx.js} +43 -43
- package/dist/chunks/{generate-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-te4qgv7b.js → model-resolver-0t1a536w.js} +7 -7
- package/dist/chunks/{generate-vhb3z7p9.js → model-resolver-159a3x2j.js} +32 -32
- package/dist/chunks/{generate-j3b8pxcj.js → model-resolver-166cxnzt.js} +25 -25
- package/dist/chunks/{generate-mhkvc446.js → model-resolver-1bbkgx8g.js} +3 -3
- package/dist/chunks/{generate-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-5n14brjt.js → model-resolver-1ep2by6j.js} +31 -31
- package/dist/chunks/{generate-gqvhrk1p.js → model-resolver-1gtysh3b.js} +11 -11
- package/dist/chunks/{generate-gw9vfp6d.js → model-resolver-1jtc7t2n.js} +22 -22
- package/dist/chunks/{generate-arndb05z.js → model-resolver-1mjwcf4w.js} +6 -6
- package/dist/chunks/{generate-f1tyew74.js → model-resolver-1tw0n30a.js} +15 -15
- package/dist/chunks/{generate-1ygqh575.js → model-resolver-1ygqh575.js} +2 -2
- package/dist/chunks/{generate-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{generate-zbt9zsvy.js → model-resolver-23ypespv.js} +17 -17
- package/dist/chunks/{generate-dsbv4z0s.js → model-resolver-24bjdznb.js} +17 -17
- package/dist/chunks/{generate-3gapehae.js → model-resolver-28fee37h.js} +27 -27
- package/dist/chunks/{generate-1wwdvsgc.js → model-resolver-28rwb4xv.js} +13 -13
- package/dist/chunks/{generate-h9pnpq88.js → model-resolver-29qym6xz.js} +4 -4
- package/dist/chunks/{generate-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-7s2tn799.js → model-resolver-2aet7wja.js} +8 -8
- package/dist/chunks/{generate-7bja5kqe.js → model-resolver-2e7f4xd3.js} +25 -25
- package/dist/chunks/{generate-t0sqncza.js → model-resolver-2hg7qvzt.js} +5 -5
- package/dist/chunks/{generate-q0raz0xt.js → model-resolver-2kewd2va.js} +9 -9
- package/dist/chunks/{generate-2h131gfv.js → model-resolver-2veb1275.js} +35 -35
- package/dist/chunks/{generate-apn8f15b.js → model-resolver-2y34zzjz.js} +9 -9
- package/dist/chunks/{generate-j46cqjxg.js → model-resolver-2zf1ybhy.js} +3 -3
- package/dist/chunks/{generate-j8afcsyc.js → model-resolver-30krspkn.js} +4 -4
- package/dist/chunks/{generate-n6cha630.js → model-resolver-31v28kev.js} +5 -5
- package/dist/chunks/{generate-kjsvp2pq.js → model-resolver-35me4pqp.js} +43 -43
- package/dist/chunks/{generate-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-zst2aaa9.js → model-resolver-3g9hx9d8.js} +45 -45
- package/dist/chunks/{generate-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-cdm0dq9n.js → model-resolver-3ppptnan.js} +6 -6
- package/dist/chunks/{generate-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-ag9w8cw1.js → model-resolver-3w2b2yj4.js} +5 -5
- package/dist/chunks/{generate-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-52vqgt0f.js → model-resolver-468xcx49.js} +11 -11
- package/dist/chunks/{generate-z1t43wf9.js → model-resolver-4dcsf2r8.js} +5 -5
- package/dist/chunks/{generate-4x9ewffz.js → model-resolver-4ff0zxak.js} +30 -30
- package/dist/chunks/{generate-ssy44phe.js → model-resolver-4g0mdtwh.js} +14 -14
- package/dist/chunks/{generate-wgnhx3xw.js → model-resolver-4m9kpkhr.js} +21 -21
- package/dist/chunks/{generate-k4abns9x.js → model-resolver-4mwtbdcy.js} +23 -23
- package/dist/chunks/{generate-x2rw7g36.js → model-resolver-4n607a2z.js} +5 -5
- package/dist/chunks/{generate-xper0bhy.js → model-resolver-50p21jsy.js} +11 -11
- package/dist/chunks/{generate-dqvb69t0.js → model-resolver-54gavh75.js} +83 -83
- package/dist/chunks/{generate-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
- package/dist/chunks/{generate-57ez7d0k.js → model-resolver-57ez7d0k.js} +2 -2
- package/dist/chunks/{generate-63m9xggh.js → model-resolver-57p4zcxx.js} +17 -17
- package/dist/chunks/{generate-c54qn10r.js → model-resolver-59ps16wq.js} +6 -6
- package/dist/chunks/{generate-jexxy024.js → model-resolver-5cmxdwv8.js} +3 -3
- package/dist/chunks/{generate-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{generate-btppnszc.js → model-resolver-5dzgzdgv.js} +22 -22
- package/dist/chunks/{generate-ddjyqeqz.js → model-resolver-5gb54438.js} +11 -11
- package/dist/chunks/{generate-rtweafxj.js → model-resolver-5ghb1wcz.js} +17 -17
- package/dist/chunks/{generate-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
- package/dist/chunks/{generate-5633drez.js → model-resolver-5qkfabj9.js} +20 -20
- package/dist/chunks/{generate-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-ez6a7f19.js → model-resolver-655b29a3.js} +24 -24
- package/dist/chunks/{generate-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{generate-7bftgs18.js → model-resolver-66gm3q6y.js} +4 -4
- package/dist/chunks/{generate-h71w788e.js → model-resolver-6hjx5zpb.js} +9 -9
- package/dist/chunks/{generate-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{generate-jws6fkes.js → model-resolver-6pc27hjz.js} +4 -4
- package/dist/chunks/{generate-asmv1htq.js → model-resolver-6pjg54et.js} +15 -15
- package/dist/chunks/{generate-xcmrs36j.js → model-resolver-6pzm3pmc.js} +15 -15
- package/dist/chunks/{generate-x76h38gv.js → model-resolver-6rq2rdm3.js} +34 -34
- package/dist/chunks/{generate-k45ah5vd.js → model-resolver-6rq91kkb.js} +22 -22
- package/dist/chunks/{generate-zv45bf8x.js → model-resolver-774mep86.js} +2 -2
- package/dist/chunks/{generate-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-a0q0x2br.js → model-resolver-7f1fjr73.js} +35 -35
- package/dist/chunks/{generate-jfcw678q.js → model-resolver-7fpqa9rm.js} +13 -13
- package/dist/chunks/{generate-9bvjat3n.js → model-resolver-7k895je9.js} +25 -25
- package/dist/chunks/{generate-yzeejkfr.js → model-resolver-7nnscm86.js} +20 -20
- package/dist/chunks/{generate-h55chb60.js → model-resolver-7vckzw94.js} +9 -9
- package/dist/chunks/{generate-jz6c2g7k.js → model-resolver-7z7t5xg0.js} +2 -2
- package/dist/chunks/{generate-pxhak851.js → model-resolver-7zdrdht4.js} +6 -6
- package/dist/chunks/{generate-qktdvtk9.js → model-resolver-7zrz2ht7.js} +9 -9
- package/dist/chunks/{generate-84txncab.js → model-resolver-84txncab.js} +1 -1
- package/dist/chunks/{generate-kvge6qe2.js → model-resolver-85ja8bjp.js} +20 -20
- package/dist/chunks/{generate-eahhehpg.js → model-resolver-86qzxe6p.js} +4 -4
- package/dist/chunks/{generate-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-n8w64hgs.js → model-resolver-8dhmwpck.js} +9 -9
- package/dist/chunks/{generate-3pncb000.js → model-resolver-8k0g7am2.js} +11 -11
- package/dist/chunks/{generate-2c14t6ee.js → model-resolver-8s79h2zs.js} +25 -25
- package/dist/chunks/{generate-782xyd0k.js → model-resolver-8w6zmm29.js} +8 -8
- package/dist/chunks/{generate-94ek1h2f.js → model-resolver-94ek1h2f.js} +2 -2
- package/dist/chunks/{generate-5xtgfte3.js → model-resolver-9hn6k4tm.js} +8 -8
- package/dist/chunks/{generate-mtqbjg7z.js → model-resolver-9n3n2vac.js} +9 -9
- package/dist/chunks/{generate-tazfts3e.js → model-resolver-9pwyx6vy.js} +8 -8
- package/dist/chunks/{generate-yyr25rwn.js → model-resolver-9q2chv03.js} +3 -3
- package/dist/chunks/{generate-a46v4e4v.js → model-resolver-a2ew8a62.js} +4 -4
- package/dist/chunks/{generate-1h0ntq3z.js → model-resolver-aads351p.js} +1 -1
- package/dist/chunks/{generate-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-2re9wx64.js → model-resolver-ahwzhwa3.js} +5 -5
- package/dist/chunks/model-resolver-ap5sg23v.js +252 -0
- package/dist/chunks/{generate-yxnc9je5.js → model-resolver-awc5gjgd.js} +17 -17
- package/dist/chunks/{generate-k1qrnqst.js → model-resolver-b00xvs8t.js} +8 -8
- package/dist/chunks/{generate-0m1hjkr9.js → model-resolver-b23z4qnb.js} +7 -7
- package/dist/chunks/{generate-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-gnq7tvv0.js → model-resolver-b9e5m5kw.js} +16 -16
- package/dist/chunks/{generate-xtt422ve.js → model-resolver-beb0xpyw.js} +10 -10
- package/dist/chunks/{generate-qhx40mea.js → model-resolver-bf6sfhxg.js} +24 -24
- package/dist/chunks/{generate-qac5j8jk.js → model-resolver-bw2q4erb.js} +36 -36
- package/dist/chunks/{generate-0ag8d68y.js → model-resolver-bzpc8ntm.js} +17 -17
- package/dist/chunks/{generate-7qtea46p.js → model-resolver-bzx9a2az.js} +20 -20
- package/dist/chunks/{generate-71cfveas.js → model-resolver-c0xnxeca.js} +27 -27
- package/dist/chunks/{generate-smyv73yd.js → model-resolver-c1jg21sb.js} +11 -11
- package/dist/chunks/{generate-c1k7n5xw.js → model-resolver-c48kjqxw.js} +27 -27
- package/dist/chunks/{generate-q67tqqz3.js → model-resolver-c75ppnt9.js} +25 -25
- package/dist/chunks/{generate-w7907s39.js → model-resolver-cepnprts.js} +21 -21
- package/dist/chunks/{generate-ckecvw8r.js → model-resolver-ckecvw8r.js} +2 -2
- package/dist/chunks/{generate-3zpz61n9.js → model-resolver-cm63mksd.js} +9 -9
- package/dist/chunks/{generate-k9v3gyrk.js → model-resolver-cp17smcp.js} +40 -40
- package/dist/chunks/{generate-3ymnsx2y.js → model-resolver-cp5p8nw7.js} +23 -23
- package/dist/chunks/{generate-6anwy9fs.js → model-resolver-cpy6gm2a.js} +5 -5
- package/dist/chunks/{generate-jbkn1qdd.js → model-resolver-cqy5fkq0.js} +33 -33
- package/dist/chunks/{generate-28586spg.js → model-resolver-ctwrx9qj.js} +14 -14
- package/dist/chunks/{generate-6hdxzw8t.js → model-resolver-d3qasn01.js} +6 -6
- package/dist/chunks/{generate-9vh74ph3.js → model-resolver-d4wmmjrt.js} +20 -20
- package/dist/chunks/{generate-azvwj0fe.js → model-resolver-dcgx96r3.js} +23 -23
- package/dist/chunks/{generate-k2px01h0.js → model-resolver-df54n7py.js} +12 -12
- package/dist/chunks/{generate-3j8sdtpz.js → model-resolver-dfe8djrf.js} +4 -4
- package/dist/chunks/{generate-yd3jw23x.js → model-resolver-dj1dwqym.js} +3 -3
- package/dist/chunks/{generate-xkntkrq7.js → model-resolver-dmqcgk4z.js} +5 -5
- package/dist/chunks/{generate-qqeeq2t9.js → model-resolver-drwq78ky.js} +7 -7
- package/dist/chunks/{generate-wzvwwwtc.js → model-resolver-dxmvrbpm.js} +29 -29
- package/dist/chunks/{generate-z5a9h27f.js → model-resolver-e08max4g.js} +3 -3
- package/dist/chunks/{generate-dpt32np6.js → model-resolver-e23sc63z.js} +4 -4
- package/dist/chunks/{generate-rhjbct0v.js → model-resolver-eaj1djv9.js} +8 -8
- package/dist/chunks/{generate-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
- package/dist/chunks/{generate-269d0mcm.js → model-resolver-ef43s285.js} +32 -32
- package/dist/chunks/{generate-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-kmyx2sbj.js → model-resolver-ep6z9mt6.js} +11 -11
- package/dist/chunks/{generate-cfafq1xv.js → model-resolver-eq302p8g.js} +13 -13
- package/dist/chunks/{generate-rpfbxaa7.js → model-resolver-eqhdj52w.js} +22 -22
- package/dist/chunks/{generate-vkzgvsaw.js → model-resolver-et0bpsn8.js} +57 -57
- package/dist/chunks/{generate-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-magsh8sv.js → model-resolver-f1vyadhg.js} +20 -20
- package/dist/chunks/{generate-yp2x3t23.js → model-resolver-f2n192rq.js} +4 -4
- package/dist/chunks/{generate-qkt0mxxe.js → model-resolver-f4bg3nw3.js} +84 -84
- package/dist/chunks/{generate-mvvgbvx5.js → model-resolver-f5snpwwp.js} +8 -8
- package/dist/chunks/{generate-bknrv093.js → model-resolver-fc1e038s.js} +13 -13
- package/dist/chunks/{generate-7dqw4kz8.js → model-resolver-fcrkznn8.js} +5 -5
- package/dist/chunks/{generate-xz17nvmj.js → model-resolver-fdvr1ndy.js} +11 -11
- package/dist/chunks/{generate-9rdrv7ss.js → model-resolver-fg989vxx.js} +13 -13
- package/dist/chunks/{generate-cjwramev.js → model-resolver-ftdzjz2b.js} +6 -6
- package/dist/chunks/{generate-t3w4twfb.js → model-resolver-fvhcjjbk.js} +9 -9
- package/dist/chunks/{generate-kkndcpqr.js → model-resolver-fwfvrmc2.js} +4 -4
- package/dist/chunks/{generate-8bsdq35e.js → model-resolver-g0s9wgrg.js} +20 -20
- package/dist/chunks/{generate-wnjg8cq9.js → model-resolver-g4x4az7d.js} +3 -3
- package/dist/chunks/{generate-xvp1j2dc.js → model-resolver-g5agzp2h.js} +5 -5
- package/dist/chunks/{generate-4xky6n3z.js → model-resolver-g87rxxst.js} +22 -22
- package/dist/chunks/{generate-emesakwd.js → model-resolver-g8stq3ct.js} +15 -15
- package/dist/chunks/{generate-cym1wyth.js → model-resolver-ga76bh3d.js} +67 -67
- package/dist/chunks/{generate-401kh7j2.js → model-resolver-gbs6jbhw.js} +6 -6
- package/dist/chunks/{generate-pgperwgr.js → model-resolver-gbzb20p6.js} +8 -8
- package/dist/chunks/{generate-mk5c8h6r.js → model-resolver-gd38j8rb.js} +172 -172
- package/dist/chunks/{generate-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-wp1nbt91.js → model-resolver-gdj9fwxj.js} +19 -19
- package/dist/chunks/{generate-4yq8704b.js → model-resolver-ghdxkhwt.js} +30 -30
- package/dist/chunks/{generate-vy4zg7qh.js → model-resolver-gmjq4p6e.js} +5 -5
- package/dist/chunks/{generate-55ed9ppa.js → model-resolver-gnnmkja3.js} +30 -30
- package/dist/chunks/{generate-620zpmpb.js → model-resolver-gp4df2gz.js} +3 -3
- package/dist/chunks/{generate-mptgk8ew.js → model-resolver-gse0ck6f.js} +3 -3
- package/dist/chunks/{generate-t2az9yje.js → model-resolver-gst7axd9.js} +4 -4
- package/dist/chunks/{generate-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{generate-7cwwemrn.js → model-resolver-gv9h81mr.js} +9 -9
- package/dist/chunks/{generate-xd93e145.js → model-resolver-h46w06ap.js} +6 -6
- package/dist/chunks/{generate-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-0g0872c8.js → model-resolver-hkw89x8s.js} +3 -3
- package/dist/chunks/{generate-g8m0a0fc.js → model-resolver-hqmtd9gn.js} +13 -13
- package/dist/chunks/{generate-wtgt14fk.js → model-resolver-hy7m1jes.js} +14 -14
- package/dist/chunks/{generate-6seya0vx.js → model-resolver-j2g46p4m.js} +12 -12
- package/dist/chunks/{generate-qg0jgkcp.js → model-resolver-j3s2z371.js} +9 -9
- package/dist/chunks/{generate-2mgjv0a7.js → model-resolver-j47s30d1.js} +5 -5
- package/dist/chunks/{generate-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-fpn16xgt.js → model-resolver-j5qm3aa4.js} +43 -43
- package/dist/chunks/{generate-a4e6jaw7.js → model-resolver-jtdedrsn.js} +14 -14
- package/dist/chunks/{generate-k3c624dm.js → model-resolver-k3c624dm.js} +3 -3
- package/dist/chunks/{generate-8rc9khtm.js → model-resolver-k7tpzzsk.js} +28 -28
- package/dist/chunks/{generate-9pvxkkw3.js → model-resolver-kan6af9e.js} +24 -24
- package/dist/chunks/{generate-1sq11vt2.js → model-resolver-kd9s81d6.js} +20 -20
- package/dist/chunks/{generate-g0htbh8p.js → model-resolver-kdhg8fn5.js} +10 -10
- package/dist/chunks/{generate-1q6agpkc.js → model-resolver-kf4rtjcm.js} +11 -11
- package/dist/chunks/{generate-p1gamy9h.js → model-resolver-kg0ttabr.js} +17 -17
- package/dist/chunks/{generate-3ad885dn.js → model-resolver-m101sbdj.js} +9 -9
- package/dist/chunks/{generate-nav4wwqp.js → model-resolver-m1t05dsh.js} +1 -1
- package/dist/chunks/{generate-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{generate-2q66m20k.js → model-resolver-m3ma28tp.js} +48 -48
- package/dist/chunks/{generate-1t36cnam.js → model-resolver-m5389yyj.js} +5 -5
- package/dist/chunks/{generate-bz31k0m7.js → model-resolver-m6cmkatr.js} +41 -41
- package/dist/chunks/{generate-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-6sr3ve8g.js → model-resolver-magykp64.js} +21 -21
- package/dist/chunks/{generate-s4qvy6da.js → model-resolver-mrrz849e.js} +11 -11
- package/dist/chunks/{generate-h06zvkf4.js → model-resolver-my6ay15n.js} +13 -13
- package/dist/chunks/{generate-h316b9n0.js → model-resolver-n3vygs5b.js} +9 -9
- package/dist/chunks/{generate-bpa17nke.js → model-resolver-nz2kpe5e.js} +26 -26
- package/dist/chunks/{generate-yqwday8d.js → model-resolver-p0h2zwcj.js} +16 -16
- package/dist/chunks/{generate-sra9araw.js → model-resolver-p44d8wdy.js} +5 -5
- package/dist/chunks/{generate-jwz4x6p9.js → model-resolver-pgfqyy1c.js} +26 -26
- package/dist/chunks/{generate-phz3h32g.js → model-resolver-phz3h32g.js} +1 -1
- package/dist/chunks/{generate-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{generate-cfba12s0.js → model-resolver-prn2zde5.js} +16 -16
- package/dist/chunks/{generate-6kgmmmcp.js → model-resolver-q0gq5wzg.js} +11 -11
- package/dist/chunks/{generate-nhshtkhx.js → model-resolver-qb6wrr0k.js} +37 -37
- package/dist/chunks/{generate-daepexh6.js → model-resolver-qe3aawgt.js} +3 -3
- package/dist/chunks/{generate-8csxj5r3.js → model-resolver-qfnwxhdd.js} +11 -11
- package/dist/chunks/{generate-5rx44j2k.js → model-resolver-qp883ga4.js} +42 -42
- package/dist/chunks/model-resolver-qpym6rz7.js +507 -0
- package/dist/chunks/{generate-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-46sb35mq.js → model-resolver-qsf3p1yr.js} +10 -10
- package/dist/chunks/{generate-zr95g3fb.js → model-resolver-qskvc41q.js} +10 -10
- package/dist/chunks/{generate-5manytmk.js → model-resolver-qy439gdh.js} +24 -24
- package/dist/chunks/{generate-d7zsbx7j.js → model-resolver-r1tct7zd.js} +11 -11
- package/dist/chunks/{generate-c765mh8b.js → model-resolver-r2m716tb.js} +5 -5
- package/dist/chunks/{generate-2x1dfb4g.js → model-resolver-r475mjjc.js} +20 -20
- package/dist/chunks/{generate-8hy9en8e.js → model-resolver-r88fpew6.js} +9 -9
- package/dist/chunks/{generate-kmg0ctnh.js → model-resolver-r938b5ge.js} +29 -29
- package/dist/chunks/{generate-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-8t60vhkw.js → model-resolver-rwectdn3.js} +13 -13
- package/dist/chunks/{generate-h9wp8z5w.js → model-resolver-s30fyz93.js} +4 -4
- package/dist/chunks/model-resolver-sfae06wy.js +26 -0
- package/dist/chunks/{generate-7dwngxrb.js → model-resolver-sg94zqbj.js} +24 -24
- package/dist/chunks/{generate-f4yc8xxh.js → model-resolver-sx2mqjyc.js} +33 -33
- package/dist/chunks/{generate-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{generate-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{generate-288h1877.js → model-resolver-tm4vaxsf.js} +17 -17
- package/dist/chunks/{generate-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{generate-qwjmgwmn.js → model-resolver-tx9w5tca.js} +8 -8
- package/dist/chunks/{generate-4g39nh95.js → model-resolver-v5g0yskm.js} +2 -2
- package/dist/chunks/{generate-xky8qqen.js → model-resolver-v850jb5g.js} +11 -11
- package/dist/chunks/{generate-b6dxgyqp.js → model-resolver-v9k22ypw.js} +7 -7
- package/dist/chunks/{generate-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-rav9e4bf.js → model-resolver-vkt5fbj2.js} +8 -8
- package/dist/chunks/{generate-sccx0yvr.js → model-resolver-vm8x5jsh.js} +26 -26
- package/dist/chunks/{generate-a3r4dcrj.js → model-resolver-vmgq4x8b.js} +2 -2
- package/dist/chunks/{generate-e8bnxdhk.js → model-resolver-vqyyvx1k.js} +10 -10
- package/dist/chunks/{generate-t6xfj4xa.js → model-resolver-vxv26dz1.js} +50 -50
- package/dist/chunks/{generate-9g5c7gye.js → model-resolver-vynr67b8.js} +17 -17
- package/dist/chunks/{generate-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{generate-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{generate-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-zyy8xd5z.js → model-resolver-w8s93tvm.js} +15 -15
- package/dist/chunks/{generate-3gsbm4gg.js → model-resolver-wcjgahxv.js} +10 -10
- package/dist/chunks/{generate-wd3x2cqz.js → model-resolver-wd3x2cqz.js} +2 -2
- package/dist/chunks/{generate-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{generate-86k1dhwd.js → model-resolver-wdyvcfat.js} +25 -25
- package/dist/chunks/{generate-k0hzrm3v.js → model-resolver-wgvqggrf.js} +4 -4
- package/dist/chunks/{generate-mvksx64m.js → model-resolver-wq4mmp7m.js} +4 -4
- package/dist/chunks/{generate-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{generate-6hcagxvr.js → model-resolver-x2y5scjf.js} +12 -12
- package/dist/chunks/{generate-0wrn0h38.js → model-resolver-x7pmfb8f.js} +31 -31
- package/dist/chunks/{generate-9nantg5p.js → model-resolver-x9vnjyzm.js} +24 -24
- package/dist/chunks/{generate-7zbrh5tq.js → model-resolver-x9zyqvt6.js} +26 -26
- package/dist/chunks/{generate-6tnzqxfz.js → model-resolver-xt9rxswa.js} +4 -4
- package/dist/chunks/{generate-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-hnb8nmvn.js → model-resolver-y5c83qxw.js} +5 -5
- package/dist/chunks/{generate-n79ymqnj.js → model-resolver-y64m485r.js} +8 -8
- package/dist/chunks/{generate-dnxkq42g.js → model-resolver-y6bex35g.js} +4 -4
- package/dist/chunks/{generate-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{generate-wbkyxrgf.js → model-resolver-yjptyezs.js} +5 -5
- package/dist/chunks/{generate-s62cygkh.js → model-resolver-ynz18txh.js} +9 -9
- package/dist/chunks/{generate-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{generate-s4enseaf.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{generate-2e9mgspx.js → model-resolver-yv77sh0a.js} +5 -5
- package/dist/chunks/{generate-z07pqspn.js → model-resolver-z07pqspn.js} +3 -3
- package/dist/chunks/{generate-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-ap3j0wzh.js → model-resolver-z4fx9cvt.js} +7 -7
- package/dist/chunks/{generate-29x78va6.js → model-resolver-z63w68vq.js} +6 -6
- package/dist/chunks/{generate-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{generate-r3cfpwkz.js → model-resolver-zfhy6jfb.js} +5 -5
- package/dist/chunks/{generate-sgzjm3r6.js → model-resolver-zmqb8676.js} +5 -5
- package/dist/chunks/{generate-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-jb9mn43j.js → model-resolver-zw9m0b6f.js} +19 -19
- package/dist/chunks/{generate-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{generate-ztzjtmz1.js → model-resolver-zzd4ahet.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +91 -91
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/generate-2xexx0cn.js +0 -507
- package/dist/chunks/generate-fnkhvjm5.js +0 -26
- package/dist/chunks/generate-gz4nb8qn.js +0 -252
- /package/dist/chunks/{generate-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service40,
|
|
10
|
+
node: () => node42
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service40 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node42 = LayerNode.unbound(Service40, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service40, node42, exports_service2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info19
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info19 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info19, exports_attachment };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-5cmxdwv8.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-n3vygs5b.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-eaj1djv9.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-wq4mmp7m.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-s30fyz93.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load5,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./model-resolver-cp17smcp.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
@@ -20,7 +20,7 @@ import { Effect } from "effect";
|
|
|
20
20
|
var Plugin22 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service58;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-0703wr40.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service72,
|
|
8
|
+
node76
|
|
9
|
+
} from "./model-resolver-ghdxkhwt.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-y6bex35g.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-c75ppnt9.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -34,17 +34,17 @@ __export(exports_integration, {
|
|
|
34
34
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
|
-
Event: () =>
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
37
|
+
Event: () => Event16,
|
|
38
|
+
ID: () => ID10,
|
|
39
|
+
Info: () => Info24,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service71,
|
|
47
|
+
node: () => node75
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -66,8 +66,8 @@ import {
|
|
|
66
66
|
import { Integration } from "@opencode/schema/integration";
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
|
-
import { Event as
|
|
70
|
-
var
|
|
69
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
70
|
+
var ID10 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
73
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info24 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,19 +98,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
101
|
-
integrationID:
|
|
101
|
+
integrationID: ID10,
|
|
102
102
|
attemptID: AttemptID2
|
|
103
103
|
}) {
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service71 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
112
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service72;
|
|
114
114
|
const bus = yield* Service83;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info24.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
294
294
|
const persistence = yield* createCredential({
|
|
295
295
|
integrationID: attempt.integrationID,
|
|
296
296
|
label: attempt.label,
|
|
297
|
-
value:
|
|
297
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
298
298
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
299
299
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
300
300
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service71.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
462
462
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
463
463
|
if (connection.type === "env") {
|
|
464
464
|
const key = process.env[connection.name];
|
|
465
|
-
return key ?
|
|
465
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
466
466
|
}
|
|
467
467
|
const credential = yield* credentials.get(connection.id);
|
|
468
468
|
if (!credential)
|
|
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
495
495
|
yield* createCredential({
|
|
496
496
|
integrationID: input.integrationID,
|
|
497
497
|
label: input.label,
|
|
498
|
-
value:
|
|
498
|
+
value: Key3.make({
|
|
499
499
|
type: "key",
|
|
500
500
|
key: input.key,
|
|
501
501
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node75 = makeLocationNode({
|
|
603
|
+
service: Service71,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node76, node87, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export {
|
|
608
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info24, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service71, node75, exports_integration, Event16 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./model-resolver-c75ppnt9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./model-resolver-et0bpsn8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
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 name14 = "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
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service73;
|
|
57
|
+
const permission = yield* Service75;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service79
|
|
4
|
+
} from "./model-resolver-655b29a3.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-774mep86.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service58
|
|
10
|
+
} from "./model-resolver-cp17smcp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service57,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-zw9m0b6f.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service15
|
|
17
|
+
} from "./model-resolver-54gavh75.js";
|
|
18
18
|
import {
|
|
19
19
|
make10
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-gbzb20p6.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command2 = {};
|
|
30
30
|
__export(exports_command2, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin27
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin27 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service58;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,9 +56,9 @@ var Plugin21 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
59
|
+
const shell = yield* Service57;
|
|
60
|
+
const sessions = yield* Service15;
|
|
61
|
+
const agents = yield* Service79;
|
|
62
62
|
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
@@ -80,7 +80,7 @@ var Plugin21 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin27, exports_command2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-8k0g7am2.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-0703wr40.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./model-resolver-ghdxkhwt.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-y6bex35g.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID10,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-4ff0zxak.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service41
|
|
21
|
+
} from "./model-resolver-b00xvs8t.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID9,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-r938b5ge.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
ID5,
|
|
29
|
+
Input14,
|
|
30
30
|
Response2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-2e7f4xd3.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/opencode.ts
|
|
34
34
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var methodID = MethodID2.make("device");
|
|
|
44
44
|
var RemoteResponse = Schema.Struct({
|
|
45
45
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
46
46
|
websearch: Schema.Struct({
|
|
47
|
-
providerID:
|
|
47
|
+
providerID: ID5
|
|
48
48
|
}).pipe(Schema.optional),
|
|
49
49
|
mcp: Schema.Struct({
|
|
50
50
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -96,7 +96,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
96
96
|
}
|
|
97
97
|
function oauth(http) {
|
|
98
98
|
return {
|
|
99
|
-
integrationID:
|
|
99
|
+
integrationID: ID10.make("opencode"),
|
|
100
100
|
method: {
|
|
101
101
|
id: methodID,
|
|
102
102
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var OpencodePlugin2 = define({
|
|
|
163
163
|
const bus = yield* Service83;
|
|
164
164
|
const client = yield* HttpClient.HttpClient;
|
|
165
165
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
166
|
-
const managed = yield*
|
|
166
|
+
const managed = yield* Service41;
|
|
167
167
|
const scope = yield* Scope.Scope;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -212,7 +212,7 @@ var OpencodePlugin2 = define({
|
|
|
212
212
|
providers.update(providerID, (provider) => {
|
|
213
213
|
if (source && source.provider !== provider)
|
|
214
214
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
215
|
-
provider.integrationID =
|
|
215
|
+
provider.integrationID = ID10.make("opencode");
|
|
216
216
|
if (item.canonical !== undefined)
|
|
217
217
|
provider.canonical = item.canonical;
|
|
218
218
|
if (item.name !== undefined)
|
|
@@ -282,7 +282,7 @@ var OpencodePlugin2 = define({
|
|
|
282
282
|
sourceConnection: snapshot.connection
|
|
283
283
|
});
|
|
284
284
|
}
|
|
285
|
-
const item = providers.get(
|
|
285
|
+
const item = providers.get(ID9.opencode);
|
|
286
286
|
if (!item)
|
|
287
287
|
return;
|
|
288
288
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -294,7 +294,7 @@ var OpencodePlugin2 = define({
|
|
|
294
294
|
});
|
|
295
295
|
});
|
|
296
296
|
yield* ctx.model.transform((models) => {
|
|
297
|
-
const item = models.provider.get(
|
|
297
|
+
const item = models.provider.get(ID9.opencode);
|
|
298
298
|
if (!item)
|
|
299
299
|
return;
|
|
300
300
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
329
329
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
330
330
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
331
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
331
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
332
332
|
query: input.query,
|
|
333
333
|
providerID: descriptor.providerID
|
|
334
334
|
}));
|
|
@@ -383,10 +383,10 @@ var OpencodePlugin2 = define({
|
|
|
383
383
|
});
|
|
384
384
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
385
385
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
386
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
386
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
387
387
|
});
|
|
388
388
|
yield* guard(snapshot);
|
|
389
|
-
yield* bus.subscribe(
|
|
389
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
390
390
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
391
391
|
})
|
|
392
392
|
});
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin12,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin12 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin12, exports_tool_input_repair };
|