@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,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-k56ehqzw.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-1v6wmkfd.js";
|
|
9
9
|
import {
|
|
10
10
|
Service78,
|
|
11
11
|
node82
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-fwwt64xg.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-9zdhvgqs.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service44,
|
|
18
|
+
node48
|
|
19
|
+
} from "./session-766ve1e6.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node15
|
|
22
|
+
} from "./session-kbvdp8rg.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service10,
|
|
25
|
+
node12
|
|
26
|
+
} from "./session-djszqvmq.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./session-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher2 = {};
|
|
33
33
|
__export(exports_location_watcher2, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service9,
|
|
36
|
+
node: () => node11
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service78;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service44;
|
|
48
48
|
const bus = yield* Service81;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service80;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service10;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service9.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node11 = makeLocationNode({
|
|
106
|
+
service: Service9,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node48, FSUtil.node, node82, node84, node85, node15, node12]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service9, node11, exports_location_watcher2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
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
|
+
Service43
|
|
9
|
+
} from "./session-17jhpkhx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service16
|
|
12
|
+
} from "./session-g6wbp2qa.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./session-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin16
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin16 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service43;
|
|
34
34
|
const location = yield* Service78;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service16;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin20 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin16, exports_worktree };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-3sqv75dt.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-k56ehqzw.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./session-xddt9av0.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-gk4m8a0s.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./session-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID8,
|
|
20
20
|
mergeOverlay2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./session-safm3na4.js";
|
|
22
22
|
import {
|
|
23
23
|
iife2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./session-1kg9ymc8.js";
|
|
25
25
|
import {
|
|
26
26
|
configuredSettings2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./session-bgnc61h5.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/azure.ts
|
|
30
30
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
44
44
|
var AzurePlugin2 = define({
|
|
45
45
|
id: "opencode.provider.azure",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const configured = yield* configuredSettings2(
|
|
47
|
+
const configured = yield* configuredSettings2(ID8.azure);
|
|
48
48
|
const processes = yield* AppProcess.Service;
|
|
49
49
|
const bus = yield* Service81;
|
|
50
50
|
const tokens = new Map;
|
|
@@ -80,13 +80,13 @@ var AzurePlugin2 = define({
|
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID8.azure,
|
|
84
84
|
method: { type: "key", label: "API key", form: form() }
|
|
85
85
|
});
|
|
86
86
|
if (!available)
|
|
87
87
|
return;
|
|
88
88
|
editor.method.update({
|
|
89
|
-
integrationID:
|
|
89
|
+
integrationID: ID8.azure,
|
|
90
90
|
method: {
|
|
91
91
|
id: methodID,
|
|
92
92
|
type: "oauth",
|
|
@@ -118,7 +118,7 @@ var AzurePlugin2 = define({
|
|
|
118
118
|
});
|
|
119
119
|
});
|
|
120
120
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
121
|
-
const connection = yield* ctx.integration.connection.active(
|
|
121
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
122
122
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
123
123
|
return;
|
|
124
124
|
})) : undefined;
|
|
@@ -132,7 +132,7 @@ var AzurePlugin2 = define({
|
|
|
132
132
|
yield* load();
|
|
133
133
|
yield* ctx.provider.transform((evt) => {
|
|
134
134
|
for (const item of evt.list()) {
|
|
135
|
-
if (item.provider.id !==
|
|
135
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
136
136
|
continue;
|
|
137
137
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
138
138
|
if (resourceName)
|
|
@@ -147,7 +147,7 @@ var AzurePlugin2 = define({
|
|
|
147
147
|
});
|
|
148
148
|
yield* ctx.model.transform((models) => {
|
|
149
149
|
for (const item of models.provider.list()) {
|
|
150
|
-
if (item.provider.id !==
|
|
150
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
151
151
|
continue;
|
|
152
152
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
153
153
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID8.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID8.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID8.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID8.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-by6jb95k.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-j1zwx507.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
node84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-1v6wmkfd.js";
|
|
7
7
|
import {
|
|
8
8
|
Service78,
|
|
9
9
|
node82
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-fwwt64xg.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
make12
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-dt2x0zh0.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service16,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node19
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,9 +31,9 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service16 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
36
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
37
37
|
const location = yield* Service78;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make12;
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service16.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node19 = makeLocationNode({
|
|
61
|
+
service: Service16,
|
|
62
62
|
layer,
|
|
63
63
|
deps: [node82, Global.node, node84, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service16, node19, exports_strategies };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-k56ehqzw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service71,
|
|
8
|
+
node75
|
|
9
|
+
} from "./session-xddt9av0.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-vr0ngtxe.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event15,
|
|
35
|
+
ID: () => ID9,
|
|
36
|
+
Info: () => Info24,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service63,
|
|
44
|
+
node: () => node66
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event15 } from "@opencode/schema/integration";
|
|
66
|
+
var ID9 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info24 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID9,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service63 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
108
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service71;
|
|
110
110
|
const bus = yield* Service81;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
200
200
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
201
201
|
return [...credentials, ...env];
|
|
202
202
|
};
|
|
203
|
-
const project = (entry, connections) =>
|
|
203
|
+
const project = (entry, connections) => Info24.make({
|
|
204
204
|
id: entry.ref.id,
|
|
205
205
|
name: entry.ref.name,
|
|
206
206
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
284
284
|
const persistence = yield* createCredential({
|
|
285
285
|
integrationID: attempt.integrationID,
|
|
286
286
|
label: attempt.label,
|
|
287
|
-
value:
|
|
287
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
288
288
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
289
289
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
290
290
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
430
430
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
431
431
|
return CommandAttempt2.make({ attemptID, time });
|
|
432
432
|
});
|
|
433
|
-
return
|
|
433
|
+
return Service63.of({
|
|
434
434
|
transform: state.transform,
|
|
435
435
|
reload: state.reload,
|
|
436
436
|
revision: state.revision,
|
|
@@ -452,7 +452,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
452
452
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
453
453
|
if (connection.type === "env") {
|
|
454
454
|
const key = process.env[connection.name];
|
|
455
|
-
return key ?
|
|
455
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
456
456
|
}
|
|
457
457
|
const credential = yield* credentials.get(connection.id);
|
|
458
458
|
if (!credential)
|
|
@@ -485,7 +485,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
485
485
|
yield* createCredential({
|
|
486
486
|
integrationID: input.integrationID,
|
|
487
487
|
label: input.label,
|
|
488
|
-
value:
|
|
488
|
+
value: Key3.make({
|
|
489
489
|
type: "key",
|
|
490
490
|
key: input.key,
|
|
491
491
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
581
|
}));
|
|
582
|
-
var
|
|
583
|
-
service:
|
|
582
|
+
var node66 = makeLocationNode({
|
|
583
|
+
service: Service63,
|
|
584
584
|
layer,
|
|
585
|
-
deps: [
|
|
585
|
+
deps: [node75, node85, AppProcess.node]
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
export {
|
|
588
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info24, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service63, node66, exports_integration, Event15 };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service81,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./session-k56ehqzw.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service3,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer5,
|
|
17
|
+
node: () => node4
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service3 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service81;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service3.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node4 = makeGlobalNode({ service: Service3, layer: layer5, deps: [node85] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service3, layer5, node4, exports_sdk };
|