@opencode/core 2.0.4 → 2.0.6
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 +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{location-2qbra9xj.js → persistent-pty-06dd7vd0.js} +13 -13
- package/dist/chunks/{location-16fm13tn.js → persistent-pty-07z5tzwy.js} +5 -5
- package/dist/chunks/{location-gvqzdcce.js → persistent-pty-0eqr15n0.js} +31 -31
- package/dist/chunks/{location-4v7ac2af.js → persistent-pty-0f5egwty.js} +29 -29
- package/dist/chunks/{location-4ndgv5gc.js → persistent-pty-0kraehyv.js} +11 -11
- package/dist/chunks/{location-5f0yx823.js → persistent-pty-0n9t5jdb.js} +11 -11
- package/dist/chunks/{location-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-1pjkgqc1.js → persistent-pty-0wnsc2cx.js} +11 -11
- package/dist/chunks/{location-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-8qwcecfd.js → persistent-pty-1ft1n4nv.js} +1 -1
- package/dist/chunks/{location-fkrjvdfc.js → persistent-pty-1hfd6v93.js} +31 -31
- package/dist/chunks/{location-pb8g46v2.js → persistent-pty-1kvb0kat.js} +47 -47
- package/dist/chunks/{location-cyt4mzy8.js → persistent-pty-1t0nfscf.js} +88 -77
- package/dist/chunks/{location-xg60yd56.js → persistent-pty-1z7bxdr8.js} +25 -22
- package/dist/chunks/{location-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{location-d4091zmr.js → persistent-pty-22k63xb0.js} +7 -7
- package/dist/chunks/{location-fe5yr6he.js → persistent-pty-23mp22r0.js} +27 -27
- package/dist/chunks/{location-6h73sxmp.js → persistent-pty-2402vzrj.js} +5 -5
- package/dist/chunks/{location-z63w68vq.js → persistent-pty-29x78va6.js} +6 -6
- package/dist/chunks/{location-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-bjs2yq5f.js → persistent-pty-2jmaghvr.js} +6 -6
- package/dist/chunks/{location-x3589ane.js → persistent-pty-2kg3amvy.js} +41 -29
- package/dist/chunks/{location-84fnhy9b.js → persistent-pty-2ptmrvab.js} +7 -7
- package/dist/chunks/{location-cshhrmft.js → persistent-pty-2qke6n7n.js} +14 -14
- package/dist/chunks/{location-k3rr10ns.js → persistent-pty-35v1kxn5.js} +32 -32
- package/dist/chunks/{location-a1a50ys5.js → persistent-pty-3cz8rj72.js} +5 -5
- package/dist/chunks/{location-7d92myjq.js → persistent-pty-3esknjh8.js} +46 -46
- package/dist/chunks/{location-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-44ke2mar.js → persistent-pty-44ke2mar.js} +2 -2
- package/dist/chunks/{location-z9037jhe.js → persistent-pty-45ke46p8.js} +11 -11
- package/dist/chunks/{location-jrr2ndyj.js → persistent-pty-49e0ywga.js} +3 -3
- package/dist/chunks/{location-ycjgd44k.js → persistent-pty-4aps5ycz.js} +3 -3
- package/dist/chunks/{location-6qx63egk.js → persistent-pty-4c1zt1be.js} +83 -83
- package/dist/chunks/{location-pe4p6r2b.js → persistent-pty-4ka5ffeb.js} +42 -42
- package/dist/chunks/{location-r54z1mhc.js → persistent-pty-4m8jz26w.js} +12 -12
- package/dist/chunks/{location-9e4sgp44.js → persistent-pty-4st9gtz8.js} +9 -9
- package/dist/chunks/{location-nng2ktcm.js → persistent-pty-4vq28sgd.js} +2 -2
- package/dist/chunks/{location-d4h3m1fk.js → persistent-pty-4yerfa2a.js} +22 -22
- package/dist/chunks/{location-t56ztj25.js → persistent-pty-4ygxkg3r.js} +28 -28
- package/dist/chunks/{location-qb3a001x.js → persistent-pty-51a2ymsf.js} +43 -43
- package/dist/chunks/{location-ynp65gvm.js → persistent-pty-53vt59dk.js} +10 -7
- package/dist/chunks/{location-4y7mzcta.js → persistent-pty-55wk8xf1.js} +9 -9
- package/dist/chunks/{location-57ez7d0k.js → persistent-pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
- package/dist/chunks/persistent-pty-5cyty3r2.js +478 -0
- package/dist/chunks/{location-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{location-z188jmp0.js → persistent-pty-5dp7vyn0.js} +13 -13
- package/dist/chunks/{location-t5fxxz44.js → persistent-pty-5dwyakjy.js} +28 -28
- package/dist/chunks/{location-me799xqk.js → persistent-pty-5esmf8a0.js} +31 -31
- package/dist/chunks/{location-htqn1cqw.js → persistent-pty-5kte75t4.js} +13 -13
- package/dist/chunks/{location-7yhrjmqc.js → persistent-pty-5r49kz0e.js} +27 -27
- package/dist/chunks/{location-y2bp1sda.js → persistent-pty-5smkf6vr.js} +15 -15
- package/dist/chunks/{location-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-4zwsjqnv.js → persistent-pty-5we05nd2.js} +10 -10
- package/dist/chunks/{location-2h5hbqz0.js → persistent-pty-61d6m9y9.js} +8 -8
- package/dist/chunks/{location-yvny6rkw.js → persistent-pty-63mn2t91.js} +27 -27
- package/dist/chunks/{location-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{location-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-gap281sm.js → persistent-pty-6nppgqk8.js} +13 -13
- package/dist/chunks/{location-bccdc2z8.js → persistent-pty-6vxbcxjn.js} +11 -11
- package/dist/chunks/{location-x1war47d.js → persistent-pty-6yaq8bgj.js} +14 -14
- package/dist/chunks/{location-mvfsc1pv.js → persistent-pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-c488s98d.js → persistent-pty-74rrnwt7.js} +5 -5
- package/dist/chunks/{location-m8dm7px8.js → persistent-pty-768y9nds.js} +15 -15
- package/dist/chunks/{location-hfdr1yjj.js → persistent-pty-7ac170kv.js} +4 -4
- package/dist/chunks/{location-genz7rm5.js → persistent-pty-7adxfadd.js} +4 -4
- package/dist/chunks/{location-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-607tc6va.js → persistent-pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-z83nn3gv.js → persistent-pty-7knfbc9g.js} +9 -9
- package/dist/chunks/{location-n2apd2zv.js → persistent-pty-7m245gq7.js} +9 -9
- package/dist/chunks/{location-t5j6jz0m.js → persistent-pty-81jqfy1y.js} +25 -25
- package/dist/chunks/{location-9ykb5v1y.js → persistent-pty-8558z9wf.js} +1 -1
- package/dist/chunks/{location-6yk9v5a8.js → persistent-pty-8649vrz9.js} +4 -4
- package/dist/chunks/{location-txrndw2w.js → persistent-pty-89x64swv.js} +26 -26
- package/dist/chunks/{location-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-h6nxw0pd.js → persistent-pty-8g5k0jjx.js} +4 -4
- package/dist/chunks/{location-pnbc4b3j.js → persistent-pty-8szzmgce.js} +14 -14
- package/dist/chunks/{location-p6k0w3ef.js → persistent-pty-8y1sr6jq.js} +9 -9
- package/dist/chunks/{location-kf09gset.js → persistent-pty-94pybxf5.js} +18 -18
- package/dist/chunks/{location-fzkvtrkw.js → persistent-pty-95t0hkjg.js} +3 -3
- package/dist/chunks/{location-tcddack9.js → persistent-pty-95z2c9pc.js} +18 -18
- package/dist/chunks/{location-mf4knkt4.js → persistent-pty-9rbga6h0.js} +26 -26
- package/dist/chunks/{location-ppnykba5.js → persistent-pty-9x1fwner.js} +14 -14
- package/dist/chunks/{location-fqb2p7cx.js → persistent-pty-a2ew8a62.js} +4 -4
- package/dist/chunks/{location-weh21y9w.js → persistent-pty-a4v39hfy.js} +11 -11
- package/dist/chunks/{location-41h561sc.js → persistent-pty-a89e0tac.js} +7 -8
- package/dist/chunks/{location-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{location-37s12vcn.js → persistent-pty-ag9w8cw1.js} +5 -5
- package/dist/chunks/{location-ejrd0ctn.js → persistent-pty-am60j996.js} +8 -8
- package/dist/chunks/{location-0n6bmg1f.js → persistent-pty-amys79f3.js} +15 -15
- package/dist/chunks/{location-k74qzmgf.js → persistent-pty-anj84gah.js} +14 -14
- package/dist/chunks/{location-mraxsbbc.js → persistent-pty-awsncmv7.js} +3 -3
- package/dist/chunks/{location-g6kf84zp.js → persistent-pty-axebf1a4.js} +8 -8
- package/dist/chunks/{location-ze4b80hv.js → persistent-pty-axg0gedx.js} +15 -15
- package/dist/chunks/{location-d2tce9ap.js → persistent-pty-axsc7vaz.js} +1 -1
- package/dist/chunks/{location-shtmkj1w.js → persistent-pty-ayxtpegw.js} +37 -33
- package/dist/chunks/{location-0cchtpr4.js → persistent-pty-azqw3jb1.js} +10 -10
- package/dist/chunks/{location-7w99qc9d.js → persistent-pty-b1a1n7cj.js} +3 -3
- package/dist/chunks/{location-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-ge2f9a94.js → persistent-pty-bjyddaxd.js} +22 -22
- package/dist/chunks/{location-b1ppdmtk.js → persistent-pty-byea612g.js} +12 -12
- package/dist/chunks/{location-mg9k7fh1.js → persistent-pty-ca0tf0b7.js} +21 -21
- package/dist/chunks/{location-p37cw4rj.js → persistent-pty-cmwkp3r5.js} +8 -8
- package/dist/chunks/{location-sr0mbv75.js → persistent-pty-cppz10m7.js} +21 -17
- package/dist/chunks/{location-eevr0wqz.js → persistent-pty-cpxfwkbg.js} +13 -13
- package/dist/chunks/{location-k624arf9.js → persistent-pty-crxeq1ff.js} +1 -1
- package/dist/chunks/{location-pg4czqbe.js → persistent-pty-cs048tcd.js} +37 -37
- package/dist/chunks/{location-5c0f1prt.js → persistent-pty-csf2jhsg.js} +4 -4
- package/dist/chunks/{location-d4he2qe1.js → persistent-pty-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-e4z3td0h.js → persistent-pty-d2z8n5gq.js} +22 -22
- package/dist/chunks/{location-4gbwy2e3.js → persistent-pty-d3yjsxey.js} +7 -7
- package/dist/chunks/{location-x1fxwrpv.js → persistent-pty-d9tmdxxh.js} +59 -59
- package/dist/chunks/{location-t9zs3egg.js → persistent-pty-dfe8djrf.js} +4 -4
- package/dist/chunks/{location-818pfwc9.js → persistent-pty-dhwr7h25.js} +11 -11
- package/dist/chunks/{location-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-yq2q1mjm.js → persistent-pty-e0rr02qg.js} +11 -11
- package/dist/chunks/{location-5qd3pb7m.js → persistent-pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-a6ntkr4w.js → persistent-pty-eh332ggn.js} +4 -4
- package/dist/chunks/{location-4gw20jm7.js → persistent-pty-em6q0j7w.js} +11 -11
- package/dist/chunks/{location-ha607pgt.js → persistent-pty-ene4sphv.js} +6 -6
- package/dist/chunks/{location-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-fb7w7frq.js → persistent-pty-f2pnfy76.js} +17 -17
- package/dist/chunks/{location-t08nxc7z.js → persistent-pty-f3r3b7qx.js} +10 -10
- package/dist/chunks/{location-pnv527nz.js → persistent-pty-fhs97t90.js} +9 -9
- package/dist/chunks/{location-xr0yzbqe.js → persistent-pty-fjqrscp2.js} +4 -4
- package/dist/chunks/{location-7x9k4znd.js → persistent-pty-frk1q65v.js} +77 -63
- package/dist/chunks/{location-qn4ba14w.js → persistent-pty-fvsyg6qk.js} +5 -5
- package/dist/chunks/{location-njhqdk9p.js → persistent-pty-fwwk8vbp.js} +9 -9
- package/dist/chunks/{location-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-typ6ybs4.js → persistent-pty-g2er3606.js} +34 -34
- package/dist/chunks/{location-d6b8948v.js → persistent-pty-g3v3qf95.js} +3 -3
- package/dist/chunks/{location-q3fve2xg.js → persistent-pty-gaezwqx6.js} +20 -20
- package/dist/chunks/{location-y7wqy8pr.js → persistent-pty-gbe3t543.js} +22 -22
- package/dist/chunks/{location-gbxnzk38.js → persistent-pty-gbwj81ez.js} +20 -20
- package/dist/chunks/{location-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-rvenhx9v.js → persistent-pty-ge476xvj.js} +149 -149
- package/dist/chunks/{location-zn93437f.js → persistent-pty-gek3hqmr.js} +32 -32
- package/dist/chunks/{location-qc69v8fs.js → persistent-pty-gfkdt5qx.js} +6 -6
- package/dist/chunks/{location-4pdtgr8m.js → persistent-pty-gjvcn921.js} +23 -23
- package/dist/chunks/{location-2jfw170m.js → persistent-pty-gkq5qcyg.js} +18 -18
- package/dist/chunks/{location-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/persistent-pty-gwk30na0.js +65 -0
- package/dist/chunks/persistent-pty-gxrgn0ds.js +252 -0
- package/dist/chunks/{location-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-vyy93js0.js → persistent-pty-h39be83b.js} +37 -37
- package/dist/chunks/{location-qx4vf964.js → persistent-pty-h3jkmnye.js} +19 -13
- package/dist/chunks/{location-h6r3nrb9.js → persistent-pty-h6r3nrb9.js} +1 -1
- package/dist/chunks/{location-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-t9tr543n.js → persistent-pty-hcf1qdgt.js} +70 -36
- package/dist/chunks/{location-s8367sdj.js → persistent-pty-hdb7f41y.js} +23 -23
- package/dist/chunks/{location-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-y16p1w2y.js → persistent-pty-hes1j7ga.js} +9 -9
- package/dist/chunks/{location-s9p11epj.js → persistent-pty-hfwabszm.js} +19 -19
- package/dist/chunks/persistent-pty-hr9dp009.js +4 -0
- package/dist/chunks/{location-pht46j1j.js → persistent-pty-hz2whg8s.js} +8 -8
- package/dist/chunks/{location-71zsbp9a.js → persistent-pty-hzhe0gvd.js} +17 -17
- package/dist/chunks/{location-1gfezbxs.js → persistent-pty-j10zwm3w.js} +22 -22
- package/dist/chunks/{location-snypfz89.js → persistent-pty-j542mbwn.js} +10 -10
- package/dist/chunks/{location-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/persistent-pty-j6sjxh3t.js +48 -0
- package/dist/chunks/{location-54nm7ze4.js → persistent-pty-jn5zp6kq.js} +7 -7
- package/dist/chunks/{location-st4yk5kb.js → persistent-pty-jp86qn4x.js} +17 -17
- package/dist/chunks/{location-jppvw2tx.js → persistent-pty-jppvw2tx.js} +2 -2
- package/dist/chunks/{location-r9mregkx.js → persistent-pty-k3c624dm.js} +44 -27
- package/dist/chunks/{location-czd7j84z.js → persistent-pty-k4vvbs8q.js} +11 -11
- package/dist/chunks/{location-wpt2rh6k.js → persistent-pty-k5z6kse8.js} +32 -32
- package/dist/chunks/{location-4wv5y4sh.js → persistent-pty-k859smhz.js} +40 -40
- package/dist/chunks/{location-xgwrkgz7.js → persistent-pty-kesv6def.js} +37 -37
- package/dist/chunks/{location-v955qpq7.js → persistent-pty-kkpc3vmh.js} +31 -27
- package/dist/chunks/{location-embw8kgh.js → persistent-pty-kne8f3cn.js} +4 -4
- package/dist/chunks/{location-ed36h9sa.js → persistent-pty-krracc70.js} +26 -26
- package/dist/chunks/{location-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-eqa8eaaa.js → persistent-pty-m2xyr0c9.js} +11 -11
- package/dist/chunks/persistent-pty-m3fdjcah.js +46 -0
- package/dist/chunks/{location-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-4kqwnkpq.js → persistent-pty-masp7ejj.js} +11 -11
- package/dist/chunks/{location-56gdpj1q.js → persistent-pty-mfqp6xfm.js} +6 -6
- package/dist/chunks/{location-tmq9efvy.js → persistent-pty-mg0hvqns.js} +24 -24
- package/dist/chunks/{location-cwwe0xn7.js → persistent-pty-mhhfs06f.js} +95 -95
- package/dist/chunks/{location-9djwnjxj.js → persistent-pty-mns2zg1r.js} +51 -51
- package/dist/chunks/{location-s1tbsnwf.js → persistent-pty-mpz2f9hn.js} +9 -9
- package/dist/chunks/{location-k9matq9w.js → persistent-pty-mvf3rv83.js} +12 -12
- package/dist/chunks/{location-71yarwtx.js → persistent-pty-mvpt2jq4.js} +4 -4
- package/dist/chunks/{location-t73kfpst.js → persistent-pty-mzwaw4s1.js} +13 -13
- package/dist/chunks/{location-7cgd0b8x.js → persistent-pty-nd83aj77.js} +18 -18
- package/dist/chunks/{location-26vh48er.js → persistent-pty-nga2x94v.js} +9 -9
- package/dist/chunks/{location-fvezrss0.js → persistent-pty-ngp9tqdp.js} +12 -12
- package/dist/chunks/{location-2y4tf7d9.js → persistent-pty-nmv4qf5f.js} +11 -8
- package/dist/chunks/{location-0g8qpgb7.js → persistent-pty-nrby4tch.js} +5 -5
- package/dist/chunks/{location-3egkyh9x.js → persistent-pty-p23m4hfg.js} +10 -10
- package/dist/chunks/{location-jpkvw2np.js → persistent-pty-p2860678.js} +44 -43
- package/dist/chunks/{location-2cg15w2x.js → persistent-pty-p4dwv8bm.js} +7 -7
- package/dist/chunks/{location-h6qd4a95.js → persistent-pty-pbjanjg3.js} +35 -35
- package/dist/chunks/{location-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{location-zyx4eyj3.js → persistent-pty-pqkcmren.js} +14 -14
- package/dist/chunks/{location-t7gx2zvx.js → persistent-pty-px9mqhce.js} +33 -33
- package/dist/chunks/{location-z6y26n19.js → persistent-pty-pxnvhszz.js} +2 -2
- package/dist/chunks/{location-cjdwydd7.js → persistent-pty-q00hqmww.js} +15 -15
- package/dist/chunks/{location-53nms1ph.js → persistent-pty-q4v54bpb.js} +36 -36
- package/dist/chunks/{location-485fr60v.js → persistent-pty-q5rhn9x0.js} +7 -7
- package/dist/chunks/{location-72ewdht9.js → persistent-pty-qcjne9p2.js} +38 -30
- package/dist/chunks/{location-etryyd25.js → persistent-pty-qe3x1bke.js} +37 -37
- package/dist/chunks/{location-4q5m965g.js → persistent-pty-qk51h78h.js} +9 -9
- package/dist/chunks/{location-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{location-mz8r4wev.js → persistent-pty-qydamkj6.js} +9 -9
- package/dist/chunks/{location-55rvc5qv.js → persistent-pty-r0185wf8.js} +25 -25
- package/dist/chunks/{location-jnj7tv4d.js → persistent-pty-r8b3me2j.js} +9 -9
- package/dist/chunks/{location-1acjjqhc.js → persistent-pty-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-aqxshtk7.js → persistent-pty-ry98d82p.js} +17 -17
- package/dist/chunks/{location-yrznvahk.js → persistent-pty-s4enseaf.js} +2 -2
- package/dist/chunks/{location-s8d7rejh.js → persistent-pty-s8d7rejh.js} +1 -1
- package/dist/chunks/{location-bwan06ag.js → persistent-pty-sd29ckz9.js} +11 -11
- package/dist/chunks/{location-c5gn303e.js → persistent-pty-sej7e0cf.js} +4 -4
- package/dist/chunks/{location-p84dsdfh.js → persistent-pty-sgwh5nyn.js} +8 -8
- package/dist/chunks/{location-e8xyxekr.js → persistent-pty-sj90gq8y.js} +47 -47
- package/dist/chunks/{location-t44e5ekz.js → persistent-pty-svvemcs6.js} +3 -3
- package/dist/chunks/{location-6xbxg5de.js → persistent-pty-sx06aacx.js} +6 -6
- package/dist/chunks/{location-g1sxm558.js → persistent-pty-t1dawjzh.js} +8 -8
- package/dist/chunks/{location-k9avtbwf.js → persistent-pty-t3qbpr1w.js} +9 -9
- package/dist/chunks/{location-1e34zb65.js → persistent-pty-t6xg0e00.js} +22 -22
- package/dist/chunks/{location-sqjb25rk.js → persistent-pty-tamw7e85.js} +14 -14
- package/dist/chunks/{location-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-cdbvkm1j.js → persistent-pty-tbpqatpq.js} +9 -9
- package/dist/chunks/{location-89znhe33.js → persistent-pty-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{location-rzs3gq0x.js → persistent-pty-tk9ew89t.js} +8 -8
- package/dist/chunks/{location-z0e3fq4k.js → persistent-pty-tqf3jwg0.js} +6 -6
- package/dist/chunks/{location-zhq6vg7a.js → persistent-pty-ts2x07a1.js} +1 -1
- package/dist/chunks/{location-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{location-ckz6mm57.js → persistent-pty-txckpkgb.js} +21 -21
- package/dist/chunks/persistent-pty-v1faaxn9.js +18 -0
- package/dist/chunks/{location-0ekdksbx.js → persistent-pty-v85t9p8e.js} +21 -21
- package/dist/chunks/{location-nb0t3kxz.js → persistent-pty-vcntgk60.js} +16 -16
- package/dist/chunks/{location-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/persistent-pty-vkwmxz0p.js +26 -0
- package/dist/chunks/{location-phz9ppdn.js → persistent-pty-vnzr5dgv.js} +13 -13
- package/dist/chunks/{location-g190xswt.js → persistent-pty-vsp1fds9.js} +21 -21
- package/dist/chunks/{location-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-h896pcm5.js → persistent-pty-w21bzq9q.js} +6 -6
- package/dist/chunks/{location-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-eshsynjd.js → persistent-pty-w47dka18.js} +31 -31
- package/dist/chunks/{location-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{location-p3qxne8d.js → persistent-pty-wn0nt2j8.js} +24 -24
- package/dist/chunks/{location-2073epbj.js → persistent-pty-wp9pt51y.js} +9 -9
- package/dist/chunks/{location-1ajyz94d.js → persistent-pty-wsmhkxds.js} +11 -11
- package/dist/chunks/{location-dc94v6gx.js → persistent-pty-wx6gfcwp.js} +23 -23
- package/dist/chunks/{location-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-8n64cbn2.js → persistent-pty-x3h8tes1.js} +2 -2
- package/dist/chunks/{location-xfkkasph.js → persistent-pty-xfkkasph.js} +1 -1
- package/dist/chunks/{location-ma15yhyh.js → persistent-pty-xh49vxj8.js} +5 -5
- package/dist/chunks/persistent-pty-xvrfmkdb.js +164 -0
- package/dist/chunks/{location-80pk4fcb.js → persistent-pty-xyxzmjjm.js} +3 -3
- package/dist/chunks/{location-9ar5c0cq.js → persistent-pty-xz3t98gq.js} +1 -1
- package/dist/chunks/{location-j311gd59.js → persistent-pty-y10wk092.js} +6 -6
- package/dist/chunks/{location-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-ngacfpxr.js → persistent-pty-y99sa8tk.js} +24 -24
- package/dist/chunks/{location-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-b6f6n79x.js → persistent-pty-yyz8jpkn.js} +18 -17
- package/dist/chunks/{location-5x09agpp.js → persistent-pty-yz26c8tn.js} +49 -47
- package/dist/chunks/{location-bkpqdbf1.js → persistent-pty-yzdcysfh.js} +25 -25
- package/dist/chunks/{location-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-bd0ss37q.js → persistent-pty-z1zwcfv4.js} +20 -20
- package/dist/chunks/{location-z0ahgr69.js → persistent-pty-z5dnp9d4.js} +32 -32
- package/dist/chunks/{location-pfcfnkqj.js → persistent-pty-z84pa76x.js} +2 -2
- package/dist/chunks/{location-r62y7mfn.js → persistent-pty-z880hw7s.js} +28 -28
- package/dist/chunks/{location-a8d2vvnh.js → persistent-pty-zbxvfzam.js} +6 -6
- package/dist/chunks/{location-v63zasnn.js → persistent-pty-zdd5h57h.js} +20 -20
- package/dist/chunks/{location-tsjh32me.js → persistent-pty-ze07024f.js} +16 -16
- package/dist/chunks/{location-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-rp6d2jqx.js → persistent-pty-zjqwybhk.js} +30 -30
- package/dist/chunks/{location-1bc7s31c.js → persistent-pty-zmtxzyyy.js} +15 -15
- package/dist/chunks/{location-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-wv7pem94.js → persistent-pty-zvh69c5a.js} +12 -12
- package/dist/chunks/{location-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -2
- package/dist/codemode/web.js +10 -0
- package/dist/command.js +82 -82
- 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 +122 -122
- package/dist/config/plugin/command.js +211 -210
- package/dist/config/plugin/compaction.js +159 -158
- 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 +127 -127
- 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 +124 -124
- 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 +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- 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 +76 -76
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -364
- 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 +73 -73
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +226 -225
- 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 -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 +6 -6
- 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 +90 -90
- 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 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- 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 -352
- 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 -126
- package/dist/mcp/oauth.js +81 -78
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- 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 +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- 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 +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -327
- 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 +119 -119
- 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 +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 +119 -119
- 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 +347 -346
- 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 +4 -4
- 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 -227
- 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 +84 -84
- package/dist/reference.js +90 -90
- 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 +133 -132
- package/dist/session/context.js +151 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +226 -225
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- 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 -117
- 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 -228
- 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 -124
- 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 +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -214
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- 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 +124 -123
- 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 +123 -123
- package/dist/tool/plugin/opencode.js +5 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -215
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +214 -213
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +117 -117
- 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 +12 -11
- package/dist/types/codemode/web.d.ts +8 -0
- package/dist/types/filesystem.d.ts +10 -2
- 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/plugin/identity.d.ts +0 -1
- package/dist/types/session/model-transport.d.ts +10 -1
- package/dist/types/session/runner/index.d.ts +36 -3
- package/dist/types/session/runner/step.d.ts +1 -0
- package/dist/types/tool/plugin/opencode.d.ts +7 -0
- package/dist/types/tool/plugin/subagent.d.ts +3 -1
- 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 +5 -5
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- 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 +8 -8
- 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/location-0mesazry.js +0 -4
- package/dist/chunks/location-15k3fnp5.js +0 -478
- package/dist/chunks/location-az2ykr48.js +0 -26
- package/dist/chunks/location-by5v678g.js +0 -18
- package/dist/chunks/location-m3dp0h2h.js +0 -34
- package/dist/chunks/location-xj85r64f.js +0 -247
- package/dist/chunks/location-z2nspjwn.js +0 -80
- /package/dist/chunks/{location-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./persistent-pty-mg0hvqns.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make4
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service70;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make4, LoadError2, exports_module };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./persistent-pty-pqkcmren.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service69
|
|
9
|
+
} from "./persistent-pty-1kvb0kat.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service15
|
|
12
|
+
} from "./persistent-pty-95z2c9pc.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin4
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin4 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service69;
|
|
34
|
+
const location = yield* Service79;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service15;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin14 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin4, exports_worktree };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service54,
|
|
8
|
+
node57
|
|
9
|
+
} from "./persistent-pty-y99sa8tk.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service53,
|
|
24
|
+
node: () => node56
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service53 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service54;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service53.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node56 = makeLocationNode({ service: Service53, layer, deps: [node57, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error3, InvalidPatternError2,
|
|
180
|
+
export { Error3, InvalidPatternError2, Service53, node56, exports_ripgrep };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./persistent-pty-w47dka18.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./persistent-pty-r0185wf8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./persistent-pty-w21bzq9q.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-v1faaxn9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service46;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./persistent-pty-ze07024f.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-ry98d82p.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-gbwj81ez.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service74
|
|
20
|
+
} from "./persistent-pty-j10zwm3w.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./persistent-pty-w47dka18.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-mpz2f9hn.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-wsmhkxds.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service74;
|
|
161
|
+
const bus = yield* Service82;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -214,8 +214,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(ID13.githubCopilot,
|
|
218
|
-
models.update(ID13.githubCopilot,
|
|
217
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node44
|
|
5
|
+
} from "./persistent-pty-wsmhkxds.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-csf2jhsg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service63,
|
|
12
|
+
node67
|
|
13
|
+
} from "./persistent-pty-t1dawjzh.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-frk1q65v.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-8szzmgce.js";
|
|
20
20
|
import {
|
|
21
21
|
Error2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-qcjne9p2.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service23,
|
|
25
|
+
node27
|
|
26
|
+
} from "./persistent-pty-yyz8jpkn.js";
|
|
27
27
|
import {
|
|
28
28
|
make15
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-xfkkasph.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./persistent-pty-ts2x07a1.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service22,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer10,
|
|
45
|
+
node: () => node26,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service22 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer10 = Layer.effect(Service22, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service63;
|
|
157
|
+
const transport = yield* Service23;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -231,11 +231,15 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
231
231
|
});
|
|
232
232
|
return HttpClientResponse.fromWeb(sent, after.response);
|
|
233
233
|
}).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause)))) : undefined;
|
|
234
|
-
const webSocket = input.webSocket === "session" && model.transport === "websocket" ? transport.bind(session.id,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
234
|
+
const webSocket = input.webSocket === "session" && model.transport === "websocket" ? transport.bind(session.id, {
|
|
235
|
+
handshake: (connect) => hooks.trigger("session", "experimental.ws.handshake", {
|
|
236
|
+
...scope,
|
|
237
|
+
url: connect.url,
|
|
238
|
+
headers: connect.headers
|
|
239
|
+
}).pipe(Effect.map((event) => ({ url: event.url, headers: event.headers }))),
|
|
240
|
+
send: (frame) => hooks.trigger("session", "experimental.ws.send", { ...scope, frame }).pipe(Effect.map((event) => event.frame)),
|
|
241
|
+
receive: (frame) => hooks.trigger("session", "experimental.ws.receive", { ...scope, frame }).pipe(Effect.map((event) => event.frame))
|
|
242
|
+
}) : undefined;
|
|
239
243
|
return {
|
|
240
244
|
event: shaped,
|
|
241
245
|
request,
|
|
@@ -248,17 +252,17 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
248
252
|
};
|
|
249
253
|
});
|
|
250
254
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
251
|
-
return
|
|
255
|
+
return Service22.of({
|
|
252
256
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
253
257
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
254
258
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
255
259
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
256
260
|
});
|
|
257
261
|
}));
|
|
258
|
-
var
|
|
259
|
-
service:
|
|
260
|
-
layer:
|
|
261
|
-
deps: [
|
|
262
|
+
var node26 = makeLocationNode({
|
|
263
|
+
service: Service22,
|
|
264
|
+
layer: layer10,
|
|
265
|
+
deps: [node67, node27, node44]
|
|
262
266
|
});
|
|
263
267
|
|
|
264
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
268
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service22, layer10, node26, exports_model_request };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./persistent-pty-pqkcmren.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
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"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names4, discover3, exports_discovery2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID8 = Session.ID;
|
|
5
|
+
var Info13 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID8, Info13, SessionSchema2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./persistent-pty-ze07024f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./persistent-pty-cpxfwkbg.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service24,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-v1faaxn9.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-ge476xvj.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event2,
|
|
30
|
+
ID: () => ID2,
|
|
31
|
+
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service24,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node15
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service82;
|
|
45
|
+
const kv = yield* Service73;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service24.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node15 = Node.makeLocationNode({
|
|
226
|
+
service: Service24,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node15, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
|