@opencode/core 0.0.0-dev-19436 → 0.0.0-dev-19437
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{generate-tqfej29b.js → aisdk-native-00xmw14g.js} +16 -16
- package/dist/chunks/{generate-vd9xqktw.js → aisdk-native-0840f9aq.js} +46 -46
- package/dist/chunks/{generate-sex50t12.js → aisdk-native-0gybywnx.js} +13 -13
- package/dist/chunks/{generate-ygw6154k.js → aisdk-native-0mpna936.js} +33 -33
- package/dist/chunks/{generate-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-fbyxhnwk.js → aisdk-native-0px0gx5m.js} +11 -11
- package/dist/chunks/{generate-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{generate-c0y0jbg7.js → aisdk-native-0rzdqhx6.js} +15 -15
- package/dist/chunks/{generate-gtq86vsq.js → aisdk-native-0y4h6tbz.js} +7 -7
- package/dist/chunks/{generate-t7z3zppm.js → aisdk-native-11h1hnb3.js} +2 -2
- package/dist/chunks/{generate-ebhw3mq4.js → aisdk-native-14vj0jvn.js} +4 -4
- package/dist/chunks/{generate-yp2x3t23.js → aisdk-native-1acjjqhc.js} +4 -4
- package/dist/chunks/{generate-282ycpdt.js → aisdk-native-1bcw1qtd.js} +12 -12
- package/dist/chunks/{generate-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-znesh5ka.js → aisdk-native-1dsb41mm.js} +9 -9
- package/dist/chunks/{generate-wdgp3mgb.js → aisdk-native-1hb8yyvn.js} +4 -4
- package/dist/chunks/{generate-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{generate-xnpbk0pc.js → aisdk-native-230e0txc.js} +5 -5
- package/dist/chunks/{generate-52fpbh6z.js → aisdk-native-23279rje.js} +8 -8
- package/dist/chunks/{generate-7d9ys0qb.js → aisdk-native-23rr3770.js} +29 -29
- package/dist/chunks/{generate-2402vzrj.js → aisdk-native-2402vzrj.js} +1 -1
- package/dist/chunks/{generate-z63w68vq.js → aisdk-native-29x78va6.js} +6 -6
- package/dist/chunks/{generate-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-4mef8aht.js → aisdk-native-2c8836h2.js} +10 -10
- package/dist/chunks/{generate-dk6e62g5.js → aisdk-native-2cnw5e9r.js} +9 -9
- package/dist/chunks/{generate-mxnz8za5.js → aisdk-native-2ewqh1jr.js} +20 -20
- package/dist/chunks/{generate-27pxjv6r.js → aisdk-native-2k01gwm7.js} +14 -14
- package/dist/chunks/{generate-e3mxans8.js → aisdk-native-2qp6y8xf.js} +5 -5
- package/dist/chunks/{generate-8yay56x4.js → aisdk-native-2rqbk1he.js} +5 -5
- package/dist/chunks/{generate-d18798dz.js → aisdk-native-2smzk9py.js} +29 -29
- package/dist/chunks/{generate-7pfda458.js → aisdk-native-33bws32g.js} +22 -22
- package/dist/chunks/{generate-6f6vgmrt.js → aisdk-native-38e760wk.js} +9 -9
- package/dist/chunks/{generate-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-0wtspe5f.js → aisdk-native-3nbxrw4d.js} +15 -15
- package/dist/chunks/{generate-ay6pntn3.js → aisdk-native-3nekdnre.js} +24 -24
- package/dist/chunks/{generate-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-fgh0kbhd.js → aisdk-native-3trbxeqx.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-mkk216y0.js → aisdk-native-41983a39.js} +16 -16
- package/dist/chunks/aisdk-native-45th5jwr.js +18 -0
- package/dist/chunks/{generate-ta4djbce.js → aisdk-native-482x06dj.js} +168 -168
- package/dist/chunks/{generate-4qftt0ad.js → aisdk-native-50ap4gs0.js} +10 -10
- package/dist/chunks/{generate-83h91mzx.js → aisdk-native-53g2xa05.js} +9 -9
- package/dist/chunks/{generate-azsc15mm.js → aisdk-native-55e931th.js} +47 -47
- package/dist/chunks/{generate-33w4ejhs.js → aisdk-native-56gdpj1q.js} +6 -6
- package/dist/chunks/{generate-zv3e7t68.js → aisdk-native-593yh7cm.js} +2 -2
- package/dist/chunks/{generate-pkmfek68.js → aisdk-native-5aqfxp9a.js} +4 -4
- package/dist/chunks/{generate-4w9k0mjw.js → aisdk-native-5d140bk6.js} +15 -15
- package/dist/chunks/{generate-ztcv1eyd.js → aisdk-native-5d53psdr.js} +4 -4
- package/dist/chunks/{generate-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{generate-y60800f4.js → aisdk-native-5kcbcnxc.js} +3 -3
- package/dist/chunks/{generate-b1xvncj7.js → aisdk-native-5ktjab4p.js} +84 -84
- package/dist/chunks/aisdk-native-5rk65n7t.js +22 -0
- package/dist/chunks/{generate-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-4r6mae84.js → aisdk-native-5vcmybmc.js} +24 -24
- package/dist/chunks/{generate-7b15y959.js → aisdk-native-5xtgfte3.js} +8 -8
- package/dist/chunks/{generate-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{generate-f2daj8m5.js → aisdk-native-6a0v8w2c.js} +15 -15
- package/dist/chunks/{generate-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{generate-mfhfdr54.js → aisdk-native-6p3xbzsx.js} +4 -4
- package/dist/chunks/{generate-71q4at8m.js → aisdk-native-71q4at8m.js} +1 -1
- package/dist/chunks/{generate-xvaj3ykh.js → aisdk-native-73fvzhyf.js} +6 -6
- package/dist/chunks/{generate-k8962brh.js → aisdk-native-73gmm198.js} +7 -7
- package/dist/chunks/{generate-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-ccmz1r19.js → aisdk-native-7gd4x462.js} +8 -8
- package/dist/chunks/{generate-mf9m2v67.js → aisdk-native-7jdsj2a9.js} +3 -3
- package/dist/chunks/{generate-vzm76b3t.js → aisdk-native-7syv1xgw.js} +6 -6
- package/dist/chunks/{generate-eagyeves.js → aisdk-native-7w3v5q6j.js} +13 -13
- package/dist/chunks/{generate-n48wz30s.js → aisdk-native-7x6hfb2y.js} +28 -28
- package/dist/chunks/{generate-3v0kbfet.js → aisdk-native-7zdrdht4.js} +6 -6
- package/dist/chunks/{generate-3e8pesde.js → aisdk-native-81swgkk7.js} +9 -9
- package/dist/chunks/{generate-0yr4mqa9.js → aisdk-native-84rtzrf6.js} +10 -10
- package/dist/chunks/{generate-m27pyyd3.js → aisdk-native-84tssp1s.js} +6 -6
- package/dist/chunks/{generate-wy2fjyd3.js → aisdk-native-87py6qtt.js} +8 -8
- package/dist/chunks/{generate-460qmyvt.js → aisdk-native-88j01mk5.js} +23 -23
- package/dist/chunks/{generate-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-dj2t23y0.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{generate-jqcr0tvq.js → aisdk-native-8pfv004b.js} +30 -30
- package/dist/chunks/{generate-aws7z9kx.js → aisdk-native-8s076s20.js} +16 -16
- package/dist/chunks/{generate-mfz1jzpf.js → aisdk-native-94vhyftb.js} +7 -7
- package/dist/chunks/{generate-cdtwy1r3.js → aisdk-native-9d1w8q7a.js} +32 -32
- package/dist/chunks/{generate-k16ay38w.js → aisdk-native-9k2v62xn.js} +1 -1
- package/dist/chunks/{generate-5c4hm403.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{generate-hc7vzb2a.js → aisdk-native-a6g7ctrh.js} +18 -18
- package/dist/chunks/{generate-gjqr6zrn.js → aisdk-native-a6vkafpf.js} +13 -13
- package/dist/chunks/{generate-1k2mzmz4.js → aisdk-native-aa70zscs.js} +10 -10
- package/dist/chunks/{generate-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-5ks7kb4v.js → aisdk-native-agnm54gs.js} +18 -18
- package/dist/chunks/{generate-tqw8zxxy.js → aisdk-native-amc9zrkj.js} +11 -11
- package/dist/chunks/{generate-jesy7fcc.js → aisdk-native-as4rxx02.js} +17 -17
- package/dist/chunks/{generate-mgx963cj.js → aisdk-native-at5vefz0.js} +8 -8
- package/dist/chunks/{generate-m1sc7qpq.js → aisdk-native-az6thn3b.js} +6 -6
- package/dist/chunks/{generate-cysjstt0.js → aisdk-native-azgkc19j.js} +34 -34
- package/dist/chunks/{generate-hr1ws8e2.js → aisdk-native-b0216jhd.js} +40 -40
- package/dist/chunks/{generate-kyrbgmgz.js → aisdk-native-b1hwkhhg.js} +4 -4
- package/dist/chunks/{generate-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-9r6hh7kf.js → aisdk-native-b9cbw8cf.js} +20 -20
- package/dist/chunks/{generate-bs2kgc24.js → aisdk-native-b9hpem2e.js} +22 -22
- package/dist/chunks/{generate-tqskq136.js → aisdk-native-bafekp6x.js} +11 -11
- package/dist/chunks/{generate-zmcvkbyh.js → aisdk-native-c82mgr5r.js} +17 -17
- package/dist/chunks/{generate-2ktqxpjb.js → aisdk-native-cbdx500h.js} +56 -56
- package/dist/chunks/{generate-cv20tjt8.js → aisdk-native-cckb3k5y.js} +11 -11
- package/dist/chunks/{generate-6ya4w7xv.js → aisdk-native-cffk5scv.js} +9 -9
- package/dist/chunks/{generate-m0jqrx5p.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{generate-p2r27tsk.js → aisdk-native-cfrmvhjx.js} +11 -11
- package/dist/chunks/{generate-vxqvp5m2.js → aisdk-native-d6ez4sy0.js} +26 -26
- package/dist/chunks/{generate-0nzybmd6.js → aisdk-native-d9whb66d.js} +24 -24
- package/dist/chunks/{generate-e1rvn8vw.js → aisdk-native-dhh5xd54.js} +6 -6
- package/dist/chunks/{generate-6q1acxff.js → aisdk-native-dpe2kymk.js} +43 -43
- package/dist/chunks/{generate-y71avatq.js → aisdk-native-dpkg50ah.js} +4 -4
- package/dist/chunks/{generate-mm4qk4sz.js → aisdk-native-dqq2643g.js} +4 -4
- package/dist/chunks/{generate-xz2sz7jr.js → aisdk-native-dxmfxnv6.js} +37 -37
- package/dist/chunks/{generate-39pny36r.js → aisdk-native-dxq14y40.js} +1 -1
- package/dist/chunks/{generate-59jshr4n.js → aisdk-native-dzcn95em.js} +26 -26
- package/dist/chunks/{generate-srkwgq29.js → aisdk-native-e5fmdc7h.js} +23 -23
- package/dist/chunks/{generate-nhy5jxhy.js → aisdk-native-e82z9tr0.js} +7 -7
- package/dist/chunks/{generate-q4fmv0xv.js → aisdk-native-e89xj288.js} +5 -5
- package/dist/chunks/{generate-1wj59nq5.js → aisdk-native-ebnnqyp8.js} +11 -11
- package/dist/chunks/{generate-h6z8d5tn.js → aisdk-native-ec8389mk.js} +4 -4
- package/dist/chunks/{generate-6g3dpzke.js → aisdk-native-ekhdnqeg.js} +15 -15
- package/dist/chunks/{generate-99qv6bna.js → aisdk-native-eqna0yr9.js} +17 -17
- package/dist/chunks/{generate-r9babyk8.js → aisdk-native-esdnemd6.js} +1 -1
- package/dist/chunks/{generate-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-czz1mk0t.js → aisdk-native-ex6vs5n0.js} +20 -20
- package/dist/chunks/{generate-y24frd6r.js → aisdk-native-exys1kgc.js} +11 -11
- package/dist/chunks/{generate-8j9290cj.js → aisdk-native-ey5kq0ak.js} +26 -26
- package/dist/chunks/{generate-1n9n5b3d.js → aisdk-native-f705x0rq.js} +13 -13
- package/dist/chunks/{generate-hdnk95c8.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{generate-ypf30vrs.js → aisdk-native-f8skd28d.js} +20 -20
- package/dist/chunks/{generate-jwbqhvyy.js → aisdk-native-f90chkmn.js} +5 -5
- package/dist/chunks/{generate-7dqw4kz8.js → aisdk-native-fcrkznn8.js} +5 -5
- package/dist/chunks/{generate-rqac2h8p.js → aisdk-native-fg9tr2v4.js} +17 -17
- package/dist/chunks/{generate-az4749a7.js → aisdk-native-fjxda7tk.js} +11 -11
- package/dist/chunks/{generate-fygdb7h7.js → aisdk-native-fq1h1v14.js} +3 -3
- package/dist/chunks/{generate-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{generate-s64cbx49.js → aisdk-native-g0dg6wzp.js} +7 -7
- package/dist/chunks/{generate-98f102c3.js → aisdk-native-g51xf709.js} +22 -22
- package/dist/chunks/{generate-mnv392bk.js → aisdk-native-gaahdxmg.js} +11 -11
- package/dist/chunks/{generate-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-3fc6dm20.js → aisdk-native-gdvy8fx6.js} +4 -4
- package/dist/chunks/{generate-gasky795.js → aisdk-native-gfc4q5wv.js} +33 -33
- package/dist/chunks/{generate-t0x5rdq8.js → aisdk-native-gfqzzqy5.js} +9 -9
- package/dist/chunks/{generate-61b2b0jm.js → aisdk-native-ggns5n5n.js} +32 -32
- package/dist/chunks/{generate-r01t9b5y.js → aisdk-native-gh51qv6z.js} +8 -8
- package/dist/chunks/{generate-1yrdzb9h.js → aisdk-native-gjm5s37h.js} +14 -14
- package/dist/chunks/{generate-8467n133.js → aisdk-native-gn6yk5ww.js} +2 -2
- package/dist/chunks/{generate-bny867va.js → aisdk-native-gshgym2h.js} +11 -11
- package/dist/chunks/{generate-krm885fd.js → aisdk-native-gt3yqw5p.js} +87 -87
- package/dist/chunks/{generate-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
- package/dist/chunks/{generate-60a2mxse.js → aisdk-native-h0jnz0mn.js} +5 -5
- package/dist/chunks/{generate-f8q7mv7a.js → aisdk-native-h2gyv3sg.js} +1 -1
- package/dist/chunks/{generate-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-sw3r3x1t.js → aisdk-native-h7ygw6q4.js} +9 -9
- package/dist/chunks/{generate-s13d9hm5.js → aisdk-native-hb1v72ya.js} +41 -41
- package/dist/chunks/{generate-hp8a6key.js → aisdk-native-hcryw3z6.js} +26 -26
- package/dist/chunks/{generate-evq6r5pz.js → aisdk-native-hfdr1yjj.js} +4 -4
- package/dist/chunks/{generate-ca7w653e.js → aisdk-native-hn57h045.js} +4 -4
- package/dist/chunks/{generate-htw1ycyk.js → aisdk-native-hqg6sb4q.js} +15 -15
- package/dist/chunks/{generate-jexg7ppr.js → aisdk-native-hvspwq6g.js} +13 -13
- package/dist/chunks/{generate-mhkvc446.js → aisdk-native-j028xdjb.js} +3 -3
- package/dist/chunks/{generate-7gqemh59.js → aisdk-native-j0famzcd.js} +9 -9
- package/dist/chunks/{generate-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-2gpyj5kx.js → aisdk-native-j80s9j4h.js} +8 -8
- package/dist/chunks/{generate-paphc93g.js → aisdk-native-j935v87r.js} +2 -2
- package/dist/chunks/{generate-vyxhsqdc.js → aisdk-native-jrreb4f4.js} +18 -18
- package/dist/chunks/{generate-7wwfbcqc.js → aisdk-native-jsymqedf.js} +9 -9
- package/dist/chunks/{generate-yjaa8gp1.js → aisdk-native-k75rtej4.js} +27 -27
- package/dist/chunks/{generate-jwx4y25k.js → aisdk-native-k79tzb9n.js} +9 -9
- package/dist/chunks/{generate-kg06axw8.js → aisdk-native-kg06axw8.js} +1 -1
- package/dist/chunks/{generate-39r80e1r.js → aisdk-native-kjcr15p7.js} +1 -1
- package/dist/chunks/{generate-fq0va44m.js → aisdk-native-knxwv22d.js} +9 -9
- package/dist/chunks/{generate-h5yrfjqd.js → aisdk-native-kt5w8vxh.js} +10 -10
- package/dist/chunks/{generate-b7rrt7yp.js → aisdk-native-ktab48es.js} +26 -26
- package/dist/chunks/{generate-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-yycwsgqa.js → aisdk-native-mbmb2rkk.js} +11 -11
- package/dist/chunks/{generate-z5f02dmr.js → aisdk-native-mdavksa3.js} +16 -16
- package/dist/chunks/aisdk-native-mg5afxrb.js +462 -0
- package/dist/chunks/{generate-1f4gyz0n.js → aisdk-native-mj3wj180.js} +20 -20
- package/dist/chunks/{generate-mkcjrzeh.js → aisdk-native-mkcjrzeh.js} +1 -1
- package/dist/chunks/{generate-mj59rbhw.js → aisdk-native-mkcn2ebg.js} +6 -6
- package/dist/chunks/{generate-daf03bc6.js → aisdk-native-mmfjar12.js} +30 -30
- package/dist/chunks/{generate-em4ar646.js → aisdk-native-mpsn8vqb.js} +28 -28
- package/dist/chunks/{generate-z69s9t6b.js → aisdk-native-mrw4weg4.js} +5 -5
- package/dist/chunks/{generate-64s65d1n.js → aisdk-native-mw934p8z.js} +8 -8
- package/dist/chunks/{generate-1qkyvz7t.js → aisdk-native-mwav9qm3.js} +22 -22
- package/dist/chunks/{generate-k53abcyj.js → aisdk-native-n8fgk775.js} +8 -8
- package/dist/chunks/{generate-v0k42p31.js → aisdk-native-nd9sgs86.js} +18 -18
- package/dist/chunks/{generate-qrfzss76.js → aisdk-native-nk7s85f0.js} +64 -64
- package/dist/chunks/{generate-81z6ssen.js → aisdk-native-nsk4pmpc.js} +33 -33
- package/dist/chunks/{generate-v5hpcsb0.js → aisdk-native-p1nm93x7.js} +5 -5
- package/dist/chunks/{generate-ezt0m903.js → aisdk-native-p2xqw2sz.js} +27 -27
- package/dist/chunks/{generate-dp5bsb0e.js → aisdk-native-pa98002e.js} +16 -16
- package/dist/chunks/{generate-6h2n816c.js → aisdk-native-paay8gke.js} +18 -18
- package/dist/chunks/{generate-d9a9xnav.js → aisdk-native-pb4vra25.js} +20 -20
- package/dist/chunks/{generate-7tnppf00.js → aisdk-native-pcpr6ykb.js} +12 -12
- package/dist/chunks/{generate-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{generate-q3pfqd80.js → aisdk-native-pqpm7sfx.js} +6 -6
- package/dist/chunks/{generate-69kxc8pj.js → aisdk-native-pytyr678.js} +19 -19
- package/dist/chunks/{generate-wzymtbz6.js → aisdk-native-q6zxxt9y.js} +4 -4
- package/dist/chunks/aisdk-native-q7fypddd.js +247 -0
- package/dist/chunks/{generate-pggbgfqn.js → aisdk-native-qbs0f730.js} +11 -11
- package/dist/chunks/{generate-49s5q05k.js → aisdk-native-qfkm7725.js} +28 -28
- package/dist/chunks/{generate-5bsnye8q.js → aisdk-native-qjrkxhk6.js} +27 -27
- package/dist/chunks/{generate-2xsd6cxc.js → aisdk-native-qqq3x3sa.js} +53 -53
- package/dist/chunks/{generate-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-k7gbetc5.js → aisdk-native-qvfbf04p.js} +16 -16
- package/dist/chunks/{generate-yayba5wy.js → aisdk-native-r1ya17we.js} +3 -3
- package/dist/chunks/{generate-ve4pfa0n.js → aisdk-native-r98e92ep.js} +4 -4
- package/dist/chunks/{generate-x43y2vfs.js → aisdk-native-r9mregkx.js} +3 -3
- package/dist/chunks/{generate-x4x0qw1a.js → aisdk-native-r9yxppz2.js} +24 -24
- package/dist/chunks/{generate-j5nsxvak.js → aisdk-native-r9z6pqtf.js} +32 -32
- package/dist/chunks/{generate-h0hnsk02.js → aisdk-native-re9hte73.js} +9 -9
- package/dist/chunks/{generate-mmebaszg.js → aisdk-native-rgfb9vbw.js} +23 -23
- package/dist/chunks/{generate-n76fdqym.js → aisdk-native-rs226bz6.js} +5 -5
- package/dist/chunks/{generate-yrznvahk.js → aisdk-native-s4enseaf.js} +2 -2
- package/dist/chunks/{generate-8gkxrww8.js → aisdk-native-s62msjv3.js} +16 -16
- package/dist/chunks/{generate-rhjbct0v.js → aisdk-native-s8d7rejh.js} +4 -4
- package/dist/chunks/{generate-ks5znfvj.js → aisdk-native-sea28k5q.js} +11 -11
- package/dist/chunks/{generate-cpy6gm2a.js → aisdk-native-sf16dj5v.js} +6 -6
- package/dist/chunks/{generate-adr43mc1.js → aisdk-native-sxz67tqa.js} +38 -38
- package/dist/chunks/{generate-p2ms2xer.js → aisdk-native-szvvk72w.js} +46 -46
- package/dist/chunks/{generate-1pscxtyc.js → aisdk-native-t1wvxcjg.js} +14 -14
- package/dist/chunks/{generate-b8ppthjy.js → aisdk-native-t2jnpd7n.js} +20 -20
- package/dist/chunks/{generate-cavr175a.js → aisdk-native-t51qk8jz.js} +21 -21
- package/dist/chunks/{generate-0ctcqb5r.js → aisdk-native-t6dzw5rf.js} +23 -23
- package/dist/chunks/{generate-sj0pg1d2.js → aisdk-native-ta0qxm0m.js} +37 -37
- package/dist/chunks/{generate-72nr9cry.js → aisdk-native-ta5jc9f4.js} +4 -4
- package/dist/chunks/{generate-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-dpskyeh4.js → aisdk-native-tbajnw8q.js} +26 -26
- package/dist/chunks/{generate-1p8pj4gq.js → aisdk-native-tbp3kt2h.js} +5 -5
- package/dist/chunks/{generate-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
- package/dist/chunks/{generate-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{generate-0jkkj5x0.js → aisdk-native-tey2eytt.js} +6 -6
- package/dist/chunks/{generate-yyb7tjpc.js → aisdk-native-th5km1p3.js} +5 -5
- package/dist/chunks/{generate-kqphnfc4.js → aisdk-native-thh98hbb.js} +26 -26
- package/dist/chunks/{generate-njqcqwne.js → aisdk-native-tnkheefm.js} +35 -35
- package/dist/chunks/{generate-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{generate-h1cbn5my.js → aisdk-native-tyme6x47.js} +4 -4
- package/dist/chunks/{generate-ksz0h0wp.js → aisdk-native-vabb23s0.js} +1 -1
- package/dist/chunks/{generate-vyj892hr.js → aisdk-native-vcww18r2.js} +12 -12
- package/dist/chunks/{generate-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-ss43wqfj.js → aisdk-native-vm79m67k.js} +12 -12
- package/dist/chunks/{generate-4vz798w9.js → aisdk-native-vms1qh06.js} +9 -9
- package/dist/chunks/{generate-nyb0p7a8.js → aisdk-native-vvbqk37b.js} +14 -14
- package/dist/chunks/{generate-96yt6zt0.js → aisdk-native-vypqtakx.js} +1 -1
- package/dist/chunks/{generate-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{generate-46d75zpd.js → aisdk-native-w19pd4gw.js} +9 -9
- package/dist/chunks/{generate-pjg5vxkm.js → aisdk-native-w1m7fpe3.js} +5 -5
- package/dist/chunks/{generate-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-09atk14q.js → aisdk-native-w6rzf7rr.js} +10 -10
- package/dist/chunks/{generate-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{generate-9bz2v5s0.js → aisdk-native-wgmz4se6.js} +8 -8
- package/dist/chunks/{generate-zpja4yre.js → aisdk-native-wsgxnvbg.js} +43 -43
- package/dist/chunks/{generate-jp9jb5qe.js → aisdk-native-wxmbf8jb.js} +11 -11
- package/dist/chunks/{generate-sygp3w95.js → aisdk-native-wzq4pq7r.js} +9 -9
- package/dist/chunks/{generate-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{generate-wfvawqgc.js → aisdk-native-x2cstgz7.js} +26 -26
- package/dist/chunks/{generate-g6vpggfr.js → aisdk-native-x47scgmz.js} +4 -4
- package/dist/chunks/{generate-0xma9y6h.js → aisdk-native-xmqe5mjy.js} +20 -20
- package/dist/chunks/{generate-abw1kwbq.js → aisdk-native-xv565bpd.js} +27 -27
- package/dist/chunks/{generate-zkpb4mnd.js → aisdk-native-xx519kpd.js} +27 -27
- package/dist/chunks/{generate-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-efqcpyxk.js → aisdk-native-y2a57acc.js} +39 -39
- package/dist/chunks/{generate-gp6jffzn.js → aisdk-native-y9zv0tqm.js} +13 -13
- package/dist/chunks/{generate-yddgxcp4.js → aisdk-native-yddgxcp4.js} +2 -2
- package/dist/chunks/{generate-aygt8q9r.js → aisdk-native-ygbe9h9m.js} +15 -15
- package/dist/chunks/{generate-ktppz2xf.js → aisdk-native-ygtbvk0x.js} +6 -6
- package/dist/chunks/{generate-vyqn3nqs.js → aisdk-native-yhemyvg6.js} +6 -6
- package/dist/chunks/{generate-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{generate-jxt422gf.js → aisdk-native-ysmvfpmb.js} +8 -8
- package/dist/chunks/{generate-xj0bxjy7.js → aisdk-native-ytdd3bbv.js} +15 -15
- package/dist/chunks/{generate-bp2j6a1f.js → aisdk-native-yx7d88az.js} +17 -17
- package/dist/chunks/{generate-h1fvy1gd.js → aisdk-native-yy90rqk6.js} +20 -20
- package/dist/chunks/{generate-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-92s5ptt1.js → aisdk-native-z6wvrrth.js} +29 -29
- package/dist/chunks/{generate-v894zy29.js → aisdk-native-zbpnfvtq.js} +24 -24
- package/dist/chunks/{generate-rq775frq.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{generate-w0vj055n.js → aisdk-native-zm18a7xh.js} +24 -24
- package/dist/chunks/{generate-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +93 -93
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +4 -4
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +84 -84
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- 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 +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/generate-kn2ed1ny.js +0 -247
- package/dist/chunks/generate-nn82kedb.js +0 -22
- package/dist/chunks/generate-qvj9tamg.js +0 -462
- package/dist/chunks/generate-vnkjks7b.js +0 -18
- /package/dist/chunks/{generate-0mesazry.js → aisdk-native-0mesazry.js} +0 -0
- /package/dist/chunks/{generate-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-hrnqkpcd.js → aisdk-native-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service75,
|
|
6
|
+
node80
|
|
7
|
+
} from "./aisdk-native-w6rzf7rr.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-7jdsj2a9.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service53,
|
|
23
|
+
make: () => make20,
|
|
24
|
+
node: () => node58
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
|
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service53 extends Context.Service()("@opencode/Job") {
|
|
54
54
|
}
|
|
55
55
|
function snapshot(job) {
|
|
56
56
|
return {
|
|
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
|
|
|
77
77
|
next.set(sessionID, count - 1);
|
|
78
78
|
return next;
|
|
79
79
|
}
|
|
80
|
-
var
|
|
81
|
-
const kv = yield*
|
|
80
|
+
var make20 = Effect.gen(function* () {
|
|
81
|
+
const kv = yield* Service75;
|
|
82
82
|
const state = {
|
|
83
83
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
84
84
|
scope: yield* Scope.Scope
|
|
@@ -307,7 +307,7 @@ var make18 = Effect.gen(function* () {
|
|
|
307
307
|
return recovered;
|
|
308
308
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
309
309
|
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
310
|
-
return
|
|
310
|
+
return Service53.of({
|
|
311
311
|
get,
|
|
312
312
|
start,
|
|
313
313
|
wait,
|
|
@@ -319,7 +319,7 @@ var make18 = Effect.gen(function* () {
|
|
|
319
319
|
completeBackground
|
|
320
320
|
});
|
|
321
321
|
});
|
|
322
|
-
var layer = Layer.effect(
|
|
323
|
-
var
|
|
322
|
+
var layer = Layer.effect(Service53, make20);
|
|
323
|
+
var node58 = makeGlobalNode({ service: Service53, layer, deps: [node80] });
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { Service53, make20, node58, exports_job };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-r1ya17we.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-5d53psdr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service40,
|
|
11
|
+
node45
|
|
12
|
+
} from "./aisdk-native-7syv1xgw.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node82
|
|
20
|
+
} from "./aisdk-native-hb1v72ya.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Ref4
|
|
23
|
+
} from "./aisdk-native-fg9tr2v4.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service42,
|
|
26
|
+
node47
|
|
27
|
+
} from "./aisdk-native-vcww18r2.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./aisdk-native-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError8
|
|
33
|
+
} from "./aisdk-native-53g2xa05.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service38
|
|
39
|
+
} from "./aisdk-native-hn57h045.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service61,
|
|
42
|
+
node66
|
|
43
|
+
} from "./aisdk-native-pa98002e.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service39,
|
|
48
|
+
node44,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./aisdk-native-yy90rqk6.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service37,
|
|
53
|
+
node43
|
|
54
|
+
} from "./aisdk-native-dxmfxnv6.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node24
|
|
57
|
+
} from "./aisdk-native-00xmw14g.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service19,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node23
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service19 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service77;
|
|
92
|
+
const locations = yield* Service42;
|
|
93
|
+
const store = yield* Service61;
|
|
94
|
+
const execution = yield* Service37;
|
|
95
|
+
const instances = yield* Service40;
|
|
96
|
+
const admission = yield* Service39;
|
|
97
97
|
const database = yield* Service80;
|
|
98
98
|
const bus = yield* Service79;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError8({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
115
115
|
return yield* new DestinationNotDirectoryError2({ directory });
|
|
116
116
|
const project = yield* projects.resolve(directory);
|
|
117
117
|
const destination = {
|
|
118
|
-
location:
|
|
118
|
+
location: Ref4.make({ directory, workspaceID: input.workspaceID }),
|
|
119
119
|
projectID: project.id,
|
|
120
120
|
subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
|
|
121
121
|
};
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service38.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service19.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node23 = makeGlobalNode({
|
|
167
|
+
service: Service19,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node82,
|
|
173
|
+
node47,
|
|
174
|
+
node66,
|
|
175
|
+
node43,
|
|
176
|
+
node45,
|
|
177
|
+
node44,
|
|
178
178
|
node85,
|
|
179
179
|
node84,
|
|
180
|
-
|
|
180
|
+
node24
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service19, node23, exports_move };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./aisdk-native-hcryw3z6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./aisdk-native-qqq3x3sa.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service50;
|
|
57
|
+
const permission = yield* Service59;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input13,
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-native-84tssp1s.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID14,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Info28,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-wgmz4se6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_models2, {
|
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID16.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID14.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID14.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -91,7 +91,7 @@ function build(id, remote, baseURL, previous) {
|
|
|
91
91
|
return Info28.make({
|
|
92
92
|
...Info28.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID14.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./aisdk-native-wsgxnvbg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service31
|
|
7
|
+
} from "./aisdk-native-23rr3770.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin2
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin2 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service71;
|
|
27
|
+
const snapshot = yield* Service31;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin30 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin2, exports_snapshot };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-5d53psdr.js";
|
|
5
5
|
import {
|
|
6
6
|
Service29,
|
|
7
7
|
node33
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-ta0qxm0m.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service59,
|
|
11
|
+
node64
|
|
12
|
+
} from "./aisdk-native-qqq3x3sa.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service63,
|
|
15
|
+
node68
|
|
16
|
+
} from "./aisdk-native-zm18a7xh.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node32
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service28 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
40
|
+
var layer12 = Layer.effect(Service28, Effect.gen(function* () {
|
|
41
41
|
const mcp = yield* Service29;
|
|
42
|
-
const tools = yield*
|
|
42
|
+
const tools = yield* Service63;
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service59;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -62,7 +62,7 @@ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
62
62
|
output: tool.outputSchema ?? {},
|
|
63
63
|
execute: (input, context) => Effect.gen(function* () {
|
|
64
64
|
yield* permission.assert({
|
|
65
|
-
action:
|
|
65
|
+
action: name14(tool.server, tool.name),
|
|
66
66
|
resources: ["*"],
|
|
67
67
|
save: ["*"],
|
|
68
68
|
metadata: {},
|
|
@@ -99,7 +99,7 @@ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
99
99
|
output: result.structured ?? (text === "" ? null : text),
|
|
100
100
|
...content.length === 0 ? {} : { content }
|
|
101
101
|
};
|
|
102
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
102
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
});
|
|
@@ -112,12 +112,12 @@ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
113
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
114
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
115
|
+
return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
116
|
}));
|
|
117
|
-
var
|
|
118
|
-
service:
|
|
119
|
-
layer:
|
|
120
|
-
deps: [
|
|
117
|
+
var node32 = makeLocationNode({
|
|
118
|
+
service: Service28,
|
|
119
|
+
layer: layer12,
|
|
120
|
+
deps: [node68, node33, node84, node64]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
export { namespace2,
|
|
123
|
+
export { namespace2, name14, Service28, layer12, node32, exports_mcp3 };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-native-5d53psdr.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-s8d7rejh.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event14,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options7,
|
|
30
|
+
Service: () => Service66,
|
|
31
|
+
configured: () => configured9,
|
|
32
|
+
layer: () => layer22,
|
|
33
|
+
node: () => node71
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event14 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options7 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service66 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer22 = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer21 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event14.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make21({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer21 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service66.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer21 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured9(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service66,
|
|
110
|
+
layer: layer22(options),
|
|
111
111
|
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node71 = configured9();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event14, Options7, Service66, layer22, configured9, node71, exports_instruction_discovery };
|