@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,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-qe3aawgt.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-0703wr40.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-468xcx49.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service77,
|
|
21
|
+
node81
|
|
22
|
+
} from "./model-resolver-ctwrx9qj.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service16,
|
|
25
|
+
node19
|
|
26
|
+
} from "./model-resolver-f4bg3nw3.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service12,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node14
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service12 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service16;
|
|
65
|
+
const store = yield* Service77;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service12.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node87, llmClient2,
|
|
150
|
+
var node14 = makeLocationNode({
|
|
151
|
+
service: Service12,
|
|
152
|
+
layer: layer7,
|
|
153
|
+
deps: [node87, llmClient2, node19, node81, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service12, isUntitled2, layer7, node14, exports_title };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-774mep86.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key4,
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service19,
|
|
19
|
+
node: () => node22
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service19 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service80;
|
|
29
|
-
return
|
|
29
|
+
return Service19.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make21({
|
|
32
|
+
key: Key4.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
35
35
|
render: {
|
|
@@ -37,8 +37,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
41
|
-
key:
|
|
40
|
+
make21({
|
|
41
|
+
key: Key4.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
44
44
|
"<env>",
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node22 = makeLocationNode({ service: Service19, layer, deps: [Global.node, node84] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service19, node22, exports_builtins };
|
|
@@ -1,15 +1,15 @@
|
|
|
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/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info14,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info14 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info14, exports_mcp5 };
|
|
@@ -1,66 +1,66 @@
|
|
|
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
|
+
ID5,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service35
|
|
14
|
+
} from "./model-resolver-2e7f4xd3.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input8,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin45,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name8
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name8 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input8 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID5,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin45 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service75;
|
|
53
|
+
const forms = yield* Service73;
|
|
54
|
+
const websearch = yield* Service35;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name8,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input8,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name8,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name8];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name8, NO_RESULTS2, description4, Input8, Plugin45, exports_websearch2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
node86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-gmjq4p6e.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-774mep86.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make20
|
|
16
|
+
} from "./model-resolver-1mjwcf4w.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service64,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node68
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service64 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
36
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
37
37
|
const location = yield* Service80;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make20;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service64.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node68 = makeLocationNode({
|
|
61
|
+
service: Service64,
|
|
62
62
|
layer,
|
|
63
63
|
deps: [node84, Global.node, node86, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service64, node68, exports_strategies };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./model-resolver-cp17smcp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./model-resolver-2kewd2va.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin20
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin20 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service58;
|
|
26
|
+
const image = yield* Service32;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin25 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin20, exports_image };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-gmjq4p6e.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service84,
|
|
13
13
|
node88
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-qe3aawgt.js";
|
|
15
15
|
import {
|
|
16
16
|
Service83,
|
|
17
17
|
node87
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-0703wr40.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-wd3x2cqz.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-94ek1h2f.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-y64m485r.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-774mep86.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service65,
|
|
34
|
+
node69
|
|
35
|
+
} from "./model-resolver-7vckzw94.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-resolver-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make20
|
|
42
|
+
} from "./model-resolver-1mjwcf4w.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service64
|
|
45
|
+
} from "./model-resolver-prn2zde5.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
52
52
|
__export(exports_worktree2, {
|
|
53
|
-
CreateInput: () =>
|
|
53
|
+
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event13,
|
|
57
|
+
Info: () => Info21,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service63,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node67
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -77,9 +77,9 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
77
77
|
import { ChildProcess } from "effect/unstable/process";
|
|
78
78
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
|
-
var
|
|
80
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info21 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event13 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service63 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service65;
|
|
108
|
+
const gitStrategy = yield* make20;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service64).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event13.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service63.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node67 = Node.makeGlobalNode({
|
|
265
|
+
service: Service63,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node, node86, node87, node88, AppProcess.node,
|
|
267
|
+
deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node69]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info21, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event13, Service63, node67, exports_worktree2, OperationError2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-hkw89x8s.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-gse0ck6f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|