@opencode/core 0.0.0-dev-20691 → 0.0.0-dev-20698
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{worktree-yzyc98yn.js → pty-020j3mp2.js} +6 -6
- package/dist/chunks/{worktree-8q28jacc.js → pty-0a5h3f93.js} +21 -21
- package/dist/chunks/{worktree-ft9mezaf.js → pty-0g1x7r6c.js} +4 -4
- package/dist/chunks/{worktree-ckd9qz9g.js → pty-0g91rdbm.js} +11 -11
- package/dist/chunks/{worktree-q0xm7vwc.js → pty-0j77ygfz.js} +6 -6
- package/dist/chunks/{worktree-bkhg25dg.js → pty-0jqt7r00.js} +11 -11
- package/dist/chunks/{worktree-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-dfgw045w.js → pty-0q9y5bhr.js} +9 -9
- package/dist/chunks/{worktree-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{worktree-ks1aqfbs.js → pty-0vwx1g0s.js} +4 -4
- package/dist/chunks/{worktree-rextwevb.js → pty-0w1gqsy8.js} +8 -8
- package/dist/chunks/{worktree-7h7yjc0r.js → pty-0y57cjnn.js} +25 -25
- package/dist/chunks/{worktree-khbcznyn.js → pty-142478en.js} +26 -26
- package/dist/chunks/{worktree-7dzs6qm4.js → pty-19mt69mr.js} +18 -18
- package/dist/chunks/{worktree-yp2x3t23.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{worktree-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-1dvck2a7.js → pty-1dvck2a7.js} +2 -2
- package/dist/chunks/{worktree-r2my65g6.js → pty-1fbjm020.js} +16 -16
- package/dist/chunks/{worktree-a8cmxes1.js → pty-1msjncnx.js} +13 -13
- package/dist/chunks/{worktree-5tj1dt3g.js → pty-1yrt7vrv.js} +54 -54
- package/dist/chunks/{worktree-y2d3d88a.js → pty-235twzs3.js} +5 -5
- package/dist/chunks/{worktree-6mxykcrb.js → pty-24x681q4.js} +44 -44
- package/dist/chunks/{worktree-q9js4ehz.js → pty-27csk5ff.js} +12 -12
- package/dist/chunks/{worktree-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-4ts7tf6z.js → pty-2ccvkpx1.js} +2 -2
- package/dist/chunks/{worktree-pzkv34g4.js → pty-2hm2rbkv.js} +11 -11
- package/dist/chunks/{worktree-2k8khapm.js → pty-2k8khapm.js} +1 -1
- package/dist/chunks/{worktree-gr3abvac.js → pty-2kst0bva.js} +32 -32
- package/dist/chunks/{worktree-613ryw1r.js → pty-2mg7wj6y.js} +30 -30
- package/dist/chunks/{worktree-33ehzdyn.js → pty-2sycdn0q.js} +11 -11
- package/dist/chunks/{worktree-p7x6chka.js → pty-2sz2wqge.js} +45 -45
- package/dist/chunks/{worktree-v2z8kye6.js → pty-2xnncc8d.js} +4 -4
- package/dist/chunks/{worktree-8vd1vngy.js → pty-33s19ywh.js} +11 -11
- package/dist/chunks/{worktree-9e3yf4c8.js → pty-35e89m2a.js} +7 -7
- package/dist/chunks/{worktree-f00eh3k7.js → pty-37sfe3bm.js} +11 -11
- package/dist/chunks/{worktree-1vyzjnq9.js → pty-3e6c4xxq.js} +8 -8
- package/dist/chunks/{worktree-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-n7wppfdf.js → pty-3xdartq4.js} +20 -20
- package/dist/chunks/{worktree-wg5t79bw.js → pty-3zayq97h.js} +28 -28
- package/dist/chunks/{worktree-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{worktree-b2wsdf6s.js → pty-42dq51fw.js} +18 -18
- package/dist/chunks/{worktree-9k1g4qad.js → pty-42r1gfj0.js} +8 -8
- package/dist/chunks/{worktree-166kng33.js → pty-4a0nv7mx.js} +8 -8
- package/dist/chunks/{worktree-ac5gp1c4.js → pty-4ey63zr0.js} +1 -1
- package/dist/chunks/{worktree-vba3dmap.js → pty-4maa1zf9.js} +3 -3
- package/dist/chunks/{worktree-6wz2az47.js → pty-4qc8241b.js} +3 -3
- package/dist/chunks/{worktree-mmrve7k0.js → pty-4y84q1mp.js} +172 -172
- package/dist/chunks/{worktree-08hes7sn.js → pty-51h0y963.js} +30 -30
- package/dist/chunks/{worktree-54ma36ye.js → pty-54ma36ye.js} +1 -1
- package/dist/chunks/{worktree-d2fmem70.js → pty-54yfpp0c.js} +21 -21
- package/dist/chunks/{worktree-mfqp6xfm.js → pty-56gdpj1q.js} +6 -6
- package/dist/chunks/{worktree-g6yfr6ja.js → pty-57myy5jh.js} +5 -5
- package/dist/chunks/{worktree-vz1r2hay.js → pty-5da93har.js} +18 -18
- package/dist/chunks/{worktree-4j4tgtq5.js → pty-5dkn69vz.js} +4 -4
- package/dist/chunks/{worktree-cc6nfxed.js → pty-5fgexk3x.js} +3 -3
- package/dist/chunks/{worktree-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{worktree-n5gg64f5.js → pty-5rwnz1n6.js} +22 -22
- package/dist/chunks/{worktree-hfvb93vm.js → pty-5saya5h5.js} +7 -7
- package/dist/chunks/{worktree-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-kvvk39gs.js → pty-5wtwrezn.js} +21 -21
- package/dist/chunks/{worktree-p37cw4rj.js → pty-5xtgfte3.js} +4 -4
- package/dist/chunks/{worktree-8bk6meym.js → pty-63416r7h.js} +10 -10
- package/dist/chunks/{worktree-ajx2ddbz.js → pty-63g82dg7.js} +15 -15
- package/dist/chunks/{worktree-zwew19y4.js → pty-665pbshe.js} +4 -4
- package/dist/chunks/{worktree-99byzsym.js → pty-66pazhya.js} +10 -10
- package/dist/chunks/{worktree-s082q9z4.js → pty-6c1x99jj.js} +15 -15
- package/dist/chunks/{worktree-0nxwrb8y.js → pty-6d3e1t86.js} +3 -3
- package/dist/chunks/{worktree-6b8ar4mw.js → pty-6gp8nm1t.js} +17 -17
- package/dist/chunks/{worktree-6bbmjt0j.js → pty-6j6fsx9d.js} +7 -7
- package/dist/chunks/{worktree-w18senfe.js → pty-6wcax4kn.js} +23 -23
- package/dist/chunks/{worktree-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{worktree-71az546q.js → pty-71az546q.js} +2 -2
- package/dist/chunks/{worktree-ce0jma25.js → pty-73vwhgxh.js} +28 -28
- package/dist/chunks/{worktree-7dxq86fe.js → pty-7a6dts74.js} +39 -39
- package/dist/chunks/{worktree-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-rz62k6m4.js → pty-7frqqddk.js} +13 -13
- package/dist/chunks/{worktree-dajxpawc.js → pty-7hnbqmvg.js} +10 -10
- package/dist/chunks/{worktree-1y9xp183.js → pty-7qcmfwcv.js} +11 -11
- package/dist/chunks/{worktree-txpnd0dw.js → pty-7ym0d755.js} +30 -30
- package/dist/chunks/{worktree-84txncab.js → pty-84txncab.js} +1 -1
- package/dist/chunks/{worktree-4b8kjhzx.js → pty-8abb2kgs.js} +26 -26
- package/dist/chunks/{worktree-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-ma3qqxg3.js → pty-8hresjpn.js} +27 -27
- package/dist/chunks/{worktree-q5vww750.js → pty-8hsh8f5f.js} +17 -17
- package/dist/chunks/{worktree-5daktx2q.js → pty-8m6m0r52.js} +3 -3
- package/dist/chunks/{worktree-ma6bkkdz.js → pty-8rsx7rje.js} +8 -8
- package/dist/chunks/{worktree-n6m8kz2w.js → pty-8s848aej.js} +20 -20
- package/dist/chunks/{worktree-73d8r7vx.js → pty-8v8tsp00.js} +11 -11
- package/dist/chunks/{worktree-grzg5zw7.js → pty-8w77qz4c.js} +4 -4
- package/dist/chunks/{worktree-4phpyenv.js → pty-8zeygepe.js} +31 -31
- package/dist/chunks/{worktree-jy4270e8.js → pty-9d7f81t5.js} +26 -26
- package/dist/chunks/{worktree-9e5bzkjp.js → pty-9e5bzkjp.js} +3 -3
- package/dist/chunks/{worktree-4jewrapx.js → pty-9j3cjwj3.js} +37 -37
- package/dist/chunks/{worktree-45anwj91.js → pty-9pym400f.js} +26 -26
- package/dist/chunks/{worktree-684mbd79.js → pty-9q515s50.js} +11 -11
- package/dist/chunks/{worktree-rmamde0z.js → pty-9vpp320y.js} +21 -21
- package/dist/chunks/{worktree-tc4w3sx9.js → pty-9z2c7jdk.js} +20 -20
- package/dist/chunks/{worktree-89rvcjqs.js → pty-a8mt6n0v.js} +11 -11
- package/dist/chunks/{worktree-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-dtds8e8g.js → pty-afv3v71x.js} +37 -37
- package/dist/chunks/{worktree-17v89dj5.js → pty-akvc5n73.js} +19 -19
- package/dist/chunks/{worktree-hyznghnw.js → pty-amz3fcba.js} +11 -11
- package/dist/chunks/{worktree-pkqb68ka.js → pty-as7cf5zz.js} +4 -4
- package/dist/chunks/{worktree-tdpndm1c.js → pty-b0grxa7w.js} +5 -5
- package/dist/chunks/{worktree-v5dkyp31.js → pty-b27vhd2z.js} +4 -4
- package/dist/chunks/{worktree-ztb5xmgg.js → pty-b2w3aej4.js} +3 -3
- package/dist/chunks/{worktree-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-f0320z3m.js → pty-b7d7e5cs.js} +29 -29
- package/dist/chunks/{worktree-88ag5g7k.js → pty-bj2mwj72.js} +20 -20
- package/dist/chunks/{worktree-xwan0tg7.js → pty-cpbp24j0.js} +9 -9
- package/dist/chunks/{worktree-c8ggeymj.js → pty-cv8cp56c.js} +8 -8
- package/dist/chunks/{worktree-r2m716tb.js → pty-cwa6csj7.js} +9 -9
- package/dist/chunks/{worktree-qvc3x00v.js → pty-da3a1pz4.js} +4 -4
- package/dist/chunks/{worktree-vxzh5eqq.js → pty-dbv05mm3.js} +4 -4
- package/dist/chunks/{worktree-7b4btya5.js → pty-dfz8va9a.js} +26 -26
- package/dist/chunks/{worktree-ak3qjxe1.js → pty-dk1e3q34.js} +18 -18
- package/dist/chunks/{worktree-dpkg50ah.js → pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{worktree-127b9nq3.js → pty-drnf6xwf.js} +2 -2
- package/dist/chunks/{worktree-3bs9stat.js → pty-dvc1ss35.js} +16 -16
- package/dist/chunks/{worktree-6qdrsza1.js → pty-dwtz4rhv.js} +1 -1
- package/dist/chunks/{worktree-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{worktree-fqak84ma.js → pty-e66nw5ve.js} +29 -29
- package/dist/chunks/{worktree-s2qwkk3g.js → pty-e762a9ve.js} +44 -44
- package/dist/chunks/{worktree-9p5r9yxb.js → pty-e7skdkq5.js} +23 -23
- package/dist/chunks/{worktree-reg6q42h.js → pty-e8qyrgb1.js} +5 -5
- package/dist/chunks/{worktree-jvc3syn6.js → pty-ed2wczx7.js} +22 -22
- package/dist/chunks/{worktree-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-9ep9xazg.js → pty-ehwp5qf5.js} +11 -11
- package/dist/chunks/{worktree-wa9g86nq.js → pty-espax8zg.js} +4 -4
- package/dist/chunks/{worktree-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-6f8mqd4v.js → pty-f6jm44yj.js} +11 -11
- package/dist/chunks/{worktree-8pkcp2zq.js → pty-fa00zr99.js} +11 -11
- package/dist/chunks/{worktree-cdm0dq9n.js → pty-ff0htmxq.js} +6 -6
- package/dist/chunks/{worktree-amg27w9m.js → pty-fh4hv93h.js} +30 -30
- package/dist/chunks/{worktree-64t225j8.js → pty-fjxdd66s.js} +24 -24
- package/dist/chunks/{worktree-908jb8kv.js → pty-g15xx2bf.js} +9 -9
- package/dist/chunks/{worktree-6v04bbq7.js → pty-g1mdgb0q.js} +3 -3
- package/dist/chunks/{worktree-styqs1rs.js → pty-g29zvz7r.js} +31 -31
- package/dist/chunks/{worktree-dmt33n7c.js → pty-g7pf4wyj.js} +32 -32
- package/dist/chunks/{worktree-1gx1ny1s.js → pty-g9xsc85n.js} +32 -32
- package/dist/chunks/{worktree-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-4crz6242.js → pty-gf3rc2cx.js} +7 -7
- package/dist/chunks/{worktree-pqwvhrw8.js → pty-gknkmgdf.js} +13 -13
- package/dist/chunks/{worktree-yh6m2jsr.js → pty-gnh5jasz.js} +30 -30
- package/dist/chunks/{worktree-0714bcr6.js → pty-gpqpkwrm.js} +24 -24
- package/dist/chunks/{worktree-davfzw71.js → pty-gveps3j7.js} +10 -10
- package/dist/chunks/{worktree-mz6ba83r.js → pty-gw7e4pnp.js} +9 -9
- package/dist/chunks/{worktree-ann71jjk.js → pty-gymrk1tf.js} +12 -12
- package/dist/chunks/{worktree-2bemhwbv.js → pty-h11xescb.js} +13 -13
- package/dist/chunks/{worktree-cx3y6qv2.js → pty-h22tf7pz.js} +8 -8
- package/dist/chunks/{worktree-h2b79v29.js → pty-h2b79v29.js} +2 -2
- package/dist/chunks/{worktree-0evkj109.js → pty-h4km775q.js} +8 -8
- package/dist/chunks/{worktree-ev5n4vm6.js → pty-h4kynvn9.js} +69 -69
- package/dist/chunks/{worktree-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-z9b8ghxh.js → pty-h7yvkj5a.js} +16 -16
- package/dist/chunks/{worktree-3e27gnxx.js → pty-hre98w0c.js} +31 -31
- package/dist/chunks/{worktree-k0r60paf.js → pty-hsdj99yd.js} +5 -5
- package/dist/chunks/{worktree-xkg907ep.js → pty-j41qpwdk.js} +24 -24
- package/dist/chunks/{worktree-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-4nj4bn9q.js → pty-j58c5xyq.js} +9 -9
- package/dist/chunks/{worktree-2s30cbk6.js → pty-j5q3j2tj.js} +11 -11
- package/dist/chunks/{worktree-8ymy0b6r.js → pty-j677qyx7.js} +13 -13
- package/dist/chunks/{worktree-608347mw.js → pty-jdvz0zc7.js} +4 -4
- package/dist/chunks/{worktree-xt4njr3s.js → pty-jhdf29st.js} +1 -1
- package/dist/chunks/{worktree-w96yvccc.js → pty-jsn15n69.js} +5 -5
- package/dist/chunks/{worktree-ssb0vkec.js → pty-jtdc4bny.js} +25 -25
- package/dist/chunks/{worktree-34wrr8a2.js → pty-jv2qf2m1.js} +11 -11
- package/dist/chunks/{worktree-1nxag8bv.js → pty-k6t71xek.js} +29 -29
- package/dist/chunks/{worktree-wv9gbb3z.js → pty-kd3q9x9x.js} +9 -9
- package/dist/chunks/{worktree-v7rfr20d.js → pty-kt5sj906.js} +6 -6
- package/dist/chunks/{worktree-1b9z0byy.js → pty-m373wseb.js} +32 -32
- package/dist/chunks/{worktree-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-p674wzdw.js → pty-m887nzyb.js} +36 -36
- package/dist/chunks/{worktree-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-qygbw77c.js → pty-mha52fg8.js} +5 -5
- package/dist/chunks/{worktree-kk7220rf.js → pty-msjxx9sd.js} +11 -11
- package/dist/chunks/{worktree-ffa614pp.js → pty-mvgtsw9d.js} +11 -11
- package/dist/chunks/{worktree-mtpeagzc.js → pty-my4zabxr.js} +3 -3
- package/dist/chunks/{worktree-47mgmhez.js → pty-n710fjt5.js} +20 -20
- package/dist/chunks/{worktree-jpcc12e3.js → pty-nawzger5.js} +152 -152
- package/dist/chunks/{worktree-c8f2qsws.js → pty-ncy1qref.js} +11 -11
- package/dist/chunks/{worktree-q5teym6j.js → pty-nekwcje0.js} +8 -8
- package/dist/chunks/{worktree-npngbpw7.js → pty-nfmb6gem.js} +17 -17
- package/dist/chunks/{worktree-xszt5aw3.js → pty-nk7wnrgf.js} +7 -7
- package/dist/chunks/{worktree-025q3317.js → pty-nnqf5n0w.js} +5 -5
- package/dist/chunks/{worktree-avkk6g6e.js → pty-nprwkcmy.js} +3 -3
- package/dist/chunks/{worktree-q1sec5vb.js → pty-ny6tbf5f.js} +27 -27
- package/dist/chunks/{worktree-r5nq0yst.js → pty-nzpptxhr.js} +17 -17
- package/dist/chunks/{worktree-5fcee03b.js → pty-p0fvmr4k.js} +71 -71
- package/dist/chunks/{worktree-jw0rj8v1.js → pty-p0vrpsfy.js} +9 -9
- package/dist/chunks/{worktree-y9a65w4b.js → pty-p271ect9.js} +16 -16
- package/dist/chunks/{worktree-8z6xmetw.js → pty-p6xz9fh7.js} +45 -45
- package/dist/chunks/{worktree-p5yq2cxn.js → pty-pc62zx8k.js} +43 -43
- package/dist/chunks/{worktree-ps9sear4.js → pty-pdysen2b.js} +14 -14
- package/dist/chunks/pty-pf31ssb9.js +18 -0
- package/dist/chunks/{worktree-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/pty-pktmg20h.js +26 -0
- package/dist/chunks/{worktree-1s5ahhvw.js → pty-ptyktbnz.js} +4 -4
- package/dist/chunks/{worktree-8sze2n9a.js → pty-py3kkmfq.js} +6 -6
- package/dist/chunks/{worktree-f8ky69ws.js → pty-q5j3da52.js} +3 -3
- package/dist/chunks/{worktree-afrtgck4.js → pty-qbqbaz6q.js} +4 -4
- package/dist/chunks/{worktree-e93tkrd1.js → pty-qf5nj3yx.js} +40 -40
- package/dist/chunks/{worktree-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{worktree-7f85ph34.js → pty-qpbc7zwf.js} +8 -8
- package/dist/chunks/{worktree-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-qxjc9qry.js → pty-qxjc9qry.js} +3 -3
- package/dist/chunks/{worktree-j028xdjb.js → pty-r5x6zcsm.js} +3 -3
- package/dist/chunks/{worktree-1jm7ermb.js → pty-r6nervp8.js} +8 -8
- package/dist/chunks/{worktree-c30gp8ks.js → pty-r8nqa45k.js} +14 -14
- package/dist/chunks/{worktree-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-wv396vej.js → pty-rhjbct0v.js} +8 -8
- package/dist/chunks/{worktree-zc5g640q.js → pty-rrpq0de9.js} +5 -5
- package/dist/chunks/{worktree-hv9w8vmv.js → pty-rvndbhy6.js} +3 -3
- package/dist/chunks/{worktree-tyn3cta0.js → pty-rwfbdtkp.js} +17 -17
- package/dist/chunks/{worktree-g3tgxdbt.js → pty-ry94xp73.js} +6 -6
- package/dist/chunks/{worktree-tr3hxez6.js → pty-s7fra41z.js} +2 -2
- package/dist/chunks/{worktree-7qdpe4cb.js → pty-sfpp7gg3.js} +9 -9
- package/dist/chunks/{worktree-3r7j5dej.js → pty-sy51e9hr.js} +11 -11
- package/dist/chunks/{worktree-b09cmrw9.js → pty-t0zdrn78.js} +30 -30
- package/dist/chunks/{worktree-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-dw4t78fe.js → pty-tcda7chm.js} +13 -13
- package/dist/chunks/{worktree-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-rypyj38x.js → pty-tey6nq9j.js} +15 -15
- package/dist/chunks/{worktree-c5s6mxwd.js → pty-tfzwa6rk.js} +3 -3
- package/dist/chunks/{worktree-2ancraj4.js → pty-tjk1atx1.js} +37 -37
- package/dist/chunks/{worktree-xvgts2xj.js → pty-tvxh05v4.js} +5 -5
- package/dist/chunks/{worktree-6hyt6762.js → pty-v025cdqv.js} +20 -20
- package/dist/chunks/{worktree-v0es1rhs.js → pty-v0es1rhs.js} +2 -2
- package/dist/chunks/{worktree-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-21k4s4cv.js → pty-vkm3vxpr.js} +2 -2
- package/dist/chunks/{worktree-6qme3bhr.js → pty-vr0hvt5q.js} +12 -12
- package/dist/chunks/{worktree-g31erja1.js → pty-vsr6dns1.js} +9 -9
- package/dist/chunks/{worktree-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{worktree-4gsvspn9.js → pty-w05x0cfw.js} +9 -9
- package/dist/chunks/{worktree-1n1fjttx.js → pty-w0k2mjff.js} +10 -10
- package/dist/chunks/{worktree-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-6pcv96p9.js → pty-w9593pr4.js} +22 -22
- package/dist/chunks/{worktree-k7ckpr86.js → pty-wasw70b2.js} +20 -20
- package/dist/chunks/{worktree-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-6b5vsm5a.js → pty-wen49t24.js} +11 -11
- package/dist/chunks/{worktree-wjw1e84n.js → pty-wjf6x52e.js} +11 -11
- package/dist/chunks/{worktree-ay209g6s.js → pty-wjta7v76.js} +32 -19
- package/dist/chunks/{worktree-tqshq6d1.js → pty-wjvhvva3.js} +23 -23
- package/dist/chunks/{worktree-gqtdsdt7.js → pty-x661k3y3.js} +4 -4
- package/dist/chunks/{worktree-xfkkasph.js → pty-xfkkasph.js} +1 -1
- package/dist/chunks/{worktree-3mv2fgvd.js → pty-xkk8qrks.js} +9 -9
- package/dist/chunks/{worktree-xkntkrq7.js → pty-xkntkrq7.js} +2 -2
- package/dist/chunks/{worktree-baf8w7xt.js → pty-xzwq90kz.js} +24 -24
- package/dist/chunks/{worktree-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-52fpbh6z.js → pty-y1qqcj8h.js} +8 -8
- package/dist/chunks/{worktree-ysz087h5.js → pty-y2y8dwt4.js} +9 -9
- package/dist/chunks/{worktree-zksxt2hw.js → pty-y4tqvwan.js} +17 -17
- package/dist/chunks/{worktree-425vmdct.js → pty-ya7yawrb.js} +25 -25
- package/dist/chunks/{worktree-9a0ztg4c.js → pty-yd0ynaw2.js} +5 -5
- package/dist/chunks/{worktree-y7g5cx4h.js → pty-yg0hawg9.js} +77 -77
- package/dist/chunks/{worktree-gce79w0q.js → pty-ymbmzmw5.js} +13 -13
- package/dist/chunks/{worktree-300wq35z.js → pty-yndknzbw.js} +10 -10
- package/dist/chunks/{worktree-vem2yhr6.js → pty-ynw5w22b.js} +6 -6
- package/dist/chunks/{worktree-pd6vkw23.js → pty-yq7n2bym.js} +20 -20
- package/dist/chunks/{worktree-8a2fyyry.js → pty-yvge1r0a.js} +25 -25
- package/dist/chunks/{worktree-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-hn8fn0mn.js → pty-z5y7tt9z.js} +13 -13
- package/dist/chunks/{worktree-y3zjn872.js → pty-z6c1vkvd.js} +4 -4
- package/dist/chunks/{worktree-fpt84bn8.js → pty-zaq5byvv.js} +48 -48
- package/dist/chunks/{worktree-k9zfssg4.js → pty-zd3km4rr.js} +11 -11
- package/dist/chunks/{worktree-d7ptk5r3.js → pty-zeb6qckn.js} +21 -21
- package/dist/chunks/{worktree-7j3mnrf2.js → pty-zjpg48a6.js} +12 -12
- package/dist/chunks/{worktree-gj71zhbs.js → pty-zmr78fwr.js} +5 -5
- package/dist/chunks/{worktree-5xsrm7ed.js → pty-zn7g83a7.js} +5 -5
- package/dist/chunks/{worktree-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-t2az9yje.js → pty-zvt5dnpc.js} +4 -4
- package/dist/chunks/{worktree-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{worktree-50193v0c.js → pty-zyjya6vr.js} +314 -314
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +99 -99
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +88 -88
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +102 -102
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- 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 +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +326 -326
- 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 +4 -4
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +94 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +211 -211
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- 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 +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +204 -204
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- 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 +128 -128
- 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 +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +112 -112
- 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 +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/worktree-1y7dtxbr.js +0 -26
- package/dist/chunks/worktree-qdyb70sk.js +0 -18
- /package/dist/chunks/{worktree-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-rrpq0de9.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-vkm3vxpr.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service41,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node45,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service41 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service41.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node45 = makeLocationNode({
|
|
144
|
+
service: Service41,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service41, Service41.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service67, Service67.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error3, Service41, node45, noopLayer2, exports_snapshot2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-0g1x7r6c.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-vkm3vxpr.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service70,
|
|
20
|
+
node73,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./pty-e66nw5ve.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./pty-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,18 +30,18 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID11,
|
|
36
|
+
Info: () => Info20,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service69,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node72,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
53
|
+
var ID11 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -66,12 +66,12 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
66
66
|
};
|
|
67
67
|
var Cost2 = Model.Cost;
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
|
-
var
|
|
69
|
+
var Info20 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service69 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
73
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service70;
|
|
75
75
|
const bus = yield* Service83;
|
|
76
76
|
const location = yield* Service80;
|
|
77
77
|
let input;
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
118
118
|
const models = writable(providerID);
|
|
119
119
|
if (!models)
|
|
120
120
|
return;
|
|
121
|
-
const model = draft(providerID, modelID) ??
|
|
121
|
+
const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
|
|
122
122
|
update(model);
|
|
123
123
|
model.id = modelID;
|
|
124
124
|
model.providerID = providerID;
|
|
@@ -207,8 +207,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
207
207
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
|
-
yield* bus.subscribe(
|
|
211
|
-
return
|
|
210
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
211
|
+
return Service69.of({
|
|
212
212
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
213
213
|
reload,
|
|
214
214
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
}));
|
|
230
|
-
var
|
|
230
|
+
var node72 = makeLocationNode({ service: Service69, layer, deps: [node73, node87, node84] });
|
|
231
231
|
function supportsText2(model) {
|
|
232
232
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
233
233
|
}
|
|
@@ -241,9 +241,9 @@ function compatibility2(input) {
|
|
|
241
241
|
function parse5(input) {
|
|
242
242
|
const index = input.indexOf("/");
|
|
243
243
|
return {
|
|
244
|
-
providerID:
|
|
245
|
-
modelID:
|
|
244
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
245
|
+
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export {
|
|
249
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service69, node72, supportsText2, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node80
|
|
9
|
+
} from "./pty-54yfpp0c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./pty-fh4hv93h.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service7,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node9,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service77;
|
|
335
|
+
return Service7.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node9 = makeLocationNode({ service: Service7, layer, deps: [node80] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/markdown.ts
|
|
6
6
|
var exports_markdown = {};
|
|
@@ -13,9 +13,9 @@ __export(exports_markdown, {
|
|
|
13
13
|
import matter from "gray-matter";
|
|
14
14
|
function parse3(content) {
|
|
15
15
|
try {
|
|
16
|
-
return matter(content);
|
|
16
|
+
return matter(content, {});
|
|
17
17
|
} catch {
|
|
18
|
-
return matter(sanitize2(content));
|
|
18
|
+
return matter(sanitize2(content), {});
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
function parseOption2(content) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-e66nw5ve.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./pty-8hresjpn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin47,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin47 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service69;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin47, exports_verbosity };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-0g1x7r6c.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-ymbmzmw5.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
20
|
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service38,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
24
|
available: () => available3,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured5,
|
|
26
|
+
layer: () => layer15,
|
|
27
|
+
node: () => node42
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -46,14 +46,14 @@ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service38 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service38, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service83;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service38.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer15 = makeLayer();
|
|
263
|
+
var configured5 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service38,
|
|
265
|
+
layer: options === undefined ? layer15 : makeLayer(options),
|
|
266
266
|
deps: [node87, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node42 = configured5();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
271
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export { Options4, UnavailableError2,
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError3, Service38, layer15, configured5, node42, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-jv2qf2m1.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service73
|
|
7
|
+
} from "./pty-gnh5jasz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID13,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-2mg7wj6y.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID12,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-e66nw5ve.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID12.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID13.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service73;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-nk7wnrgf.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make8 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make5 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make8();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make8, LMStudioPlugin2 };
|