@opencode/core 0.0.0-dev-19703 → 0.0.0-dev-19705
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-access-czv8zr4c.js → session-080dexhn.js} +33 -33
- package/dist/chunks/{file-access-81rrhs1k.js → session-0d31ck70.js} +9 -9
- package/dist/chunks/{file-access-ve2kmhc3.js → session-0f180yx4.js} +20 -20
- package/dist/chunks/{file-access-0paq2nw3.js → session-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-qxr1wd94.js → session-0pnmpfb5.js} +28 -28
- package/dist/chunks/{file-access-0q0f95c6.js → session-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-access-aq8s4k4t.js → session-0saq7g2y.js} +11 -11
- package/dist/chunks/{file-access-zgpdaewh.js → session-17jhpkhx.js} +37 -37
- package/dist/chunks/{file-access-1acjjqhc.js → session-1acjjqhc.js} +1 -1
- package/dist/chunks/{file-access-vjy1cxwb.js → session-1aq3qv2r.js} +15 -15
- package/dist/chunks/session-1axjrexf.js +247 -0
- package/dist/chunks/{file-access-1dazxqgg.js → session-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-76p6jepc.js → session-1g5tr8vn.js} +21 -21
- package/dist/chunks/{file-access-kd0g1c6x.js → session-1h25zmxh.js} +21 -21
- package/dist/chunks/{file-access-db54agdm.js → session-1v6wmkfd.js} +5 -5
- package/dist/chunks/{file-access-qa7075pb.js → session-1x75wf9g.js} +5 -5
- package/dist/chunks/{file-access-mzx6x42j.js → session-1yv162eq.js} +4 -4
- package/dist/chunks/{file-access-csc9knvx.js → session-21pg5gy5.js} +87 -87
- package/dist/chunks/{file-access-21r38tys.js → session-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-3eqe7sdb.js → session-25qp03z7.js} +5 -5
- package/dist/chunks/{file-access-msq0jde0.js → session-26k5bknw.js} +4 -4
- package/dist/chunks/{file-access-achc067e.js → session-279kd41g.js} +1 -1
- package/dist/chunks/{file-access-2a5m3afh.js → session-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-z7qrt6z4.js → session-2a7g13tw.js} +11 -11
- package/dist/chunks/{file-access-9z5hezg5.js → session-2b5jwa6e.js} +26 -26
- package/dist/chunks/{file-access-18ar9p8m.js → session-2d93vaxd.js} +5 -5
- package/dist/chunks/{file-access-pc4xavgz.js → session-2gnp7ymk.js} +1 -1
- package/dist/chunks/{file-access-s0wc4b3p.js → session-2tx5xyev.js} +14 -14
- package/dist/chunks/{file-access-se5ev5q6.js → session-2v5xdxr9.js} +53 -53
- package/dist/chunks/{file-access-abx7hpq0.js → session-369q7q4f.js} +8 -8
- package/dist/chunks/{file-access-5n6bcn55.js → session-3aq87e6r.js} +36 -36
- package/dist/chunks/{file-access-2xx6zsf3.js → session-3b9qt4hj.js} +9 -9
- package/dist/chunks/{file-access-xnnqatdr.js → session-3c8knz18.js} +5 -5
- package/dist/chunks/{file-access-s2f2xds9.js → session-3deyfk4m.js} +29 -29
- package/dist/chunks/{file-access-3fc6dm20.js → session-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-3hepkmqq.js → session-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-984xje6x.js → session-3ktbe3hf.js} +6 -6
- package/dist/chunks/{file-access-hx5z5b4w.js → session-3qhwm5rx.js} +13 -13
- package/dist/chunks/{file-access-wbte7afj.js → session-3qs6z9nt.js} +11 -11
- package/dist/chunks/{file-access-xq2cctfq.js → session-3res8ekr.js} +16 -16
- package/dist/chunks/{file-access-3smtnn6g.js → session-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-qzyph8ek.js → session-3sqv75dt.js} +11 -11
- package/dist/chunks/{file-access-3tvqynh2.js → session-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-qwkdvvqq.js → session-4gkd7n9c.js} +29 -29
- package/dist/chunks/{file-access-dr2361rz.js → session-4p18p75z.js} +29 -29
- package/dist/chunks/{file-access-3tgpfszz.js → session-4qdj6sps.js} +16 -16
- package/dist/chunks/{file-access-v20321fw.js → session-4wmh88nf.js} +16 -16
- package/dist/chunks/{file-access-5ghg905x.js → session-51ayyp98.js} +8 -8
- package/dist/chunks/{file-access-57ez7d0k.js → session-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-access-jha770e0.js → session-59q1tj55.js} +44 -44
- package/dist/chunks/{file-access-5daktx2q.js → session-5daktx2q.js} +1 -1
- package/dist/chunks/session-5rwj9p5y.js +478 -0
- package/dist/chunks/{file-access-5t3nmthw.js → session-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-02dhzryh.js → session-5t4d5a4f.js} +32 -32
- package/dist/chunks/{file-access-zeap8wq0.js → session-5vsesvnt.js} +5 -5
- package/dist/chunks/{file-access-669tq793.js → session-669tq793.js} +1 -1
- package/dist/chunks/{file-access-2402vzrj.js → session-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-access-rzeja39m.js → session-6k0cga24.js} +11 -11
- package/dist/chunks/{file-access-6msgmcgs.js → session-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-access-21edhy6x.js → session-6xrmn6w1.js} +13 -13
- package/dist/chunks/{file-access-4pre79ma.js → session-721rs8kq.js} +11 -11
- package/dist/chunks/{file-access-k7n8e2gq.js → session-766ve1e6.js} +14 -14
- package/dist/chunks/{file-access-7bmhse3q.js → session-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-m0k9mes5.js → session-7ec41fkf.js} +7 -7
- package/dist/chunks/{file-access-gbkwq1jx.js → session-7ey7wzq8.js} +20 -20
- package/dist/chunks/{file-access-2kvvzhgt.js → session-7f63ny7r.js} +9 -9
- package/dist/chunks/{file-access-f65xcp97.js → session-7pykp8zb.js} +3 -3
- package/dist/chunks/{file-access-pg8m7vcw.js → session-7svh66ke.js} +25 -25
- package/dist/chunks/{file-access-adk83k7n.js → session-7yrsk3v6.js} +10 -10
- package/dist/chunks/{file-access-ndzqf7n9.js → session-81maxtah.js} +17 -17
- package/dist/chunks/{file-access-jh28hxeq.js → session-87deq66t.js} +8 -8
- package/dist/chunks/{file-access-thacshfj.js → session-88s00m0c.js} +31 -31
- package/dist/chunks/{file-access-tcezcvh9.js → session-89znhe33.js} +4 -4
- package/dist/chunks/{file-access-06wf8qef.js → session-8cexvayt.js} +3 -3
- package/dist/chunks/{file-access-8d7r5vzw.js → session-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-dj2t23y0.js → session-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-access-jmsss6r4.js → session-8x0dfrya.js} +12 -12
- package/dist/chunks/{file-access-0v8926jc.js → session-8xer3xxp.js} +4 -4
- package/dist/chunks/{file-access-x7565nz3.js → session-91tr6h9j.js} +8 -8
- package/dist/chunks/{file-access-pebkr8tk.js → session-99ekdaan.js} +10 -10
- package/dist/chunks/{file-access-m59fsk9k.js → session-9ffzhrxn.js} +13 -13
- package/dist/chunks/{file-access-w2x5ntbm.js → session-9g5pvpzd.js} +10 -10
- package/dist/chunks/{file-access-cjjq7ynh.js → session-9s0cjx5c.js} +34 -34
- package/dist/chunks/{file-access-9wq3ewc0.js → session-9secn1mj.js} +30 -30
- package/dist/chunks/{file-access-51d5tev5.js → session-9xtn4g2j.js} +42 -42
- package/dist/chunks/{file-access-9zdhvgqs.js → session-9zdhvgqs.js} +1 -1
- package/dist/chunks/{file-access-5c4hm403.js → session-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-access-xtfhmm69.js → session-a6f3j3ed.js} +22 -22
- package/dist/chunks/{file-access-dmz87gs1.js → session-a7scjk6n.js} +17 -17
- package/dist/chunks/{file-access-aaet6srn.js → session-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-5y2zy18c.js → session-abxtwwgg.js} +11 -11
- package/dist/chunks/{file-access-pkt4pt77.js → session-af8bfe5f.js} +16 -16
- package/dist/chunks/{file-access-w8n9ztcq.js → session-ayhva76e.js} +5 -5
- package/dist/chunks/{file-access-b6gygkdw.js → session-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-3we3xrym.js → session-b8pk76a8.js} +11 -11
- package/dist/chunks/{file-access-pstg3rfm.js → session-b97cbvw3.js} +1 -1
- package/dist/chunks/{file-access-vc49b7t2.js → session-bgf82yda.js} +35 -35
- package/dist/chunks/{file-access-0bbtsd9p.js → session-bgnc61h5.js} +6 -6
- package/dist/chunks/{file-access-qn4ba14w.js → session-bgxcxs0p.js} +5 -5
- package/dist/chunks/{file-access-c30xvc1n.js → session-bh8ypkgb.js} +20 -20
- package/dist/chunks/{file-access-fab8hzt3.js → session-bha4atvq.js} +4 -4
- package/dist/chunks/{file-access-j3v8g4y4.js → session-bkddqvjr.js} +34 -34
- package/dist/chunks/{file-access-22bkwpcc.js → session-bnat4a66.js} +20 -20
- package/dist/chunks/{file-access-dtr4ty96.js → session-btpnrr7x.js} +47 -47
- package/dist/chunks/{file-access-wpj4mgew.js → session-bxg236d3.js} +20 -20
- package/dist/chunks/{file-access-0qg760de.js → session-by6jb95k.js} +3 -3
- package/dist/chunks/{file-access-n00t81pt.js → session-c4k0f0xp.js} +33 -33
- package/dist/chunks/{file-access-1czez65r.js → session-c97w57gq.js} +26 -26
- package/dist/chunks/{file-access-3a0232v4.js → session-c99d1zrp.js} +20 -20
- package/dist/chunks/{file-access-ed2mmm6e.js → session-ca73c4h6.js} +4 -4
- package/dist/chunks/{file-access-m0jqrx5p.js → session-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-access-gwydwvmj.js → session-ch4t865s.js} +8 -8
- package/dist/chunks/{file-access-5xcpr46j.js → session-cmhgvhv4.js} +21 -21
- package/dist/chunks/{file-access-zdwe30dy.js → session-d0k1g5nx.js} +6 -6
- package/dist/chunks/{file-access-8zqg477x.js → session-d63c944w.js} +11 -11
- package/dist/chunks/{file-access-9j7zq8ze.js → session-df3cgwft.js} +63 -63
- package/dist/chunks/{file-access-sx1n432n.js → session-dfe8djrf.js} +4 -4
- package/dist/chunks/{file-access-cpneeje0.js → session-djszqvmq.js} +9 -9
- package/dist/chunks/{file-access-mpydz36k.js → session-dm9pn29g.js} +8 -8
- package/dist/chunks/{file-access-gssk1ffy.js → session-dnhhyxe0.js} +20 -20
- package/dist/chunks/{file-access-dpkg50ah.js → session-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-access-57b9ws8p.js → session-drwq78ky.js} +5 -5
- package/dist/chunks/{file-access-44bvyb52.js → session-ds0xtm2m.js} +11 -11
- package/dist/chunks/{file-access-mvzp9w89.js → session-dt2x0zh0.js} +3 -3
- package/dist/chunks/{file-access-9eg80yv1.js → session-dwjp9aqy.js} +31 -31
- package/dist/chunks/{file-access-rhjbct0v.js → session-eaj1djv9.js} +8 -8
- package/dist/chunks/{file-access-anh923dz.js → session-ed8ew81c.js} +15 -15
- package/dist/chunks/{file-access-ef5x83kb.js → session-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-xqjqksda.js → session-egb679gq.js} +33 -33
- package/dist/chunks/{file-access-g65esk8v.js → session-ehr38b7g.js} +4 -4
- package/dist/chunks/{file-access-ts86mgej.js → session-ekj6vtpp.js} +10 -10
- package/dist/chunks/{file-access-etq0c3wd.js → session-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-evbgk2k8.js → session-evbgk2k8.js} +2 -2
- package/dist/chunks/{file-access-fkfqzgqy.js → session-f11a8f53.js} +23 -23
- package/dist/chunks/{file-access-4ny6685e.js → session-f6k3efdn.js} +2 -2
- package/dist/chunks/{file-access-hdnk95c8.js → session-f828m53h.js} +2 -2
- package/dist/chunks/{file-access-qgqy5arr.js → session-f8ds8sjj.js} +26 -26
- package/dist/chunks/{file-access-xk747vep.js → session-fhs97t90.js} +8 -8
- package/dist/chunks/{file-access-gd2xe63m.js → session-fjmxef0p.js} +18 -17
- package/dist/chunks/{file-access-gs3s1a1g.js → session-fqtvmpfq.js} +8 -8
- package/dist/chunks/{file-access-1xyy6rsd.js → session-fr3p8y76.js} +35 -35
- package/dist/chunks/{file-access-ms72sz6n.js → session-fsamerkj.js} +24 -24
- package/dist/chunks/{file-access-fjggvb5d.js → session-fwwfhkvn.js} +13 -13
- package/dist/chunks/{file-access-1m8m29bm.js → session-fwwt64xg.js} +2 -2
- package/dist/chunks/{file-access-fxbjtjnd.js → session-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-access-knywsfmy.js → session-g0a8n2q2.js} +23 -23
- package/dist/chunks/{file-access-j5wn78xe.js → session-g1fcb4c5.js} +3 -3
- package/dist/chunks/{file-access-7t80x2xm.js → session-g6wbp2qa.js} +14 -14
- package/dist/chunks/{file-access-gd4qta3r.js → session-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-2pp64kj2.js → session-gk4m8a0s.js} +29 -29
- package/dist/chunks/{file-access-ty23yq33.js → session-gkd2ze5q.js} +10 -10
- package/dist/chunks/{file-access-gv6a8nnw.js → session-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-access-06wngq9c.js → session-gweqmfvk.js} +11 -11
- package/dist/chunks/{file-access-h03wrkyp.js → session-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-access-gxvja00a.js → session-h2v98qgq.js} +6 -6
- package/dist/chunks/{file-access-krh4kqam.js → session-h6swk2bt.js} +15 -15
- package/dist/chunks/{file-access-h6vf3j39.js → session-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-px7sw6zq.js → session-h8rcg3na.js} +15 -15
- package/dist/chunks/{file-access-vs126s66.js → session-h94p25ha.js} +9 -9
- package/dist/chunks/{file-access-gzj2wbzm.js → session-hfc2zs6m.js} +24 -24
- package/dist/chunks/{file-access-6qnrq8yy.js → session-hh2t2hc8.js} +22 -22
- package/dist/chunks/{file-access-xxs8dkg5.js → session-j1zwx507.js} +3 -3
- package/dist/chunks/{file-access-7cwd1pjj.js → session-j3cyzeh3.js} +7 -7
- package/dist/chunks/{file-access-awaee7qt.js → session-j5208yae.js} +6 -6
- package/dist/chunks/{file-access-j56e64zr.js → session-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-f835brta.js → session-jb16tkde.js} +11 -11
- package/dist/chunks/{file-access-b09hzw3k.js → session-jca4demv.js} +2 -2
- package/dist/chunks/{file-access-yjmyzswg.js → session-jrmyq331.js} +9 -9
- package/dist/chunks/{file-access-dtqdzr8b.js → session-jtgwatgn.js} +8 -8
- package/dist/chunks/{file-access-nzks3jc8.js → session-k3c624dm.js} +3 -3
- package/dist/chunks/{file-access-jppvw2tx.js → session-k3gnzxs0.js} +5 -5
- package/dist/chunks/{file-access-mt5b2h3m.js → session-k56ehqzw.js} +4 -4
- package/dist/chunks/{file-access-ghcpnks2.js → session-k64n0yyf.js} +9 -9
- package/dist/chunks/{file-access-2zpbtqxj.js → session-k75tmhht.js} +5 -5
- package/dist/chunks/{file-access-e2hjzebn.js → session-k76fn4kw.js} +4 -4
- package/dist/chunks/{file-access-6rmp6rp3.js → session-kbvdp8rg.js} +15 -15
- package/dist/chunks/{file-access-nfts78ts.js → session-khge5bfv.js} +20 -20
- package/dist/chunks/{file-access-vmb1bd1w.js → session-kkjzbkak.js} +4 -4
- package/dist/chunks/{file-access-jy98dczt.js → session-km4f6bde.js} +20 -20
- package/dist/chunks/{file-access-ma73scwd.js → session-kn26cdq8.js} +13 -13
- package/dist/chunks/{file-access-3tq5qxbk.js → session-knb7evpn.js} +8 -8
- package/dist/chunks/{file-access-tmgf2zx0.js → session-kskwd90p.js} +21 -21
- package/dist/chunks/{file-access-m39b1xen.js → session-kv1zm11h.js} +13 -13
- package/dist/chunks/{file-access-277eer69.js → session-kzc3h1h3.js} +4 -4
- package/dist/chunks/session-m0wst38n.js +26 -0
- package/dist/chunks/{file-access-m3fdjcah.js → session-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-access-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-g190xswt.js → session-magykp64.js} +4 -4
- package/dist/chunks/{file-access-tcpzf8a4.js → session-mc9n40ty.js} +11 -11
- package/dist/chunks/{file-access-1ygqh575.js → session-mfqp6xfm.js} +6 -6
- package/dist/chunks/{file-access-1bbkgx8g.js → session-mhkvc446.js} +3 -3
- package/dist/chunks/{file-access-6q9g2n1x.js → session-mpw4eqn8.js} +26 -26
- package/dist/chunks/{file-access-jmsa0jj4.js → session-my7jfzzz.js} +16 -16
- package/dist/chunks/{file-access-rc0drnx6.js → session-n20hndv1.js} +49 -49
- package/dist/chunks/{file-access-mk65yns0.js → session-n3bnz10n.js} +39 -35
- package/dist/chunks/{file-access-w4arg62q.js → session-nnxdhk5c.js} +5 -5
- package/dist/chunks/{file-access-h6r3nrb9.js → session-nzyhnfxz.js} +4 -4
- package/dist/chunks/{file-access-9hn6k4tm.js → session-p37cw4rj.js} +8 -8
- package/dist/chunks/{file-access-r6tv0ky9.js → session-p7a89jfd.js} +22 -22
- package/dist/chunks/{file-access-818pfwc9.js → session-pb1eahw5.js} +8 -8
- package/dist/chunks/{file-access-xcem76eb.js → session-phyh446a.js} +18 -18
- package/dist/chunks/{file-access-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-pknna89w.js → session-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-0cjrfvab.js → session-pmkc6xj9.js} +11 -11
- package/dist/chunks/{file-access-fbav83js.js → session-pq4jgb6r.js} +4 -4
- package/dist/chunks/{file-access-yz626d1a.js → session-ptq8g39k.js} +4 -4
- package/dist/chunks/{file-access-bzxmwb0h.js → session-pywj48fv.js} +10 -10
- package/dist/chunks/{file-access-y6f0p4jw.js → session-q3t37ft6.js} +3 -3
- package/dist/chunks/session-qapv375x.js +4 -0
- package/dist/chunks/{file-access-7dqw4kz8.js → session-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-access-qsdy395h.js → session-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-g8f066zd.js → session-qz35f69j.js} +25 -25
- package/dist/chunks/{file-access-p4p3q63t.js → session-r2zcvsyv.js} +18 -18
- package/dist/chunks/{file-access-2s4yk9pe.js → session-r69d1vhr.js} +17 -17
- package/dist/chunks/{file-access-szchxhm4.js → session-r8bjba3b.js} +20 -20
- package/dist/chunks/{file-access-rdw6cm16.js → session-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-rgmz38d8.js → session-rdxvf5qc.js} +3 -3
- package/dist/chunks/{file-access-k3rgfb3p.js → session-rgpja42x.js} +6 -6
- package/dist/chunks/{file-access-0bz652bt.js → session-rm8tghfd.js} +15 -15
- package/dist/chunks/{file-access-tnyz8ww6.js → session-rn2mfje8.js} +6 -6
- package/dist/chunks/{file-access-kjyvdtgs.js → session-rtd6da40.js} +12 -12
- package/dist/chunks/{file-access-amt0nx1c.js → session-s5csnnyd.js} +8 -8
- package/dist/chunks/{file-access-yt0fqk68.js → session-s8zy8myc.js} +5 -5
- package/dist/chunks/{file-access-1rcsefny.js → session-safm3na4.js} +29 -29
- package/dist/chunks/{file-access-yvvvp4gn.js → session-sm965ndy.js} +8 -8
- package/dist/chunks/{file-access-zcrz93sz.js → session-sq0mtgyh.js} +82 -82
- package/dist/chunks/{file-access-88j73mdv.js → session-swvgttay.js} +3 -3
- package/dist/chunks/{file-access-vqq4e7dm.js → session-t0461eaj.js} +5 -5
- package/dist/chunks/{file-access-be2svbmq.js → session-t1v4tr9q.js} +11 -11
- package/dist/chunks/{file-access-tazgh4e4.js → session-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-pbqgg0c7.js → session-tb2vfczg.js} +4 -4
- package/dist/chunks/{file-access-tdstcens.js → session-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-954kwt2t.js → session-tgfdjam3.js} +15 -15
- package/dist/chunks/{file-access-nvtgz84x.js → session-thtvzhh6.js} +42 -42
- package/dist/chunks/{file-access-0629b45g.js → session-tk9j941g.js} +22 -22
- package/dist/chunks/{file-access-ryr25ayn.js → session-tkmwgdpd.js} +7 -7
- package/dist/chunks/{file-access-tvtrv512.js → session-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-4wev30ht.js → session-twa2h70a.js} +15 -15
- package/dist/chunks/{file-access-19avvbhq.js → session-v237z8m1.js} +24 -24
- package/dist/chunks/{file-access-xea0fvxv.js → session-v2xrvj3n.js} +9 -9
- package/dist/chunks/{file-access-kx6tnhgm.js → session-v542067p.js} +8 -8
- package/dist/chunks/{file-access-veqvce7d.js → session-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-2dq278xz.js → session-vf32en4q.js} +17 -17
- package/dist/chunks/{file-access-d2zcqnyn.js → session-vktp3xgt.js} +11 -11
- package/dist/chunks/{file-access-89wf2w34.js → session-vr0ngtxe.js} +26 -26
- package/dist/chunks/{file-access-5csss1c9.js → session-vrwmy7px.js} +17 -17
- package/dist/chunks/{file-access-vzcthcp8.js → session-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-bnjwzb7k.js → session-w45x6y4q.js} +27 -27
- package/dist/chunks/{file-access-wd87259q.js → session-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-d0qjmbf7.js → session-wfbx0z93.js} +8 -8
- package/dist/chunks/{file-access-wc7jx7mw.js → session-wxv50r2x.js} +8 -8
- package/dist/chunks/{file-access-xmrmk6tf.js → session-wzqc1q6d.js} +3 -3
- package/dist/chunks/{file-access-ajspsemm.js → session-x0e6qwje.js} +20 -20
- package/dist/chunks/{file-access-x1ezjp6w.js → session-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-a9yj8d57.js → session-x2xy8gnx.js} +43 -43
- package/dist/chunks/{file-access-bmvs43mp.js → session-xag7vh6c.js} +25 -25
- package/dist/chunks/{file-access-4cszjckh.js → session-xddt9av0.js} +30 -30
- package/dist/chunks/{file-access-v7h74zgk.js → session-xf30732f.js} +7 -7
- package/dist/chunks/{file-access-z5ph5zj9.js → session-xndtvjqc.js} +15 -14
- package/dist/chunks/{file-access-dqmqj95b.js → session-xr9m3yc1.js} +22 -22
- package/dist/chunks/{file-access-4ejj3q4x.js → session-xzmh0db5.js} +159 -159
- package/dist/chunks/{file-access-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-11dqjexa.js → session-y56ehv6b.js} +9 -9
- package/dist/chunks/{file-access-7cswzy6x.js → session-yabsz4bh.js} +8 -8
- package/dist/chunks/{file-access-b0ra039m.js → session-yfz9vq26.js} +13 -13
- package/dist/chunks/{file-access-dp8qva4p.js → session-ykcy4w9b.js} +21 -21
- package/dist/chunks/{file-access-yrhqyw5v.js → session-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-yrznvahk.js → session-yrznvahk.js} +2 -2
- package/dist/chunks/{file-access-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-z63w68vq.js → session-z63w68vq.js} +2 -2
- package/dist/chunks/{file-access-rcazvk2s.js → session-zana4spz.js} +15 -15
- package/dist/chunks/{file-access-zeh9ct20.js → session-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-3801m5vm.js → session-zfq5dtw3.js} +11 -11
- package/dist/chunks/{file-access-3ythc6yv.js → session-zj09a0ew.js} +4 -4
- package/dist/chunks/{file-access-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-y42csyyd.js → session-zwt1d6fv.js} +18 -18
- package/dist/chunks/{file-access-zxq2ej10.js → session-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-access-s43s5bf0.js → session-zy4msmky.js} +10 -10
- package/dist/chunks/{file-access-grgxgp5r.js → session-zyfhtqw2.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- 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 +98 -98
- 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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +140 -140
- 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/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +83 -83
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- 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 +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +92 -92
- 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 +122 -122
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/session/model-transport.d.ts +10 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/file-access-0mesazry.js +0 -4
- package/dist/chunks/file-access-9w62p15t.js +0 -478
- package/dist/chunks/file-access-e34shv79.js +0 -247
- package/dist/chunks/file-access-y2hsm13z.js +0 -26
- /package/dist/chunks/{file-access-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → session-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → session-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → session-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → session-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → session-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → session-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → session-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → session-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → session-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → session-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → session-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → session-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → session-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → session-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → session-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → session-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-5qd3pb7m.js → session-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → session-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → session-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → session-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → session-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → session-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → session-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-922hggd3.js → session-922hggd3.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → session-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → session-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → session-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → session-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → session-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → session-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → session-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → session-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → session-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → session-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → session-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → session-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → session-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → session-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → session-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → session-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → session-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → session-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → session-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → session-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → session-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → session-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → session-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → session-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → session-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → session-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → session-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → session-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → session-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → session-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → session-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → session-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → session-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → session-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → session-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → session-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → session-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → session-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → session-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → session-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → session-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → session-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-twg0f83k.js → session-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → session-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → session-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → session-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → session-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → session-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → session-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → session-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → session-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → session-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → session-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service46
|
|
7
|
+
} from "./session-c97w57gq.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-q3t37ft6.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-3ktbe3hf.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service46;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-k56ehqzw.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event18
|
|
7
|
+
} from "./session-xddt9av0.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-gk4m8a0s.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-safm3na4.js";
|
|
17
17
|
import {
|
|
18
18
|
ID4,
|
|
19
19
|
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./session-3res8ekr.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID9.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
providers.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID9.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
sourceConnection: snapshot.connection
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
const item = providers.get(
|
|
198
|
+
const item = providers.get(ID8.opencode);
|
|
199
199
|
if (!item)
|
|
200
200
|
return;
|
|
201
201
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
209
|
yield* ctx.model.transform((models) => {
|
|
210
|
-
const item = models.provider.get(
|
|
210
|
+
const item = models.provider.get(ID8.opencode);
|
|
211
211
|
if (!item)
|
|
212
212
|
return;
|
|
213
213
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
|
|
|
262
262
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
263
263
|
});
|
|
264
264
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
265
|
-
yield* bus.subscribe(
|
|
265
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
266
266
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
267
267
|
})
|
|
268
268
|
});
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./session-h6swk2bt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service23
|
|
6
|
+
} from "./session-21pg5gy5.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service23;
|
|
24
|
+
const jobs = yield* Service55;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make9 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
@@ -14,7 +14,7 @@ __export(exports_watcher, {
|
|
|
14
14
|
Event: () => Event9,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options8,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service44,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
20
|
configured: () => configured8,
|
|
@@ -22,7 +22,7 @@ __export(exports_watcher, {
|
|
|
22
22
|
layer: () => layer19,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node48,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -57,14 +57,14 @@ var Options8 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service44 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var layer19 = (options) => Layer.effect(
|
|
65
|
+
var layer19 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service44.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service44.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service44).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service44, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
167
|
function configured8(options) {
|
|
168
|
-
return makeGlobalNode({ service:
|
|
168
|
+
return makeGlobalNode({ service: Service44, layer: layer19(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node48 = configured8();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { Event9, hasNativeBinding2, Native3, Options8,
|
|
190
|
+
export { Event9, hasNativeBinding2, Native3, Options8, Service44, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured8, node48, exports_watcher };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./session-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service78
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-fwwt64xg.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-kv1zm11h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin20,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin20 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service78;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin20, exports_hg };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./session-cmhgvhv4.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info14
|
|
9
|
+
} from "./session-pb1eahw5.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-tb2vfczg.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service43
|
|
16
|
+
} from "./session-17jhpkhx.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./session-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin19
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info14);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin19 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service43;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin26 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID16.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID16.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin19, exports_agent };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-3sqv75dt.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin27,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin27 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin2 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin2 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint5, Plugin27, exports_tinyfish };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./session-2gnp7ymk.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-by6jb95k.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-fwwt64xg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service72
|
|
9
|
+
} from "./session-zana4spz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./session-4qdj6sps.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service12
|
|
27
|
+
} from "./session-vf32en4q.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./session-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input12,
|
|
36
|
+
Plugin: () => Plugin46,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name12,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name12 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input12 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin46 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service12;
|
|
62
|
+
const access = yield* Service72;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service78;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name12,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input12,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin38 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent6 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name12, Input12, Plugin46, toModelContent6, exports_read };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-3deyfk4m.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./session-17jhpkhx.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-bgnc61h5.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service43;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID7.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make6();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make6, LMStudioPlugin2 };
|