@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-qe3aawgt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-z07pqspn.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service26,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node29,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service26 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make21({
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service26.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node29 = makeLocationNode({ service: Service26, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service26, node29, exports_instruction_entry };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load4() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load4 };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-774mep86.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service43,
|
|
12
|
+
node45
|
|
13
|
+
} from "./model-resolver-wdyvcfat.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event7,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
@@ -31,11 +31,11 @@ __export(exports_filesystem, {
|
|
|
31
31
|
Match: () => Match2,
|
|
32
32
|
NotFoundError: () => NotFoundError5,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service42,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node44
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -55,7 +55,7 @@ class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content3 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event7 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service42 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service80;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service43;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,7 +103,7 @@ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service42.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
109
|
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node44 = makeLocationNode({
|
|
144
|
+
service: Service42,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node84,
|
|
146
|
+
deps: [FSUtil.node, node84, node45]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError5,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError5, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service42, node44, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-0703wr40.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event20,
|
|
18
|
+
ID: () => ID15,
|
|
19
|
+
Info: () => Info30,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service79,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node83
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event20 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID15 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID15.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info30 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service79 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info30.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID15.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service79.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID15.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID15.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node83 = makeLocationNode({ service: Service79, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID15, Name3, defaultID2, Color2, Info30, Service79, node83, exports_agent4, Event20 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-zw9m0b6f.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service4,
|
|
13
|
+
node: () => node5
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service4 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service4.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service4, node5, exports_update };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./model-resolver-drwq78ky.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render3(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info6,
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-x9vnjyzm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service58
|
|
11
|
+
} from "./model-resolver-cp17smcp.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
18
18
|
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin11,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin11 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info6.make({
|
|
434
|
+
id: ID4.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info6.make({
|
|
441
|
+
id: ID4.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service58;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin11, exports_skill };
|
|
@@ -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
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-4ff0zxak.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID9
|
|
17
|
+
} from "./model-resolver-r938b5ge.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID8,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-c0xnxeca.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID9.make("digitalocean");
|
|
31
|
+
var integrationID = ID10.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID8.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|