@opencode/core 0.0.0-dev-20122 → 0.0.0-dev-20124
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +3 -3
- package/dist/bus.js +73 -73
- package/dist/chunks/{form-eaj1djv9.js → model-resolver-02nrjc1r.js} +4 -4
- package/dist/chunks/{form-aawwprjn.js → model-resolver-04hnx7m6.js} +15 -15
- package/dist/chunks/{form-qzbrf7bg.js → model-resolver-0gbss3fx.js} +25 -25
- package/dist/chunks/{form-v2pac2r5.js → model-resolver-0jfh7z55.js} +43 -43
- package/dist/chunks/{form-7kh9t2x9.js → model-resolver-0kg3x5km.js} +13 -13
- package/dist/chunks/model-resolver-0mesazry.js +4 -0
- package/dist/chunks/{form-d973bnhm.js → model-resolver-0mz149mz.js} +24 -24
- package/dist/chunks/{form-2nm7czc6.js → model-resolver-0ng4kf97.js} +32 -32
- package/dist/chunks/{form-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-t821byxs.js → model-resolver-0q26a2b3.js} +18 -18
- package/dist/chunks/{form-kbqjp078.js → model-resolver-0ryd0fps.js} +5 -5
- package/dist/chunks/{form-df9m9s24.js → model-resolver-0tdm3y21.js} +8 -8
- package/dist/chunks/{form-e1ge5bzw.js → model-resolver-0v374yjc.js} +5 -5
- package/dist/chunks/{form-athnqdtn.js → model-resolver-156whzkq.js} +2 -2
- package/dist/chunks/{form-y59c554b.js → model-resolver-173t7wcz.js} +8 -8
- package/dist/chunks/{form-jc019x40.js → model-resolver-19518qm9.js} +11 -11
- package/dist/chunks/{form-yp2x3t23.js → model-resolver-1acjjqhc.js} +4 -4
- package/dist/chunks/{form-9nchh937.js → model-resolver-1d64zjtd.js} +5 -5
- package/dist/chunks/{form-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-yxy54gdd.js → model-resolver-1g3fhskv.js} +20 -20
- package/dist/chunks/{form-wgzgkxwc.js → model-resolver-1k3s6syq.js} +3 -3
- package/dist/chunks/{form-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{form-3tf6s7ys.js → model-resolver-26mdse20.js} +18 -18
- package/dist/chunks/{form-3sbxp6tx.js → model-resolver-27z1xvbk.js} +14 -14
- package/dist/chunks/{form-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-4x440zej.js → model-resolver-2dznbxmy.js} +12 -12
- package/dist/chunks/{form-q3t37ft6.js → model-resolver-2f04pwep.js} +2 -2
- package/dist/chunks/{form-4e3gxew0.js → model-resolver-2f9f9n6j.js} +30 -30
- package/dist/chunks/{form-xt8hymbd.js → model-resolver-2gmwjqmv.js} +19 -19
- package/dist/chunks/{form-1btp8ks2.js → model-resolver-2j85j1qq.js} +4 -4
- package/dist/chunks/{form-vktwk5kv.js → model-resolver-2kewd2va.js} +9 -9
- package/dist/chunks/{form-9dchs00j.js → model-resolver-2n8bv8kh.js} +3 -3
- package/dist/chunks/{form-w3p83eb3.js → model-resolver-33vhehfz.js} +6 -6
- package/dist/chunks/{form-ez2rjd67.js → model-resolver-36qt8gf5.js} +17 -17
- package/dist/chunks/{form-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-ms2t0q15.js → model-resolver-3fp3xcnb.js} +9 -9
- package/dist/chunks/{form-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-vvvad8t8.js → model-resolver-3pm9m3n0.js} +11 -11
- package/dist/chunks/{form-y9mp5nec.js → model-resolver-3rf7mzjq.js} +81 -81
- package/dist/chunks/{form-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-p6pqqm51.js → model-resolver-3vvy9r1q.js} +15 -15
- package/dist/chunks/{form-0m4fayrh.js → model-resolver-3y72t5s0.js} +22 -22
- package/dist/chunks/{form-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-pyzra7ce.js → model-resolver-40a4pq3k.js} +3 -3
- package/dist/chunks/{form-0h1pcqkr.js → model-resolver-49fmtcj3.js} +30 -30
- package/dist/chunks/{form-jewzahs7.js → model-resolver-4bm5ja14.js} +4 -4
- package/dist/chunks/{form-g6aremgq.js → model-resolver-4m9cw4aw.js} +7 -7
- package/dist/chunks/{form-r5vn3hc9.js → model-resolver-4p21y445.js} +11 -11
- package/dist/chunks/{form-fwk5mrsc.js → model-resolver-4qqzqwb9.js} +5 -5
- package/dist/chunks/{form-1a88t1cf.js → model-resolver-4rqrtqc5.js} +8 -8
- package/dist/chunks/{form-8g3862tg.js → model-resolver-4s2padma.js} +7 -7
- package/dist/chunks/{form-37s12vcn.js → model-resolver-4xbskmpe.js} +5 -5
- package/dist/chunks/{form-a1a50ys5.js → model-resolver-4xz89tjk.js} +5 -5
- package/dist/chunks/{form-ckecvw8r.js → model-resolver-54tcyq79.js} +2 -2
- package/dist/chunks/{form-76gtnb8q.js → model-resolver-569et0xs.js} +24 -24
- package/dist/chunks/{form-56gdpj1q.js → model-resolver-56gdpj1q.js} +2 -2
- package/dist/chunks/{form-whsef500.js → model-resolver-58c90p9y.js} +2 -2
- package/dist/chunks/{form-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{form-eq23s0y6.js → model-resolver-5e19p4dw.js} +5 -5
- package/dist/chunks/{form-pdrmbr6g.js → model-resolver-5jbstfnb.js} +24 -24
- package/dist/chunks/{form-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-a1f9yram.js → model-resolver-63ctpfk7.js} +23 -23
- package/dist/chunks/{form-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{form-qx79v5w3.js → model-resolver-6dr7817k.js} +19 -19
- package/dist/chunks/{form-2402vzrj.js → model-resolver-6h73sxmp.js} +5 -5
- package/dist/chunks/{form-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{form-jws6fkes.js → model-resolver-6pc27hjz.js} +4 -4
- package/dist/chunks/{form-xgysng5w.js → model-resolver-6vra413r.js} +10 -10
- package/dist/chunks/{form-zgc6s8pn.js → model-resolver-6yqr96vd.js} +35 -35
- package/dist/chunks/{form-6m7d9qer.js → model-resolver-6zpb3hvq.js} +7 -7
- package/dist/chunks/{form-sj0vvp2d.js → model-resolver-7161yw90.js} +7 -7
- package/dist/chunks/{form-sj9mxrb8.js → model-resolver-72f6taeg.js} +26 -26
- package/dist/chunks/{form-zjm534cg.js → model-resolver-778t764x.js} +43 -43
- package/dist/chunks/{form-hzxtr8vy.js → model-resolver-79skyr14.js} +11 -11
- package/dist/chunks/{form-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-nkrban15.js → model-resolver-7bxnc6x6.js} +11 -11
- package/dist/chunks/{form-hax32ey3.js → model-resolver-7c5c7hvy.js} +13 -13
- package/dist/chunks/{form-t4eddnay.js → model-resolver-7d0nz2vs.js} +18 -18
- package/dist/chunks/{form-zk8c4w5t.js → model-resolver-7d2a7xbs.js} +5 -5
- package/dist/chunks/{form-xcg1dsv0.js → model-resolver-7efmbnhw.js} +7 -7
- package/dist/chunks/{form-5b9mpv4n.js → model-resolver-7kj39dgh.js} +8 -8
- package/dist/chunks/{form-3ktbe3hf.js → model-resolver-7p797550.js} +3 -3
- package/dist/chunks/{form-9s9y5h84.js → model-resolver-7x6bmn48.js} +23 -23
- package/dist/chunks/{form-q4wawhcq.js → model-resolver-7ygvs13g.js} +5 -5
- package/dist/chunks/{form-2wtv2rb3.js → model-resolver-80rghvf4.js} +26 -26
- package/dist/chunks/{form-bn0s77k4.js → model-resolver-87qhefk3.js} +15 -15
- package/dist/chunks/{form-89znhe33.js → model-resolver-89znhe33.js} +1 -1
- package/dist/chunks/{form-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-gyvmabzh.js → model-resolver-8h519gpd.js} +6 -6
- package/dist/chunks/{form-ywny6fh7.js → model-resolver-8kqr9rea.js} +4 -4
- package/dist/chunks/{form-aw3daxpn.js → model-resolver-8n3bkser.js} +16 -16
- package/dist/chunks/{form-kbsq9ezz.js → model-resolver-8p1ggxfh.js} +10 -10
- package/dist/chunks/{form-a672mv5g.js → model-resolver-8xxayhk6.js} +8 -8
- package/dist/chunks/{form-cpj0znwe.js → model-resolver-8z00fdkb.js} +4 -4
- package/dist/chunks/{form-rzh66cxz.js → model-resolver-9018cb23.js} +31 -31
- package/dist/chunks/{form-7bp3xrzr.js → model-resolver-93kvt1p5.js} +4 -4
- package/dist/chunks/{form-6fb0y946.js → model-resolver-9amkr7ky.js} +9 -9
- package/dist/chunks/{form-te626b0r.js → model-resolver-9egj2258.js} +6 -6
- package/dist/chunks/{form-30k0bhdj.js → model-resolver-9gdecscc.js} +7 -7
- package/dist/chunks/{form-4qnavm6k.js → model-resolver-9hk60pt8.js} +26 -26
- package/dist/chunks/{form-zwhv3kbh.js → model-resolver-9kbkhne8.js} +21 -21
- package/dist/chunks/{form-y4x532kp.js → model-resolver-9qkca2k4.js} +30 -30
- package/dist/chunks/{form-ksgwayv1.js → model-resolver-9ssqh1pf.js} +37 -37
- package/dist/chunks/{form-d1nhwr0v.js → model-resolver-a3ykbbws.js} +11 -11
- package/dist/chunks/{form-nfq98v04.js → model-resolver-a48a702n.js} +25 -25
- package/dist/chunks/{form-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{form-x828grpm.js → model-resolver-afcq0tqz.js} +28 -28
- package/dist/chunks/{form-azfvrb33.js → model-resolver-agd0d5z2.js} +29 -29
- package/dist/chunks/{form-b8r8eafh.js → model-resolver-ak724xxd.js} +30 -30
- package/dist/chunks/{form-th8982s6.js → model-resolver-ar21n6zh.js} +15 -15
- package/dist/chunks/{form-nww71kaf.js → model-resolver-b18rdbr5.js} +15 -15
- package/dist/chunks/{form-ryr25ayn.js → model-resolver-b27vhd2z.js} +4 -4
- package/dist/chunks/{form-sexe7gff.js → model-resolver-b3825faf.js} +17 -17
- package/dist/chunks/{form-j22znp5c.js → model-resolver-b62ps4b3.js} +8 -8
- package/dist/chunks/{form-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-qsxf26yz.js → model-resolver-bdqrk2vk.js} +6 -6
- package/dist/chunks/{form-a4gvvsd2.js → model-resolver-bfd0r08e.js} +12 -12
- package/dist/chunks/{form-n4cqhk9j.js → model-resolver-bfgskg5r.js} +21 -21
- package/dist/chunks/{form-z07pqspn.js → model-resolver-bjtzbw4r.js} +3 -3
- package/dist/chunks/{form-1nbgbc1n.js → model-resolver-bkfeammj.js} +25 -25
- package/dist/chunks/{form-pd955mpa.js → model-resolver-bsf62bbk.js} +11 -11
- package/dist/chunks/{form-4wjh6a8j.js → model-resolver-bt1446pf.js} +21 -21
- package/dist/chunks/{form-jxcp7hjz.js → model-resolver-bykc32a6.js} +5 -5
- package/dist/chunks/{form-2e9ax0t8.js → model-resolver-chh4w0bc.js} +10 -10
- package/dist/chunks/{form-br0tr5aq.js → model-resolver-cmwkp3r5.js} +8 -8
- package/dist/chunks/{form-kxpygcw9.js → model-resolver-cqg8v4c7.js} +6 -6
- package/dist/chunks/{form-9rv7m9ct.js → model-resolver-cqxgg118.js} +22 -22
- package/dist/chunks/{form-3kaacc1j.js → model-resolver-csnfj2b0.js} +28 -28
- package/dist/chunks/{form-dh8e7anf.js → model-resolver-cvnss5v6.js} +30 -30
- package/dist/chunks/{form-asn1qnte.js → model-resolver-d0k1g5nx.js} +6 -6
- package/dist/chunks/{form-cpny6163.js → model-resolver-d23g84s9.js} +17 -17
- package/dist/chunks/{form-kxdmnbtc.js → model-resolver-d6ggdbw1.js} +11 -11
- package/dist/chunks/{form-57ez7d0k.js → model-resolver-d9s573fh.js} +2 -2
- package/dist/chunks/{form-dpkg50ah.js → model-resolver-dpkg50ah.js} +1 -1
- package/dist/chunks/{form-qqeeq2t9.js → model-resolver-drwq78ky.js} +7 -7
- package/dist/chunks/{form-vtmhyb6r.js → model-resolver-dvt6vme3.js} +34 -34
- package/dist/chunks/{form-6grzz0f0.js → model-resolver-dyhdt8jb.js} +4 -4
- package/dist/chunks/{form-k2d86hj7.js → model-resolver-e8m9yhze.js} +18 -18
- package/dist/chunks/{form-2q8e2f41.js → model-resolver-e8r9fk8v.js} +5 -5
- package/dist/chunks/{form-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-3eavv4sq.js → model-resolver-emgtyv65.js} +6 -6
- package/dist/chunks/{form-6j3ma1kd.js → model-resolver-emmx8e90.js} +25 -25
- package/dist/chunks/{form-z1thhf2m.js → model-resolver-es2axtbg.js} +3 -3
- package/dist/chunks/{form-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-np8fhtmp.js → model-resolver-f3r70g5j.js} +5 -5
- package/dist/chunks/{form-588424d7.js → model-resolver-fed82zpn.js} +29 -29
- package/dist/chunks/{form-4w5arkxr.js → model-resolver-fg4tf8ta.js} +8 -8
- package/dist/chunks/{form-56t2kez4.js → model-resolver-fh6ss5gb.js} +13 -13
- package/dist/chunks/{form-v657ew0y.js → model-resolver-fhhby8rf.js} +8 -8
- package/dist/chunks/{form-tx9w5tca.js → model-resolver-fqtvmpfq.js} +8 -8
- package/dist/chunks/{form-axp4ehpq.js → model-resolver-ft7xjps2.js} +8 -8
- package/dist/chunks/{form-sc9sthng.js → model-resolver-fxnvxn2a.js} +9 -9
- package/dist/chunks/{form-yrmcn5j6.js → model-resolver-fzft6rk9.js} +31 -31
- package/dist/chunks/{form-e37h8kwf.js → model-resolver-g17wn8cw.js} +12 -12
- package/dist/chunks/{form-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-94ek1h2f.js → model-resolver-gfvb90ym.js} +2 -2
- package/dist/chunks/{form-eeaf82dq.js → model-resolver-gn2hfjap.js} +8 -8
- package/dist/chunks/{form-735zz4k9.js → model-resolver-gw5a5t0z.js} +9 -9
- package/dist/chunks/{form-ra4n65wq.js → model-resolver-gzq5apsj.js} +4 -4
- package/dist/chunks/{form-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-tjh223rc.js → model-resolver-hdhk3cs9.js} +11 -11
- package/dist/chunks/{form-hm1j9vky.js → model-resolver-hep603q0.js} +9 -9
- package/dist/chunks/model-resolver-ht5y0zrb.js +18 -0
- package/dist/chunks/{form-4zxd817m.js → model-resolver-j1k7yznt.js} +44 -44
- package/dist/chunks/{form-xwra8hym.js → model-resolver-j4amppr9.js} +166 -166
- package/dist/chunks/{form-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{form-dbxp6268.js → model-resolver-j9fve04j.js} +7 -7
- package/dist/chunks/{form-xy96rd98.js → model-resolver-jb2d0ras.js} +26 -26
- package/dist/chunks/{form-7ekfrejk.js → model-resolver-jw8j7y7p.js} +3 -3
- package/dist/chunks/{form-q46vkzna.js → model-resolver-jygqzb3h.js} +8 -8
- package/dist/chunks/{form-4538h11c.js → model-resolver-jzn2qkj6.js} +7 -7
- package/dist/chunks/{form-nzks3jc8.js → model-resolver-k3c624dm.js} +3 -3
- package/dist/chunks/{form-nc773sft.js → model-resolver-k4nv4f3v.js} +1 -1
- package/dist/chunks/{form-k9d40v1y.js → model-resolver-k9d40v1y.js} +1 -1
- package/dist/chunks/{form-nwmpqe59.js → model-resolver-kbq1152n.js} +13 -13
- package/dist/chunks/{form-ep6z9mt6.js → model-resolver-kfvedqw3.js} +8 -8
- package/dist/chunks/{form-ac8vvvjp.js → model-resolver-kmaq4q5p.js} +28 -28
- package/dist/chunks/{form-hnr8f6ws.js → model-resolver-kmx0na6r.js} +4 -4
- package/dist/chunks/{form-wn8w70ps.js → model-resolver-kz7p30d5.js} +9 -9
- package/dist/chunks/{form-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{form-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-k86c2mv3.js → model-resolver-mdggx82f.js} +6 -6
- package/dist/chunks/{form-magykp64.js → model-resolver-mjymc32g.js} +4 -4
- package/dist/chunks/{form-psj6ade8.js → model-resolver-mv035zws.js} +18 -18
- package/dist/chunks/{form-r5x6zcsm.js → model-resolver-mvfsc1pv.js} +3 -3
- package/dist/chunks/{form-qg0jgkcp.js → model-resolver-mvn2r3z4.js} +9 -9
- package/dist/chunks/{form-f5gy8qwh.js → model-resolver-mxmchy46.js} +8 -8
- package/dist/chunks/{form-m77z4j91.js → model-resolver-myb1y6vq.js} +41 -41
- package/dist/chunks/{form-ppvdsf14.js → model-resolver-mztje66g.js} +28 -28
- package/dist/chunks/{form-4mymzvyc.js → model-resolver-n7a0dxy8.js} +4 -4
- package/dist/chunks/{form-607q5haz.js → model-resolver-n97pwnhd.js} +12 -12
- package/dist/chunks/{form-h2n552qs.js → model-resolver-nna5qp8a.js} +4 -4
- package/dist/chunks/{form-4yzhh2ma.js → model-resolver-nrpdyjdp.js} +25 -25
- package/dist/chunks/{form-9ve3q3sw.js → model-resolver-p49rk7zg.js} +6 -6
- package/dist/chunks/{form-y2nra5ch.js → model-resolver-p95nf0hr.js} +8 -8
- package/dist/chunks/{form-51h9320s.js → model-resolver-pb97dx7z.js} +11 -11
- package/dist/chunks/{form-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{form-5xa5ry74.js → model-resolver-pm44etjj.js} +31 -31
- package/dist/chunks/{form-ax5enk7z.js → model-resolver-pr8smg67.js} +18 -18
- package/dist/chunks/{form-wd3x2cqz.js → model-resolver-psazpmmj.js} +2 -2
- package/dist/chunks/{form-wn8n2sm9.js → model-resolver-ptfyc8rg.js} +82 -82
- package/dist/chunks/{form-vncycja5.js → model-resolver-q2b1ymqp.js} +4 -4
- package/dist/chunks/{form-0pk5wkp1.js → model-resolver-q5v28ps9.js} +20 -20
- package/dist/chunks/{form-3kbtp577.js → model-resolver-qcmdtp8c.js} +9 -9
- package/dist/chunks/{form-607tc6va.js → model-resolver-qgn6gcr1.js} +5 -5
- package/dist/chunks/{form-gjfj64nw.js → model-resolver-qh8wc3pe.js} +18 -18
- package/dist/chunks/{form-mn66ztkm.js → model-resolver-qkdvh7fa.js} +9 -9
- package/dist/chunks/{form-8se06a21.js → model-resolver-qmb29zc9.js} +24 -24
- package/dist/chunks/{form-qmqgtz8f.js → model-resolver-qmqgtz8f.js} +2 -2
- package/dist/chunks/{form-rz2133kf.js → model-resolver-qq6mbj5a.js} +43 -43
- package/dist/chunks/{form-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{form-6v4da530.js → model-resolver-qw3sg1b0.js} +3 -3
- package/dist/chunks/{form-p81kvp9s.js → model-resolver-qxjcrr5t.js} +5 -5
- package/dist/chunks/{form-kthhpwze.js → model-resolver-r0pftj6c.js} +23 -23
- package/dist/chunks/{form-221hq43v.js → model-resolver-r5b1nhw7.js} +22 -22
- package/dist/chunks/{form-5es5e7v6.js → model-resolver-r94xmz3e.js} +3 -3
- package/dist/chunks/{form-3ndj74bm.js → model-resolver-ra46vd3y.js} +15 -15
- package/dist/chunks/{form-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-5nr010d7.js → model-resolver-rgwzaj5r.js} +26 -26
- package/dist/chunks/{form-tz4n1mmd.js → model-resolver-rpg9c19m.js} +4 -4
- package/dist/chunks/{form-zeh9ct20.js → model-resolver-rq775frq.js} +2 -2
- package/dist/chunks/{form-hqp49fb7.js → model-resolver-s0ga44w9.js} +3 -3
- package/dist/chunks/{form-7yjz701f.js → model-resolver-s5vxn3hm.js} +13 -13
- package/dist/chunks/{form-1x3py7wd.js → model-resolver-s7d3q35h.js} +4 -4
- package/dist/chunks/{form-jca4demv.js → model-resolver-s8610hey.js} +2 -2
- package/dist/chunks/{form-8wd6m01p.js → model-resolver-sar4f7bt.js} +20 -20
- package/dist/chunks/{form-y56ehv6b.js → model-resolver-sk2hk6tq.js} +9 -9
- package/dist/chunks/model-resolver-sn674wr2.js +26 -0
- package/dist/chunks/{form-sqy4ahhk.js → model-resolver-sqy4ahhk.js} +1 -1
- package/dist/chunks/{form-mqkg4htg.js → model-resolver-ss6wnmcn.js} +14 -14
- package/dist/chunks/{form-s1veqp5v.js → model-resolver-swhhnpja.js} +5 -5
- package/dist/chunks/{form-kzrykkrg.js → model-resolver-sxvnd2nr.js} +32 -32
- package/dist/chunks/{form-xsxzmn3v.js → model-resolver-sy26cvr2.js} +8 -8
- package/dist/chunks/{form-qksar9gz.js → model-resolver-t8916jym.js} +33 -33
- package/dist/chunks/{form-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-h41e8hs0.js → model-resolver-tdghhcp4.js} +9 -9
- package/dist/chunks/{form-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{form-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{form-bdn25p9a.js → model-resolver-v4hswpd3.js} +71 -71
- package/dist/chunks/{form-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{form-pj65myvz.js → model-resolver-vfm0y0bg.js} +23 -23
- package/dist/chunks/{form-9xbr60h2.js → model-resolver-vg07qq75.js} +9 -9
- package/dist/chunks/{form-6ccf5npz.js → model-resolver-vr7k8aqm.js} +33 -33
- package/dist/chunks/{form-rnnf6gaf.js → model-resolver-vsfsehjp.js} +16 -16
- package/dist/chunks/{form-pgk9ksh3.js → model-resolver-vtjxg7xx.js} +22 -22
- package/dist/chunks/{form-z70jygrh.js → model-resolver-vvb15rdk.js} +11 -11
- package/dist/chunks/{form-m04dk8y5.js → model-resolver-vxhnyb9j.js} +48 -48
- package/dist/chunks/{form-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-ezy28dwm.js → model-resolver-w0mbtrs6.js} +5 -5
- package/dist/chunks/{form-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-g11s8h7b.js → model-resolver-w5efcytb.js} +13 -13
- package/dist/chunks/{form-md5m8r63.js → model-resolver-w8xrrrrv.js} +1 -1
- package/dist/chunks/{form-tq44v1fn.js → model-resolver-w9m2hjqa.js} +25 -25
- package/dist/chunks/{form-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{form-5cwanv0v.js → model-resolver-wfdevf9j.js} +9 -9
- package/dist/chunks/{form-1xjsffm6.js → model-resolver-x0jpbkmn.js} +19 -19
- package/dist/chunks/{form-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-ejzycjk2.js → model-resolver-x520n2qy.js} +43 -43
- package/dist/chunks/{form-z7ak3ykt.js → model-resolver-x8acjjg9.js} +28 -28
- package/dist/chunks/model-resolver-x8rsv9gq.js +252 -0
- package/dist/chunks/{form-nf4ctf0a.js → model-resolver-xhg1wmas.js} +34 -34
- package/dist/chunks/{form-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
- package/dist/chunks/{form-j3z4wjnn.js → model-resolver-xwnzkdf1.js} +17 -17
- package/dist/chunks/{form-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-ht5pt6gr.js → model-resolver-y2r7qy0e.js} +13 -13
- package/dist/chunks/{form-01t23f4b.js → model-resolver-y3f947ba.js} +53 -53
- package/dist/chunks/{form-ep289ss5.js → model-resolver-yb0aafdb.js} +43 -43
- package/dist/chunks/{form-gb91ftzw.js → model-resolver-yecfnvqz.js} +17 -17
- package/dist/chunks/{form-4648wvm6.js → model-resolver-yh08wsj3.js} +9 -9
- package/dist/chunks/{form-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{form-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{form-gv6a8nnw.js → model-resolver-yyb7tjpc.js} +2 -2
- package/dist/chunks/{form-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-355m1cvc.js → model-resolver-z1dymymf.js} +17 -17
- package/dist/chunks/{form-g4qa31mr.js → model-resolver-z3mr859t.js} +5 -5
- package/dist/chunks/{form-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{form-nv60c3se.js → model-resolver-zg1ez3dq.js} +302 -302
- package/dist/chunks/{form-azr7q1a0.js → model-resolver-zj1cah0a.js} +31 -31
- package/dist/chunks/{form-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-2czmnem8.js → model-resolver-zytbb0rs.js} +51 -51
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- 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 +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- 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 +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- 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 +108 -108
- package/dist/mcp/instructions.js +128 -128
- 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 +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +97 -97
- 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 +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- 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/cloudflare-ai-gateway.js +121 -121
- 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 +93 -93
- 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 +77 -77
- 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 +120 -120
- package/dist/plugin/provider/openai.js +92 -92
- 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 +78 -78
- 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 +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- 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/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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +5 -5
- 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 +1 -1
- 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 +231 -231
- 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 +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +101 -101
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- 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 +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- 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/form-879vjq03.js +0 -252
- package/dist/chunks/form-dd1amwh8.js +0 -26
- package/dist/chunks/form-hxa7m5za.js +0 -4
- package/dist/chunks/form-pf31ssb9.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./model-resolver-9ssqh1pf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service71
|
|
10
|
+
} from "./model-resolver-mztje66g.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill = {};
|
|
17
17
|
__export(exports_skill, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input6,
|
|
19
|
+
Output: () => Output4,
|
|
20
|
+
Plugin: () => Plugin7,
|
|
21
21
|
SkillTool: () => exports_skill,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description4,
|
|
23
|
+
name: () => name6,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name6 = "skill";
|
|
30
|
+
var Input6 = Schema.Struct({
|
|
31
|
+
id: ID12.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output4 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description4 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin7 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service71;
|
|
51
|
+
const permission = yield* Service72;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name6,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description4,
|
|
56
|
+
input: Input6,
|
|
57
|
+
output: Output4,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name6,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin13 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name6, Input6, Output4, description4, toModelOutput2, Plugin7, exports_skill };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service43
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-bfd0r08e.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-02nrjc1r.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service30
|
|
13
|
+
} from "./model-resolver-x8acjjg9.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-58c90p9y.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin26
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin26 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service30;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin26, exports_instruction };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service75
|
|
4
|
+
} from "./model-resolver-0mz149mz.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-58c90p9y.js";
|
|
8
8
|
import {
|
|
9
9
|
Service42
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-pm44etjj.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service46,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-qh8wc3pe.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service17
|
|
17
|
+
} from "./model-resolver-ptfyc8rg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make5
|
|
20
|
+
} from "./model-resolver-vvb15rdk.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin28
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,7 +41,7 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin28 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
47
|
const config = yield* Service42;
|
|
@@ -56,10 +56,10 @@ var Plugin22 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service46;
|
|
60
|
+
const sessions = yield* Service17;
|
|
61
|
+
const agents = yield* Service75;
|
|
62
|
+
const subagents = yield* make5;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin22 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin28, exports_command };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID7,
|
|
3
|
+
Service61
|
|
4
|
+
} from "./model-resolver-80rghvf4.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service61;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID7.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service29
|
|
6
|
+
} from "./model-resolver-zytbb0rs.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service72
|
|
9
|
+
} from "./model-resolver-9ssqh1pf.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin2
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin2 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service29;
|
|
26
|
+
const permission = yield* Service72;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin11 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin2, exports_mcp_resource };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node7, bound2, exports_instance2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry2,
|
|
11
|
+
Info: () => Info12,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry2 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info12 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry2, builtinServerIds2, requiresExtensionsForCustomServers2, Info12, exports_lsp };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-w0mbtrs6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./model-resolver-vsfsehjp.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./model-resolver-fed82zpn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID7,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-80rghvf4.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-8z00fdkb.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service38
|
|
20
|
+
} from "./model-resolver-mxmchy46.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID6,
|
|
23
23
|
mergeOverlay2,
|
|
24
24
|
mergeHeaders2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-rgwzaj5r.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
ID4,
|
|
28
28
|
Input14,
|
|
29
29
|
Response2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-9hk60pt8.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/opencode.ts
|
|
33
33
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -42,7 +42,7 @@ var methodID = MethodID2.make("device");
|
|
|
42
42
|
var RemoteResponse = Schema.Struct({
|
|
43
43
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
44
44
|
websearch: Schema.Struct({
|
|
45
|
-
providerID:
|
|
45
|
+
providerID: ID4
|
|
46
46
|
}).pipe(Schema.optional),
|
|
47
47
|
experimental: Schema.Struct({
|
|
48
48
|
policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
|
|
@@ -67,7 +67,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
67
67
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
68
68
|
function oauth(http) {
|
|
69
69
|
return {
|
|
70
|
-
integrationID:
|
|
70
|
+
integrationID: ID7.make("opencode"),
|
|
71
71
|
method: {
|
|
72
72
|
id: methodID,
|
|
73
73
|
type: "oauth",
|
|
@@ -121,10 +121,10 @@ function oauth(http) {
|
|
|
121
121
|
var OpencodePlugin2 = define({
|
|
122
122
|
id: "opencode.provider.opencode",
|
|
123
123
|
effect: Effect.fn(function* (ctx) {
|
|
124
|
-
const bus = yield*
|
|
124
|
+
const bus = yield* Service82;
|
|
125
125
|
const client = yield* HttpClient.HttpClient;
|
|
126
126
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
127
|
-
const managed = yield*
|
|
127
|
+
const managed = yield* Service38;
|
|
128
128
|
const loading = Semaphore.makeUnsafe(1);
|
|
129
129
|
let snapshot = { config: undefined, connection: undefined, organization: undefined };
|
|
130
130
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -157,7 +157,7 @@ var OpencodePlugin2 = define({
|
|
|
157
157
|
providers.update(providerID, (provider) => {
|
|
158
158
|
if (source && source.provider !== provider)
|
|
159
159
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
160
|
-
provider.integrationID =
|
|
160
|
+
provider.integrationID = ID7.make("opencode");
|
|
161
161
|
if (item.canonical !== undefined)
|
|
162
162
|
provider.canonical = item.canonical;
|
|
163
163
|
if (item.name !== undefined)
|
|
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
|
|
|
227
227
|
sourceConnection: snapshot.connection
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
|
-
const item = providers.get(
|
|
230
|
+
const item = providers.get(ID6.opencode);
|
|
231
231
|
if (!item)
|
|
232
232
|
return;
|
|
233
233
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -239,7 +239,7 @@ var OpencodePlugin2 = define({
|
|
|
239
239
|
});
|
|
240
240
|
});
|
|
241
241
|
yield* ctx.model.transform((models) => {
|
|
242
|
-
const item = models.provider.get(
|
|
242
|
+
const item = models.provider.get(ID6.opencode);
|
|
243
243
|
if (!item)
|
|
244
244
|
return;
|
|
245
245
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
|
|
|
295
295
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
296
296
|
});
|
|
297
297
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
298
|
-
yield* bus.subscribe(
|
|
298
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
299
299
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
300
300
|
})
|
|
301
301
|
});
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./model-resolver-vsfsehjp.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-58c90p9y.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID6,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service60,
|
|
20
|
+
node63,
|
|
21
21
|
Event12
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-resolver-rgwzaj5r.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -32,23 +32,23 @@ __export(exports_model2, {
|
|
|
32
32
|
Cost: () => Cost2,
|
|
33
33
|
Event: () => Event11,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID5,
|
|
36
|
+
Info: () => Info18,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service59,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node62,
|
|
44
|
+
parse: () => parse4
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
50
|
import { Event as Event11 } from "@opencode/schema/model";
|
|
51
|
-
var
|
|
51
|
+
var ID5 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,13 +56,13 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info18 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service59 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
65
|
-
const bus = yield*
|
|
63
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service60;
|
|
65
|
+
const bus = yield* Service82;
|
|
66
66
|
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info18.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
200
|
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
-
return
|
|
201
|
+
return Service59.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node62 = makeLocationNode({ service: Service59, layer, deps: [node63, node86, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,12 +225,12 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse4(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID6.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID5.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID5, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info18, Service59, node62, compatibility2, parse4, exports_model2, Event11 };
|