@opencode/core 0.0.0-dev-19786 → 0.0.0-dev-19787
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 +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{worktree-yvtjrsq1.js → pty-00f2f7q8.js} +24 -24
- package/dist/chunks/{worktree-2vt4g46n.js → pty-02j327mk.js} +27 -27
- package/dist/chunks/{worktree-6j1m79c6.js → pty-08fd96st.js} +6 -6
- package/dist/chunks/{worktree-4y303w9z.js → pty-0en0hh3r.js} +4 -4
- package/dist/chunks/{worktree-y56ehv6b.js → pty-0jq9fyba.js} +9 -9
- package/dist/chunks/{worktree-5n38ptm2.js → pty-0mwa6y39.js} +16 -16
- package/dist/chunks/{worktree-jp5vppjv.js → pty-0nw536sy.js} +4 -4
- package/dist/chunks/{worktree-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-fasg9v5a.js → pty-0s0a8jh1.js} +174 -174
- package/dist/chunks/{worktree-5rd22f3b.js → pty-0ymsz8rv.js} +8 -8
- package/dist/chunks/{worktree-mjhv1wha.js → pty-137n2cjd.js} +5 -5
- package/dist/chunks/{worktree-f2n192rq.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{worktree-mvfsc1pv.js → pty-1bbkgx8g.js} +3 -3
- package/dist/chunks/{worktree-jw7v3n98.js → pty-1c5ncfj1.js} +26 -26
- package/dist/chunks/{worktree-egnx0mgt.js → pty-1cr9kxrr.js} +32 -32
- package/dist/chunks/{worktree-ys4bdtvd.js → pty-1csms2ve.js} +33 -33
- package/dist/chunks/{worktree-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-gdfmbz4s.js → pty-1e7y3jby.js} +5 -5
- package/dist/chunks/{worktree-a4vbyqq0.js → pty-1j7jhvrm.js} +18 -18
- package/dist/chunks/pty-1qqxsas6.js +252 -0
- package/dist/chunks/pty-1tm0r3ht.js +4 -0
- package/dist/chunks/{worktree-56gdpj1q.js → pty-1ygqh575.js} +9 -9
- package/dist/chunks/{worktree-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-6h73sxmp.js → pty-2402vzrj.js} +5 -5
- package/dist/chunks/{worktree-3ewed21c.js → pty-277eer69.js} +4 -4
- package/dist/chunks/{worktree-z63w68vq.js → pty-29x78va6.js} +6 -6
- package/dist/chunks/{worktree-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-dx2wdmpc.js → pty-2b210p4k.js} +23 -23
- package/dist/chunks/{worktree-kkr5cxbn.js → pty-2chp5681.js} +23 -23
- package/dist/chunks/{worktree-352dzxrn.js → pty-2em355j9.js} +50 -50
- package/dist/chunks/{worktree-cmv6f9bd.js → pty-2evd0k84.js} +30 -30
- package/dist/chunks/{worktree-1ze21cng.js → pty-2g7r5mvw.js} +11 -11
- package/dist/chunks/{worktree-48bv5w94.js → pty-2kv1txj9.js} +9 -9
- package/dist/chunks/{worktree-mqw5201m.js → pty-3b9qt4hj.js} +9 -9
- package/dist/chunks/{worktree-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-vg4nn9tt.js → pty-3sqv75dt.js} +11 -11
- package/dist/chunks/{worktree-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-y9qxyczm.js → pty-3zh6rxhw.js} +18 -18
- package/dist/chunks/{worktree-jencvzfg.js → pty-44jfm9c6.js} +7 -7
- package/dist/chunks/{worktree-egfnhzxk.js → pty-4b3p33ns.js} +42 -42
- package/dist/chunks/{worktree-2xc5n587.js → pty-4bgjx4y9.js} +38 -38
- package/dist/chunks/{worktree-04enqndv.js → pty-4h75thkr.js} +18 -18
- package/dist/chunks/{worktree-2a2zhc3v.js → pty-4jeaa92r.js} +6 -6
- package/dist/chunks/{worktree-5vkfrnd8.js → pty-4kyk22vj.js} +43 -43
- package/dist/chunks/{worktree-kej5q4ky.js → pty-4p0kgrzt.js} +1 -1
- package/dist/chunks/{worktree-rmc821pf.js → pty-4rr74z9v.js} +8 -8
- package/dist/chunks/{worktree-0ke265bw.js → pty-57ez7d0k.js} +5 -5
- package/dist/chunks/{worktree-atnvsyyy.js → pty-57q53s15.js} +11 -11
- package/dist/chunks/{worktree-a1bz86dw.js → pty-5c4hm403.js} +3 -3
- package/dist/chunks/{worktree-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/pty-5qekf1cr.js +26 -0
- package/dist/chunks/{worktree-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-4ctxht0a.js → pty-5tvckp52.js} +26 -26
- package/dist/chunks/{worktree-efskn69j.js → pty-5xdv3y65.js} +24 -24
- package/dist/chunks/{worktree-br0tr5aq.js → pty-5yzzbxa7.js} +8 -8
- package/dist/chunks/{worktree-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{worktree-kjqh1yxe.js → pty-6avas0hs.js} +5 -5
- package/dist/chunks/{worktree-fr0wf22j.js → pty-6ejv29z8.js} +25 -25
- package/dist/chunks/{worktree-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-paegk39x.js → pty-6p3xbzsx.js} +4 -4
- package/dist/chunks/{worktree-hxy9p1j4.js → pty-6tc74vrw.js} +15 -15
- package/dist/chunks/{worktree-yx7aeq6j.js → pty-6vgkbqsf.js} +11 -11
- package/dist/chunks/{worktree-pfcm4e2t.js → pty-6wkd5avw.js} +30 -30
- package/dist/chunks/{worktree-t0w541at.js → pty-6zvnhsg3.js} +28 -28
- package/dist/chunks/{worktree-gck4x0yv.js → pty-74e549sx.js} +15 -15
- package/dist/chunks/{worktree-fxqygnfa.js → pty-7ac170kv.js} +4 -4
- package/dist/chunks/{worktree-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-qgn6gcr1.js → pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{worktree-v5zbexrb.js → pty-7nrhymjj.js} +24 -24
- package/dist/chunks/{worktree-wpm2rk0p.js → pty-7qq3ahcc.js} +6 -6
- package/dist/chunks/{worktree-g59fec1k.js → pty-7t8e8ps1.js} +11 -11
- package/dist/chunks/{worktree-n3k12czw.js → pty-7xnx6cga.js} +35 -35
- package/dist/chunks/{worktree-p44d8wdy.js → pty-809q4hne.js} +5 -5
- package/dist/chunks/{worktree-gmjjhz4f.js → pty-834a0b17.js} +7 -7
- package/dist/chunks/{worktree-11qxjnwn.js → pty-899tt7an.js} +26 -26
- package/dist/chunks/{worktree-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-yb3spt80.js → pty-8ev4rrc0.js} +4 -4
- package/dist/chunks/{worktree-mw934p8z.js → pty-8ha6ga5e.js} +8 -8
- package/dist/chunks/{worktree-k6c7vfzw.js → pty-8kgt14gf.js} +23 -23
- package/dist/chunks/{worktree-nx8bwbma.js → pty-8msxkbjy.js} +29 -29
- package/dist/chunks/{worktree-1xyq38ba.js → pty-8npqseq9.js} +15 -15
- package/dist/chunks/{worktree-qkvc6zdp.js → pty-8v55y81p.js} +26 -26
- package/dist/chunks/{worktree-emcas405.js → pty-8zqxjytc.js} +10 -10
- package/dist/chunks/{worktree-jkepba1g.js → pty-9mmr4cym.js} +17 -17
- package/dist/chunks/{worktree-yb90qen6.js → pty-9n4prt69.js} +13 -13
- package/dist/chunks/{worktree-gjg8myr7.js → pty-9sqkv26s.js} +44 -44
- package/dist/chunks/{worktree-zqeffdkx.js → pty-9yyvrqyy.js} +24 -24
- package/dist/chunks/{worktree-rswh72q4.js → pty-a5frg3c7.js} +9 -9
- package/dist/chunks/{worktree-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-h97ghsst.js → pty-abyxqag4.js} +4 -4
- package/dist/chunks/{worktree-cv42xg6h.js → pty-aqvz20a2.js} +10 -10
- package/dist/chunks/{worktree-cerv3vyz.js → pty-az62kead.js} +9 -9
- package/dist/chunks/{worktree-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-79m0gshw.js → pty-b6yzcphf.js} +11 -11
- package/dist/chunks/{worktree-91mgkbnq.js → pty-b785ew1k.js} +84 -84
- package/dist/chunks/{worktree-pqkghsa1.js → pty-bd89c7qa.js} +11 -11
- package/dist/chunks/{worktree-73vr0mv3.js → pty-be3g221r.js} +19 -19
- package/dist/chunks/{worktree-qbs3m11x.js → pty-bkjtrpfb.js} +24 -24
- package/dist/chunks/{worktree-891w0k4k.js → pty-bky20j8j.js} +9 -9
- package/dist/chunks/{worktree-2vkv0cnq.js → pty-bm3m92rh.js} +12 -12
- package/dist/chunks/{worktree-kxrysg97.js → pty-brqzv7bg.js} +28 -28
- package/dist/chunks/{worktree-98qyphw1.js → pty-bwbrqz0a.js} +10 -10
- package/dist/chunks/{worktree-tennbh37.js → pty-bxgqktpk.js} +24 -24
- package/dist/chunks/{worktree-x52bhdm3.js → pty-byqk2fv6.js} +24 -24
- package/dist/chunks/{worktree-bgrhz2qd.js → pty-c2qj7f61.js} +16 -16
- package/dist/chunks/{worktree-ea5pzae2.js → pty-c9g527t4.js} +34 -34
- package/dist/chunks/{worktree-3etfrgmm.js → pty-ch7ar4cr.js} +22 -22
- package/dist/chunks/{worktree-97w5rk9e.js → pty-cq9vh2fv.js} +8 -8
- package/dist/chunks/{worktree-cw30v4cn.js → pty-cy7q8w9z.js} +10 -10
- package/dist/chunks/{worktree-kcqxfy54.js → pty-czhz2k7d.js} +11 -11
- package/dist/chunks/{worktree-ptm80rvs.js → pty-d58ea4wx.js} +8 -8
- package/dist/chunks/{worktree-r1ab995x.js → pty-d7tjjqf6.js} +6 -6
- package/dist/chunks/{worktree-xp8r7stt.js → pty-dcsznwm0.js} +17 -17
- package/dist/chunks/{worktree-saaf3fxb.js → pty-dhwr7h25.js} +11 -11
- package/dist/chunks/{worktree-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{worktree-drwq78ky.js → pty-drwq78ky.js} +1 -1
- package/dist/chunks/{worktree-bpe9edxa.js → pty-e0r8ercz.js} +11 -11
- package/dist/chunks/{worktree-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{worktree-3h7n30se.js → pty-e41je68c.js} +3 -3
- package/dist/chunks/{worktree-bchad5r9.js → pty-e9wrjfx0.js} +50 -50
- package/dist/chunks/{worktree-7v1e5ggg.js → pty-eaznszq2.js} +26 -26
- package/dist/chunks/{worktree-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-5a2bhhk2.js → pty-eq9606cq.js} +42 -42
- package/dist/chunks/{worktree-erw5rpbs.js → pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{worktree-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-qssnpgtf.js → pty-f1cvcqqp.js} +23 -23
- package/dist/chunks/{worktree-knb7evpn.js → pty-fkjmw100.js} +6 -6
- package/dist/chunks/{worktree-g8d3gcyj.js → pty-fm2qvscf.js} +7 -7
- package/dist/chunks/{worktree-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-jca4demv.js → pty-g2yz86wh.js} +2 -2
- package/dist/chunks/{worktree-vy52bkvf.js → pty-g9q532r4.js} +1 -1
- package/dist/chunks/{worktree-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-3ppptnan.js → pty-gjmk74th.js} +6 -6
- package/dist/chunks/{worktree-nrjsavn4.js → pty-gq6z7eg4.js} +26 -26
- package/dist/chunks/{worktree-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-40yvm8mv.js → pty-gydxxgyg.js} +15 -15
- package/dist/chunks/{worktree-2y34zzjz.js → pty-gzbkpp9m.js} +4 -4
- package/dist/chunks/{worktree-kj5jtrjw.js → pty-gzfs38sx.js} +23 -23
- package/dist/chunks/{worktree-tg3vth51.js → pty-h3c20vca.js} +4 -4
- package/dist/chunks/{worktree-8z00fdkb.js → pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{worktree-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-9t5725tz.js → pty-h8w3rnrc.js} +8 -8
- package/dist/chunks/{worktree-f828m53h.js → pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{worktree-p732wtvd.js → pty-hfs4qywr.js} +32 -32
- package/dist/chunks/{worktree-kkee341m.js → pty-hn8hcjvd.js} +3 -3
- package/dist/chunks/{worktree-8genm1rm.js → pty-hr990vwq.js} +40 -40
- package/dist/chunks/{worktree-67yjsjje.js → pty-hsv1w0ka.js} +64 -33
- package/dist/chunks/{worktree-x7pykh9x.js → pty-htekf6zf.js} +9 -9
- package/dist/chunks/{worktree-vpdbt6f3.js → pty-hyag3rfz.js} +11 -11
- package/dist/chunks/{worktree-x2fsbb45.js → pty-j2e43x50.js} +34 -34
- package/dist/chunks/{worktree-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-tcg29b4q.js → pty-j5786zrt.js} +1 -1
- package/dist/chunks/{worktree-8w211mg0.js → pty-jdbtptns.js} +30 -30
- package/dist/chunks/{worktree-gjtye2vm.js → pty-jnzdfagj.js} +5 -5
- package/dist/chunks/{worktree-s6srgh84.js → pty-jqe5ka82.js} +17 -17
- package/dist/chunks/{worktree-7s451enq.js → pty-k1gkpfdk.js} +8 -8
- package/dist/chunks/{worktree-k3c624dm.js → pty-k3c624dm.js} +3 -3
- package/dist/chunks/{worktree-c71z4xdm.js → pty-kb0jenp9.js} +20 -20
- package/dist/chunks/{worktree-7dqtr61s.js → pty-kbmk2nk1.js} +2 -2
- package/dist/chunks/{worktree-xjwkwtp6.js → pty-kk61yved.js} +15 -15
- package/dist/chunks/{worktree-2eqxfp0f.js → pty-kmrnkd77.js} +3 -3
- package/dist/chunks/{worktree-ksp79sx9.js → pty-kss3k1ej.js} +23 -23
- package/dist/chunks/{worktree-7qrhk883.js → pty-kz37x8hb.js} +83 -83
- package/dist/chunks/{worktree-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{worktree-jqbbnhze.js → pty-m2taxsaw.js} +10 -10
- package/dist/chunks/{worktree-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-ezhgv383.js → pty-m5mra8ny.js} +13 -13
- package/dist/chunks/{worktree-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-rqwdmbz9.js → pty-mg0hvqns.js} +24 -24
- package/dist/chunks/{worktree-ptwjer8q.js → pty-mv5tqpbn.js} +17 -17
- package/dist/chunks/{worktree-8zc4hgbz.js → pty-mwfspft0.js} +9 -9
- package/dist/chunks/{worktree-aqjys6xa.js → pty-mx4hjh21.js} +32 -32
- package/dist/chunks/{worktree-h9r9fv56.js → pty-mxr6rdrb.js} +16 -16
- package/dist/chunks/{worktree-mg4r3kp3.js → pty-n5zcbnsa.js} +36 -36
- package/dist/chunks/{worktree-ear7p3c0.js → pty-n7b52vzq.js} +20 -20
- package/dist/chunks/{worktree-c2kxfk76.js → pty-nam2k8jt.js} +10 -10
- package/dist/chunks/pty-nbctyxha.js +488 -0
- package/dist/chunks/{worktree-6jppzzhm.js → pty-nbqevg8t.js} +13 -13
- package/dist/chunks/{worktree-rymj624c.js → pty-npbak50e.js} +9 -9
- package/dist/chunks/{worktree-yjptyezs.js → pty-p1nm93x7.js} +5 -5
- package/dist/chunks/{worktree-p28j5sbe.js → pty-p28j5sbe.js} +2 -2
- package/dist/chunks/{worktree-kq20shcj.js → pty-p3j3z1wm.js} +24 -24
- package/dist/chunks/{worktree-aemx4jfn.js → pty-p5hkqs15.js} +3 -3
- package/dist/chunks/{worktree-pb9y5tzb.js → pty-p8x8xcsb.js} +12 -12
- package/dist/chunks/{worktree-qh0240ge.js → pty-p91ndb2v.js} +46 -46
- package/dist/chunks/pty-pf31ssb9.js +18 -0
- package/dist/chunks/{worktree-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-wjahessk.js → pty-pwyph8fp.js} +11 -11
- package/dist/chunks/{worktree-cqastrjb.js → pty-pxnzv34t.js} +15 -15
- package/dist/chunks/{worktree-rswfs2n2.js → pty-q36t7h4b.js} +3 -3
- package/dist/chunks/{worktree-tpbw80pw.js → pty-q9k3nk2m.js} +12 -12
- package/dist/chunks/{worktree-as4zy6vm.js → pty-qf8xbt1v.js} +6 -6
- package/dist/chunks/{worktree-q12fs922.js → pty-qmg269n7.js} +13 -13
- package/dist/chunks/{worktree-eg49wf4x.js → pty-qph7hyw7.js} +4 -4
- package/dist/chunks/{worktree-sx1n432n.js → pty-qq11w61w.js} +4 -4
- package/dist/chunks/{worktree-68034420.js → pty-qqrhpyxk.js} +18 -18
- package/dist/chunks/{worktree-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-w418y777.js → pty-qtwarjwz.js} +11 -11
- package/dist/chunks/{worktree-nnxdhk5c.js → pty-qz49fwgp.js} +6 -6
- package/dist/chunks/{worktree-c765mh8b.js → pty-r2m716tb.js} +5 -5
- package/dist/chunks/{worktree-sncnr08v.js → pty-r3grxea3.js} +23 -23
- package/dist/chunks/{worktree-cxs7v5sj.js → pty-rbs0ef4y.js} +32 -32
- package/dist/chunks/{worktree-nv07z01f.js → pty-rccz2tys.js} +6 -6
- package/dist/chunks/{worktree-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-n6ewyaym.js → pty-rf9y12ds.js} +5 -5
- package/dist/chunks/{worktree-f79e7k6s.js → pty-rgt3cf1f.js} +10 -10
- package/dist/chunks/{worktree-fhs97t90.js → pty-rhafb4aa.js} +5 -5
- package/dist/chunks/{worktree-w1pnds27.js → pty-rjkasajw.js} +17 -17
- package/dist/chunks/{worktree-3z13rd8a.js → pty-rrnpfv6a.js} +20 -20
- package/dist/chunks/{worktree-3s6m3xx6.js → pty-rsd57mk1.js} +14 -14
- package/dist/chunks/{worktree-fdtfpwha.js → pty-s1mn6qcj.js} +8 -8
- package/dist/chunks/{worktree-qppnxmq1.js → pty-s1wc6ad4.js} +15 -15
- package/dist/chunks/{worktree-fzmcda3j.js → pty-s4ajyzwp.js} +17 -17
- package/dist/chunks/{worktree-yrznvahk.js → pty-s4enseaf.js} +2 -2
- package/dist/chunks/{worktree-pw2fq9db.js → pty-s6qp1k48.js} +5 -5
- package/dist/chunks/{worktree-02nrjc1r.js → pty-s8d7rejh.js} +8 -8
- package/dist/chunks/{worktree-y04dpqf4.js → pty-sbycj2hd.js} +15 -15
- package/dist/chunks/{worktree-vj52mgyq.js → pty-sd8zp0nj.js} +4 -4
- package/dist/chunks/{worktree-r2fqvpfx.js → pty-sk1rxzc5.js} +14 -14
- package/dist/chunks/{worktree-1xsagsv9.js → pty-ssr8tzqd.js} +7 -7
- package/dist/chunks/{worktree-z5hgzkz0.js → pty-stdr0dsx.js} +20 -20
- package/dist/chunks/{worktree-r3pbwjbk.js → pty-sy45410j.js} +20 -20
- package/dist/chunks/{worktree-rnjmkr11.js → pty-t4h1a8sm.js} +10 -10
- package/dist/chunks/{worktree-r43w5d2a.js → pty-t62nene4.js} +50 -50
- package/dist/chunks/{worktree-8cgz7b85.js → pty-t96c7fmv.js} +25 -25
- package/dist/chunks/{worktree-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-28gpn7ce.js → pty-tb60vd7q.js} +4 -4
- package/dist/chunks/{worktree-89znhe33.js → pty-tcezcvh9.js} +4 -4
- package/dist/chunks/{worktree-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-rfdt8g4x.js → pty-teerv99t.js} +64 -64
- package/dist/chunks/{worktree-e516v6v9.js → pty-tk66bvfd.js} +20 -20
- package/dist/chunks/{worktree-0y84g9dp.js → pty-tqg72d4k.js} +17 -17
- package/dist/chunks/{worktree-9r04htgm.js → pty-tvkyymax.js} +6 -6
- package/dist/chunks/{worktree-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-p3srhck7.js → pty-v58jy1xd.js} +11 -11
- package/dist/chunks/{worktree-p1h8wft8.js → pty-v68hp2va.js} +47 -47
- package/dist/chunks/{worktree-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-p85a1qhf.js → pty-vjrtmzpa.js} +5 -5
- package/dist/chunks/{worktree-6e8z0jrw.js → pty-vk0pdsgf.js} +32 -32
- package/dist/chunks/{worktree-1x4qbafh.js → pty-vkwcxm6e.js} +5 -5
- package/dist/chunks/{worktree-s1ndejzt.js → pty-vqf3rr9z.js} +17 -17
- package/dist/chunks/{worktree-g190xswt.js → pty-vsp1fds9.js} +21 -21
- package/dist/chunks/{worktree-ay6nbv33.js → pty-vyhtd5az.js} +36 -36
- package/dist/chunks/{worktree-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-p3ms0v6j.js → pty-waqpjwb8.js} +3 -3
- package/dist/chunks/{worktree-an77xd2b.js → pty-wcs8mysc.js} +28 -28
- package/dist/chunks/{worktree-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-994b2pxg.js → pty-wr7ps67x.js} +5 -5
- package/dist/chunks/{worktree-pbsj02a2.js → pty-wvh43mtc.js} +21 -21
- package/dist/chunks/{worktree-cfqgz3t8.js → pty-wzdyyep8.js} +8 -8
- package/dist/chunks/{worktree-18e56dsp.js → pty-x0511brf.js} +4 -4
- package/dist/chunks/{worktree-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-fz3rwrdq.js → pty-x31dz1np.js} +41 -41
- package/dist/chunks/{worktree-zd4g673n.js → pty-x5pjsa02.js} +12 -12
- package/dist/chunks/{worktree-aar3e3j0.js → pty-xdw3myhw.js} +22 -22
- package/dist/chunks/{worktree-c746w9ce.js → pty-xgqsyfnn.js} +16 -16
- package/dist/chunks/{worktree-q3t37ft6.js → pty-xkhfjrgz.js} +3 -3
- package/dist/chunks/{worktree-rwcdkc4s.js → pty-xseb90fg.js} +10 -10
- package/dist/chunks/{worktree-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-dpkg50ah.js → pty-y71avatq.js} +4 -4
- package/dist/chunks/{worktree-y89k24cj.js → pty-ynxbryrd.js} +20 -20
- package/dist/chunks/{worktree-0c8jn50h.js → pty-yqngptm3.js} +19 -19
- package/dist/chunks/{worktree-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-r90yh4s3.js → pty-ywdxak5q.js} +37 -37
- package/dist/chunks/{worktree-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-gnykwcvs.js → pty-z27wwaqb.js} +11 -11
- package/dist/chunks/{worktree-tn0aqsam.js → pty-z3pw5915.js} +5 -5
- package/dist/chunks/{worktree-wjrcy753.js → pty-z50h5snd.js} +20 -20
- package/dist/chunks/{worktree-6ycjtwdb.js → pty-z62c9ayt.js} +12 -12
- package/dist/chunks/{worktree-gst7axd9.js → pty-zav06jzw.js} +4 -4
- package/dist/chunks/{worktree-3f2v0gwp.js → pty-ze9yakes.js} +14 -14
- package/dist/chunks/{worktree-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-npp86ptg.js → pty-zg25sgvs.js} +9 -9
- package/dist/chunks/{worktree-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-hptze64w.js → pty-zvkwbpx3.js} +13 -13
- package/dist/chunks/{worktree-jn8151j6.js → pty-zwp73gaw.js} +17 -17
- package/dist/chunks/{worktree-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{worktree-cbch6rr6.js → pty-zy742dcv.js} +32 -32
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- 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 +131 -131
- 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 +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- 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 +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 +367 -367
- 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 +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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- 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 +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- 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 +358 -358
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- 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-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +355 -355
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- 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 +4 -4
- 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 +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- 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 +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +228 -228
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- 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 +127 -127
- 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 +218 -218
- package/dist/session/execution.js +127 -127
- 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 +118 -118
- package/dist/session/model-transport.js +9 -9
- 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 -230
- 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 +113 -113
- 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 +169 -169
- 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 +72 -72
- 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 +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- 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 +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/job.d.ts +3 -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 +5 -5
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +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 +79 -79
- 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 +97 -97
- package/package.json +8 -8
- package/dist/chunks/worktree-0mesazry.js +0 -4
- package/dist/chunks/worktree-9sh4wc5j.js +0 -18
- package/dist/chunks/worktree-cvb3zs8g.js +0 -26
- package/dist/chunks/worktree-nvmavsm4.js +0 -252
- package/dist/chunks/worktree-qqfjyj17.js +0 -488
- /package/dist/chunks/{worktree-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./pty-bxgqktpk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-m5mra8ny.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service29
|
|
11
|
+
} from "./pty-74e549sx.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service64
|
|
14
|
+
} from "./pty-2em355j9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service46
|
|
17
|
+
} from "./pty-jqe5ka82.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input12,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin47,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name12,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name12 = "write";
|
|
39
|
+
var Input12 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin47 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service46;
|
|
56
|
+
const fileMutation = yield* Service13;
|
|
57
|
+
const environment = yield* Service58;
|
|
58
|
+
const formatter = yield* Service29;
|
|
59
|
+
const permission = yield* Service64;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name12,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input12,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name12, Input12, Output8, toModelContent6, Plugin47, exports_write };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./pty-1cr9kxrr.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID13.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-qph7hyw7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node74
|
|
7
|
+
} from "./pty-mg0hvqns.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
Service5,
|
|
10
10
|
node6
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-8kgt14gf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service26
|
|
14
|
+
} from "./pty-pf31ssb9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node16,
|
|
17
|
+
ID2
|
|
18
|
+
} from "./pty-stdr0dsx.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service2,
|
|
21
|
+
node3
|
|
22
|
+
} from "./pty-5yzzbxa7.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-nbctyxha.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
make6,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-d58ea4wx.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service4,
|
|
34
|
+
node5
|
|
35
|
+
} from "./pty-8zqxjytc.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service3,
|
|
38
|
+
node4
|
|
39
|
+
} from "./pty-0jq9fyba.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./pty-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
46
46
|
__export(exports_supervisor, {
|
|
47
47
|
PluginSupervisor: () => exports_supervisor,
|
|
48
|
-
layer: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
layer: () => layer3,
|
|
49
|
+
node: () => node2
|
|
50
50
|
});
|
|
51
51
|
import { Event } from "@opencode/schema/config";
|
|
52
52
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
115
115
|
failures: [
|
|
116
116
|
...failures.values(),
|
|
117
117
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
118
|
-
id:
|
|
118
|
+
id: ID2.make(plugin.id),
|
|
119
119
|
source: plugin.source ?? { type: "builtin" },
|
|
120
120
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
121
121
|
features: { server: true, ...plugin.features }
|
|
@@ -124,14 +124,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
124
124
|
pending: [...pending]
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
|
-
var
|
|
128
|
-
const registry = yield*
|
|
129
|
-
const sdk = yield*
|
|
130
|
-
const instance = yield*
|
|
131
|
-
const sources = yield*
|
|
132
|
-
const modules = yield*
|
|
127
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
+
const registry = yield* Service26;
|
|
129
|
+
const sdk = yield* Service4;
|
|
130
|
+
const instance = yield* Service2;
|
|
131
|
+
const sources = yield* Service5;
|
|
132
|
+
const modules = yield* make6();
|
|
133
133
|
const bus = yield* Service82;
|
|
134
|
-
const updates = yield*
|
|
134
|
+
const updates = yield* Service3;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
209
|
+
node16,
|
|
210
|
+
node5,
|
|
211
|
+
node3,
|
|
212
212
|
node6,
|
|
213
|
-
|
|
213
|
+
node4,
|
|
214
214
|
node86,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node74,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -221,6 +221,6 @@ function pluginSource(target) {
|
|
|
221
221
|
return { type: "local", path: target };
|
|
222
222
|
return { type: "package", target };
|
|
223
223
|
}
|
|
224
|
-
var
|
|
224
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service72,
|
|
6
|
+
node76
|
|
7
|
+
} from "./pty-m2taxsaw.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-xkhfjrgz.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service52,
|
|
23
|
+
make: () => make19,
|
|
24
|
+
node: () => node55
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -49,8 +49,9 @@ var Background = Schema.Struct({
|
|
|
49
49
|
});
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
|
+
var COMPLETED_LIMIT = 25;
|
|
52
53
|
|
|
53
|
-
class
|
|
54
|
+
class Service52 extends Context.Service()("@opencode/Job") {
|
|
54
55
|
}
|
|
55
56
|
function snapshot(job) {
|
|
56
57
|
return {
|
|
@@ -85,12 +86,24 @@ function decrementSession(input, sessionID) {
|
|
|
85
86
|
next.set(sessionID, count - 1);
|
|
86
87
|
return next;
|
|
87
88
|
}
|
|
88
|
-
var
|
|
89
|
-
const kv = yield*
|
|
89
|
+
var make19 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service72;
|
|
90
91
|
const state = {
|
|
91
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
92
93
|
scope: yield* Scope.Scope
|
|
93
94
|
};
|
|
95
|
+
const consume = (id, generation) => SynchronizedRef.update(state.jobs, (jobs) => {
|
|
96
|
+
const job = jobs.get(id);
|
|
97
|
+
if (!job || job.scope !== generation || job.info.status === "running" || job.consumed)
|
|
98
|
+
return jobs;
|
|
99
|
+
const next = new Map(jobs);
|
|
100
|
+
next.delete(id);
|
|
101
|
+
next.set(id, { ...job, consumed: true });
|
|
102
|
+
const completed = [...next].filter(([, job]) => job.consumed && !job.info.notificationID);
|
|
103
|
+
for (const [id] of completed.slice(0, -COMPLETED_LIMIT))
|
|
104
|
+
next.delete(id);
|
|
105
|
+
return next;
|
|
106
|
+
});
|
|
94
107
|
const persistBackground = Effect.fnUntraced(function* (job) {
|
|
95
108
|
if (!job.recovery || !job.info.notificationID)
|
|
96
109
|
return;
|
|
@@ -169,6 +182,7 @@ var make17 = Effect.gen(function* () {
|
|
|
169
182
|
scope,
|
|
170
183
|
blockingSessions: new Map,
|
|
171
184
|
isBackgrounded: false,
|
|
185
|
+
consumed: false,
|
|
172
186
|
recovery: input.recovery
|
|
173
187
|
};
|
|
174
188
|
return [{ info: snapshot(job), scope }, new Map(jobs).set(id, job)];
|
|
@@ -182,16 +196,18 @@ var make17 = Effect.gen(function* () {
|
|
|
182
196
|
const job = (yield* SynchronizedRef.get(state.jobs)).get(input.id);
|
|
183
197
|
if (!job)
|
|
184
198
|
return { timedOut: false };
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
199
|
+
return yield* Effect.gen(function* () {
|
|
200
|
+
if (job.info.status !== "running")
|
|
201
|
+
return { info: snapshot(job), timedOut: false };
|
|
202
|
+
if (input.timeout === undefined)
|
|
203
|
+
return { info: yield* Deferred.await(job.done), timedOut: false };
|
|
204
|
+
if (input.timeout <= 0)
|
|
205
|
+
return { info: snapshot(job), timedOut: true };
|
|
206
|
+
const info = yield* Deferred.await(job.done).pipe(Effect.timeoutOption(input.timeout));
|
|
207
|
+
if (info._tag === "Some")
|
|
208
|
+
return { info: info.value, timedOut: false };
|
|
190
209
|
return { info: snapshot(job), timedOut: true };
|
|
191
|
-
|
|
192
|
-
if (info._tag === "Some")
|
|
193
|
-
return { info: info.value, timedOut: false };
|
|
194
|
-
return { info: snapshot(job), timedOut: true };
|
|
210
|
+
}).pipe(Effect.tap((result) => result.info.status === "running" || job.recovery ? Effect.void : consume(input.id, job.scope)));
|
|
195
211
|
});
|
|
196
212
|
const removeBlock = Effect.fnUntraced(function* (input) {
|
|
197
213
|
yield* SynchronizedRef.update(state.jobs, (jobs) => {
|
|
@@ -210,11 +226,11 @@ var make17 = Effect.gen(function* () {
|
|
|
210
226
|
if (!job)
|
|
211
227
|
return [{ type: "missing" }, jobs];
|
|
212
228
|
if (job.info.status !== "running")
|
|
213
|
-
return [{ type: "finished", info: snapshot(job) }, jobs];
|
|
229
|
+
return [{ type: "finished", info: snapshot(job), generation: job.scope }, jobs];
|
|
214
230
|
if (job.isBackgrounded)
|
|
215
231
|
return [{ type: "backgrounded", info: snapshot(job) }, jobs];
|
|
216
232
|
return [
|
|
217
|
-
{ type: "wait", wait: { done: job.done, backgrounded: job.backgrounded } },
|
|
233
|
+
{ type: "wait", wait: { done: job.done, backgrounded: job.backgrounded, generation: job.scope } },
|
|
218
234
|
new Map(jobs).set(input.id, {
|
|
219
235
|
...job,
|
|
220
236
|
blockingSessions: incrementSession(job.blockingSessions, input.sessionID)
|
|
@@ -223,11 +239,13 @@ var make17 = Effect.gen(function* () {
|
|
|
223
239
|
});
|
|
224
240
|
if (result.type === "missing")
|
|
225
241
|
return;
|
|
226
|
-
if (result.type === "finished")
|
|
242
|
+
if (result.type === "finished") {
|
|
243
|
+
yield* consume(input.id, result.generation);
|
|
227
244
|
return { type: "finished", info: result.info };
|
|
245
|
+
}
|
|
228
246
|
if (result.type === "backgrounded")
|
|
229
247
|
return { type: "backgrounded", info: result.info };
|
|
230
|
-
return yield* Effect.raceFirst(Deferred.await(result.wait.done).pipe(Effect.map((info) => ({ type: "finished", info }))), Deferred.await(result.wait.backgrounded).pipe(Effect.map((info) => ({ type: "backgrounded", info })))).pipe(Effect.ensuring(removeBlock(input)));
|
|
248
|
+
return yield* Effect.raceFirst(Deferred.await(result.wait.done).pipe(Effect.map((info) => ({ type: "finished", info }))), Deferred.await(result.wait.backgrounded).pipe(Effect.map((info) => ({ type: "backgrounded", info })))).pipe(Effect.tap((outcome) => outcome.type === "finished" ? consume(input.id, result.wait.generation) : Effect.void), Effect.ensuring(removeBlock(input)));
|
|
231
249
|
});
|
|
232
250
|
const markBackground = Effect.fnUntraced(function* (job) {
|
|
233
251
|
const next = {
|
|
@@ -285,7 +303,7 @@ var make17 = Effect.gen(function* () {
|
|
|
285
303
|
if (!job)
|
|
286
304
|
return [{}, jobs];
|
|
287
305
|
if (job.info.status !== "running")
|
|
288
|
-
return [{ info: snapshot(job) }, jobs];
|
|
306
|
+
return [{ info: snapshot(job), generation: job.scope }, jobs];
|
|
289
307
|
const next = {
|
|
290
308
|
...job,
|
|
291
309
|
blockingSessions: new Map,
|
|
@@ -296,12 +314,17 @@ var make17 = Effect.gen(function* () {
|
|
|
296
314
|
}
|
|
297
315
|
};
|
|
298
316
|
yield* persistBackground(next);
|
|
299
|
-
return [
|
|
317
|
+
return [
|
|
318
|
+
{ info: snapshot(next), done: job.done, scope: job.scope, generation: job.scope },
|
|
319
|
+
new Map(jobs).set(id, next)
|
|
320
|
+
];
|
|
300
321
|
}));
|
|
301
322
|
if (result.info && result.done)
|
|
302
323
|
yield* Deferred.succeed(result.done, result.info);
|
|
303
324
|
if (result.scope)
|
|
304
325
|
yield* Scope.close(result.scope, Exit.void);
|
|
326
|
+
if (result.generation)
|
|
327
|
+
yield* consume(id, result.generation);
|
|
305
328
|
return result.info;
|
|
306
329
|
});
|
|
307
330
|
const pendingBackground = Effect.gen(function* () {
|
|
@@ -314,8 +337,16 @@ var make17 = Effect.gen(function* () {
|
|
|
314
337
|
} while (after);
|
|
315
338
|
return recovered;
|
|
316
339
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
317
|
-
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) =>
|
|
318
|
-
|
|
340
|
+
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => SynchronizedRef.updateEffect(state.jobs, (jobs) => Effect.gen(function* () {
|
|
341
|
+
yield* kv.remove(`${backgroundPrefix}${notificationID}`);
|
|
342
|
+
const entry = [...jobs].find(([, job]) => job.info.notificationID === notificationID);
|
|
343
|
+
if (!entry || entry[1].info.status === "running")
|
|
344
|
+
return jobs;
|
|
345
|
+
const next = new Map(jobs);
|
|
346
|
+
next.delete(entry[0]);
|
|
347
|
+
return next;
|
|
348
|
+
})));
|
|
349
|
+
return Service52.of({
|
|
319
350
|
get,
|
|
320
351
|
start,
|
|
321
352
|
wait,
|
|
@@ -327,7 +358,7 @@ var make17 = Effect.gen(function* () {
|
|
|
327
358
|
completeBackground
|
|
328
359
|
});
|
|
329
360
|
});
|
|
330
|
-
var layer = Layer.effect(
|
|
331
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service52, make19);
|
|
362
|
+
var node55 = makeGlobalNode({ service: Service52, layer, deps: [node76] });
|
|
332
363
|
|
|
333
|
-
export {
|
|
364
|
+
export { Service52, make19, node55, exports_job };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./pty-gjmk74th.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-pf31ssb9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./pty-4b3p33ns.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service51;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service28
|
|
7
|
+
} from "./pty-byqk2fv6.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-xkhfjrgz.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-834a0b17.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service28;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|