@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,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
@@ -8,9 +8,9 @@ __export(exports_app, {
|
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
10
|
configured: () => configured6,
|
|
11
|
-
layer: () =>
|
|
11
|
+
layer: () => layer17,
|
|
12
12
|
make: () => make16,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node44,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer:
|
|
33
|
-
var
|
|
31
|
+
var layer17 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
|
|
33
|
+
var node44 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make16, useragent2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer17, configured6, node44, exports_app };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-eaj1djv9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID3,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service26,
|
|
13
|
+
node30
|
|
14
|
+
} from "./pty-c3grgfa4.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
20
|
var exports_instructions5 = {};
|
|
21
21
|
__export(exports_instructions5, {
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service19,
|
|
23
23
|
SkillInstructions: () => exports_instructions5,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node24
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID3,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,17 +60,17 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service19 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service26;
|
|
67
|
+
return Service19.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
|
-
return
|
|
73
|
+
return make21({
|
|
74
74
|
key: Key4.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node24 = makeLocationNode({ service: Service19, layer, deps: [node30] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service19, node24, exports_instructions5 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-dj2t23y0.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-jwqvw401.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./pty-ckrdk9yx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./pty-0bps82y7.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,55 +20,55 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-wqkncbjv.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service73
|
|
29
|
+
} from "./pty-nttnax9e.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service47
|
|
34
|
+
} from "./pty-0zs7y9px.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service45
|
|
37
|
+
} from "./pty-8n66hw90.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./pty-jtpgvawt.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./pty-f8pbz4jd.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./pty-sfwr2w0j.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./pty-1yd1r7d9.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./pty-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service79;
|
|
67
67
|
const database = yield* Service80;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service73;
|
|
69
|
+
const instances = yield* Service49;
|
|
70
|
+
const execution = yield* Service45;
|
|
71
|
+
const admission = yield* Service47;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -127,7 +127,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
127
127
|
});
|
|
128
128
|
if (existing)
|
|
129
129
|
return existing;
|
|
130
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
130
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service49, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
131
131
|
if (session.revert)
|
|
132
132
|
yield* commit2(bus, session);
|
|
133
133
|
return yield* admission.admit({
|
|
@@ -143,7 +143,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
143
143
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
144
144
|
const session = yield* get(sessionID);
|
|
145
145
|
const running = yield* Effect.gen(function* () {
|
|
146
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
146
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service49, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
147
147
|
text: `User shell command failed to start:
|
|
148
148
|
${input.command}
|
|
149
149
|
|
|
@@ -172,7 +172,7 @@ ${error.message}`,
|
|
|
172
172
|
});
|
|
173
173
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
174
174
|
const session = yield* get(sessionID);
|
|
175
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
175
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service49, instances));
|
|
176
176
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
177
177
|
sessionID,
|
|
178
178
|
id: skill.id,
|
|
@@ -229,13 +229,13 @@ ${error.message}`,
|
|
|
229
229
|
const session = yield* get(sessionID);
|
|
230
230
|
if (yield* execution.isActive(sessionID))
|
|
231
231
|
return yield* new BusyError2({ sessionID });
|
|
232
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
232
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
|
|
233
233
|
});
|
|
234
234
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
235
235
|
const session = yield* get(sessionID);
|
|
236
236
|
if (yield* execution.isActive(sessionID))
|
|
237
237
|
return yield* new BusyError2({ sessionID });
|
|
238
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
238
|
+
yield* clear2(session).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service79, bus));
|
|
239
239
|
return yield* execution.wake(sessionID);
|
|
240
240
|
});
|
|
241
241
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -315,4 +315,4 @@ ${error.message}`,
|
|
|
315
315
|
return { forSession };
|
|
316
316
|
});
|
|
317
317
|
|
|
318
|
-
export {
|
|
318
|
+
export { make12, exports_session2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./pty-0sw24r53.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service16,
|
|
19
|
+
node: () => node21
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service16 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service76;
|
|
29
|
+
return Service16.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make21({
|
|
32
32
|
key: Key4.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
@@ -49,7 +49,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
52
|
+
make21({
|
|
53
53
|
key: Key4.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node21 = makeLocationNode({ service: Service16, layer, deps: [Global.node, node81] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service16, node21, exports_builtins };
|
|
@@ -1,13 +1,13 @@
|
|
|
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
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_agent4, {
|
|
|
18
18
|
ID: () => ID15,
|
|
19
19
|
Info: () => Info29,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service74,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node79
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -36,10 +36,10 @@ var defaultID2 = ID15.make("build");
|
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
37
|
var Info29 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service74 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service74.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node79 = makeLocationNode({ service: Service74, layer, deps: [node84, Global.node] });
|
|
120
120
|
|
|
121
|
-
export { ID15, Name3, defaultID2, Color2, Info29,
|
|
121
|
+
export { ID15, Name3, defaultID2, Color2, Info29, Service74, node79, exports_agent4, Event19 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service43,
|
|
3
|
+
node48
|
|
4
|
+
} from "./pty-8n7wwas9.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service17,
|
|
20
|
+
node: () => node22
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service17 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service43;
|
|
64
|
+
return Service17.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make21({
|
|
72
72
|
key: Key4.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node22 = makeLocationNode({ service: Service17, layer, deps: [node48] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service17, node22, exports_instructions2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./pty-0sw24r53.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./pty-qhgcdxv6.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service58
|
|
16
|
+
} from "./pty-yme990fg.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-25xantg0.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service71
|
|
26
|
+
} from "./pty-s198arwq.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service70
|
|
29
|
+
} from "./pty-evwc8rkj.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./pty-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input7,
|
|
39
39
|
Output: () => Output6,
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
40
|
+
Plugin: () => Plugin39,
|
|
41
|
+
name: () => name7,
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name7 = "grep";
|
|
48
|
+
var Input7 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -66,7 +66,7 @@ var Input10 = Schema.Struct({
|
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
68
|
var Output6 = Schema.Array(Match2);
|
|
69
|
-
var
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin39 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service59;
|
|
90
|
+
const ripgrep = yield* Service58;
|
|
91
|
+
const location = yield* Service76;
|
|
92
|
+
const access = yield* Service70;
|
|
93
|
+
const permission = yield* Service71;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name7,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
98
|
+
input: Input7,
|
|
99
99
|
output: Output6,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name7,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin42 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent4(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin42 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name7, Input7, Output6, toModelContent4, Plugin39, exports_grep };
|