@opencode/core 0.0.0-dev-19487 → 0.0.0-dev-19488
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 +78 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/catalog.js +82 -82
- package/dist/chunks/{job-016mssr3.js → model-resolver-021ffpa0.js} +15 -15
- package/dist/chunks/{job-gbt6w4kb.js → model-resolver-02nrjc1r.js} +4 -4
- package/dist/chunks/{job-0334ef0p.js → model-resolver-0334ef0p.js} +1 -1
- package/dist/chunks/{job-pckpcj9e.js → model-resolver-03s1nxke.js} +11 -11
- package/dist/chunks/{job-pfpaa7gq.js → model-resolver-079cv0ze.js} +24 -24
- package/dist/chunks/{job-s05sf1tc.js → model-resolver-07cx4w7f.js} +6 -6
- package/dist/chunks/{job-h0hvpq87.js → model-resolver-0g6mfyfr.js} +53 -53
- package/dist/chunks/{job-yksgcse8.js → model-resolver-0hf448nj.js} +8 -8
- package/dist/chunks/{job-mze1hm6s.js → model-resolver-0jwvfzzp.js} +20 -20
- package/dist/chunks/{job-bzr0sxqf.js → model-resolver-0k7hqrra.js} +24 -24
- package/dist/chunks/{job-7apzd9ry.js → model-resolver-0mywzg06.js} +28 -28
- package/dist/chunks/{job-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-fs2ha3h3.js → model-resolver-0pm1m3w8.js} +13 -13
- package/dist/chunks/{job-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{job-d4d7sqaq.js → model-resolver-0sp60s5d.js} +18 -18
- package/dist/chunks/{job-e3jaaymy.js → model-resolver-0vvagabw.js} +18 -18
- package/dist/chunks/{job-b6grb5b4.js → model-resolver-0wbgnjtz.js} +5 -5
- package/dist/chunks/{job-ct5xa07p.js → model-resolver-0wmmprtc.js} +32 -32
- package/dist/chunks/{job-2vnwx32a.js → model-resolver-121k57vw.js} +8 -8
- package/dist/chunks/{job-f2n192rq.js → model-resolver-1acjjqhc.js} +4 -4
- package/dist/chunks/{job-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-9e5dy72e.js → model-resolver-1gqabzhy.js} +18 -18
- package/dist/chunks/{job-1hc11dc4.js → model-resolver-1hc11dc4.js} +1 -1
- package/dist/chunks/{job-1ptmpf20.js → model-resolver-1ptmpf20.js} +1 -1
- package/dist/chunks/{job-56gdpj1q.js → model-resolver-1ygqh575.js} +9 -9
- package/dist/chunks/{job-n063jy51.js → model-resolver-1zkr721w.js} +14 -14
- package/dist/chunks/{job-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{job-bdqrk2vk.js → model-resolver-23sxaqwc.js} +6 -6
- package/dist/chunks/{job-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
- package/dist/chunks/{job-xg16tf7s.js → model-resolver-24e6cc3r.js} +7 -7
- package/dist/chunks/{job-b6wa0xdw.js → model-resolver-26jcn8kh.js} +12 -12
- package/dist/chunks/{job-zc3syjba.js → model-resolver-27596drg.js} +26 -26
- package/dist/chunks/{job-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-eppb4xhf.js → model-resolver-2cshb6bs.js} +22 -22
- package/dist/chunks/{job-2k8khapm.js → model-resolver-2k8khapm.js} +1 -1
- package/dist/chunks/{job-y86jz6cx.js → model-resolver-2verbhpp.js} +40 -40
- package/dist/chunks/{job-evbgk2k8.js → model-resolver-37s12vcn.js} +5 -5
- package/dist/chunks/{job-j0az6fzh.js → model-resolver-3gjfrb28.js} +25 -25
- package/dist/chunks/{job-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-jpydvnf6.js → model-resolver-3hgg98pr.js} +27 -27
- package/dist/chunks/{job-6vn5aqap.js → model-resolver-3kafhsr8.js} +13 -13
- package/dist/chunks/{job-cd2pp6xd.js → model-resolver-3nxeqbj3.js} +15 -15
- package/dist/chunks/{job-3q1jyqhd.js → model-resolver-3q1jyqhd.js} +1 -1
- package/dist/chunks/{job-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-v9hk8qjj.js → model-resolver-3tq8bdpm.js} +13 -13
- package/dist/chunks/{job-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-gytvbqcp.js → model-resolver-4bfepadc.js} +2 -2
- package/dist/chunks/{job-4grgn5v0.js → model-resolver-4grgn5v0.js} +3 -3
- package/dist/chunks/{job-960nq3qx.js → model-resolver-4kmhmgeg.js} +149 -149
- package/dist/chunks/{job-0ajdgxne.js → model-resolver-4y66k410.js} +5 -5
- package/dist/chunks/{job-nva8wjnn.js → model-resolver-532bqssk.js} +18 -18
- package/dist/chunks/{job-fak5es0b.js → model-resolver-581kfnqp.js} +18 -18
- package/dist/chunks/{job-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{job-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-hdns3422.js → model-resolver-5v1cn1j1.js} +18 -18
- package/dist/chunks/{job-n2q21gfy.js → model-resolver-5v85fpgj.js} +25 -25
- package/dist/chunks/{job-975m2nqr.js → model-resolver-64at0fy0.js} +8 -8
- package/dist/chunks/{job-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{job-hvskjtw3.js → model-resolver-6fvs6bkh.js} +43 -43
- package/dist/chunks/{job-7042fqc6.js → model-resolver-6hzp91we.js} +5 -5
- package/dist/chunks/{job-ks0rcgdg.js → model-resolver-6jcw83n3.js} +47 -47
- package/dist/chunks/{job-eraanh1f.js → model-resolver-6kyz0a76.js} +8 -8
- package/dist/chunks/{job-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{job-q9f0v3wn.js → model-resolver-6wxzvafn.js} +11 -11
- package/dist/chunks/{job-pgp2hfz4.js → model-resolver-6xt4p4wv.js} +9 -9
- package/dist/chunks/{job-pchzg8ns.js → model-resolver-70xr52zc.js} +26 -26
- package/dist/chunks/{job-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
- package/dist/chunks/{job-35rskkd2.js → model-resolver-74w3tna1.js} +17 -17
- package/dist/chunks/{job-9fysaab4.js → model-resolver-75evgfh8.js} +13 -13
- package/dist/chunks/{job-5vktnwp6.js → model-resolver-774n8a20.js} +9 -9
- package/dist/chunks/{job-p00s7hra.js → model-resolver-789bpvq4.js} +8 -8
- package/dist/chunks/{job-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-bz2rv8bn.js → model-resolver-7cwz0yjz.js} +15 -15
- package/dist/chunks/{job-92e5p8bq.js → model-resolver-7fys8geh.js} +9 -9
- package/dist/chunks/{job-d8nc1xcx.js → model-resolver-7z7az0f5.js} +4 -4
- package/dist/chunks/{job-akrnn5pm.js → model-resolver-818pfwc9.js} +8 -8
- package/dist/chunks/{job-czd1pfv4.js → model-resolver-87mnny1s.js} +14 -14
- package/dist/chunks/{job-ayrtc4c9.js → model-resolver-87qnmf38.js} +21 -21
- package/dist/chunks/{job-q3abdj65.js → model-resolver-8abbabsk.js} +18 -18
- package/dist/chunks/{job-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-a2x7snvw.js → model-resolver-8p2zvf0d.js} +28 -28
- package/dist/chunks/{job-8p4f9s12.js → model-resolver-8p4f9s12.js} +2 -2
- package/dist/chunks/{job-s9qt3hf0.js → model-resolver-8p8b376s.js} +25 -25
- package/dist/chunks/{job-xyjz5whv.js → model-resolver-8y92rm17.js} +6 -6
- package/dist/chunks/{job-ks0ppd3e.js → model-resolver-8yrnm0fa.js} +18 -18
- package/dist/chunks/{job-27cdan57.js → model-resolver-942176fc.js} +11 -11
- package/dist/chunks/{job-98a0b00a.js → model-resolver-98a0b00a.js} +4 -4
- package/dist/chunks/{job-98kgw1j6.js → model-resolver-98kgw1j6.js} +1 -1
- package/dist/chunks/{job-9rzqjwaz.js → model-resolver-9rzqjwaz.js} +1 -1
- package/dist/chunks/{job-nfj88d5v.js → model-resolver-9stj6zpb.js} +29 -29
- package/dist/chunks/{job-bq30ykdz.js → model-resolver-9y7khav7.js} +13 -13
- package/dist/chunks/{job-a1bz86dw.js → model-resolver-a1bz86dw.js} +3 -3
- package/dist/chunks/{job-cbpfqknj.js → model-resolver-a2cfvfg1.js} +14 -14
- package/dist/chunks/{job-28018db5.js → model-resolver-a4vx34cq.js} +14 -14
- package/dist/chunks/{job-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{job-ts63n6kh.js → model-resolver-aczsg4vg.js} +28 -28
- package/dist/chunks/{job-g1rawmwq.js → model-resolver-am89cgs6.js} +13 -13
- package/dist/chunks/{job-n2jnf84z.js → model-resolver-atny4vj3.js} +11 -11
- package/dist/chunks/{job-mqy8ygtd.js → model-resolver-aztjpt51.js} +15 -15
- package/dist/chunks/{job-j7ptesvn.js → model-resolver-b22gj5xn.js} +30 -30
- package/dist/chunks/{job-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-qe294mrs.js → model-resolver-b77arecc.js} +24 -24
- package/dist/chunks/{job-fdftw564.js → model-resolver-bcbgj7m0.js} +16 -16
- package/dist/chunks/{job-w39664cx.js → model-resolver-bq4vzaks.js} +40 -40
- package/dist/chunks/{job-cbg8bv93.js → model-resolver-cbg8bv93.js} +2 -2
- package/dist/chunks/{job-cfpkc3c9.js → model-resolver-cfpkc3c9.js} +2 -2
- package/dist/chunks/{job-cgy8tn69.js → model-resolver-ck6gmqc6.js} +41 -41
- package/dist/chunks/{job-j7fvxq13.js → model-resolver-csz41kxq.js} +5 -5
- package/dist/chunks/{job-dvam00rs.js → model-resolver-csz4k5km.js} +18 -18
- package/dist/chunks/{job-af04s6ss.js → model-resolver-d2aac7k2.js} +5 -5
- package/dist/chunks/{job-n32rgk8k.js → model-resolver-d2fv866c.js} +13 -13
- package/dist/chunks/{job-p5cpys3w.js → model-resolver-d880b0y6.js} +26 -26
- package/dist/chunks/{job-rq6e4y8a.js → model-resolver-djmbsxn3.js} +9 -9
- package/dist/chunks/{job-s10w6b6d.js → model-resolver-djqd3v5p.js} +29 -29
- package/dist/chunks/{job-vvjnvqyt.js → model-resolver-dkck3j8g.js} +8 -8
- package/dist/chunks/{job-rsyc5np9.js → model-resolver-dktryzc1.js} +21 -21
- package/dist/chunks/{job-y71avatq.js → model-resolver-dpkg50ah.js} +4 -4
- package/dist/chunks/{job-dqyg47hv.js → model-resolver-dqyg47hv.js} +1 -1
- package/dist/chunks/{job-zt5dmdf8.js → model-resolver-drknmmyh.js} +9 -9
- package/dist/chunks/{job-p42hj8p8.js → model-resolver-dv1qgsyq.js} +8 -8
- package/dist/chunks/{job-prny519s.js → model-resolver-e6fygs6z.js} +25 -25
- package/dist/chunks/{job-nhy5jxhy.js → model-resolver-e82z9tr0.js} +7 -7
- package/dist/chunks/{job-t5bnx55r.js → model-resolver-e86807kd.js} +88 -88
- package/dist/chunks/{job-rv0xef65.js → model-resolver-epzffrx8.js} +23 -23
- package/dist/chunks/{job-w1h7xv3a.js → model-resolver-erhkyex8.js} +4 -4
- package/dist/chunks/{job-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-j7vx2ayd.js → model-resolver-ewbqqj16.js} +13 -13
- package/dist/chunks/{job-f828m53h.js → model-resolver-f828m53h.js} +2 -2
- package/dist/chunks/{job-gwae7e2k.js → model-resolver-f8xc4yre.js} +25 -25
- package/dist/chunks/{job-csdbkttg.js → model-resolver-f8zs2stk.js} +9 -9
- package/dist/chunks/model-resolver-fbf46f8y.js +462 -0
- package/dist/chunks/{job-czr633w7.js → model-resolver-fdc0z0c3.js} +2 -2
- package/dist/chunks/{job-y2pvr2pg.js → model-resolver-fvf9sjjr.js} +43 -43
- package/dist/chunks/{job-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{job-vyy6cxw9.js → model-resolver-fxqygnfa.js} +4 -4
- package/dist/chunks/{job-qj8eh1ht.js → model-resolver-g190xswt.js} +4 -4
- package/dist/chunks/{job-1c9z29md.js → model-resolver-g53r2hff.js} +36 -36
- package/dist/chunks/{job-g5rnekq0.js → model-resolver-g5rnekq0.js} +2 -2
- package/dist/chunks/{job-x8vsyjqh.js → model-resolver-g6fkknnq.js} +27 -27
- package/dist/chunks/{job-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-3fc6dm20.js → model-resolver-gdvy8fx6.js} +4 -4
- package/dist/chunks/{job-pvhztgmx.js → model-resolver-ggj3dvvh.js} +9 -9
- package/dist/chunks/{job-rryrtn54.js → model-resolver-ghej9zy6.js} +17 -17
- package/dist/chunks/{job-dj7fnf18.js → model-resolver-gkv3re89.js} +8 -8
- package/dist/chunks/{job-th5km1p3.js → model-resolver-gv6a8nnw.js} +5 -5
- package/dist/chunks/{job-8w9gnpm0.js → model-resolver-gw82nkc3.js} +34 -34
- package/dist/chunks/{job-800537fc.js → model-resolver-gwfcx2m0.js} +13 -13
- package/dist/chunks/{job-xyrwsz6e.js → model-resolver-gwnxf6ch.js} +4 -4
- package/dist/chunks/{job-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
- package/dist/chunks/{job-c8bet9nv.js → model-resolver-h2fnsspk.js} +11 -11
- package/dist/chunks/{job-8p1w9ks5.js → model-resolver-h3k867zz.js} +5 -5
- package/dist/chunks/{job-7srnc09m.js → model-resolver-h4q9s1ny.js} +17 -17
- package/dist/chunks/{job-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-m2d0j7c0.js → model-resolver-h7ygw6q4.js} +9 -9
- package/dist/chunks/model-resolver-hjw1g3kj.js +247 -0
- package/dist/chunks/{job-g3ehx1y8.js → model-resolver-htk69tte.js} +7 -7
- package/dist/chunks/{job-6emw3fyj.js → model-resolver-htx7jtvk.js} +22 -22
- package/dist/chunks/{job-hsmzemxh.js → model-resolver-hwap2x7x.js} +17 -17
- package/dist/chunks/{job-bpe29dc4.js → model-resolver-hwxt52gm.js} +8 -8
- package/dist/chunks/{job-08zzd022.js → model-resolver-hya8ywrc.js} +71 -71
- package/dist/chunks/{job-8aazadz7.js → model-resolver-j12k6d1r.js} +34 -34
- package/dist/chunks/model-resolver-j2k1bkn8.js +22 -0
- package/dist/chunks/{job-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{job-377tdzm5.js → model-resolver-j7wq2tw5.js} +2 -2
- package/dist/chunks/{job-j2a1h892.js → model-resolver-jbe1bvhn.js} +26 -26
- package/dist/chunks/{job-h565xqw1.js → model-resolver-jwazx1ed.js} +30 -30
- package/dist/chunks/{job-14rg6w4j.js → model-resolver-k6556a45.js} +6 -6
- package/dist/chunks/{job-wh1vm43f.js → model-resolver-k6h76ggr.js} +21 -21
- package/dist/chunks/{job-94efgcc8.js → model-resolver-kbn8346a.js} +11 -11
- package/dist/chunks/{job-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
- package/dist/chunks/{job-7dbmnfn4.js → model-resolver-kk8h1mek.js} +8 -8
- package/dist/chunks/{job-c412qydp.js → model-resolver-kvffe9p6.js} +17 -17
- package/dist/chunks/{job-1azx31sp.js → model-resolver-kx6yd4vg.js} +33 -33
- package/dist/chunks/{job-r33ff4dw.js → model-resolver-kxpygcw9.js} +6 -6
- package/dist/chunks/{job-0hbv93n8.js → model-resolver-m4hypjkm.js} +11 -11
- package/dist/chunks/{job-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-c9vkqdxg.js → model-resolver-mb5a7wwz.js} +10 -10
- package/dist/chunks/{job-9mkexxhe.js → model-resolver-me88hgte.js} +21 -21
- package/dist/chunks/{job-cwscbyeb.js → model-resolver-mg5mchpt.js} +23 -23
- package/dist/chunks/{job-y4y3k3t7.js → model-resolver-mhdwrqr0.js} +3 -3
- package/dist/chunks/{job-j028xdjb.js → model-resolver-mhkvc446.js} +3 -3
- package/dist/chunks/{job-7c513k2d.js → model-resolver-mrsqtdpn.js} +34 -34
- package/dist/chunks/{job-ns20stt6.js → model-resolver-mwnd972w.js} +33 -33
- package/dist/chunks/{job-hf73vpjv.js → model-resolver-mz60zy6e.js} +18 -18
- package/dist/chunks/{job-x0rttjh5.js → model-resolver-mz65vdgf.js} +22 -22
- package/dist/chunks/{job-h71w788e.js → model-resolver-n37c4crj.js} +9 -9
- package/dist/chunks/{job-jz5ydzs3.js → model-resolver-nv6fkpt4.js} +17 -17
- package/dist/chunks/{job-gpf6czhb.js → model-resolver-p52p41ww.js} +11 -11
- package/dist/chunks/{job-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{job-smgfxgse.js → model-resolver-pm4pe4yk.js} +29 -29
- package/dist/chunks/{job-qe66dmzf.js → model-resolver-pqg5898n.js} +12 -12
- package/dist/chunks/{job-b9a7j5xm.js → model-resolver-prp52c5q.js} +11 -11
- package/dist/chunks/{job-31wx1hcs.js → model-resolver-psjem9sa.js} +9 -9
- package/dist/chunks/{job-jkms49ey.js → model-resolver-pvvs7m8f.js} +11 -11
- package/dist/chunks/{job-bpsxkzdm.js → model-resolver-q87s0xy8.js} +41 -41
- package/dist/chunks/{job-0hy8bs71.js → model-resolver-q91t8a1k.js} +14 -14
- package/dist/chunks/{job-e47h9b4b.js → model-resolver-qa6ytjmd.js} +13 -13
- package/dist/chunks/model-resolver-qapv375x.js +4 -0
- package/dist/chunks/{job-qdcfe15v.js → model-resolver-qdcfe15v.js} +1 -1
- package/dist/chunks/model-resolver-qdyb70sk.js +18 -0
- package/dist/chunks/{job-hcz3zddy.js → model-resolver-qn4ba14w.js} +5 -5
- package/dist/chunks/{job-qn8ypmg1.js → model-resolver-qn8ypmg1.js} +3 -3
- package/dist/chunks/{job-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{job-jzy4mkh2.js → model-resolver-qwkytnft.js} +6 -6
- package/dist/chunks/{job-qyxt0tsw.js → model-resolver-qyxt0tsw.js} +2 -2
- package/dist/chunks/{job-2dt14bzc.js → model-resolver-r532bney.js} +4 -4
- package/dist/chunks/{job-8jw7hv5g.js → model-resolver-r9ghxtsk.js} +6 -6
- package/dist/chunks/{job-r9mregkx.js → model-resolver-r9mregkx.js} +2 -2
- package/dist/chunks/{job-mw934p8z.js → model-resolver-rav9e4bf.js} +8 -8
- package/dist/chunks/{job-gxh0jpkt.js → model-resolver-rctyp4y4.js} +23 -23
- package/dist/chunks/{job-ybd67v2t.js → model-resolver-rd8pgjwx.js} +23 -23
- package/dist/chunks/{job-8pnjmg4v.js → model-resolver-rj9a996t.js} +7 -7
- package/dist/chunks/{job-2kcnh9zr.js → model-resolver-rq6dswfj.js} +8 -8
- package/dist/chunks/{job-pjmw00w1.js → model-resolver-rsym84ch.js} +9 -9
- package/dist/chunks/{job-52nzjj7h.js → model-resolver-rtkh6q4b.js} +11 -11
- package/dist/chunks/{job-806j49yq.js → model-resolver-ryr25ayn.js} +4 -4
- package/dist/chunks/{job-yvn7dgj6.js → model-resolver-s1vvg2cq.js} +7 -7
- package/dist/chunks/{job-3yej498q.js → model-resolver-s2whfhf8.js} +27 -27
- package/dist/chunks/{job-zfznrpx1.js → model-resolver-s534qmrw.js} +4 -4
- package/dist/chunks/{job-tecjnr7a.js → model-resolver-s5wnyv46.js} +32 -32
- package/dist/chunks/{job-arhw5g4g.js → model-resolver-s72x8wcp.js} +21 -21
- package/dist/chunks/{job-eyg8j8pe.js → model-resolver-sdcezsxk.js} +19 -19
- package/dist/chunks/{job-3yw4yvqj.js → model-resolver-shqnjwtb.js} +21 -21
- package/dist/chunks/{job-he05hy2a.js → model-resolver-sph8ksss.js} +9 -9
- package/dist/chunks/{job-t82v98bg.js → model-resolver-spr8pf2r.js} +9 -9
- package/dist/chunks/{job-0mvdwv34.js → model-resolver-t6gatd88.js} +44 -44
- package/dist/chunks/{job-hn57h045.js → model-resolver-t7n9q6bq.js} +4 -4
- package/dist/chunks/{job-n8pffdcp.js → model-resolver-t82489yp.js} +33 -33
- package/dist/chunks/{job-38v7nz88.js → model-resolver-t9e5d74p.js} +9 -9
- package/dist/chunks/{job-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{job-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{job-rnqexz4a.js → model-resolver-tp3xxvx5.js} +44 -44
- package/dist/chunks/{job-bj71w5n9.js → model-resolver-trk3y68z.js} +57 -57
- package/dist/chunks/{job-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{job-94np39z2.js → model-resolver-twy35tz0.js} +9 -9
- package/dist/chunks/{job-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{job-gmpe3tq0.js → model-resolver-vhj1rs6k.js} +24 -24
- package/dist/chunks/{job-vncycja5.js → model-resolver-vncycja5.js} +1 -1
- package/dist/chunks/{job-mhjy9geh.js → model-resolver-vnv2t9ht.js} +4 -4
- package/dist/chunks/{job-3c1tgrea.js → model-resolver-vvccsdf3.js} +6 -6
- package/dist/chunks/{job-t71v2ka4.js → model-resolver-vxp3kcg3.js} +5 -5
- package/dist/chunks/{job-g27009tp.js → model-resolver-vy514hgv.js} +7 -7
- package/dist/chunks/{job-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{job-7y8hdne7.js → model-resolver-wf4bebac.js} +16 -16
- package/dist/chunks/{job-5rwse2qc.js → model-resolver-wgf958fy.js} +16 -16
- package/dist/chunks/{job-fb38brhg.js → model-resolver-wj9n5p3k.js} +3 -3
- package/dist/chunks/{job-wrjeysgp.js → model-resolver-wrjeysgp.js} +2 -2
- package/dist/chunks/{job-d6zg86dd.js → model-resolver-wwmx33bt.js} +5 -5
- package/dist/chunks/{job-1vcb4nww.js → model-resolver-x1avke2d.js} +87 -87
- package/dist/chunks/{job-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-x6geafsy.js → model-resolver-x6geafsy.js} +1 -1
- package/dist/chunks/{job-1e9w7pgh.js → model-resolver-x940zq77.js} +6 -6
- package/dist/chunks/{job-xdk7tsve.js → model-resolver-xdk7tsve.js} +1 -1
- package/dist/chunks/{job-d16qd7aj.js → model-resolver-xg9t41r3.js} +2 -2
- package/dist/chunks/{job-hbtzg4zn.js → model-resolver-xs8g0vg3.js} +4 -4
- package/dist/chunks/{job-pmdxe22d.js → model-resolver-xtzwr8pq.js} +9 -9
- package/dist/chunks/{job-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-whw47krc.js → model-resolver-y3fea29m.js} +14 -14
- package/dist/chunks/{job-wdxm8kpp.js → model-resolver-y94qkjj7.js} +8 -8
- package/dist/chunks/{job-mvfdckk2.js → model-resolver-ydgy0jv4.js} +4 -4
- package/dist/chunks/{job-2fha9ajs.js → model-resolver-yjv2keaj.js} +34 -34
- package/dist/chunks/{job-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{job-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{job-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-agx5abm4.js → model-resolver-z2b5d6zb.js} +6 -6
- package/dist/chunks/{job-9qmd3adp.js → model-resolver-z2kz5700.js} +17 -17
- package/dist/chunks/{job-b5bw01np.js → model-resolver-z2qr9twd.js} +1 -1
- package/dist/chunks/{job-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{job-6sjc8c0h.js → model-resolver-z7dhx1kn.js} +22 -22
- package/dist/chunks/{job-pg9v6hcz.js → model-resolver-zceb237h.js} +13 -13
- package/dist/chunks/{job-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{job-742m8jm9.js → model-resolver-zf0svfz5.js} +18 -18
- package/dist/chunks/{job-hhfgyk26.js → model-resolver-zpkbxaqd.js} +4 -4
- package/dist/chunks/{job-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +5 -5
- 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 +3 -3
- 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 +352 -352
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +81 -81
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +2 -2
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +1 -1
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +89 -89
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +87 -87
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/job-0mesazry.js +0 -4
- package/dist/chunks/job-836wzxkm.js +0 -462
- package/dist/chunks/job-k40hr7sr.js +0 -247
- package/dist/chunks/job-v1faaxn9.js +0 -18
- package/dist/chunks/job-x96azzxd.js +0 -22
- /package/dist/chunks/{job-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{job-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-paphc93g.js → model-resolver-paphc93g.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node81
|
|
4
|
+
} from "./model-resolver-csz4k5km.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node57
|
|
7
|
+
} from "./model-resolver-8abbabsk.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service9,
|
|
10
|
+
node12
|
|
11
|
+
} from "./model-resolver-8p8b376s.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./model-resolver-qdyb70sk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node17,
|
|
17
|
+
ID2
|
|
18
|
+
} from "./model-resolver-mz65vdgf.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service3,
|
|
21
|
+
node5
|
|
22
|
+
} from "./model-resolver-dv1qgsyq.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-fbf46f8y.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
make3,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-hwxt52gm.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service5,
|
|
34
|
+
node7
|
|
35
|
+
} from "./model-resolver-zceb237h.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service4,
|
|
38
|
+
node6
|
|
39
|
+
} from "./model-resolver-n37c4crj.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
115
115
|
failures: [
|
|
116
116
|
...failures.values(),
|
|
117
117
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
118
|
-
id:
|
|
118
|
+
id: ID2.make(plugin.id),
|
|
119
119
|
source: plugin.source ?? { type: "builtin" },
|
|
120
120
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
121
121
|
features: { server: true, ...plugin.features }
|
|
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
127
|
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
-
const registry = yield*
|
|
129
|
-
const sdk = yield*
|
|
130
|
-
const instance = yield*
|
|
131
|
-
const sources = yield*
|
|
132
|
-
const modules = yield*
|
|
133
|
-
const bus = yield*
|
|
134
|
-
const updates = yield*
|
|
128
|
+
const registry = yield* Service18;
|
|
129
|
+
const sdk = yield* Service5;
|
|
130
|
+
const instance = yield* Service3;
|
|
131
|
+
const sources = yield* Service9;
|
|
132
|
+
const modules = yield* make3();
|
|
133
|
+
const bus = yield* Service77;
|
|
134
|
+
const updates = yield* Service4;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
node11,
|
|
209
|
+
node17,
|
|
210
|
+
node7,
|
|
212
211
|
node5,
|
|
213
|
-
|
|
214
|
-
|
|
212
|
+
node12,
|
|
213
|
+
node6,
|
|
214
|
+
node81,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node57,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info10
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info10 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info10, exports_attachment };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node81
|
|
4
|
+
} from "./model-resolver-csz4k5km.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -16,17 +16,17 @@ __export(exports_form, {
|
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID7,
|
|
20
|
+
Info: () => Info20,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError7,
|
|
24
24
|
Reply: () => Reply2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service63,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node66,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
@@ -35,8 +35,8 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
|
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Event as Event14 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID7 = Form.ID;
|
|
39
|
+
var Info20 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID7
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError5 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID7
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID7
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID7,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service63 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer23 = Layer.effect(Service63, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service77;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID7.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service63.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node66 = makeLocationNode({ service: Service63, layer: layer23, deps: [node81] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID7, Info20, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service63, layer23, node66, validateAnswer2, validateFields2, exports_form, Event14 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service74
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-7fys8geh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service56
|
|
12
|
+
} from "./model-resolver-z7dhx1kn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service37
|
|
15
|
+
} from "./model-resolver-1gqabzhy.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-epzffrx8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service69
|
|
24
|
+
} from "./model-resolver-q87s0xy8.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service42
|
|
27
|
+
} from "./model-resolver-bcbgj7m0.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
36
|
+
Input: () => Input11,
|
|
37
37
|
Output: () => Output8,
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
38
|
+
Plugin: () => Plugin42,
|
|
39
|
+
name: () => name11,
|
|
40
40
|
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name11 = "glob";
|
|
46
|
+
var Input11 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -63,19 +63,19 @@ var toModelContent6 = (entries, truncated = false) => {
|
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin42 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
69
|
+
const environment = yield* Service56;
|
|
70
|
+
const ripgrep = yield* Service37;
|
|
71
71
|
const location = yield* Service74;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service42;
|
|
73
|
+
const permission = yield* Service69;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name11,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
78
|
+
input: Input11,
|
|
79
79
|
output: Output8,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
@@ -83,7 +83,7 @@ var Plugin13 = {
|
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name11,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -125,4 +125,4 @@ var Plugin13 = {
|
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name11, Input11, Output8, toModelContent6, Plugin42, exports_glob };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node81
|
|
4
|
+
} from "./model-resolver-csz4k5km.js";
|
|
5
5
|
import {
|
|
6
6
|
Service74,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node78
|
|
8
|
+
} from "./model-resolver-7fys8geh.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service70,
|
|
14
|
+
node74
|
|
15
|
+
} from "./model-resolver-nv6fkpt4.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
@@ -35,9 +35,9 @@ var InjectedMetadata = Schema.Struct({
|
|
|
35
35
|
class Service10 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
37
|
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
38
|
-
const bus = yield*
|
|
38
|
+
const bus = yield* Service77;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service70;
|
|
41
41
|
const location = yield* Service74;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -98,7 +98,7 @@ function describePath(root, path) {
|
|
|
98
98
|
var node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node81, FSUtil.node, node78, node74]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
export { Service10, node13, exports_instructions };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-03s1nxke.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./model-resolver-csz4k5km.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./model-resolver-mwnd972w.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID6,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-f8xc4yre.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID10,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-1ptmpf20.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID6.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID6.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,10 +159,10 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service77;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -224,7 +224,7 @@ var OpenAIPlugin2 = define({
|
|
|
224
224
|
evt.headers["session-id"] = evt.sessionID;
|
|
225
225
|
}), { providerID: ID10.openai });
|
|
226
226
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
227
|
-
yield* bus.subscribe(
|
|
227
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
function headers(contentType, app) {
|
|
@@ -315,4 +315,4 @@ function claim(token) {
|
|
|
315
315
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
export {
|
|
318
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service56,
|
|
6
|
+
node59
|
|
7
|
+
} from "./model-resolver-z7dhx1kn.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node16,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service13 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service56;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service13.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node16 = makeLocationNode({ service: Service13, layer, deps: [node59] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service13, readText2, syncTextBom2, node16, exports_file_mutation };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ID10,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-1ptmpf20.js";
|
|
6
6
|
import {
|
|
7
7
|
ID9,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
10
|
Info22
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-cbg8bv93.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|