@opencode/core 0.0.0-dev-19707 → 0.0.0-dev-19708
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +3 -3
- package/dist/bus.js +72 -72
- package/dist/chunks/{config-k6hq6vs4.js → pty-00f2f7q8.js} +24 -24
- package/dist/chunks/{config-sfmkhhs9.js → pty-02j327mk.js} +26 -26
- package/dist/chunks/{config-sedjhjah.js → pty-04kxwwsn.js} +6 -6
- package/dist/chunks/{config-204eyync.js → pty-08fd96st.js} +6 -6
- package/dist/chunks/{config-d2hpfe1x.js → pty-0fdmw6y0.js} +11 -11
- package/dist/chunks/{config-6hjx5zpb.js → pty-0jq9fyba.js} +9 -9
- package/dist/chunks/{config-tef78es6.js → pty-0nw536sy.js} +4 -4
- package/dist/chunks/{config-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{config-5h0rvfym.js → pty-137n2cjd.js} +3 -3
- package/dist/chunks/{config-rhraev7y.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{config-73tb2d7t.js → pty-1bbkgx8g.js} +3 -3
- package/dist/chunks/{config-m9q1w098.js → pty-1c5ncfj1.js} +26 -26
- package/dist/chunks/{config-phq1yf8j.js → pty-1cr9kxrr.js} +22 -22
- package/dist/chunks/{config-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-9fw4n3e1.js → pty-1e7y3jby.js} +3 -3
- package/dist/chunks/{config-59ecn2yy.js → pty-1g4qjxg5.js} +9 -9
- package/dist/chunks/{config-mkcyj20d.js → pty-1qkgdbp4.js} +18 -18
- package/dist/chunks/pty-1tm0r3ht.js +4 -0
- package/dist/chunks/{config-1ygqh575.js → pty-1ygqh575.js} +2 -2
- package/dist/chunks/{config-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{config-ak3g1cds.js → pty-23amh1yx.js} +3 -3
- package/dist/chunks/{config-6h73sxmp.js → pty-2402vzrj.js} +5 -5
- package/dist/chunks/{config-z63w68vq.js → pty-29x78va6.js} +6 -6
- package/dist/chunks/{config-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-ycd00xnt.js → pty-2akesbjx.js} +16 -16
- package/dist/chunks/{config-tzrmseea.js → pty-2chp5681.js} +10 -10
- package/dist/chunks/{config-1bdcdqfg.js → pty-2em355j9.js} +69 -55
- package/dist/chunks/{config-2q6kkxxq.js → pty-2q6kkxxq.js} +1 -1
- package/dist/chunks/{config-dgc1hkc1.js → pty-2rqgkrfm.js} +22 -22
- package/dist/chunks/{config-63kpjth9.js → pty-3b9qt4hj.js} +9 -9
- package/dist/chunks/{config-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-9jpbnf5e.js → pty-3sqv75dt.js} +4 -4
- package/dist/chunks/{config-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-mt4q9qcg.js → pty-3w8b8hp3.js} +11 -11
- package/dist/chunks/{config-2evyaa68.js → pty-3ythc6yv.js} +4 -4
- package/dist/chunks/{config-pm2jn3rv.js → pty-44jfm9c6.js} +7 -7
- package/dist/chunks/{config-zpc19dvt.js → pty-4a0vtr9b.js} +22 -22
- package/dist/chunks/{config-gyp7bq5z.js → pty-4b3p33ns.js} +47 -47
- package/dist/chunks/{config-ph764ah0.js → pty-4hcrsjja.js} +57 -57
- package/dist/chunks/{config-efqkbgv9.js → pty-4hqncmrj.js} +12 -12
- package/dist/chunks/{config-yg6e92wh.js → pty-4kyk22vj.js} +41 -41
- package/dist/chunks/{config-5jf1gs2t.js → pty-4p0kgrzt.js} +1 -1
- package/dist/chunks/{config-88kv1bx9.js → pty-4q5rhk67.js} +25 -22
- package/dist/chunks/{config-sy9x43s2.js → pty-4ztghn5t.js} +18 -18
- package/dist/chunks/{config-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{config-df6fn0e3.js → pty-59gkzar2.js} +11 -11
- package/dist/chunks/{config-a1bz86dw.js → pty-5c4hm403.js} +3 -3
- package/dist/chunks/{config-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{config-j1s9fxyc.js → pty-5fwvr3fa.js} +34 -34
- package/dist/chunks/{config-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-6h9psx55.js → pty-5tvckp52.js} +27 -27
- package/dist/chunks/{config-9hn6k4tm.js → pty-5yzzbxa7.js} +8 -8
- package/dist/chunks/{config-jx4qp3j4.js → pty-645gcfag.js} +93 -93
- package/dist/chunks/{config-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{config-kmgxwdj6.js → pty-6avas0hs.js} +3 -3
- package/dist/chunks/{config-x62mbabv.js → pty-6ejv29z8.js} +28 -28
- package/dist/chunks/{config-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-rsdf2nvv.js → pty-6p3xbzsx.js} +4 -4
- package/dist/chunks/{config-yc95vn0z.js → pty-6pmcb683.js} +15 -15
- package/dist/chunks/{config-g7vy7n31.js → pty-6tc74vrw.js} +18 -18
- package/dist/chunks/{config-avf2rqqc.js → pty-6wkd5avw.js} +17 -17
- package/dist/chunks/{config-yqvhe2qc.js → pty-72qck3dr.js} +80 -69
- package/dist/chunks/{config-m44s1k6s.js → pty-74e549sx.js} +15 -15
- package/dist/chunks/{config-hfdr1yjj.js → pty-7ac170kv.js} +4 -4
- package/dist/chunks/{config-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-7dqw4kz8.js → pty-7dqw4kz8.js} +1 -1
- package/dist/chunks/{config-1w2wvhbc.js → pty-7nrhymjj.js} +22 -22
- package/dist/chunks/{config-nq0dx80z.js → pty-7nzv51qx.js} +13 -13
- package/dist/chunks/{config-xxk5ry2v.js → pty-7qq3ahcc.js} +6 -6
- package/dist/chunks/{config-sgksmh4k.js → pty-7t8e8ps1.js} +9 -9
- package/dist/chunks/{config-qegg11qv.js → pty-7xnx6cga.js} +35 -35
- package/dist/chunks/{config-p44d8wdy.js → pty-809q4hne.js} +5 -5
- package/dist/chunks/{config-phc8pspp.js → pty-834a0b17.js} +7 -7
- package/dist/chunks/{config-g9qqt9p1.js → pty-899tt7an.js} +19 -13
- package/dist/chunks/{config-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-g2ycphq5.js → pty-8ev4rrc0.js} +2 -2
- package/dist/chunks/{config-nv8d10c1.js → pty-8kgt14gf.js} +25 -25
- package/dist/chunks/{config-r4v1x4rb.js → pty-8msxkbjy.js} +20 -20
- package/dist/chunks/{config-syh2x8jz.js → pty-8npqseq9.js} +11 -11
- package/dist/chunks/{config-zrcqrgvv.js → pty-8zqxjytc.js} +12 -12
- package/dist/chunks/{config-3wc3c6ps.js → pty-9mmr4cym.js} +14 -14
- package/dist/chunks/{config-2p8j6ftk.js → pty-9yyvrqyy.js} +24 -24
- package/dist/chunks/{config-e4fvh21c.js → pty-a7nqw1aa.js} +8 -8
- package/dist/chunks/{config-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{config-rswqs118.js → pty-abyxqag4.js} +4 -4
- package/dist/chunks/{config-0k74h4bc.js → pty-apzx9pwh.js} +22 -22
- package/dist/chunks/{config-yt7p1vcg.js → pty-aqvz20a2.js} +10 -10
- package/dist/chunks/pty-az62kead.js +48 -0
- package/dist/chunks/{config-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-tvp4k6xb.js → pty-b6yzcphf.js} +11 -11
- package/dist/chunks/{config-sw489s6r.js → pty-be3g221r.js} +18 -18
- package/dist/chunks/{config-6kh2d7tr.js → pty-beyt1gb5.js} +12 -12
- package/dist/chunks/{config-d7k0w2wb.js → pty-bky20j8j.js} +9 -9
- package/dist/chunks/{config-9g3kc011.js → pty-bm3m92rh.js} +12 -12
- package/dist/chunks/{config-mj3hz3nc.js → pty-bmsmevym.js} +10 -10
- package/dist/chunks/{config-kxef0pr1.js → pty-bnt6z98e.js} +30 -30
- package/dist/chunks/{config-d3r3a7ce.js → pty-bwbrqz0a.js} +5 -5
- package/dist/chunks/{config-vs61vkh4.js → pty-bxgqktpk.js} +24 -24
- package/dist/chunks/{config-jxttrpby.js → pty-byqk2fv6.js} +24 -24
- package/dist/chunks/{config-tg6qrxv2.js → pty-c9g527t4.js} +37 -37
- package/dist/chunks/{config-5xynhq0q.js → pty-cah9s9ss.js} +11 -11
- package/dist/chunks/{config-2xwk5sxy.js → pty-cbaym82d.js} +32 -32
- package/dist/chunks/{config-hmppx4cd.js → pty-ch7ar4cr.js} +26 -26
- package/dist/chunks/{config-eeaf82dq.js → pty-cq9vh2fv.js} +8 -8
- package/dist/chunks/{config-1tw90jxs.js → pty-cy7q8w9z.js} +10 -10
- package/dist/chunks/{config-rkpyf3mv.js → pty-czhz2k7d.js} +9 -9
- package/dist/chunks/{config-f5nr4ygr.js → pty-d58ea4wx.js} +8 -8
- package/dist/chunks/{config-as2srw8y.js → pty-d6mg60jz.js} +37 -37
- package/dist/chunks/{config-fem1qj2k.js → pty-d7tjjqf6.js} +3 -3
- package/dist/chunks/{config-d858xzj7.js → pty-d858xzj7.js} +1 -1
- package/dist/chunks/{config-3rdmwfhc.js → pty-dcsznwm0.js} +13 -13
- package/dist/chunks/{config-renqy12v.js → pty-dhwr7h25.js} +9 -9
- package/dist/chunks/{config-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{config-57b9ws8p.js → pty-drwq78ky.js} +5 -5
- package/dist/chunks/{config-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{config-pk9xhw7m.js → pty-e41je68c.js} +3 -3
- package/dist/chunks/pty-eaznszq2.js +65 -0
- package/dist/chunks/{config-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-pbtjh2sx.js → pty-eq9606cq.js} +30 -30
- package/dist/chunks/{config-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-vghtnfzr.js → pty-f1cvcqqp.js} +27 -27
- package/dist/chunks/{config-3tq5qxbk.js → pty-fkjmw100.js} +4 -4
- package/dist/chunks/{config-a2ew8a62.js → pty-fm2qvscf.js} +4 -4
- package/dist/chunks/{config-bfyfaynt.js → pty-fsmc1k8s.js} +93 -93
- package/dist/chunks/{config-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{config-ff0svapt.js → pty-g2yz86wh.js} +2 -2
- package/dist/chunks/{config-f8y35pn4.js → pty-g9q532r4.js} +1 -1
- package/dist/chunks/{config-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-edbfpfck.js → pty-gjmk74th.js} +6 -6
- package/dist/chunks/{config-japganv0.js → pty-gq6z7eg4.js} +29 -29
- package/dist/chunks/{config-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-h77q8ghf.js → pty-gydxxgyg.js} +18 -18
- package/dist/chunks/{config-vyqn3nqs.js → pty-gzbkpp9m.js} +4 -4
- package/dist/chunks/{config-dmc1c85t.js → pty-gzfs38sx.js} +23 -23
- package/dist/chunks/{config-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{config-k5s51sr2.js → pty-h3c20vca.js} +4 -4
- package/dist/chunks/{config-h6r3nrb9.js → pty-h6r3nrb9.js} +1 -1
- package/dist/chunks/{config-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-0kyhmgn1.js → pty-h9nzbdt3.js} +5 -5
- package/dist/chunks/{config-pyr0se5z.js → pty-hcs01tq7.js} +8 -8
- package/dist/chunks/{config-f828m53h.js → pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{config-058z5ddf.js → pty-hkjtz3an.js} +22 -22
- package/dist/chunks/{config-b6pryj33.js → pty-hn8hcjvd.js} +1 -1
- package/dist/chunks/{config-x5aw4bvh.js → pty-htekf6zf.js} +9 -9
- package/dist/chunks/{config-aafc52p0.js → pty-hyag3rfz.js} +11 -11
- package/dist/chunks/{config-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{config-6rybd781.js → pty-j5786zrt.js} +1 -1
- package/dist/chunks/{config-sfreza73.js → pty-jdbtptns.js} +19 -19
- package/dist/chunks/{config-kqavaz8d.js → pty-jnzdfagj.js} +3 -3
- package/dist/chunks/{config-jppvw2tx.js → pty-jppvw2tx.js} +2 -2
- package/dist/chunks/{config-59x6sxq9.js → pty-jqe5ka82.js} +18 -18
- package/dist/chunks/{config-7sje2w2w.js → pty-jvt9z3v3.js} +48 -48
- package/dist/chunks/{config-qwjmgwmn.js → pty-k1gkpfdk.js} +8 -8
- package/dist/chunks/{config-nzks3jc8.js → pty-k3c624dm.js} +3 -3
- package/dist/chunks/{config-v49qeg7d.js → pty-kafkdnde.js} +31 -31
- package/dist/chunks/{config-6vkmn2m0.js → pty-kbmk2nk1.js} +2 -2
- package/dist/chunks/{config-m8h91w06.js → pty-kmrnkd77.js} +3 -3
- package/dist/chunks/{config-s0kmmksn.js → pty-kpccdapq.js} +14 -14
- package/dist/chunks/{config-4gxrbk90.js → pty-kss3k1ej.js} +21 -21
- package/dist/chunks/{config-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{config-1gdnfj4y.js → pty-m1brvmts.js} +9 -9
- package/dist/chunks/{config-f2v2ha83.js → pty-m2taxsaw.js} +13 -13
- package/dist/chunks/{config-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-0f3bkyd2.js → pty-m5mra8ny.js} +7 -7
- package/dist/chunks/{config-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-3n4pdst2.js → pty-mg0hvqns.js} +24 -24
- package/dist/chunks/{config-35tfzgdc.js → pty-mm717ve8.js} +32 -32
- package/dist/chunks/{config-34mey2b4.js → pty-mwfspft0.js} +9 -9
- package/dist/chunks/{config-kvpzc2r9.js → pty-mx4hjh21.js} +30 -30
- package/dist/chunks/{config-m4j0jsg1.js → pty-n7b52vzq.js} +25 -25
- package/dist/chunks/{config-d9s4kg8q.js → pty-nbqevg8t.js} +11 -11
- package/dist/chunks/{config-kark38pj.js → pty-nc9nj3v7.js} +17 -17
- package/dist/chunks/{config-bgcn45f8.js → pty-nsm4zd3z.js} +11 -11
- package/dist/chunks/{config-s39ybgse.js → pty-nv4k505m.js} +39 -39
- package/dist/chunks/{config-e6hmchc5.js → pty-p1nm93x7.js} +5 -5
- package/dist/chunks/{config-qttbrpyd.js → pty-p4nwj3gt.js} +17 -17
- package/dist/chunks/{config-7j6621r4.js → pty-p5hkqs15.js} +1 -1
- package/dist/chunks/{config-zy8wn4fk.js → pty-p91ndb2v.js} +44 -44
- package/dist/chunks/pty-pf31ssb9.js +18 -0
- package/dist/chunks/{config-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{config-4kj8p616.js → pty-pph8wkt5.js} +146 -146
- package/dist/chunks/{config-an3skc66.js → pty-pt8pcyxe.js} +35 -35
- package/dist/chunks/{config-rrpn4h0w.js → pty-pxnzv34t.js} +18 -18
- package/dist/chunks/{config-b0hfm0j8.js → pty-pyg9x9vb.js} +14 -14
- package/dist/chunks/{config-fx82q9ev.js → pty-q36t7h4b.js} +3 -3
- package/dist/chunks/{config-pvdz9xhf.js → pty-q3a5az1v.js} +10 -10
- package/dist/chunks/{config-0vzjr71g.js → pty-q9k3nk2m.js} +17 -17
- package/dist/chunks/{config-r920brwh.js → pty-qf8xbt1v.js} +6 -6
- package/dist/chunks/{config-ydrs0rnq.js → pty-qph7hyw7.js} +16 -16
- package/dist/chunks/{config-r98e92ep.js → pty-qq11w61w.js} +4 -4
- package/dist/chunks/{config-acwgycr8.js → pty-qqrhpyxk.js} +21 -21
- package/dist/chunks/{config-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{config-441xk2wv.js → pty-qtwarjwz.js} +13 -13
- package/dist/chunks/{config-m9y70xex.js → pty-qw4hy4dt.js} +22 -22
- package/dist/chunks/{config-cpy6gm2a.js → pty-qz49fwgp.js} +4 -4
- package/dist/chunks/{config-cpneeje0.js → pty-r2m716tb.js} +9 -9
- package/dist/chunks/{config-0ymjsp16.js → pty-r3grxea3.js} +23 -23
- package/dist/chunks/{config-bbvh053c.js → pty-r48hm6t1.js} +25 -25
- package/dist/chunks/{config-j3t9k28b.js → pty-r6zmwxjt.js} +41 -41
- package/dist/chunks/{config-7e12wf70.js → pty-rbs0ef4y.js} +31 -31
- package/dist/chunks/{config-gcytzbah.js → pty-rccz2tys.js} +6 -6
- package/dist/chunks/{config-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-0yzb217r.js → pty-rf9y12ds.js} +3 -3
- package/dist/chunks/{config-j3s2z371.js → pty-rhafb4aa.js} +9 -9
- package/dist/chunks/{config-vec00888.js → pty-rjkasajw.js} +16 -16
- package/dist/chunks/{config-svdmezpj.js → pty-rkb5a4nr.js} +22 -22
- package/dist/chunks/{config-j3xycmed.js → pty-rrnpfv6a.js} +23 -23
- package/dist/chunks/{config-qp9bnmn3.js → pty-rsd57mk1.js} +14 -14
- package/dist/chunks/{config-v9cwwd0t.js → pty-ry08j4r8.js} +11 -11
- package/dist/chunks/{config-zyzdbktt.js → pty-s1mn6qcj.js} +8 -8
- package/dist/chunks/{config-yrznvahk.js → pty-s4enseaf.js} +2 -2
- package/dist/chunks/{config-m34sd1dw.js → pty-s6qp1k48.js} +2 -2
- package/dist/chunks/{config-s8d7rejh.js → pty-s8d7rejh.js} +1 -1
- package/dist/chunks/{config-8efv05pa.js → pty-sasa2c77.js} +44 -43
- package/dist/chunks/{config-6fbkgyjx.js → pty-sbbcq4qt.js} +11 -11
- package/dist/chunks/{config-nzhmzh82.js → pty-sd8zp0nj.js} +4 -4
- package/dist/chunks/{config-3g2pabsk.js → pty-sgq4gssm.js} +28 -28
- package/dist/chunks/{config-6qek2td2.js → pty-sk1rxzc5.js} +14 -14
- package/dist/chunks/{config-e6814b7d.js → pty-ssr8tzqd.js} +7 -7
- package/dist/chunks/{config-mskwp103.js → pty-t327jyvg.js} +14 -14
- package/dist/chunks/{config-pekgqhpj.js → pty-t4gdty5t.js} +15 -15
- package/dist/chunks/{config-z8y94x15.js → pty-t4h1a8sm.js} +10 -10
- package/dist/chunks/{config-m7dvq393.js → pty-t96c7fmv.js} +18 -18
- package/dist/chunks/{config-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-52ejfwar.js → pty-tb60vd7q.js} +4 -4
- package/dist/chunks/{config-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{config-1vbpde1g.js → pty-tgayy43x.js} +298 -298
- package/dist/chunks/{config-ynrxmn94.js → pty-tk66bvfd.js} +16 -16
- package/dist/chunks/{config-s91c8prs.js → pty-tptwhs54.js} +9 -9
- package/dist/chunks/{config-y9fejqmg.js → pty-tqg72d4k.js} +8 -8
- package/dist/chunks/{config-v93aky9p.js → pty-tvkyymax.js} +8 -8
- package/dist/chunks/{config-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{config-88wv5h76.js → pty-v247sec1.js} +13 -13
- package/dist/chunks/{config-6aq7ygpy.js → pty-v58jy1xd.js} +6 -6
- package/dist/chunks/{config-1t25emng.js → pty-v68hp2va.js} +47 -47
- package/dist/chunks/{config-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{config-98as6sd9.js → pty-vg55cczh.js} +19 -19
- package/dist/chunks/{config-88w93r53.js → pty-vhwvdgna.js} +9 -9
- package/dist/chunks/{config-3ra8vgzt.js → pty-vk5wtspy.js} +26 -26
- package/dist/chunks/{config-j7cn0chj.js → pty-vkwcxm6e.js} +1 -1
- package/dist/chunks/{config-r71mr0ak.js → pty-vqwef2d8.js} +21 -17
- package/dist/chunks/pty-vs2zs2w9.js +26 -0
- package/dist/chunks/{config-k2h4r4s0.js → pty-vsp1fds9.js} +19 -19
- package/dist/chunks/{config-acbgnkgs.js → pty-vydbjx2x.js} +13 -13
- package/dist/chunks/{config-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-wne4vwha.js → pty-w7drg28q.js} +11 -11
- package/dist/chunks/{config-fd415zwv.js → pty-waqpjwb8.js} +11 -11
- package/dist/chunks/{config-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{config-sykc9y4a.js → pty-wr7ps67x.js} +5 -5
- package/dist/chunks/{config-6d3xa841.js → pty-wvh43mtc.js} +21 -21
- package/dist/chunks/{config-9eg4jjgq.js → pty-wzdyyep8.js} +8 -8
- package/dist/chunks/{config-8mfdap3f.js → pty-x0vzmp4x.js} +8 -8
- package/dist/chunks/{config-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-rh3qvstz.js → pty-xdw3myhw.js} +20 -20
- package/dist/chunks/{config-0sz7efe2.js → pty-xftagwhq.js} +30 -30
- package/dist/chunks/{config-6bsje7ws.js → pty-xkhfjrgz.js} +3 -3
- package/dist/chunks/{config-e42f66fx.js → pty-xseb90fg.js} +7 -7
- package/dist/chunks/{config-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-y71avatq.js → pty-y71avatq.js} +1 -1
- package/dist/chunks/{config-p8f9febr.js → pty-ykjzx05e.js} +21 -21
- package/dist/chunks/{config-vq3eavnk.js → pty-ynxbryrd.js} +28 -28
- package/dist/chunks/{config-mzhm23zb.js → pty-ypvakwm4.js} +17 -17
- package/dist/chunks/{config-qnv3ge8j.js → pty-yqngptm3.js} +13 -13
- package/dist/chunks/{config-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-3w0fmcng.js → pty-z3pw5915.js} +5 -5
- package/dist/chunks/{config-xj2v00yc.js → pty-z62c9ayt.js} +12 -12
- package/dist/chunks/{config-rpg9c19m.js → pty-zav06jzw.js} +4 -4
- package/dist/chunks/{config-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/pty-ztp3jpvp.js +252 -0
- package/dist/chunks/{config-jbkx7wek.js → pty-zw6ax8ke.js} +41 -41
- package/dist/chunks/{config-sg7w44s8.js → pty-zwp73gaw.js} +22 -22
- package/dist/chunks/{config-hf7g63zj.js → pty-zxacjnzd.js} +15 -15
- package/dist/chunks/{config-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{config-bjw1ybn1.js → pty-zz4khrmb.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +121 -121
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +110 -0
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -85
- package/dist/location-services.js +354 -353
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- 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 +99 -99
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +92 -92
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- 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 +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +113 -113
- 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 +14 -14
- package/dist/types/form.d.ts +1 -0
- package/dist/types/instance.d.ts +2 -1
- package/dist/types/location-lifecycle.d.ts +9 -0
- package/dist/types/location-service-map.d.ts +2 -1
- package/dist/types/permission.d.ts +1 -0
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/session/runner/index.d.ts +36 -3
- package/dist/types/session/runner/step.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +91 -91
- package/dist/v1/config/permission.js +5 -5
- 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/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/config-1x11rq2a.js +0 -18
- package/dist/chunks/config-6kdq0pjd.js +0 -4
- package/dist/chunks/config-e73d2mtj.js +0 -247
- package/dist/chunks/config-jyegy52c.js +0 -26
- package/dist/chunks/config-yp9vzkpn.js +0 -34
- /package/dist/chunks/{config-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,65 +1,65 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./pty-waqpjwb8.js";
|
|
1
5
|
import {
|
|
2
6
|
Service82,
|
|
3
7
|
node86
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service81,
|
|
7
|
-
node85
|
|
8
|
-
} from "./config-ydrs0rnq.js";
|
|
8
|
+
} from "./pty-qph7hyw7.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-6p3xbzsx.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load4
|
|
23
|
+
} from "./pty-b6yzcphf.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-j5786zrt.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./pty-vk5wtspy.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./pty-h3c20vca.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./pty-23amh1yx.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./pty-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./pty-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./pty-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
56
56
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service11,
|
|
58
58
|
SessionCompaction: () => exports_compaction2,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer7,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node13,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service11 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,10 +298,10 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer7 = Layer.effect(
|
|
302
|
-
const bus = yield*
|
|
301
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service82;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
|
-
const db = (yield*
|
|
304
|
+
const db = (yield* Service83).db;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "session-compaction",
|
|
307
307
|
initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS }),
|
|
@@ -374,7 +374,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
374
374
|
webSocket
|
|
375
375
|
});
|
|
376
376
|
};
|
|
377
|
-
const original = (sessionID) =>
|
|
377
|
+
const original = (sessionID) => load4(db, sessionID, "local").pipe(Effect.orDie);
|
|
378
378
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
379
379
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
380
380
|
const context = input.context;
|
|
@@ -607,7 +607,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
607
607
|
}
|
|
608
608
|
}));
|
|
609
609
|
});
|
|
610
|
-
return
|
|
610
|
+
return Service11.of({
|
|
611
611
|
transform: state.transform,
|
|
612
612
|
reload: state.reload,
|
|
613
613
|
enabled: () => state.get().auto,
|
|
@@ -616,10 +616,10 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
616
616
|
compactManual
|
|
617
617
|
});
|
|
618
618
|
}));
|
|
619
|
-
var
|
|
620
|
-
service:
|
|
619
|
+
var node13 = makeLocationNode({
|
|
620
|
+
service: Service11,
|
|
621
621
|
layer: layer7,
|
|
622
|
-
deps: [
|
|
622
|
+
deps: [node86, node87, llmClient2]
|
|
623
623
|
});
|
|
624
624
|
|
|
625
|
-
export {
|
|
625
|
+
export { Service11, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node13, exports_compaction2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./pty-rsd57mk1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service79;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service79,
|
|
18
|
+
node83
|
|
19
|
+
} from "./pty-rsd57mk1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service59,
|
|
22
|
+
node62
|
|
23
|
+
} from "./pty-5tvckp52.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service58,
|
|
33
|
+
node: () => node61
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service58,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node61,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service58 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
|
+
const workspace = yield* Service59;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service58.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node61 = makeLocationNode({
|
|
71
|
+
service: Service58,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node83, node62]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service58, node61, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./pty-bm3m92rh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service79,
|
|
13
|
+
node83
|
|
14
|
+
} from "./pty-rsd57mk1.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error2,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service28,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node31,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service28 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service28.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node31 = makeLocationNode({
|
|
144
|
+
service: Service28,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node85, Global.node, node83]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service28, Service28.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID4, Error2, Service28, node31, noopLayer2, exports_snapshot2 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-qph7hyw7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./pty-rsd57mk1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID7
|
|
11
|
+
} from "./pty-1tm0r3ht.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service61,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node65
|
|
16
|
+
} from "./pty-pxnzv34t.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./pty-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput3,
|
|
28
|
+
Event: () => Event11,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info11,
|
|
31
|
+
NotFoundError: () => NotFoundError7,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service60,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node64
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event11 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info11 = Pty.Info;
|
|
45
|
+
var CreateInput3 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError7 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID7
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID7
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service60 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
60
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service82;
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const shell = yield* Service61;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError7({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID7.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service60.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node64 = makeLocationNode({
|
|
274
|
+
service: Service60,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node86, node83, node65]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info11, CreateInput3, UpdateInput2, NotFoundError7, ExitedError2, Service60, node64, exports_pty, Event11 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./pty-ypvakwm4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service14
|
|
6
|
+
} from "./pty-fsmc1k8s.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service14;
|
|
24
|
+
const jobs = yield* Service52;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make8 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-qph7hyw7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service22,
|
|
7
|
+
node26
|
|
8
|
+
} from "./pty-jvt9z3v3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service64,
|
|
11
|
+
node68
|
|
12
|
+
} from "./pty-2em355j9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service41,
|
|
15
|
+
node44
|
|
16
|
+
} from "./pty-9yyvrqyy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service21,
|
|
26
|
+
layer: () => layer9,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node25
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service21 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer9 = Layer.effect(Service21, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service22;
|
|
42
|
+
const tools = yield* Service41;
|
|
43
|
+
const bus = yield* Service82;
|
|
44
|
+
const permission = yield* Service64;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service21.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node25 = makeLocationNode({
|
|
124
|
+
service: Service21,
|
|
125
|
+
layer: layer9,
|
|
126
|
+
deps: [node44, node26, node86, node68]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service21, layer9, node25, exports_mcp3 };
|