@opencode/core 0.0.0-beta-19398 → 0.0.0-beta-19422
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 +73 -73
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/catalog.js +81 -81
- package/dist/chunks/{location-mutation-m5erp1k4.js → pty-074gn8c1.js} +2 -2
- package/dist/chunks/{location-mutation-zjccgr9f.js → pty-0996nyz8.js} +9 -9
- package/dist/chunks/{location-mutation-t5dz2dvd.js → pty-09ms4exh.js} +26 -26
- package/dist/chunks/{location-mutation-cyznyexp.js → pty-0a1gtahz.js} +38 -38
- package/dist/chunks/{location-mutation-m46exch3.js → pty-0bps82y7.js} +6 -6
- package/dist/chunks/{location-mutation-hrf55331.js → pty-0cgfpp4r.js} +10 -10
- package/dist/chunks/{location-mutation-p0kdf59p.js → pty-0dydqtd7.js} +22 -22
- package/dist/chunks/{location-mutation-g63tzfz2.js → pty-0egdkte1.js} +84 -84
- package/dist/chunks/{location-mutation-rd25f8yh.js → pty-0gvt7rgj.js} +8 -8
- package/dist/chunks/{location-mutation-ghv39z3q.js → pty-0jqc4bxs.js} +6 -6
- package/dist/chunks/{location-mutation-ey5r276z.js → pty-0mak23yj.js} +24 -24
- package/dist/chunks/{location-mutation-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-mutation-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-mutation-1zk7d5w4.js → pty-0q0rgwg5.js} +13 -13
- package/dist/chunks/{location-mutation-gkm5mcy5.js → pty-0s7p0jdy.js} +32 -32
- package/dist/chunks/{location-mutation-ps2ghfx6.js → pty-0sw24r53.js} +16 -16
- package/dist/chunks/{location-mutation-q9hbvwne.js → pty-0zs7y9px.js} +25 -25
- package/dist/chunks/{location-mutation-fvscxbve.js → pty-10a65abh.js} +4 -4
- package/dist/chunks/{location-mutation-za4kfshb.js → pty-118zhgj2.js} +41 -41
- package/dist/chunks/{location-mutation-1acjjqhc.js → pty-1acjjqhc.js} +1 -1
- package/dist/chunks/{location-mutation-mhkvc446.js → pty-1bbkgx8g.js} +3 -3
- package/dist/chunks/{location-mutation-vnaah6bw.js → pty-1cept2jt.js} +35 -35
- package/dist/chunks/{location-mutation-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-mutation-1eyaby9q.js → pty-1eyaby9q.js} +2 -2
- package/dist/chunks/{location-mutation-tpw3wqby.js → pty-1hptgsqz.js} +8 -8
- package/dist/chunks/{location-mutation-p4nzc36k.js → pty-1hvj6sc5.js} +22 -22
- package/dist/chunks/{location-mutation-8vv3zxpc.js → pty-1j4evvde.js} +20 -20
- package/dist/chunks/{location-mutation-rdg9mn3e.js → pty-1p5bxmfk.js} +17 -17
- package/dist/chunks/{location-mutation-52r26j8c.js → pty-1pqaee8n.js} +14 -14
- package/dist/chunks/{location-mutation-3v97kze0.js → pty-1syfdjz1.js} +36 -36
- package/dist/chunks/{location-mutation-gyqj5dqq.js → pty-1vccm05t.js} +34 -34
- package/dist/chunks/{location-mutation-trqnt801.js → pty-1yd1r7d9.js} +9 -9
- package/dist/chunks/{location-mutation-mfqp6xfm.js → pty-1ygqh575.js} +6 -6
- package/dist/chunks/{location-mutation-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{location-mutation-1f01g00k.js → pty-21rtx38p.js} +37 -37
- package/dist/chunks/{location-mutation-6h73sxmp.js → pty-2402vzrj.js} +5 -5
- package/dist/chunks/{location-mutation-326n6wzt.js → pty-24p38q2n.js} +4 -4
- package/dist/chunks/{location-mutation-26xsg9sg.js → pty-25xantg0.js} +21 -21
- package/dist/chunks/{location-mutation-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-mutation-7wdjtyr9.js → pty-2f04pwep.js} +3 -3
- package/dist/chunks/{location-mutation-fxqygnfa.js → pty-2tfmgkzg.js} +4 -4
- package/dist/chunks/{location-mutation-8y31xnqm.js → pty-2vgzs72b.js} +5 -5
- package/dist/chunks/{location-mutation-y871meh9.js → pty-36mqef8b.js} +14 -14
- package/dist/chunks/{location-mutation-zm48185g.js → pty-3806s53b.js} +34 -34
- package/dist/chunks/{location-mutation-1sm8r3sx.js → pty-3ez202fs.js} +86 -86
- package/dist/chunks/{location-mutation-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-mutation-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-mutation-bzx4zv3s.js → pty-3re90bff.js} +23 -23
- package/dist/chunks/{location-mutation-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-mutation-0mbwctnz.js → pty-3t5j4r89.js} +3 -3
- package/dist/chunks/{location-mutation-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-mutation-sd5675wn.js → pty-3yjn18yr.js} +40 -47
- package/dist/chunks/{location-mutation-s0hza5ac.js → pty-3ythc6yv.js} +4 -4
- package/dist/chunks/{location-mutation-cnymy2f0.js → pty-40t0jw83.js} +165 -165
- package/dist/chunks/{location-mutation-k52252t7.js → pty-46x4mgr1.js} +4 -4
- package/dist/chunks/{location-mutation-bs9q8pck.js → pty-47rhjnbj.js} +8 -8
- package/dist/chunks/{location-mutation-aggs0gse.js → pty-4bx7125q.js} +22 -22
- package/dist/chunks/{location-mutation-wtvz3wcx.js → pty-4g19d5n9.js} +7 -7
- package/dist/chunks/{location-mutation-27hkvsk8.js → pty-4hs31730.js} +7 -7
- package/dist/chunks/{location-mutation-m2s78sav.js → pty-4kwjx591.js} +15 -15
- package/dist/chunks/{location-mutation-er8gb86w.js → pty-4p6varyr.js} +26 -26
- package/dist/chunks/{location-mutation-qx1qep3t.js → pty-4vfmzcq2.js} +4 -4
- package/dist/chunks/{location-mutation-x09zjz10.js → pty-4x28bm1w.js} +17 -17
- package/dist/chunks/{location-mutation-3ft82nyq.js → pty-520ygn4x.js} +4 -4
- package/dist/chunks/{location-mutation-y6bqj6hh.js → pty-5bdfnctw.js} +3 -3
- package/dist/chunks/{location-mutation-a1bz86dw.js → pty-5c4hm403.js} +3 -3
- package/dist/chunks/{location-mutation-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{location-mutation-mmxv3gw3.js → pty-5en82wpx.js} +12 -12
- package/dist/chunks/{location-mutation-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-mutation-nz1x447f.js → pty-5wtnxghh.js} +6 -6
- package/dist/chunks/{location-mutation-p1n7jv0z.js → pty-5xtr5t3c.js} +9 -9
- package/dist/chunks/{location-mutation-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{location-mutation-hzee8rjr.js → pty-697x4nhd.js} +9 -9
- package/dist/chunks/{location-mutation-cw3cq2se.js → pty-69az8s64.js} +17 -17
- package/dist/chunks/{location-mutation-hds58mhb.js → pty-6f93rc7r.js} +2 -2
- package/dist/chunks/{location-mutation-dgemy49w.js → pty-6kpj1tx7.js} +20 -20
- package/dist/chunks/{location-mutation-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-mutation-b2jx7zxs.js → pty-710w2ech.js} +1 -1
- package/dist/chunks/{location-mutation-4jhgwcfy.js → pty-71amxv98.js} +37 -37
- package/dist/chunks/{location-mutation-71q4at8m.js → pty-71q4at8m.js} +1 -1
- package/dist/chunks/{location-mutation-19hac7dy.js → pty-74b9qssb.js} +23 -23
- package/dist/chunks/{location-mutation-t61n1tw8.js → pty-7axzvjgy.js} +19 -19
- package/dist/chunks/{location-mutation-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-mutation-fcrkznn8.js → pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-mutation-w7fytw90.js → pty-7j3yyt51.js} +19 -19
- package/dist/chunks/{location-mutation-z1z2vb6z.js → pty-7xwree33.js} +11 -11
- package/dist/chunks/{location-mutation-a2ew8a62.js → pty-806j49yq.js} +4 -4
- package/dist/chunks/{location-mutation-kvgx6hxn.js → pty-80kf8gxa.js} +18 -18
- package/dist/chunks/{location-mutation-rsym84ch.js → pty-81swgkk7.js} +7 -7
- package/dist/chunks/{location-mutation-981wd75n.js → pty-89av3hdm.js} +23 -23
- package/dist/chunks/{location-mutation-51qfk2sn.js → pty-8adgct9d.js} +5 -5
- package/dist/chunks/{location-mutation-m75h0q20.js → pty-8c67r9ne.js} +18 -18
- package/dist/chunks/{location-mutation-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-mutation-8hmgw1ak.js → pty-8hmgw1ak.js} +1 -1
- package/dist/chunks/{location-mutation-ehntj2pc.js → pty-8n66hw90.js} +39 -39
- package/dist/chunks/{location-mutation-8ga6zesv.js → pty-8n7wwas9.js} +29 -29
- package/dist/chunks/{location-mutation-q1c4k7jk.js → pty-8qk9tw02.js} +1 -1
- package/dist/chunks/{location-mutation-t8wk4avw.js → pty-8xttkpaf.js} +9 -9
- package/dist/chunks/{location-mutation-v271ywhn.js → pty-98hm5tys.js} +53 -53
- package/dist/chunks/{location-mutation-5sz580sy.js → pty-9b10rcng.js} +22 -22
- package/dist/chunks/{location-mutation-jtp7wgq3.js → pty-9qn3qky1.js} +6 -6
- package/dist/chunks/{location-mutation-vhsk3ep2.js → pty-9qzqnsj5.js} +16 -16
- package/dist/chunks/{location-mutation-p1wf2k30.js → pty-a5gt7g2r.js} +9 -9
- package/dist/chunks/{location-mutation-xsdh20fb.js → pty-a9ab9jmj.js} +5 -5
- package/dist/chunks/{location-mutation-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{location-mutation-8k159x2e.js → pty-ayp837g2.js} +24 -24
- package/dist/chunks/{location-mutation-r5rdn9gc.js → pty-b0anzbtp.js} +17 -16
- package/dist/chunks/{location-mutation-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mutation-pjedbq3k.js → pty-bdqrk2vk.js} +4 -4
- package/dist/chunks/{location-mutation-6qxca1fz.js → pty-bkj6dszq.js} +22 -22
- package/dist/chunks/{location-mutation-9b5secnr.js → pty-bmn9pzgf.js} +8 -8
- package/dist/chunks/{location-mutation-rm353m6a.js → pty-c2wghy26.js} +11 -11
- package/dist/chunks/{location-mutation-avcnr8ja.js → pty-c3grgfa4.js} +26 -26
- package/dist/chunks/{location-mutation-whvneb9k.js → pty-c4rpq3bt.js} +3 -3
- package/dist/chunks/{location-mutation-cfyxn8mg.js → pty-cff1m34y.js} +9 -9
- package/dist/chunks/{location-mutation-sedkckjb.js → pty-ckrdk9yx.js} +12 -12
- package/dist/chunks/{location-mutation-5ecgp29h.js → pty-cq2rc4ba.js} +12 -12
- package/dist/chunks/{location-mutation-510m7gjw.js → pty-d1khqved.js} +5 -5
- package/dist/chunks/{location-mutation-ka2k270b.js → pty-dc76j9wz.js} +8 -8
- package/dist/chunks/{location-mutation-ea47fqf8.js → pty-dda9r64d.js} +27 -27
- package/dist/chunks/{location-mutation-zcrspsvn.js → pty-dhmh7aw6.js} +4 -4
- package/dist/chunks/{location-mutation-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-mutation-844ef7ks.js → pty-dv1qgsyq.js} +8 -8
- package/dist/chunks/{location-mutation-xn33xk03.js → pty-e1vr1ezn.js} +8 -8
- package/dist/chunks/{location-mutation-ydnbdpr3.js → pty-e6shh598.js} +22 -22
- package/dist/chunks/{location-mutation-p44d8wdy.js → pty-ead3g9p8.js} +5 -5
- package/dist/chunks/{location-mutation-02nrjc1r.js → pty-eaj1djv9.js} +4 -4
- package/dist/chunks/{location-mutation-tryp60pv.js → pty-edbbhmy9.js} +4 -4
- package/dist/chunks/{location-mutation-82sjhv5t.js → pty-egz44y69.js} +12 -12
- package/dist/chunks/{location-mutation-nzt9a98p.js → pty-ek89c1t4.js} +15 -15
- package/dist/chunks/{location-mutation-p14yjxpe.js → pty-esam66tc.js} +12 -12
- package/dist/chunks/{location-mutation-01qzhqb7.js → pty-esy06pf9.js} +43 -43
- package/dist/chunks/{location-mutation-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-mutation-kqg17zeb.js → pty-evwc8rkj.js} +18 -18
- package/dist/chunks/{location-mutation-r17fvq36.js → pty-f37g46dm.js} +31 -31
- package/dist/chunks/{location-mutation-1nx36s23.js → pty-f40p4esb.js} +25 -25
- package/dist/chunks/pty-f4wpvzrh.js +247 -0
- package/dist/chunks/{location-mutation-c1rv2yct.js → pty-f8pbz4jd.js} +23 -23
- package/dist/chunks/{location-mutation-8kwzm53y.js → pty-f9adwtm7.js} +4 -4
- package/dist/chunks/{location-mutation-7ybwwvvx.js → pty-fa0cr6zp.js} +3 -3
- package/dist/chunks/{location-mutation-rstnkd3y.js → pty-ffx4mq6v.js} +1 -1
- package/dist/chunks/{location-mutation-h7ygw6q4.js → pty-fhs97t90.js} +9 -9
- package/dist/chunks/{location-mutation-9nhtjm7a.js → pty-fmkfbeq2.js} +30 -30
- package/dist/chunks/{location-mutation-12fsa0de.js → pty-fnaehh3j.js} +46 -46
- package/dist/chunks/{location-mutation-0gaj4617.js → pty-fvanntqq.js} +4 -4
- package/dist/chunks/{location-mutation-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/pty-fy0kqqt2.js +22 -0
- package/dist/chunks/{location-mutation-yvvy1a1h.js → pty-g0eh8qf4.js} +15 -15
- package/dist/chunks/{location-mutation-bta0jsnn.js → pty-g5pz3fvh.js} +26 -26
- package/dist/chunks/{location-mutation-hhb7sktp.js → pty-gad8dwyr.js} +14 -14
- package/dist/chunks/{location-mutation-6ds839xg.js → pty-gbaa2wnh.js} +28 -28
- package/dist/chunks/{location-mutation-kqaz0ej3.js → pty-gc1qnngx.js} +1 -1
- package/dist/chunks/{location-mutation-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-mutation-zerdtc7d.js → pty-gj9xpvv3.js} +2 -2
- package/dist/chunks/{location-mutation-ttrnch24.js → pty-gs60z27v.js} +7 -7
- package/dist/chunks/{location-mutation-ppxehy7v.js → pty-gswf14xw.js} +17 -17
- package/dist/chunks/{location-mutation-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-mutation-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
- package/dist/chunks/pty-h47he10w.js +4 -0
- package/dist/chunks/{location-mutation-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-mutation-f828m53h.js → pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-mutation-dk6r9dar.js → pty-hhcdszkw.js} +33 -33
- package/dist/chunks/{location-mutation-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{location-mutation-j0mn1je3.js → pty-jct9c584.js} +16 -16
- package/dist/chunks/{location-mutation-pnhga6ht.js → pty-jdnfkhzv.js} +13 -13
- package/dist/chunks/{location-mutation-yed0t1d5.js → pty-jfpr744w.js} +18 -18
- package/dist/chunks/{location-mutation-wc0kbtjh.js → pty-jjcsnrt3.js} +32 -32
- package/dist/chunks/{location-mutation-9crejs1k.js → pty-jtpgvawt.js} +16 -16
- package/dist/chunks/{location-mutation-6nf03a2p.js → pty-jwjk5r35.js} +6 -6
- package/dist/chunks/{location-mutation-m512vzfg.js → pty-jwqvw401.js} +3 -3
- package/dist/chunks/{location-mutation-rmdyxgmk.js → pty-jypjtz10.js} +8 -8
- package/dist/chunks/{location-mutation-ds2mmwsg.js → pty-k0nnq3t9.js} +6 -6
- package/dist/chunks/{location-mutation-r6hbbyz4.js → pty-k5wm7z2v.js} +15 -15
- package/dist/chunks/{location-mutation-7358hqzw.js → pty-ka7qgscn.js} +5 -5
- package/dist/chunks/{location-mutation-wvx0h6x9.js → pty-kbm5dhv8.js} +19 -19
- package/dist/chunks/{location-mutation-kg06axw8.js → pty-kg06axw8.js} +1 -1
- package/dist/chunks/{location-mutation-b5efxae6.js → pty-kh3ehkc0.js} +4 -4
- package/dist/chunks/{location-mutation-t768js4p.js → pty-kh47ysn5.js} +8 -8
- package/dist/chunks/{location-mutation-6mv28wt3.js → pty-kpg3dnpr.js} +20 -20
- package/dist/chunks/{location-mutation-88x5955g.js → pty-ks2km4ey.js} +32 -32
- package/dist/chunks/{location-mutation-2c2zxp3e.js → pty-kvnd5f0t.js} +8 -8
- package/dist/chunks/{location-mutation-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-mutation-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-mutation-zx352kk7.js → pty-md7n9knh.js} +22 -22
- package/dist/chunks/{location-mutation-hhmedmrs.js → pty-mkar22rr.js} +37 -37
- package/dist/chunks/{location-mutation-mkcjrzeh.js → pty-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-mutation-dcqbhrtj.js → pty-mzz8vzet.js} +15 -15
- package/dist/chunks/{location-mutation-hjt4xg1x.js → pty-nhy5jxhy.js} +4 -4
- package/dist/chunks/{location-mutation-k8756053.js → pty-ntqw7r1f.js} +10 -10
- package/dist/chunks/{location-mutation-0xtb2bpj.js → pty-nttnax9e.js} +15 -16
- package/dist/chunks/{location-mutation-t8r3ep1g.js → pty-p0cja4mf.js} +5 -5
- package/dist/chunks/{location-mutation-zf5mq5hd.js → pty-p5270nfw.js} +5 -5
- package/dist/chunks/{location-mutation-rk7m7srh.js → pty-p5czsp41.js} +6 -6
- package/dist/chunks/{location-mutation-tregh9zc.js → pty-p72z5xx6.js} +2 -2
- package/dist/chunks/{location-mutation-csw82taa.js → pty-pbc3mjh9.js} +50 -50
- package/dist/chunks/{location-mutation-kw1gmdxk.js → pty-pjdb2e90.js} +35 -35
- package/dist/chunks/{location-mutation-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-mutation-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{location-mutation-rtvpdrsv.js → pty-pqk2nt5r.js} +8 -8
- package/dist/chunks/{location-mutation-knva4kt0.js → pty-pvmn2x7n.js} +8 -8
- package/dist/chunks/pty-q509s3k3.js +18 -0
- package/dist/chunks/{location-mutation-tkfj7zmc.js → pty-q94b1st6.js} +9 -9
- package/dist/chunks/{location-mutation-7tms9jw2.js → pty-qads99dt.js} +10 -10
- package/dist/chunks/{location-mutation-mtk4wbwh.js → pty-qajrhsjs.js} +17 -17
- package/dist/chunks/{location-mutation-vyjfqv4t.js → pty-qbmqvd4g.js} +18 -18
- package/dist/chunks/{location-mutation-wvt7g9ep.js → pty-qhgcdxv6.js} +24 -24
- package/dist/chunks/{location-mutation-8n1yswe0.js → pty-qppnhhc2.js} +14 -14
- package/dist/chunks/{location-mutation-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{location-mutation-sb3d3j8p.js → pty-qvdq40c0.js} +7 -7
- package/dist/chunks/{location-mutation-57f52h2e.js → pty-qvmkbn54.js} +6 -6
- package/dist/chunks/{location-mutation-0v53mg2y.js → pty-r98e92ep.js} +4 -4
- package/dist/chunks/{location-mutation-w79zsp0s.js → pty-rfnzy394.js} +1 -1
- package/dist/chunks/{location-mutation-3dv89ket.js → pty-rj7dx2h5.js} +9 -9
- package/dist/chunks/{location-mutation-mhn5tcby.js → pty-ry3m58dy.js} +11 -11
- package/dist/chunks/{location-mutation-n9sdwvwy.js → pty-s198arwq.js} +35 -35
- package/dist/chunks/{location-mutation-y2ccry63.js → pty-s5xwk3mk.js} +13 -13
- package/dist/chunks/{location-mutation-380vjcmd.js → pty-s7xtjryh.js} +1 -1
- package/dist/chunks/{location-mutation-nwwfgs0n.js → pty-s8s1e1cz.js} +27 -25
- package/dist/chunks/{location-mutation-qk64x1h5.js → pty-seak0fhn.js} +11 -11
- package/dist/chunks/{location-mutation-5t94bsj9.js → pty-sfvqjyek.js} +6 -6
- package/dist/chunks/{location-mutation-tj1a712e.js → pty-sfwr2w0j.js} +9 -9
- package/dist/chunks/{location-mutation-vyjzrkx0.js → pty-srpeewqc.js} +9 -9
- package/dist/chunks/{location-mutation-xw1r19dr.js → pty-stse86ng.js} +11 -11
- package/dist/chunks/{location-mutation-nydj1emx.js → pty-sw07yjb5.js} +13 -13
- package/dist/chunks/{location-mutation-1scpfsh2.js → pty-t3kscp9x.js} +33 -33
- package/dist/chunks/{location-mutation-r6gw4gsf.js → pty-t7pp6j4t.js} +42 -42
- package/dist/chunks/{location-mutation-3xztec2w.js → pty-t97t2t7r.js} +11 -11
- package/dist/chunks/{location-mutation-kcwf74x3.js → pty-t9e6e84n.js} +1 -1
- package/dist/chunks/{location-mutation-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-mutation-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-mutation-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{location-mutation-3cfzdc8e.js → pty-tn0aqsam.js} +5 -5
- package/dist/chunks/{location-mutation-jtpp2ykg.js → pty-tnznc2wb.js} +25 -25
- package/dist/chunks/{location-mutation-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{location-mutation-gtsm3tea.js → pty-twcs6fsf.js} +9 -9
- package/dist/chunks/{location-mutation-82b3faa1.js → pty-v29tykb6.js} +15 -15
- package/dist/chunks/{location-mutation-mx4qes0k.js → pty-v4gcmn1h.js} +15 -15
- package/dist/chunks/{location-mutation-v7q5x8q4.js → pty-v84jj1d3.js} +35 -35
- package/dist/chunks/{location-mutation-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{location-mutation-0tpcnmcw.js → pty-vnnhbf40.js} +6 -6
- package/dist/chunks/{location-mutation-xmsvvm95.js → pty-vyy6b7xa.js} +20 -20
- package/dist/chunks/{location-mutation-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-mutation-paegk39x.js → pty-w1k39n5e.js} +4 -4
- package/dist/chunks/{location-mutation-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-mutation-ch56cc6g.js → pty-wagd5xb7.js} +32 -32
- package/dist/chunks/{location-mutation-b83fz2rh.js → pty-wbck336m.js} +9 -9
- package/dist/chunks/{location-mutation-gvcpdg76.js → pty-wcvnc3wq.js} +18 -18
- package/dist/chunks/{location-mutation-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{location-mutation-7yg93r1e.js → pty-wfjxtpcj.js} +24 -24
- package/dist/chunks/{location-mutation-gxw8tk06.js → pty-whr1jkby.js} +18 -18
- package/dist/chunks/{location-mutation-j55g5gc5.js → pty-wk58jv74.js} +10 -10
- package/dist/chunks/{location-mutation-dmpamw93.js → pty-wp4jr60n.js} +5 -5
- package/dist/chunks/{location-mutation-gy8bp4n5.js → pty-wqkncbjv.js} +3 -3
- package/dist/chunks/{location-mutation-fqj9nv8j.js → pty-x0vzmp4x.js} +8 -8
- package/dist/chunks/{location-mutation-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-mutation-x43y2vfs.js → pty-x43y2vfs.js} +2 -2
- package/dist/chunks/{location-mutation-pzpywyfj.js → pty-xay24vqs.js} +38 -38
- package/dist/chunks/{location-mutation-a33f6fh4.js → pty-xhcbj5xc.js} +11 -11
- package/dist/chunks/pty-xz4tz1py.js +462 -0
- package/dist/chunks/{location-mutation-fra1pztx.js → pty-y09ge0g8.js} +11 -11
- package/dist/chunks/{location-mutation-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-mutation-jwcy2c2z.js → pty-y71avatq.js} +4 -4
- package/dist/chunks/{location-mutation-jah5aqqf.js → pty-ydpc6wdy.js} +7 -7
- package/dist/chunks/{location-mutation-cwkw9hxx.js → pty-yhp80jsc.js} +13 -13
- package/dist/chunks/{location-mutation-p6cfp1ja.js → pty-yjq2qjwg.js} +30 -30
- package/dist/chunks/{location-mutation-3ey06gfw.js → pty-yme990fg.js} +14 -14
- package/dist/chunks/{location-mutation-00zne7qa.js → pty-yn742g3f.js} +23 -23
- package/dist/chunks/{location-mutation-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-mutation-yrznvahk.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{location-mutation-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-mutation-1z2mvqeh.js → pty-z0wxwbgt.js} +76 -76
- package/dist/chunks/{location-mutation-36ch212h.js → pty-z3pg8v1h.js} +8 -8
- package/dist/chunks/{location-mutation-z63w68vq.js → pty-z63w68vq.js} +2 -2
- package/dist/chunks/pty-z7by1xyg.js +260 -0
- package/dist/chunks/{location-mutation-sy45pk4d.js → pty-zd1mjem4.js} +9 -9
- package/dist/chunks/{location-mutation-zbqs32x3.js → pty-zdxpjn9v.js} +56 -56
- package/dist/chunks/{location-mutation-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-mutation-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-mutation-gz0k60p5.js → pty-zt549x9j.js} +11 -11
- package/dist/chunks/{location-mutation-4b6bntqd.js → pty-zxgnc9zk.js} +1 -1
- package/dist/chunks/{location-mutation-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +113 -113
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +96 -96
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +87 -87
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +98 -98
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +115 -115
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/session/compaction.d.ts +2 -2
- package/dist/types/session/context.d.ts +1 -1
- package/dist/types/session/model-request.d.ts +18 -37
- package/dist/types/session/runner/step.d.ts +1 -1
- package/dist/types/session/store.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- 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 +4 -4
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +71 -71
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/location-mutation-0mesazry.js +0 -4
- package/dist/chunks/location-mutation-8amm28tb.js +0 -462
- package/dist/chunks/location-mutation-8c4fmeec.js +0 -247
- package/dist/chunks/location-mutation-ht5y0zrb.js +0 -18
- package/dist/chunks/location-mutation-hv8hjp39.js +0 -270
- package/dist/chunks/location-mutation-pv53ra6t.js +0 -22
- /package/dist/chunks/{location-mutation-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-mutation-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-mutation-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-mutation-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-mutation-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-mutation-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-mutation-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-mutation-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-mutation-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-mutation-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{location-mutation-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-mutation-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-mutation-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-mutation-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-mutation-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-mutation-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-mutation-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-mutation-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{location-mutation-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-mutation-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{location-mutation-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-mutation-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-mutation-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{location-mutation-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-mutation-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-mutation-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{location-mutation-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-mutation-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-mutation-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-mutation-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-mutation-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-mutation-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-mutation-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-mutation-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-mutation-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-mutation-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-mutation-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-mutation-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-mutation-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-mutation-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-mutation-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-mutation-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{location-mutation-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-mutation-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-mutation-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-mutation-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-mutation-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-mutation-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-mutation-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-mutation-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-mutation-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-mutation-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-mutation-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-mutation-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-mutation-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{location-mutation-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-mutation-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{location-mutation-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-mutation-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{location-mutation-hrnqkpcd.js → pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-mutation-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-mutation-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-mutation-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-mutation-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-mutation-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mutation-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-mutation-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-mutation-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-mutation-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-mutation-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-mutation-paphc93g.js → pty-paphc93g.js} +0 -0
- /package/dist/chunks/{location-mutation-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-mutation-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-mutation-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-mutation-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-mutation-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-mutation-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-mutation-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-mutation-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-mutation-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-mutation-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-mutation-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-mutation-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-mutation-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-mutation-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-mutation-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-mutation-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{location-mutation-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-mutation-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-mutation-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-mutation-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-mutation-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-9qn3qky1.js";
|
|
6
6
|
|
|
7
7
|
// src/plugin/provider/google-vertex.ts
|
|
8
8
|
import { Effect } from "effect";
|
|
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
39
39
|
for (const item of evt.provider.list()) {
|
|
40
40
|
if (!isAISDK2(item.provider.package))
|
|
41
41
|
continue;
|
|
42
|
-
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id ===
|
|
42
|
+
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID12.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
|
|
43
43
|
continue;
|
|
44
44
|
const project = resolveProject(item.provider.settings ?? {});
|
|
45
45
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
59
|
-
if (evt.model.providerID ===
|
|
59
|
+
if (evt.model.providerID === ID12.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
|
|
60
60
|
evt.options.fetch = authFetch(evt.options.fetch);
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
87
87
|
});
|
|
88
88
|
}));
|
|
89
89
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
90
|
-
if (evt.model.providerID !==
|
|
90
|
+
if (evt.model.providerID !== ID12.googleVertex)
|
|
91
91
|
return;
|
|
92
92
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
93
93
|
}));
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID15,
|
|
3
|
-
Service73
|
|
4
|
-
} from "./location-mutation-pnhga6ht.js";
|
|
5
|
-
import {
|
|
6
3
|
Service74
|
|
7
|
-
} from "./
|
|
4
|
+
} from "./pty-jdnfkhzv.js";
|
|
5
|
+
import {
|
|
6
|
+
Service76
|
|
7
|
+
} from "./pty-0sw24r53.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service64
|
|
10
|
+
} from "./pty-1vccm05t.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service63,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-qajrhsjs.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service13
|
|
17
|
+
} from "./pty-0egdkte1.js";
|
|
18
18
|
import {
|
|
19
19
|
make10
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-pvmn2x7n.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin29
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin29 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service64;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,11 +54,11 @@ var Plugin17 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service76;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
59
|
+
const shell = yield* Service63;
|
|
60
|
+
const sessions = yield* Service13;
|
|
61
|
+
const agents = yield* Service74;
|
|
62
62
|
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin29, exports_command2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gs60z27v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./pty-ckrdk9yx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./pty-f37g46dm.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID6,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-1hvj6sc5.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID12,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-9qn3qky1.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID6.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID6.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service79;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,12 +178,13 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID12.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
185
185
|
evt.model.update(item.provider.id, model.id, (draft) => {
|
|
186
186
|
draft.capabilities.responsesWebsockets = true;
|
|
187
|
+
draft.websocket = true;
|
|
187
188
|
});
|
|
188
189
|
}
|
|
189
190
|
if (!chatgpt)
|
|
@@ -221,9 +222,9 @@ var OpenAIPlugin3 = define({
|
|
|
221
222
|
evt.baseURL = codexBaseURL;
|
|
222
223
|
evt.headers.originator = "opencode";
|
|
223
224
|
evt.headers["session-id"] = evt.sessionID;
|
|
224
|
-
}), { providerID:
|
|
225
|
+
}), { providerID: ID12.openai });
|
|
225
226
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
226
|
-
yield* bus.subscribe(
|
|
227
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
227
228
|
})
|
|
228
229
|
});
|
|
229
230
|
function headers(contentType, app) {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
9
|
Entry: () => Entry3,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info15
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
var Entry3 = Schema.Struct({
|
|
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
|
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export { Entry3,
|
|
21
|
+
export { Entry3, Info15, exports_formatter3 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./pty-ckrdk9yx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./pty-0sw24r53.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service73,
|
|
14
|
+
node78
|
|
15
|
+
} from "./pty-nttnax9e.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service12,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node15
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service12 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service79;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service73;
|
|
41
|
+
const location = yield* Service76;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service12.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node15 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node84, FSUtil.node, node81, node78]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service12, node15, exports_instructions };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-0sw24r53.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service50,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node54
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service50 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service50, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node54 = LayerNode.unbound(Service50, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical3(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service50, node54, canonical3, exports_location_service_map };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gs60z27v.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./pty-f37g46dm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID6,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-1hvj6sc5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID12
|
|
14
|
+
} from "./pty-9qn3qky1.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID12.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID6.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service68;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID6.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./pty-ckrdk9yx.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-s198arwq.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event3,
|
|
21
|
+
ID: () => ID3,
|
|
22
|
+
Info: () => Info4,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service26,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node30,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event3 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info4 = Skill.Info;
|
|
43
|
+
var ID3 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service26 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID3.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID3.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID3.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID3.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service26.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node30 = makeLocationNode({
|
|
112
|
+
service: Service26,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info4, ID3, Name2, available2, toModelOutput3, prepare3, Service26, node30, exports_skill5, Event3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-fnaehh3j.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gs60z27v.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin4,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin4 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin26 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin26 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint2, Plugin4, exports_parallel };
|