@opencode/core 0.0.0-dev-19474 → 0.0.0-dev-19482
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{model-resolver-cgjzvrd1.js → shell-04n8fpsx.js} +4 -4
- package/dist/chunks/{model-resolver-hpbp79y9.js → shell-0cy5jdh3.js} +13 -13
- package/dist/chunks/{model-resolver-d7x23225.js → shell-0dyc37yz.js} +38 -38
- package/dist/chunks/{model-resolver-fzg3jfb5.js → shell-0fn5g1dw.js} +32 -32
- package/dist/chunks/{model-resolver-bpjrb39m.js → shell-0gm9s4gg.js} +16 -16
- package/dist/chunks/{model-resolver-awv0a4ej.js → shell-0nmk1nfg.js} +15 -15
- package/dist/chunks/{model-resolver-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-wxkbw7hj.js → shell-0w0gm0da.js} +13 -13
- package/dist/chunks/{model-resolver-xe7kt75t.js → shell-191q2am9.js} +15 -15
- package/dist/chunks/{model-resolver-5ffz19ez.js → shell-1b9za8k8.js} +4 -4
- package/dist/chunks/{model-resolver-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-jma8tnnp.js → shell-1jbxxpzt.js} +13 -13
- package/dist/chunks/{model-resolver-r923tw61.js → shell-1v0k12rn.js} +16 -16
- package/dist/chunks/{model-resolver-sddf70q5.js → shell-1vqdrp7h.js} +30 -30
- package/dist/chunks/{model-resolver-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-0ft9cg2j.js → shell-23pqda6t.js} +4 -4
- package/dist/chunks/{model-resolver-b1ff9g5c.js → shell-23xgc4jt.js} +43 -43
- package/dist/chunks/{model-resolver-2402vzrj.js → shell-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-qeq2as15.js → shell-259cm5a5.js} +10 -10
- package/dist/chunks/{model-resolver-5jtdmvnp.js → shell-29mdqam5.js} +3 -3
- package/dist/chunks/{model-resolver-tgdpgsda.js → shell-29wksdc9.js} +13 -13
- package/dist/chunks/{model-resolver-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-h7ygw6q4.js → shell-2bt6bea8.js} +9 -9
- package/dist/chunks/{model-resolver-2k8khapm.js → shell-2k8khapm.js} +1 -1
- package/dist/chunks/{model-resolver-r8hmb8zk.js → shell-2rkdvd01.js} +9 -9
- package/dist/chunks/{model-resolver-q11vjga9.js → shell-2x9qsqkq.js} +9 -9
- package/dist/chunks/{model-resolver-974632ct.js → shell-31y3jm9t.js} +15 -15
- package/dist/chunks/{model-resolver-e247w57y.js → shell-332whr7y.js} +24 -24
- package/dist/chunks/{model-resolver-bb6zzzcx.js → shell-36cew03x.js} +30 -30
- package/dist/chunks/{model-resolver-5j49wdc0.js → shell-389yrpaj.js} +21 -21
- package/dist/chunks/{model-resolver-mr1m7qeg.js → shell-3anxtp47.js} +53 -53
- package/dist/chunks/{model-resolver-m25txnps.js → shell-3f7mbqst.js} +8 -8
- package/dist/chunks/{model-resolver-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-r7v31dyt.js → shell-3hktcy2m.js} +15 -15
- package/dist/chunks/{model-resolver-01ydd4ra.js → shell-3kq47whm.js} +20 -20
- package/dist/chunks/{model-resolver-ten6cnga.js → shell-3m27cd08.js} +32 -32
- package/dist/chunks/{model-resolver-18cztcj7.js → shell-3rx2nwvc.js} +3 -3
- package/dist/chunks/{model-resolver-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-f3ngv102.js → shell-3t8eac1t.js} +4 -4
- package/dist/chunks/{model-resolver-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-384xx92k.js → shell-42xebk03.js} +20 -20
- package/dist/chunks/{model-resolver-7zv106jr.js → shell-4861qdfa.js} +11 -11
- package/dist/chunks/{model-resolver-7ctecs4h.js → shell-4aebnyy9.js} +11 -11
- package/dist/chunks/{model-resolver-ka6sy1db.js → shell-4q01a3y3.js} +16 -16
- package/dist/chunks/shell-4v7qdvcn.js +18 -0
- package/dist/chunks/{model-resolver-081edkx6.js → shell-4vxtq0ga.js} +19 -19
- package/dist/chunks/{model-resolver-raxz102y.js → shell-4w1d5wb3.js} +14 -14
- package/dist/chunks/{model-resolver-4y66k410.js → shell-4y66k410.js} +2 -2
- package/dist/chunks/{model-resolver-4yg7xpeb.js → shell-512rfa6p.js} +2 -2
- package/dist/chunks/{model-resolver-1ygqh575.js → shell-56gdpj1q.js} +9 -9
- package/dist/chunks/{model-resolver-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-7gjbp4rv.js → shell-5ffkwt1e.js} +22 -22
- package/dist/chunks/{model-resolver-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-pp153bpn.js → shell-5vn45h4e.js} +24 -24
- package/dist/chunks/{model-resolver-6bgtpqqk.js → shell-61jgdnn9.js} +6 -6
- package/dist/chunks/{model-resolver-1cbphejb.js → shell-654qzmht.js} +11 -11
- package/dist/chunks/{model-resolver-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-gch0jwjg.js → shell-672zjrs9.js} +11 -11
- package/dist/chunks/{model-resolver-xsxczyrz.js → shell-6djc8d4v.js} +57 -57
- package/dist/chunks/{model-resolver-bqszwq89.js → shell-6ea2fwcg.js} +6 -6
- package/dist/chunks/{model-resolver-6s4mdh3z.js → shell-6ec7m0j6.js} +28 -28
- package/dist/chunks/{model-resolver-15ss9vvc.js → shell-6j93tkf6.js} +23 -23
- package/dist/chunks/{model-resolver-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-ef26z15c.js → shell-6paxgs6k.js} +9 -9
- package/dist/chunks/{model-resolver-z7kbq8xp.js → shell-6w2332aj.js} +10 -10
- package/dist/chunks/{model-resolver-v1b2z47c.js → shell-715pgvxv.js} +13 -13
- package/dist/chunks/{model-resolver-kzz8qpg6.js → shell-71b9e1h9.js} +17 -17
- package/dist/chunks/{model-resolver-71q4at8m.js → shell-71q4at8m.js} +1 -1
- package/dist/chunks/{model-resolver-ewxn3t1h.js → shell-73n9zkes.js} +11 -11
- package/dist/chunks/{model-resolver-73tb2d7t.js → shell-73tb2d7t.js} +1 -1
- package/dist/chunks/{model-resolver-jypjtz10.js → shell-757464b7.js} +8 -8
- package/dist/chunks/shell-75fbrjyy.js +462 -0
- package/dist/chunks/{model-resolver-hk91r49k.js → shell-7a14zr6p.js} +11 -11
- package/dist/chunks/{model-resolver-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-ter7srct.js → shell-7bsq4hvy.js} +86 -86
- package/dist/chunks/{model-resolver-xf505np6.js → shell-7gtrf76q.js} +20 -20
- package/dist/chunks/{model-resolver-nxhqveyz.js → shell-7gvwkz6m.js} +5 -5
- package/dist/chunks/{model-resolver-2d6j2h4j.js → shell-7ny3kv6n.js} +8 -8
- package/dist/chunks/{model-resolver-gvg5cn6x.js → shell-7x5zvdqa.js} +21 -21
- package/dist/chunks/{model-resolver-938kn445.js → shell-7y5sgbz2.js} +16 -16
- package/dist/chunks/{model-resolver-qkmgaxj3.js → shell-8377ydh1.js} +10 -10
- package/dist/chunks/{model-resolver-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-resolver-5ygf5p0f.js → shell-8wmav03j.js} +5 -5
- package/dist/chunks/{model-resolver-2gx6be01.js → shell-8xy1g1m8.js} +15 -15
- package/dist/chunks/{model-resolver-vxspkmm6.js → shell-938d64v3.js} +6 -6
- package/dist/chunks/{model-resolver-05xfxpq7.js → shell-97h7kfy1.js} +5 -5
- package/dist/chunks/{model-resolver-s61ystkj.js → shell-9cp1yb9s.js} +4 -4
- package/dist/chunks/{model-resolver-904fgqb1.js → shell-9ejs86te.js} +29 -29
- package/dist/chunks/{model-resolver-kxtas730.js → shell-9fgx6pd5.js} +16 -16
- package/dist/chunks/{model-resolver-qmr73083.js → shell-9h3amn4q.js} +1 -1
- package/dist/chunks/{model-resolver-5eqjzb86.js → shell-9wc1evxj.js} +22 -22
- package/dist/chunks/{model-resolver-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-resolver-dsdk9taj.js → shell-a4nqgkt6.js} +2 -2
- package/dist/chunks/{model-resolver-0mvbtnre.js → shell-a4x50hwg.js} +25 -25
- package/dist/chunks/{model-resolver-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-tk010cav.js → shell-adhzpfb7.js} +32 -32
- package/dist/chunks/{model-resolver-80e0yyk8.js → shell-ak72jphr.js} +10 -10
- package/dist/chunks/{model-resolver-hnyxbczk.js → shell-amj36hnk.js} +16 -16
- package/dist/chunks/{model-resolver-7b15y959.js → shell-asmz7wyz.js} +8 -8
- package/dist/chunks/{model-resolver-tdaw2k4j.js → shell-b19dgzvs.js} +1 -1
- package/dist/chunks/{model-resolver-1cjw44t7.js → shell-b1sq7v9m.js} +33 -33
- package/dist/chunks/{model-resolver-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-xhmq8qgk.js → shell-b8b3f19r.js} +9 -9
- package/dist/chunks/{model-resolver-bajakh74.js → shell-bha4atvq.js} +4 -4
- package/dist/chunks/{model-resolver-8k1nt5tz.js → shell-bjke5af1.js} +14 -14
- package/dist/chunks/{model-resolver-z32mnbb1.js → shell-bw668rws.js} +22 -22
- package/dist/chunks/{model-resolver-6mw0j0te.js → shell-bx61q0p6.js} +22 -22
- package/dist/chunks/{model-resolver-nkdjmw8b.js → shell-c156ep7e.js} +11 -11
- package/dist/chunks/{model-resolver-kjk16mqf.js → shell-c255b86t.js} +20 -20
- package/dist/chunks/{model-resolver-a4exdnt3.js → shell-c3w8sn3d.js} +4 -4
- package/dist/chunks/{model-resolver-f9bavhm2.js → shell-cek2cznd.js} +1 -1
- package/dist/chunks/{model-resolver-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-resolver-gph83kaa.js → shell-cjmk82ph.js} +47 -47
- package/dist/chunks/{model-resolver-81swgkk7.js → shell-cntxze1n.js} +9 -9
- package/dist/chunks/{model-resolver-devrjb14.js → shell-csveq9pc.js} +27 -27
- package/dist/chunks/{model-resolver-x2phbg5e.js → shell-cxq7hy6v.js} +22 -22
- package/dist/chunks/{model-resolver-p0pyvfsv.js → shell-d52p5a3y.js} +15 -15
- package/dist/chunks/{model-resolver-x0511brf.js → shell-d8nc1xcx.js} +4 -4
- package/dist/chunks/shell-dad7qjyt.js +22 -0
- package/dist/chunks/{model-resolver-ps9g5bz5.js → shell-dghm81pm.js} +54 -54
- package/dist/chunks/{model-resolver-009h91p9.js → shell-dhtqz3j8.js} +23 -23
- package/dist/chunks/{model-resolver-y71avatq.js → shell-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-fyjrpq2n.js → shell-dya1x8f2.js} +8 -8
- package/dist/chunks/{model-resolver-fnhymeek.js → shell-e119c6wb.js} +4 -4
- package/dist/chunks/{model-resolver-t550f9t1.js → shell-eaj1djv9.js} +8 -8
- package/dist/chunks/{model-resolver-crg5gc3d.js → shell-ekj7r0kp.js} +10 -10
- package/dist/chunks/{model-resolver-k80z9tbh.js → shell-enq4mbeq.js} +25 -25
- package/dist/chunks/{model-resolver-a4dh9d11.js → shell-epxwh5rt.js} +30 -30
- package/dist/chunks/{model-resolver-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-3cfzdc8e.js → shell-evbgk2k8.js} +5 -5
- package/dist/chunks/{model-resolver-qfqvyrqy.js → shell-f0fgzphd.js} +9 -9
- package/dist/chunks/{model-resolver-1acjjqhc.js → shell-f2n192rq.js} +4 -4
- package/dist/chunks/{model-resolver-9gcqzv5v.js → shell-f3rhz1g8.js} +83 -83
- package/dist/chunks/{model-resolver-t9svpfj6.js → shell-f40x834m.js} +16 -16
- package/dist/chunks/{model-resolver-f828m53h.js → shell-f828m53h.js} +2 -2
- package/dist/chunks/{model-resolver-vdqjg1m3.js → shell-fdeq67q0.js} +7 -7
- package/dist/chunks/{model-resolver-gvphacjb.js → shell-fe9854a7.js} +12 -12
- package/dist/chunks/{model-resolver-6hh8tjw2.js → shell-fm2qvscf.js} +4 -4
- package/dist/chunks/{model-resolver-sv9bpgvh.js → shell-fmxbrafm.js} +5 -5
- package/dist/chunks/{model-resolver-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-q54c8873.js → shell-fzgk925k.js} +11 -11
- package/dist/chunks/{model-resolver-ehpz93s6.js → shell-fzmz3zsx.js} +4 -4
- package/dist/chunks/{model-resolver-9a63yes8.js → shell-g0jbyvt7.js} +10 -10
- package/dist/chunks/{model-resolver-29bs6vrv.js → shell-gb75dd12.js} +9 -9
- package/dist/chunks/{model-resolver-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-75mgaf8d.js → shell-gdbnz73m.js} +11 -11
- package/dist/chunks/{model-resolver-gxqvm3vh.js → shell-gjmwt3yh.js} +18 -18
- package/dist/chunks/{model-resolver-g62st3z5.js → shell-gm14zrge.js} +3 -3
- package/dist/chunks/{model-resolver-ge043nsr.js → shell-gnp2cdh9.js} +11 -11
- package/dist/chunks/{model-resolver-efmhwa42.js → shell-gqcgtd7m.js} +12 -12
- package/dist/chunks/{model-resolver-ttqh24zm.js → shell-gst7axd9.js} +4 -4
- package/dist/chunks/{model-resolver-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-j3wpmvzh.js → shell-gvmwhjkb.js} +46 -46
- package/dist/chunks/{model-resolver-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-p78yc9pn.js → shell-h5mtjt0m.js} +33 -33
- package/dist/chunks/{model-resolver-3z8scj2k.js → shell-h6mds1av.js} +38 -38
- package/dist/chunks/{model-resolver-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-5stvhfem.js → shell-h8aw6exk.js} +8 -8
- package/dist/chunks/{model-resolver-yjptyezs.js → shell-hnr5yq9h.js} +5 -5
- package/dist/chunks/{model-resolver-p1gtkzqj.js → shell-hr0by3dc.js} +24 -24
- package/dist/chunks/{model-resolver-6221mqag.js → shell-hvgm9eqs.js} +41 -41
- package/dist/chunks/{model-resolver-r0kdz9g5.js → shell-hxqw5f62.js} +5 -5
- package/dist/chunks/{model-resolver-k07nk2cj.js → shell-hz0670sp.js} +11 -11
- package/dist/chunks/{model-resolver-020dgfr3.js → shell-j2x4pfpm.js} +8 -8
- package/dist/chunks/{model-resolver-36ksw53k.js → shell-j3gzjeh1.js} +15 -15
- package/dist/chunks/{model-resolver-7nnj4kk9.js → shell-j4xvd28z.js} +24 -24
- package/dist/chunks/{model-resolver-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-k6yq57aq.js → shell-j7wq2tw5.js} +3 -3
- package/dist/chunks/{model-resolver-4jv7e9dq.js → shell-j8zzr2am.js} +7 -7
- package/dist/chunks/{model-resolver-dx1bz9gv.js → shell-jmm61hn9.js} +35 -35
- package/dist/chunks/{model-resolver-jgeage2f.js → shell-jq0xap4z.js} +9 -9
- package/dist/chunks/{model-resolver-xb8jw6fx.js → shell-jte6my49.js} +8 -8
- package/dist/chunks/{model-resolver-22q0q0f5.js → shell-jvcjtfdj.js} +5 -5
- package/dist/chunks/{model-resolver-fnc95cqt.js → shell-jx9pvz9q.js} +20 -20
- package/dist/chunks/{model-resolver-vpq3xcjn.js → shell-jyf8w563.js} +28 -28
- package/dist/chunks/{model-resolver-mgx963cj.js → shell-ka2k270b.js} +8 -8
- package/dist/chunks/{model-resolver-kg06axw8.js → shell-kg06axw8.js} +1 -1
- package/dist/chunks/{model-resolver-qr27hz8v.js → shell-knd1qvh0.js} +4 -4
- package/dist/chunks/{model-resolver-v8ch97zc.js → shell-m43qeqsy.js} +1 -1
- package/dist/chunks/{model-resolver-2m5ja96p.js → shell-m9j2dexz.js} +6 -6
- package/dist/chunks/{model-resolver-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-mkcjrzeh.js → shell-mkcjrzeh.js} +1 -1
- package/dist/chunks/{model-resolver-mg5d68k4.js → shell-mme1bqhm.js} +29 -29
- package/dist/chunks/{model-resolver-5qwnehpy.js → shell-mvvn0xpn.js} +43 -43
- package/dist/chunks/{model-resolver-m7kk9p21.js → shell-mypwhdkk.js} +6 -6
- package/dist/chunks/{model-resolver-yq8ea3vq.js → shell-n47h4z4n.js} +19 -19
- package/dist/chunks/{model-resolver-wwg77xe7.js → shell-n9bzgvrq.js} +17 -17
- package/dist/chunks/{model-resolver-bsrard2b.js → shell-nbegex03.js} +8 -8
- package/dist/chunks/shell-nbtt6k6e.js +247 -0
- package/dist/chunks/{model-resolver-jy16bfac.js → shell-nc3fjawf.js} +1 -1
- package/dist/chunks/{model-resolver-hjt4xg1x.js → shell-nhy5jxhy.js} +4 -4
- package/dist/chunks/{model-resolver-a1bjq33w.js → shell-nsnmc6vq.js} +4 -4
- package/dist/chunks/{model-resolver-vr6gkzwk.js → shell-nv5vn7qx.js} +8 -8
- package/dist/chunks/{model-resolver-jjgr0rxr.js → shell-nx3vg62n.js} +10 -10
- package/dist/chunks/{model-resolver-5x0jn38e.js → shell-p5zja7w3.js} +20 -20
- package/dist/chunks/{model-resolver-yeq7vpcg.js → shell-p688tfyr.js} +17 -17
- package/dist/chunks/{model-resolver-y0n2m4xg.js → shell-pck3w1ab.js} +4 -4
- package/dist/chunks/{model-resolver-dhjen1r5.js → shell-pe83jqzf.js} +11 -11
- package/dist/chunks/{model-resolver-rmm45jmv.js → shell-pfq1ksym.js} +5 -5
- package/dist/chunks/{model-resolver-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-qqdydr84.js → shell-ppkgn7jr.js} +7 -7
- package/dist/chunks/{model-resolver-3n92rxfz.js → shell-q0jfp978.js} +18 -18
- package/dist/chunks/{model-resolver-zr1qynpk.js → shell-q95phfw2.js} +5 -5
- package/dist/chunks/{model-resolver-py6vs3y2.js → shell-qfcxkg9x.js} +3 -3
- package/dist/chunks/{model-resolver-869d1136.js → shell-qfehbndj.js} +20 -20
- package/dist/chunks/{model-resolver-edbfpfck.js → shell-qfzde7bh.js} +6 -6
- package/dist/chunks/{model-resolver-ag0sxk10.js → shell-qm9qwyxs.js} +37 -37
- package/dist/chunks/{model-resolver-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-r57he8ke.js → shell-qse8x9va.js} +42 -42
- package/dist/chunks/{model-resolver-2khzfaxq.js → shell-qwkytnft.js} +6 -6
- package/dist/chunks/{model-resolver-nhg5jbpm.js → shell-qyxzwjwr.js} +11 -11
- package/dist/chunks/{model-resolver-wh9ejbvr.js → shell-r4gvnsqg.js} +19 -19
- package/dist/chunks/{model-resolver-r9mregkx.js → shell-r9mregkx.js} +2 -2
- package/dist/chunks/{model-resolver-p33ejz0k.js → shell-rfnzy394.js} +1 -1
- package/dist/chunks/{model-resolver-j2vpgszb.js → shell-rfwb5caz.js} +11 -11
- package/dist/chunks/{model-resolver-5b7494hf.js → shell-rgzjdtpz.js} +8 -8
- package/dist/chunks/{model-resolver-z36j2jb8.js → shell-rkgfyfhg.js} +26 -26
- package/dist/chunks/{model-resolver-57vq7pq6.js → shell-rs9gpnz9.js} +9 -9
- package/dist/chunks/{model-resolver-kxzw7ywv.js → shell-ryq1d4nq.js} +5 -5
- package/dist/chunks/{model-resolver-d869rdc4.js → shell-s3p732vg.js} +25 -25
- package/dist/chunks/{model-resolver-12drz8m0.js → shell-see2wqs9.js} +6 -6
- package/dist/chunks/{model-resolver-c1495ybz.js → shell-srhw5zxk.js} +8 -8
- package/dist/chunks/{model-resolver-hr92tm7k.js → shell-ss07yt36.js} +9 -9
- package/dist/chunks/{model-resolver-e4qvdkf2.js → shell-sykm9ny3.js} +14 -14
- package/dist/chunks/{model-resolver-p1wf2k30.js → shell-t0x5rdq8.js} +9 -9
- package/dist/chunks/{model-resolver-2pttksap.js → shell-t2js6s8h.js} +7 -7
- package/dist/chunks/{model-resolver-zmk9zzxp.js → shell-t4mdcchx.js} +6 -6
- package/dist/chunks/{model-resolver-1317bwmc.js → shell-t7m3zm2g.js} +46 -46
- package/dist/chunks/{model-resolver-n2dd2pyx.js → shell-t89hfesc.js} +9 -9
- package/dist/chunks/{model-resolver-vr7gxye5.js → shell-t97t2t7r.js} +13 -13
- package/dist/chunks/{model-resolver-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-2m08xxyc.js → shell-tyxx41mz.js} +24 -24
- package/dist/chunks/{model-resolver-zk0mmm3v.js → shell-v0rxpvp8.js} +33 -33
- package/dist/chunks/{model-resolver-t8hgxyak.js → shell-v76skvps.js} +17 -17
- package/dist/chunks/{model-resolver-rm2yqhr0.js → shell-v7sgzh50.js} +17 -17
- package/dist/chunks/{model-resolver-pykwhchm.js → shell-v9dy98q8.js} +27 -27
- package/dist/chunks/{model-resolver-j83byb14.js → shell-ve4pfa0n.js} +4 -4
- package/dist/chunks/{model-resolver-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-xyxvhn55.js → shell-vjvqmxr3.js} +28 -28
- package/dist/chunks/{model-resolver-zf903971.js → shell-vs31b0rs.js} +26 -26
- package/dist/chunks/{model-resolver-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-msq0jde0.js → shell-w1k39n5e.js} +4 -4
- package/dist/chunks/{model-resolver-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-vn159p31.js → shell-w79gqzfd.js} +27 -27
- package/dist/chunks/{model-resolver-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-h8qwp7cq.js → shell-wf190fkx.js} +20 -20
- package/dist/chunks/{model-resolver-qynmxvpw.js → shell-wpvxq4mk.js} +5 -5
- package/dist/chunks/{model-resolver-31dz7cp4.js → shell-wyam1r5m.js} +1 -1
- package/dist/chunks/{model-resolver-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-bj57yt8b.js → shell-x3vadacb.js} +13 -13
- package/dist/chunks/{model-resolver-e1pdz8et.js → shell-x56sq1v7.js} +26 -26
- package/dist/chunks/{model-resolver-wqc6684y.js → shell-xg9t41r3.js} +2 -2
- package/dist/chunks/{model-resolver-rdp6edmz.js → shell-xkpcsvae.js} +20 -20
- package/dist/chunks/{model-resolver-nka8pza6.js → shell-xpky65xt.js} +6 -6
- package/dist/chunks/{model-resolver-rwy4x1xm.js → shell-xtwh079d.js} +14 -14
- package/dist/chunks/{model-resolver-1ah30sey.js → shell-xvs1sa11.js} +5 -5
- package/dist/chunks/{model-resolver-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-z2njxqb1.js → shell-y2d29fce.js} +22 -22
- package/dist/chunks/{model-resolver-61aebzdy.js → shell-yb9t9wk7.js} +18 -18
- package/dist/chunks/{model-resolver-6bxcf4ek.js → shell-ycbn6r48.js} +41 -41
- package/dist/chunks/{model-resolver-6pythytf.js → shell-ydpamykn.js} +6 -6
- package/dist/chunks/{model-resolver-hg3kwj6p.js → shell-yj9j0m2y.js} +169 -169
- package/dist/chunks/{model-resolver-jefma2gq.js → shell-yjqv8qmq.js} +10 -10
- package/dist/chunks/{model-resolver-7z4t0b39.js → shell-ymem0t2p.js} +27 -27
- package/dist/chunks/{model-resolver-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → shell-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-14xw559s.js → shell-yxdv66k0.js} +15 -15
- package/dist/chunks/{model-resolver-zh4wspwp.js → shell-yxq5295s.js} +30 -30
- package/dist/chunks/{model-resolver-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-z63w68vq.js → shell-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → shell-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 +82 -82
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +90 -90
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +91 -91
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +85 -85
- package/dist/generate.js +92 -92
- 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 +354 -354
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +351 -351
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +81 -81
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +6 -6
- package/dist/plugin/plan.js +98 -98
- 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 +4 -4
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +88 -88
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +85 -85
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +84 -84
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/model-resolver-3evemhrx.js +0 -22
- package/dist/chunks/model-resolver-96f7b8wk.js +0 -247
- package/dist/chunks/model-resolver-bk30tq9n.js +0 -462
- package/dist/chunks/model-resolver-ht5y0zrb.js +0 -18
- /package/dist/chunks/{model-resolver-0mesazry.js → shell-0mesazry.js} +0 -0
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-hrnqkpcd.js → shell-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-paphc93g.js → shell-paphc93g.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service61
|
|
4
|
+
} from "./shell-ycbn6r48.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./shell-v7sgzh50.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin13
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin13 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service61;
|
|
27
|
+
const shell = yield* Service65;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin34 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin13, exports_shell };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-nsnmc6vq.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event7,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
29
|
Options: () => Options5,
|
|
30
|
-
Service: () =>
|
|
30
|
+
Service: () => Service33,
|
|
31
31
|
configured: () => configured5,
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
layer: () => layer15,
|
|
33
|
+
node: () => node37
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,8 +41,8 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event7 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
48
|
var Options5 = Schema.Struct({
|
|
@@ -50,9 +50,9 @@ var Options5 = Schema.Struct({
|
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service33 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make21({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service33.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -106,12 +106,12 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
106
106
|
}));
|
|
107
107
|
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service33,
|
|
110
|
+
layer: layer15(options),
|
|
111
111
|
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node37 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event7, Options5, Service33, layer15, configured5, node37, exports_instruction_discovery };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-nsnmc6vq.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-v7sgzh50.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Options: () => Options6,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service57,
|
|
23
23
|
UnavailableError: () => UnavailableError3,
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
24
|
+
configured: () => configured6,
|
|
25
|
+
layer: () => layer22,
|
|
26
|
+
node: () => node60
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options6 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
40
|
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service57 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service57, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service71, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service71, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service57.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service71, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer22 = makeLayer();
|
|
259
|
+
var configured6 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service57,
|
|
261
|
+
layer: options === undefined ? layer22 : makeLayer(options),
|
|
262
262
|
deps: [node84, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node60 = configured6();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
267
|
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options6, UnavailableError3, NotFoundError6, Service57, layer22, configured6, node60, exports_persistent_pty, Handoff2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service25,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node30
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
32
32
|
});
|
|
33
33
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service25 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
36
36
|
}
|
|
37
37
|
var transportError = (message, input) => new AIError({
|
|
38
38
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
|
|
|
56
56
|
return Effect.fail(observation.error);
|
|
57
57
|
};
|
|
58
58
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
59
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
59
|
+
var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* () {
|
|
60
60
|
const scope = yield* Scope.Scope;
|
|
61
61
|
const states = new Map;
|
|
62
62
|
const state = (sessionID) => {
|
|
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
|
|
|
356
356
|
}, { discard: true });
|
|
357
357
|
});
|
|
358
358
|
yield* Effect.addFinalizer(() => closeAll);
|
|
359
|
-
return
|
|
359
|
+
return Service25.of({ bind, close, closeAll });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
361
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
362
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
363
363
|
})));
|
|
364
|
-
var
|
|
364
|
+
var node30 = makeGlobalNode({ service: Service25, layer: layer12, deps: [webSocketConstructor2] });
|
|
365
365
|
|
|
366
|
-
export {
|
|
366
|
+
export { Service25, makeLayer2, layer12, node30, exports_model_transport };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-gm14zrge.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-nsnmc6vq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./shell-qfzde7bh.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID4,
|
|
15
|
+
Service46
|
|
16
|
+
} from "./shell-332whr7y.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./shell-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./shell-qwkytnft.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./shell-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./shell-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service40;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service46;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service40;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service46;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID4.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-7ny3kv6n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID8
|
|
7
|
+
} from "./shell-ak72jphr.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,144 +1,144 @@
|
|
|
1
1
|
import {
|
|
2
2
|
_20260127222353_familiar_lady_ursula_default
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-jzg6c2d5.js";
|
|
4
4
|
import {
|
|
5
5
|
_20260211171708_add_project_commands_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-q3sfg36h.js";
|
|
7
7
|
import {
|
|
8
8
|
_20260213144116_wakeful_the_professor_default
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-1cnp2v09.js";
|
|
10
10
|
import {
|
|
11
11
|
_20260225215848_workspace_default
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-rcb2kzg1.js";
|
|
13
13
|
import {
|
|
14
14
|
_20260227213759_add_session_workspace_id_default
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-msx8hqn2.js";
|
|
16
16
|
import {
|
|
17
17
|
_20260228203230_blue_harpoon_default
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-bkyjaxrp.js";
|
|
19
19
|
import {
|
|
20
20
|
_20260303231226_add_workspace_fields_default
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-g86h250q.js";
|
|
22
22
|
import {
|
|
23
23
|
_20260309230000_move_org_to_state_default
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-jr7sbwjy.js";
|
|
25
25
|
import {
|
|
26
26
|
_20260312043431_session_message_cursor_default
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./shell-7m9af43g.js";
|
|
28
28
|
import {
|
|
29
29
|
_20260323234822_events_default
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./shell-j2ntwpah.js";
|
|
31
31
|
import {
|
|
32
32
|
_20260410174513_workspace_name_default
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shell-njntx4h6.js";
|
|
34
34
|
import {
|
|
35
35
|
_20260413175956_chief_energizer_default
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./shell-qrg20bc0.js";
|
|
37
37
|
import {
|
|
38
38
|
_20260423070820_add_icon_url_override_default
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./shell-z9919s4g.js";
|
|
40
40
|
import {
|
|
41
41
|
_20260427172553_slow_nightmare_default
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./shell-43n2bw4t.js";
|
|
43
43
|
import {
|
|
44
44
|
_20260428004200_add_session_path_default
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./shell-n3j8tn72.js";
|
|
46
46
|
import {
|
|
47
47
|
_20260501142318_next_venus_default
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./shell-d9jj8t3e.js";
|
|
49
49
|
import {
|
|
50
50
|
_20260504145000_add_sync_owner_default
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./shell-fd410y7t.js";
|
|
52
52
|
import {
|
|
53
53
|
_20260507164347_add_workspace_time_default
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./shell-e5kj55wp.js";
|
|
55
55
|
import {
|
|
56
56
|
_20260510033149_session_usage_default
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./shell-f6n9ztr4.js";
|
|
58
58
|
import {
|
|
59
59
|
_20260511000411_data_migration_state_default
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./shell-q74kybfr.js";
|
|
61
61
|
import {
|
|
62
62
|
_20260511173437_session_metadata_default
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./shell-53557ph1.js";
|
|
64
64
|
import {
|
|
65
65
|
_20260601010001_normalize_storage_paths_default
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./shell-7akdwqpd.js";
|
|
67
67
|
import {
|
|
68
68
|
_20260601202201_amazing_prowler_default
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./shell-wer8tq1h.js";
|
|
70
70
|
import {
|
|
71
71
|
_20260602002951_lowly_union_jack_default
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./shell-wtztk69x.js";
|
|
73
73
|
import {
|
|
74
74
|
_20260602182828_add_project_directories_default
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./shell-ssg3fenm.js";
|
|
76
76
|
import {
|
|
77
77
|
_20260603001617_session_message_projection_indexes_default
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./shell-2c3vjs8z.js";
|
|
79
79
|
import {
|
|
80
80
|
_20260603040000_session_message_projection_order_default
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./shell-17cy0kzp.js";
|
|
82
82
|
import {
|
|
83
83
|
_20260603141458_session_input_inbox_default
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./shell-hk9envan.js";
|
|
85
85
|
import {
|
|
86
86
|
_20260603160727_jittery_ezekiel_stane_default
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./shell-w803qqfp.js";
|
|
88
88
|
import {
|
|
89
89
|
_20260604172448_event_sourced_session_input_default
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./shell-jwfs4k6c.js";
|
|
91
91
|
import {
|
|
92
92
|
_20260605003541_add_session_context_snapshot_default
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./shell-mp448xyj.js";
|
|
94
94
|
import {
|
|
95
95
|
_20260605042240_add_context_epoch_agent_default
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./shell-aqzs7mqg.js";
|
|
97
97
|
import {
|
|
98
98
|
_20260611035744_credential_default
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./shell-ygaqb7jw.js";
|
|
100
100
|
import {
|
|
101
101
|
_20260611192811_lush_chimera_default
|
|
102
|
-
} from "./
|
|
102
|
+
} from "./shell-8n3pysct.js";
|
|
103
103
|
import {
|
|
104
104
|
_20260612174303_project_dir_strategy_default
|
|
105
|
-
} from "./
|
|
105
|
+
} from "./shell-d9fn303g.js";
|
|
106
106
|
import {
|
|
107
107
|
_20260622142730_simplify_session_context_epoch_default
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./shell-cvy3z8tj.js";
|
|
109
109
|
import {
|
|
110
110
|
_20260622170816_reset_v2_session_state_default
|
|
111
|
-
} from "./
|
|
111
|
+
} from "./shell-9a4afbnw.js";
|
|
112
112
|
import {
|
|
113
113
|
_20260622202450_simplify_session_input_default
|
|
114
|
-
} from "./
|
|
114
|
+
} from "./shell-n05xt0ee.js";
|
|
115
115
|
import {
|
|
116
116
|
_20260804233008_loose_psylocke_default
|
|
117
|
-
} from "./
|
|
117
|
+
} from "./shell-sdp7kfr6.js";
|
|
118
118
|
import {
|
|
119
119
|
_20260805200742_import_legacy_credentials_default
|
|
120
|
-
} from "./
|
|
120
|
+
} from "./shell-a6k6eb26.js";
|
|
121
121
|
import {
|
|
122
122
|
_20260808023530_workspace_domain_default
|
|
123
|
-
} from "./
|
|
123
|
+
} from "./shell-4knz6hnm.js";
|
|
124
124
|
import {
|
|
125
125
|
_20260811161259_execution_claim_attempts_default
|
|
126
|
-
} from "./
|
|
126
|
+
} from "./shell-df08tz66.js";
|
|
127
127
|
import {
|
|
128
128
|
_20260812181746_session_inbox_default
|
|
129
|
-
} from "./
|
|
129
|
+
} from "./shell-bmr6ed5q.js";
|
|
130
130
|
import {
|
|
131
131
|
_20260812213948_worktree_default
|
|
132
|
-
} from "./
|
|
132
|
+
} from "./shell-atq7p7m5.js";
|
|
133
133
|
import {
|
|
134
134
|
_20260819222447_session_viewed_state_default
|
|
135
|
-
} from "./
|
|
135
|
+
} from "./shell-qb87gjwd.js";
|
|
136
136
|
import {
|
|
137
137
|
_20260823191254_nullable_workspace_binding_default
|
|
138
|
-
} from "./
|
|
138
|
+
} from "./shell-359p4xyc.js";
|
|
139
139
|
import {
|
|
140
140
|
_20260910120000_clear_v1_session_permission_default
|
|
141
|
-
} from "./
|
|
141
|
+
} from "./shell-y8f7s663.js";
|
|
142
142
|
|
|
143
143
|
// src/database/migration.gen.ts
|
|
144
144
|
var migrations2 = [
|