@opencode/core 0.0.0-dev-20317 → 0.0.0-dev-20318
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{file-mutation-5yz7xas9.js → pty-03c3mj7d.js} +10 -10
- package/dist/chunks/{file-mutation-xqcx71xb.js → pty-0ezaj5b7.js} +32 -32
- package/dist/chunks/{file-mutation-6t298p2h.js → pty-0gggs5ty.js} +12 -12
- package/dist/chunks/{file-mutation-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-a2m1fs74.js → pty-0rabspjk.js} +1 -1
- package/dist/chunks/{file-mutation-1j3s8w22.js → pty-0s0y88vc.js} +17 -17
- package/dist/chunks/{file-mutation-xq930m5y.js → pty-11wds091.js} +22 -22
- package/dist/chunks/{file-mutation-wcymzgpk.js → pty-14436fm0.js} +3 -3
- package/dist/chunks/{file-mutation-yp2x3t23.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-mutation-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-r5g918rf.js → pty-1fgh79gw.js} +18 -18
- package/dist/chunks/{file-mutation-ag6syf74.js → pty-1q1npaf2.js} +35 -35
- package/dist/chunks/{file-mutation-ry3her87.js → pty-1s35068b.js} +23 -23
- package/dist/chunks/{file-mutation-cqsb273d.js → pty-1wxgmaf2.js} +55 -55
- package/dist/chunks/{file-mutation-56gdpj1q.js → pty-1ygqh575.js} +9 -9
- package/dist/chunks/{file-mutation-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-7w99qc9d.js → pty-256nx13v.js} +3 -3
- package/dist/chunks/{file-mutation-jxn92pv1.js → pty-2917nqpv.js} +32 -32
- package/dist/chunks/{file-mutation-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-1ce1gjkr.js → pty-2gk02e42.js} +6 -6
- package/dist/chunks/{file-mutation-wez1ajrw.js → pty-2h7nr2dq.js} +7 -7
- package/dist/chunks/{file-mutation-rkdvqggb.js → pty-2hg7qvzt.js} +5 -5
- package/dist/chunks/{file-mutation-y34xv2bc.js → pty-2pkxka52.js} +10 -10
- package/dist/chunks/{file-mutation-6gg229te.js → pty-2yxfa91q.js} +4 -4
- package/dist/chunks/{file-mutation-qnx1cae3.js → pty-30t862yp.js} +27 -27
- package/dist/chunks/{file-mutation-f7cas2m9.js → pty-3155ewe9.js} +5 -5
- package/dist/chunks/{file-mutation-6hg3tsfm.js → pty-325f4v0d.js} +6 -6
- package/dist/chunks/{file-mutation-mjqym6kr.js → pty-3500r4jn.js} +12 -12
- package/dist/chunks/{file-mutation-5mzagth7.js → pty-357ynq7f.js} +4 -4
- package/dist/chunks/{file-mutation-tn0aqsam.js → pty-3cfzdc8e.js} +5 -5
- package/dist/chunks/{file-mutation-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-x6v9ff69.js → pty-3m46hkaz.js} +2 -2
- package/dist/chunks/{file-mutation-3arsr4w4.js → pty-3q71xbme.js} +8 -8
- package/dist/chunks/{file-mutation-drqsxggm.js → pty-3qg3nnba.js} +23 -23
- package/dist/chunks/{file-mutation-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-v4gb911t.js → pty-4e8hyveh.js} +8 -8
- package/dist/chunks/{file-mutation-ahkpgjye.js → pty-4qyq7ysy.js} +11 -11
- package/dist/chunks/{file-mutation-3nxb9rvh.js → pty-4sn99hha.js} +9 -9
- package/dist/chunks/{file-mutation-t51qk8jz.js → pty-50mzsvk4.js} +21 -21
- package/dist/chunks/{file-mutation-54ma36ye.js → pty-54ma36ye.js} +1 -1
- package/dist/chunks/{file-mutation-hv7mkmtw.js → pty-56m60q16.js} +8 -8
- package/dist/chunks/{file-mutation-aspx9532.js → pty-5c3sm4vt.js} +27 -27
- package/dist/chunks/{file-mutation-64mbz47k.js → pty-5cnqx41v.js} +6 -6
- package/dist/chunks/{file-mutation-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-mutation-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-3nktdnhj.js → pty-634gzr1f.js} +23 -23
- package/dist/chunks/{file-mutation-h52fda0c.js → pty-6567567a.js} +17 -17
- package/dist/chunks/{file-mutation-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-9nxw8271.js → pty-6etjtjrs.js} +31 -31
- package/dist/chunks/{file-mutation-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-mp4w3xb3.js → pty-6nkj5wpf.js} +73 -73
- package/dist/chunks/{file-mutation-vhjvzfv4.js → pty-6swcvh2w.js} +31 -31
- package/dist/chunks/{file-mutation-2hr5nhwa.js → pty-703jyx7f.js} +8 -8
- package/dist/chunks/{file-mutation-mvfsc1pv.js → pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{file-mutation-bs4gwx6b.js → pty-78jke5fa.js} +32 -32
- package/dist/chunks/{file-mutation-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-tt4s4s8q.js → pty-7ffjd9nn.js} +13 -13
- package/dist/chunks/{file-mutation-h2k6r1dw.js → pty-7nejhbzv.js} +9 -9
- package/dist/chunks/{file-mutation-kp8a4fhm.js → pty-7ptzzj42.js} +48 -48
- package/dist/chunks/{file-mutation-j49qe88t.js → pty-7rq54f71.js} +28 -28
- package/dist/chunks/{file-mutation-97qcqtmp.js → pty-7tjpr1wg.js} +21 -21
- package/dist/chunks/{file-mutation-40fw65m2.js → pty-83rrd27w.js} +47 -47
- package/dist/chunks/{file-mutation-tcezcvh9.js → pty-89znhe33.js} +4 -4
- package/dist/chunks/{file-mutation-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-4r0vv8rp.js → pty-8g5e2f0w.js} +22 -22
- package/dist/chunks/{file-mutation-h273y0zk.js → pty-8kvav1mw.js} +9 -9
- package/dist/chunks/{file-mutation-c66ced72.js → pty-8paq7gnc.js} +8 -8
- package/dist/chunks/{file-mutation-6e00a2ht.js → pty-8pqaysd2.js} +15 -15
- package/dist/chunks/{file-mutation-m5e49ftz.js → pty-8zm4zhyk.js} +28 -28
- package/dist/chunks/{file-mutation-pb9kg3x1.js → pty-90evrgjx.js} +12 -12
- package/dist/chunks/{file-mutation-gfvb90ym.js → pty-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-mutation-stw2mskd.js → pty-94h3pznz.js} +38 -38
- package/dist/chunks/{file-mutation-xf8ame85.js → pty-9cev0hxa.js} +11 -11
- package/dist/chunks/{file-mutation-7xgv489k.js → pty-9n2j9wwa.js} +19 -19
- package/dist/chunks/{file-mutation-0yt4n5hc.js → pty-9qbzbnrx.js} +3 -3
- package/dist/chunks/{file-mutation-bhnd6jbc.js → pty-9v1cvbjh.js} +13 -13
- package/dist/chunks/{file-mutation-66pjjr98.js → pty-a2wz46gb.js} +24 -24
- package/dist/chunks/{file-mutation-bgc5ggmx.js → pty-a3c7ahw6.js} +4 -4
- package/dist/chunks/{file-mutation-enyc8xn2.js → pty-a8mz3dzk.js} +28 -28
- package/dist/chunks/{file-mutation-am6v6khg.js → pty-a91670k2.js} +26 -26
- package/dist/chunks/{file-mutation-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-ncemd8be.js → pty-aay1zk17.js} +11 -11
- package/dist/chunks/{file-mutation-wx0mbdwc.js → pty-af4h48h1.js} +11 -11
- package/dist/chunks/{file-mutation-6edkmfn9.js → pty-am3jb77f.js} +24 -24
- package/dist/chunks/{file-mutation-hew90mp0.js → pty-aqgw5bb6.js} +28 -28
- package/dist/chunks/{file-mutation-s1vk8abd.js → pty-b3sw95b3.js} +5 -5
- package/dist/chunks/{file-mutation-4nk0fpy7.js → pty-b4tr3200.js} +32 -32
- package/dist/chunks/{file-mutation-m5c90g06.js → pty-b596zvfn.js} +11 -11
- package/dist/chunks/{file-mutation-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-am4z9aae.js → pty-beycjfkd.js} +33 -33
- package/dist/chunks/{file-mutation-wbkyxrgf.js → pty-bgxcxs0p.js} +5 -5
- package/dist/chunks/{file-mutation-qzcncrcf.js → pty-bjj3a5nq.js} +15 -15
- package/dist/chunks/{file-mutation-80b4jn6q.js → pty-bwdamcq2.js} +37 -37
- package/dist/chunks/{file-mutation-xxcmm6w8.js → pty-c58ks3y1.js} +10 -10
- package/dist/chunks/{file-mutation-d4he2qe1.js → pty-c765mh8b.js} +9 -9
- package/dist/chunks/{file-mutation-6gepwcpk.js → pty-ccjxb5pr.js} +185 -185
- package/dist/chunks/{file-mutation-shg5zjww.js → pty-cddhxtfh.js} +19 -19
- package/dist/chunks/{file-mutation-4hwjm9tk.js → pty-cfct8xv3.js} +5 -5
- package/dist/chunks/{file-mutation-54tcyq79.js → pty-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-mutation-sapd4br0.js → pty-cn17vkgn.js} +16 -16
- package/dist/chunks/{file-mutation-v6p67kws.js → pty-d0rt25wb.js} +9 -9
- package/dist/chunks/{file-mutation-sds13m34.js → pty-d8gmv99d.js} +13 -13
- package/dist/chunks/{file-mutation-6qh5a7cm.js → pty-d9n03hwg.js} +46 -46
- package/dist/chunks/{file-mutation-cm62f9mw.js → pty-dbgdcep4.js} +18 -18
- package/dist/chunks/{file-mutation-t0avyhks.js → pty-dcey28wr.js} +20 -20
- package/dist/chunks/{file-mutation-n54s188w.js → pty-dcfrr12t.js} +39 -39
- package/dist/chunks/{file-mutation-gzncnxwb.js → pty-de077sac.js} +11 -11
- package/dist/chunks/{file-mutation-4eq8w0dz.js → pty-de52ckkz.js} +4 -4
- package/dist/chunks/{file-mutation-bazjz6tt.js → pty-dmv2xfrr.js} +11 -11
- package/dist/chunks/{file-mutation-kgtr5kgz.js → pty-dvyvddm3.js} +27 -27
- package/dist/chunks/{file-mutation-2c4k1w8p.js → pty-e0j2qvqa.js} +25 -25
- package/dist/chunks/{file-mutation-2yap4c42.js → pty-e1717p4y.js} +17 -17
- package/dist/chunks/{file-mutation-958zgc5t.js → pty-e3dkwfpd.js} +4 -4
- package/dist/chunks/{file-mutation-b04b8x2j.js → pty-e6qckmx8.js} +8 -8
- package/dist/chunks/{file-mutation-ewfhazpw.js → pty-ebb8qs7w.js} +6 -6
- package/dist/chunks/{file-mutation-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
- package/dist/chunks/{file-mutation-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-cahsh00e.js → pty-eg7p5t05.js} +5 -5
- package/dist/chunks/{file-mutation-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-5rs2e4ae.js → pty-etqm6ew7.js} +27 -27
- package/dist/chunks/{file-mutation-vynmvp9h.js → pty-f0ftzx98.js} +9 -9
- package/dist/chunks/{file-mutation-3c6wqyb6.js → pty-f50z3byn.js} +18 -18
- package/dist/chunks/{file-mutation-zd30eb5w.js → pty-f62qkzqr.js} +5 -5
- package/dist/chunks/{file-mutation-qvrnhx4y.js → pty-fk7hsds5.js} +35 -35
- package/dist/chunks/{file-mutation-krqvwc4f.js → pty-fme3prkd.js} +5 -5
- package/dist/chunks/{file-mutation-vpj1j15r.js → pty-frj0gj8n.js} +9 -9
- package/dist/chunks/{file-mutation-byx5r1nf.js → pty-fvpy227v.js} +27 -27
- package/dist/chunks/{file-mutation-m66zvs2c.js → pty-fz1xeq2j.js} +9 -9
- package/dist/chunks/{file-mutation-n5wndne1.js → pty-g3ede0c3.js} +28 -28
- package/dist/chunks/{file-mutation-98t95rqs.js → pty-g8nt03wg.js} +4 -4
- package/dist/chunks/{file-mutation-77j67fjn.js → pty-g9me8x3m.js} +58 -58
- package/dist/chunks/{file-mutation-eaj1djv9.js → pty-gbt6w4kb.js} +4 -4
- package/dist/chunks/{file-mutation-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-d3d3msnn.js → pty-gdfekrc1.js} +16 -16
- package/dist/chunks/{file-mutation-909p1r3q.js → pty-ghk9cxjs.js} +6 -6
- package/dist/chunks/{file-mutation-c3n1cp32.js → pty-gj4kh9zb.js} +22 -22
- package/dist/chunks/{file-mutation-kpnprcv1.js → pty-gr4v7nh8.js} +11 -11
- package/dist/chunks/{file-mutation-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-37rhwr93.js → pty-h1gr63pp.js} +43 -43
- package/dist/chunks/{file-mutation-cf7gn0yj.js → pty-h6n6beer.js} +20 -20
- package/dist/chunks/{file-mutation-t5mpbn54.js → pty-h6v00njn.js} +5 -5
- package/dist/chunks/{file-mutation-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-5nrv86h4.js → pty-hc3jgfyg.js} +34 -34
- package/dist/chunks/{file-mutation-z5txp1x4.js → pty-hcgr32kr.js} +13 -13
- package/dist/chunks/{file-mutation-znsx74x0.js → pty-hekxc47r.js} +1 -1
- package/dist/chunks/pty-hm972mn6.js +252 -0
- package/dist/chunks/{file-mutation-dzjy8w6a.js → pty-hydq9jhc.js} +20 -20
- package/dist/chunks/{file-mutation-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-ar8ppt4n.js → pty-jfna3bad.js} +10 -10
- package/dist/chunks/{file-mutation-y2rbnnsy.js → pty-jhn6cv3t.js} +15 -15
- package/dist/chunks/{file-mutation-ba0a1fvg.js → pty-jkgp4bya.js} +24 -24
- package/dist/chunks/{file-mutation-nstt2xrf.js → pty-jm72s75x.js} +20 -20
- package/dist/chunks/{file-mutation-y71avatq.js → pty-jwcy2c2z.js} +4 -4
- package/dist/chunks/{file-mutation-py3kkmfq.js → pty-jws6fkes.js} +8 -8
- package/dist/chunks/{file-mutation-s749x1jp.js → pty-k2ypctgb.js} +15 -15
- package/dist/chunks/{file-mutation-qadgxe9y.js → pty-k6wc7sjx.js} +26 -26
- package/dist/chunks/{file-mutation-9hemy9a5.js → pty-k80936kv.js} +3 -3
- package/dist/chunks/{file-mutation-ttk49waq.js → pty-kc0rwcmg.js} +34 -34
- package/dist/chunks/{file-mutation-q7azfttr.js → pty-kdvzk119.js} +4 -4
- package/dist/chunks/{file-mutation-bqgg56a2.js → pty-kpbhz432.js} +10 -10
- package/dist/chunks/{file-mutation-r4dzbc5a.js → pty-ks3rvccb.js} +17 -17
- package/dist/chunks/{file-mutation-5kqae2td.js → pty-ksnxxryk.js} +23 -23
- package/dist/chunks/{file-mutation-j4g2zvzf.js → pty-ktbx0pdv.js} +38 -38
- package/dist/chunks/{file-mutation-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-snym9n01.js → pty-m79451vn.js} +17 -17
- package/dist/chunks/{file-mutation-nng2ktcm.js → pty-m7va1g8x.js} +2 -2
- package/dist/chunks/{file-mutation-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-gzbkpp9m.js → pty-m9wy7qrr.js} +6 -6
- package/dist/chunks/pty-mbgj3mnw.js +26 -0
- package/dist/chunks/{file-mutation-b0dgvpy7.js → pty-mkw5hrks.js} +9 -9
- package/dist/chunks/{file-mutation-2qg4zkvz.js → pty-mqckkp0h.js} +10 -10
- package/dist/chunks/{file-mutation-xxp5c75e.js → pty-mysz3zax.js} +45 -45
- package/dist/chunks/{file-mutation-mg46656p.js → pty-n0eq19s0.js} +4 -4
- package/dist/chunks/{file-mutation-g9r4tham.js → pty-n485pk79.js} +3 -3
- package/dist/chunks/{file-mutation-2pzcg6zy.js → pty-ne6nw42t.js} +23 -23
- package/dist/chunks/{file-mutation-2atcfb4x.js → pty-nf278a5w.js} +11 -11
- package/dist/chunks/{file-mutation-9k4sympr.js → pty-nv3zfv5m.js} +19 -19
- package/dist/chunks/{file-mutation-fcgr6fpe.js → pty-nxavjaqk.js} +7 -7
- package/dist/chunks/{file-mutation-rb1yyema.js → pty-nxtr8th6.js} +11 -11
- package/dist/chunks/{file-mutation-k3c624dm.js → pty-nzks3jc8.js} +3 -3
- package/dist/chunks/{file-mutation-87jaft4q.js → pty-p482tycy.js} +22 -22
- package/dist/chunks/{file-mutation-7dbwzgk5.js → pty-p6sw6t37.js} +13 -13
- package/dist/chunks/{file-mutation-h9wp8z5w.js → pty-p6wxjpka.js} +4 -4
- package/dist/chunks/{file-mutation-t5srjmkn.js → pty-p7atxmve.js} +36 -36
- package/dist/chunks/{file-mutation-br0tr5aq.js → pty-pa8pe2x7.js} +8 -8
- package/dist/chunks/{file-mutation-3m0rnywy.js → pty-pbfch3ec.js} +11 -11
- package/dist/chunks/{file-mutation-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-67j3xgk5.js → pty-pkpxeptk.js} +93 -93
- package/dist/chunks/{file-mutation-an7cqtb7.js → pty-pmr4s4kc.js} +4 -4
- package/dist/chunks/{file-mutation-pnv527nz.js → pty-pnv527nz.js} +2 -2
- package/dist/chunks/{file-mutation-acq1stk5.js → pty-ppzfs3bq.js} +3 -3
- package/dist/chunks/{file-mutation-k2z2bpyb.js → pty-pr3nsq2d.js} +32 -32
- package/dist/chunks/{file-mutation-qz709pp3.js → pty-pzv6qmsd.js} +16 -16
- package/dist/chunks/{file-mutation-txnk5zrz.js → pty-q7jg25mm.js} +11 -11
- package/dist/chunks/{file-mutation-srb6kc6w.js → pty-qbdw2qyr.js} +14 -14
- package/dist/chunks/{file-mutation-npacb0de.js → pty-qca4j8wz.js} +18 -18
- package/dist/chunks/{file-mutation-z3nvzw5r.js → pty-qf5fgtzs.js} +45 -45
- package/dist/chunks/{file-mutation-2k8khapm.js → pty-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-mutation-gtkq5kdv.js → pty-qgsvmkm8.js} +21 -21
- package/dist/chunks/{file-mutation-xfkkasph.js → pty-qqeeq2t9.js} +7 -7
- package/dist/chunks/{file-mutation-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-1qs5jxd8.js → pty-r2cvksq4.js} +19 -19
- package/dist/chunks/{file-mutation-3qbaz8ss.js → pty-raaksh1t.js} +7 -7
- package/dist/chunks/{file-mutation-4zt21fh0.js → pty-rbrht0p3.js} +11 -11
- package/dist/chunks/{file-mutation-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-ss0awb04.js → pty-rph3zd4r.js} +6 -6
- package/dist/chunks/{file-mutation-jqearavb.js → pty-rzmjh6v0.js} +38 -38
- package/dist/chunks/{file-mutation-frt80p94.js → pty-s3tjp3s7.js} +28 -28
- package/dist/chunks/{file-mutation-yeb3g8kd.js → pty-s41e7rcq.js} +53 -53
- package/dist/chunks/{file-mutation-qqg2th7x.js → pty-s4jk5hcs.js} +323 -323
- package/dist/chunks/{file-mutation-xkhj08b5.js → pty-sbqctm1g.js} +5 -5
- package/dist/chunks/{file-mutation-4pd5ctp7.js → pty-skhecnb2.js} +17 -17
- package/dist/chunks/{file-mutation-xghkepxw.js → pty-srzvg8rp.js} +3 -3
- package/dist/chunks/{file-mutation-tt3k95t3.js → pty-ss0rzm77.js} +23 -23
- package/dist/chunks/{file-mutation-k56bzbcg.js → pty-t5bcrkja.js} +14 -14
- package/dist/chunks/{file-mutation-b27vhd2z.js → pty-t6vsspdg.js} +7 -7
- package/dist/chunks/{file-mutation-b511pycq.js → pty-t7vrx9w9.js} +16 -16
- package/dist/chunks/{file-mutation-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-f13f6cny.js → pty-tcvdrfa5.js} +12 -12
- package/dist/chunks/{file-mutation-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-essjy5q3.js → pty-th2fx4nm.js} +25 -25
- package/dist/chunks/{file-mutation-3b7qszte.js → pty-thzndzdk.js} +11 -11
- package/dist/chunks/{file-mutation-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-jn2kvrv2.js → pty-tw4fgwkc.js} +31 -31
- package/dist/chunks/{file-mutation-zvt5dnpc.js → pty-tz4n1mmd.js} +4 -4
- package/dist/chunks/{file-mutation-gc5ccx6v.js → pty-v09f5ftj.js} +3 -3
- package/dist/chunks/{file-mutation-jg38snma.js → pty-v76zgedn.js} +10 -10
- package/dist/chunks/{file-mutation-k8kd3x6v.js → pty-v979hmqb.js} +29 -29
- package/dist/chunks/{file-mutation-kkp8zx71.js → pty-vbfgae2j.js} +4 -4
- package/dist/chunks/{file-mutation-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-dwh27apr.js → pty-vet0644j.js} +13 -13
- package/dist/chunks/pty-vnkjks7b.js +18 -0
- package/dist/chunks/{file-mutation-qdbfnsyg.js → pty-vtgv0bzx.js} +15 -15
- package/dist/chunks/{file-mutation-nzrpksqv.js → pty-vwf8v7dm.js} +3 -3
- package/dist/chunks/{file-mutation-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-w1eejvng.js → pty-w1eejvng.js} +1 -1
- package/dist/chunks/{file-mutation-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-3jxxch2v.js → pty-w41k9e71.js} +31 -31
- package/dist/chunks/{file-mutation-53vsygtf.js → pty-w4c76nsq.js} +33 -33
- package/dist/chunks/{file-mutation-nxwbgnvg.js → pty-w9n84znz.js} +8 -8
- package/dist/chunks/{file-mutation-psazpmmj.js → pty-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-mutation-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-kt9wpgz0.js → pty-wxxqj8y2.js} +44 -44
- package/dist/chunks/{file-mutation-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-w9khvjrv.js → pty-x4r0j41c.js} +8 -8
- package/dist/chunks/{file-mutation-y5cgb14q.js → pty-x5f3h710.js} +37 -37
- package/dist/chunks/{file-mutation-068serwz.js → pty-x661k3y3.js} +4 -4
- package/dist/chunks/{file-mutation-q7n5hrtn.js → pty-xbzg2b7z.js} +10 -10
- package/dist/chunks/{file-mutation-t8b05y9y.js → pty-xk0yttex.js} +11 -11
- package/dist/chunks/{file-mutation-xkntkrq7.js → pty-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-mutation-44k13xcn.js → pty-xpa1x964.js} +87 -87
- package/dist/chunks/{file-mutation-6tv02psk.js → pty-xpc77ah9.js} +22 -22
- package/dist/chunks/{file-mutation-fc1vxnxc.js → pty-xr4gjzhd.js} +27 -27
- package/dist/chunks/{file-mutation-h6b02349.js → pty-xvp1j2dc.js} +5 -5
- package/dist/chunks/{file-mutation-6hd5cqs1.js → pty-xwrmeaqy.js} +34 -34
- package/dist/chunks/{file-mutation-18pyqb3h.js → pty-xx8yj516.js} +15 -15
- package/dist/chunks/{file-mutation-j8hz64q6.js → pty-xz46ks89.js} +5 -5
- package/dist/chunks/{file-mutation-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-1fm7vbk4.js → pty-y2ab8x41.js} +12 -12
- package/dist/chunks/{file-mutation-p4ghe5eg.js → pty-y38ja4bc.js} +8 -8
- package/dist/chunks/{file-mutation-49w8mb30.js → pty-y3q03scc.js} +11 -11
- package/dist/chunks/{file-mutation-t8cpjbvm.js → pty-ygx1qhaf.js} +1 -1
- package/dist/chunks/{file-mutation-typw0tyn.js → pty-yhmyzjvr.js} +21 -21
- package/dist/chunks/{file-mutation-wh90q83w.js → pty-ymjd80ya.js} +11 -11
- package/dist/chunks/{file-mutation-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-s4enseaf.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-7gvwkz6m.js → pty-yt0fqk68.js} +5 -5
- package/dist/chunks/{file-mutation-yw8t9dwe.js → pty-yw8t9dwe.js} +1 -1
- package/dist/chunks/{file-mutation-bjtzbw4r.js → pty-z07pqspn.js} +3 -3
- package/dist/chunks/{file-mutation-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-29x78va6.js → pty-z63w68vq.js} +6 -6
- package/dist/chunks/{file-mutation-4p8gn76r.js → pty-zdfh86pt.js} +25 -25
- package/dist/chunks/{file-mutation-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-61hacpwr.js → pty-zet84qb7.js} +30 -30
- package/dist/chunks/{file-mutation-axthpvgz.js → pty-zf1kfpxj.js} +11 -11
- package/dist/chunks/{file-mutation-4hm20dka.js → pty-zm0694m6.js} +45 -45
- package/dist/chunks/{file-mutation-vkfhbx9v.js → pty-zpkx8m7q.js} +9 -9
- package/dist/chunks/{file-mutation-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-asw2t9gs.js → pty-zr38cwz4.js} +13 -13
- package/dist/chunks/{file-mutation-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-yvz1hsk0.js → pty-zzh5t8zs.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/file-mutation-8p6pfqwt.js +0 -26
- package/dist/chunks/file-mutation-qg70aggb.js +0 -252
- package/dist/chunks/file-mutation-vsdyktar.js +0 -18
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./pty-tcvdrfa5.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event10,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info18,
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Service: () => Service53,
|
|
21
|
+
layer: () => layer22,
|
|
22
|
+
node: () => node56
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event10 } from "@opencode/schema/command";
|
|
28
|
+
var Info18 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service53 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer22 = Layer.effect(Service53, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service81;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info18.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service53.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer19 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node56 = makeLocationNode({
|
|
75
|
+
service: Service53,
|
|
76
|
+
layer: layer22,
|
|
77
|
+
deps: [node85]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info18, NotFoundError4, ExecutionError2, Service53, layer22, node56, exports_command5, Event10 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-xk0yttex.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./pty-tcvdrfa5.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./pty-w41k9e71.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-tw4fgwkc.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID8,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-1q1npaf2.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
47
47
|
}));
|
|
48
48
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
49
49
|
var browser = (app) => ({
|
|
50
|
-
integrationID:
|
|
50
|
+
integrationID: ID9.make("openai"),
|
|
51
51
|
method: {
|
|
52
52
|
id: browserMethodID,
|
|
53
53
|
type: "oauth",
|
|
@@ -120,7 +120,7 @@ function addressInUse(error) {
|
|
|
120
120
|
return "code" in error && error.code === "EADDRINUSE";
|
|
121
121
|
}
|
|
122
122
|
var headless = (app) => ({
|
|
123
|
-
integrationID:
|
|
123
|
+
integrationID: ID9.make("openai"),
|
|
124
124
|
method: {
|
|
125
125
|
id: headlessMethodID,
|
|
126
126
|
type: "oauth",
|
|
@@ -162,10 +162,10 @@ var headless = (app) => ({
|
|
|
162
162
|
}),
|
|
163
163
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
164
164
|
});
|
|
165
|
-
var
|
|
165
|
+
var OpenAIPlugin3 = define({
|
|
166
166
|
id: "opencode.provider.openai",
|
|
167
167
|
effect: Effect.fn(function* (ctx) {
|
|
168
|
-
const bus = yield*
|
|
168
|
+
const bus = yield* Service81;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
let chatgpt;
|
|
171
171
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -181,7 +181,7 @@ var OpenAIPlugin2 = define({
|
|
|
181
181
|
});
|
|
182
182
|
yield* load();
|
|
183
183
|
yield* ctx.provider.transform((providers) => {
|
|
184
|
-
const item = providers.get(
|
|
184
|
+
const item = providers.get(ID8.openai);
|
|
185
185
|
if (!item)
|
|
186
186
|
return;
|
|
187
187
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -200,7 +200,7 @@ var OpenAIPlugin2 = define({
|
|
|
200
200
|
});
|
|
201
201
|
});
|
|
202
202
|
yield* ctx.model.transform((models) => {
|
|
203
|
-
for (const model of models.list(
|
|
203
|
+
for (const model of models.list(ID8.openai)) {
|
|
204
204
|
models.update(model.providerID, model.id, (draft) => {
|
|
205
205
|
if (!chatgpt)
|
|
206
206
|
return;
|
|
@@ -231,14 +231,14 @@ var OpenAIPlugin2 = define({
|
|
|
231
231
|
}));
|
|
232
232
|
evt.headers.originator = "opencode";
|
|
233
233
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
234
|
-
}), { providerID:
|
|
234
|
+
}), { providerID: ID8.openai });
|
|
235
235
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
236
236
|
delete evt.options.maxTokens;
|
|
237
237
|
});
|
|
238
238
|
for (const name of ["context", "compaction"])
|
|
239
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
239
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID8.openai });
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
function headers(contentType, app) {
|
|
@@ -329,4 +329,4 @@ function claim(token) {
|
|
|
329
329
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./pty-tcvdrfa5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./pty-6567567a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service76,
|
|
11
|
+
node79
|
|
12
|
+
} from "./pty-am3jb77f.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service57,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node60
|
|
20
|
+
} from "./pty-r2cvksq4.js";
|
|
21
21
|
import {
|
|
22
22
|
Service72,
|
|
23
23
|
node75
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-yw8t9dwe.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service31,
|
|
27
|
+
node35
|
|
28
|
+
} from "./pty-703jyx7f.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./pty-256nx13v.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service50,
|
|
35
|
+
node53
|
|
36
|
+
} from "./pty-zm0694m6.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./pty-y2ab8x41.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./pty-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError3,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service30,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node34
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError3 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service30 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
91
|
-
const bus = yield*
|
|
92
|
-
const location = yield*
|
|
90
|
+
var layer = () => Layer.effect(Service30, Effect.gen(function* () {
|
|
91
|
+
const bus = yield* Service81;
|
|
92
|
+
const location = yield* Service78;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
94
|
+
const shell = yield* Service57;
|
|
95
|
+
const environment = yield* Service76;
|
|
96
96
|
const hooks = yield* Service72;
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
97
|
+
const environments = yield* Service31;
|
|
98
|
+
const config = yield* Service50;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError3({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError3({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service30.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node34 = makeLocationNode({
|
|
329
|
+
service: Service30,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
|
-
|
|
333
|
-
|
|
332
|
+
node85,
|
|
333
|
+
node82,
|
|
334
334
|
Global.node,
|
|
335
|
-
|
|
336
|
-
|
|
335
|
+
node60,
|
|
336
|
+
node79,
|
|
337
337
|
node75,
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
node35,
|
|
339
|
+
node53,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError3, RETENTION2, DIRECTORY2, Service30, cleanup2, node34, exports_shell4 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names4,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names4() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names4, paths2, exports_protected };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
+
Service81,
|
|
4
|
+
node85
|
|
5
|
+
} from "./pty-tcvdrfa5.js";
|
|
6
|
+
import {
|
|
3
7
|
Service83,
|
|
4
8
|
node87
|
|
5
|
-
} from "./
|
|
6
|
-
import {
|
|
7
|
-
Service73,
|
|
8
|
-
node76
|
|
9
|
-
} from "./file-mutation-ar8ppt4n.js";
|
|
9
|
+
} from "./pty-jfna3bad.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event9,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service52,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node55,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service52 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event9 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service83;
|
|
81
|
+
const bus = yield* Service81;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event9.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service52.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event9.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event9.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node55 = makeGlobalNode({ service: Service52, layer, deps: [httpClient, node87, node85] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service52, Event9, inspect2, resolve3, node55, exports_wellknown };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./pty-ghk9cxjs.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-vnkjks7b.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-raaksh1t.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service39
|
|
12
|
+
} from "./pty-k6wc7sjx.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service38;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/managed-policy.ts
|
|
6
6
|
var exports_managed_policy = {};
|
|
7
7
|
__export(exports_managed_policy, {
|
|
8
8
|
ManagedPolicy: () => exports_managed_policy,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service58,
|
|
10
|
+
node: () => node61
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service58 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service58, () => {
|
|
18
18
|
const state = { current: { statements: [] } };
|
|
19
|
-
return
|
|
19
|
+
return Service58.of({
|
|
20
20
|
current: () => state.current,
|
|
21
21
|
set: (next) => Effect.sync(() => {
|
|
22
22
|
state.current = next;
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var node61 = makeGlobalNode({ service: Service58, layer, deps: [] });
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { Service58, node61, exports_managed_policy };
|