@opencode/core 2.0.5 → 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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{instruction-discovery-5rtcdtd1.js → persistent-pty-06dd7vd0.js} +19 -19
- package/dist/chunks/{instruction-discovery-338yd3q8.js → persistent-pty-07z5tzwy.js} +5 -5
- package/dist/chunks/{instruction-discovery-krxgz8mr.js → persistent-pty-0eqr15n0.js} +31 -31
- package/dist/chunks/{instruction-discovery-cksv5s6r.js → persistent-pty-0f5egwty.js} +29 -29
- package/dist/chunks/{instruction-discovery-1c2y5bma.js → persistent-pty-0kraehyv.js} +11 -11
- package/dist/chunks/{instruction-discovery-9y32njdq.js → persistent-pty-0n9t5jdb.js} +26 -26
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{instruction-discovery-k6rzxkd3.js → persistent-pty-0wnsc2cx.js} +11 -11
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-wd3qynhg.js → persistent-pty-1ft1n4nv.js} +1 -1
- package/dist/chunks/{instruction-discovery-378zzhja.js → persistent-pty-1hfd6v93.js} +26 -26
- package/dist/chunks/{instruction-discovery-h2vfddx5.js → persistent-pty-1kvb0kat.js} +46 -46
- package/dist/chunks/{instruction-discovery-jgf81bvk.js → persistent-pty-1t0nfscf.js} +87 -76
- package/dist/chunks/{instruction-discovery-4jdqb6vt.js → persistent-pty-1z7bxdr8.js} +25 -22
- package/dist/chunks/{instruction-discovery-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{instruction-discovery-qh96k4k1.js → persistent-pty-22k63xb0.js} +12 -12
- package/dist/chunks/{instruction-discovery-s84t8sre.js → persistent-pty-23mp22r0.js} +27 -27
- package/dist/chunks/{instruction-discovery-6h73sxmp.js → persistent-pty-2402vzrj.js} +5 -5
- package/dist/chunks/{instruction-discovery-z63w68vq.js → persistent-pty-29x78va6.js} +6 -6
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-w4arg62q.js → persistent-pty-2jmaghvr.js} +4 -4
- package/dist/chunks/{instruction-discovery-6a9734zn.js → persistent-pty-2kg3amvy.js} +43 -31
- package/dist/chunks/{instruction-discovery-d7930f8j.js → persistent-pty-2ptmrvab.js} +10 -10
- package/dist/chunks/{instruction-discovery-gwm2cjfp.js → persistent-pty-2qke6n7n.js} +20 -20
- package/dist/chunks/{instruction-discovery-rb6z2mdp.js → persistent-pty-35v1kxn5.js} +23 -23
- package/dist/chunks/{instruction-discovery-p44d8wdy.js → persistent-pty-3cz8rj72.js} +5 -5
- package/dist/chunks/{instruction-discovery-mx7b5mce.js → persistent-pty-3esknjh8.js} +46 -46
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-knb7evpn.js → persistent-pty-44ke2mar.js} +2 -2
- package/dist/chunks/{instruction-discovery-2j4ac2f1.js → persistent-pty-45ke46p8.js} +9 -9
- package/dist/chunks/{instruction-discovery-n81wkjqj.js → persistent-pty-49e0ywga.js} +3 -3
- package/dist/chunks/{instruction-discovery-vxf6g7p6.js → persistent-pty-4aps5ycz.js} +5 -5
- package/dist/chunks/{instruction-discovery-4edzycq9.js → persistent-pty-4c1zt1be.js} +83 -83
- package/dist/chunks/{instruction-discovery-78rb030m.js → persistent-pty-4ka5ffeb.js} +41 -41
- package/dist/chunks/{instruction-discovery-sxqcr6wk.js → persistent-pty-4m8jz26w.js} +10 -10
- package/dist/chunks/{instruction-discovery-1829bv76.js → persistent-pty-4st9gtz8.js} +11 -11
- package/dist/chunks/{instruction-discovery-y6pbk9jp.js → persistent-pty-4vq28sgd.js} +2 -2
- package/dist/chunks/{instruction-discovery-1nm9pcrp.js → persistent-pty-4yerfa2a.js} +24 -24
- package/dist/chunks/{instruction-discovery-tmp7mf59.js → persistent-pty-4ygxkg3r.js} +20 -20
- package/dist/chunks/{instruction-discovery-88z92y6j.js → persistent-pty-51a2ymsf.js} +43 -43
- package/dist/chunks/{instruction-discovery-5a7yz907.js → persistent-pty-53vt59dk.js} +10 -7
- package/dist/chunks/{instruction-discovery-3c8gbk9s.js → persistent-pty-55wk8xf1.js} +18 -18
- package/dist/chunks/{instruction-discovery-2w6fc0zt.js → persistent-pty-57ez7d0k.js} +7 -7
- package/dist/chunks/{instruction-discovery-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
- package/dist/chunks/persistent-pty-5cyty3r2.js +478 -0
- package/dist/chunks/{instruction-discovery-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-qewbq6bc.js → persistent-pty-5dp7vyn0.js} +10 -10
- package/dist/chunks/{instruction-discovery-etcptmad.js → persistent-pty-5dwyakjy.js} +28 -28
- package/dist/chunks/{instruction-discovery-vx97awvm.js → persistent-pty-5esmf8a0.js} +31 -31
- package/dist/chunks/{instruction-discovery-mjqn40ac.js → persistent-pty-5kte75t4.js} +13 -13
- package/dist/chunks/{instruction-discovery-ttdfrrk2.js → persistent-pty-5r49kz0e.js} +27 -27
- package/dist/chunks/{instruction-discovery-ytfea4mt.js → persistent-pty-5smkf6vr.js} +18 -18
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-m837a38g.js → persistent-pty-5we05nd2.js} +19 -19
- package/dist/chunks/{instruction-discovery-0a90bcv0.js → persistent-pty-61d6m9y9.js} +8 -8
- package/dist/chunks/{instruction-discovery-b1746fgd.js → persistent-pty-63mn2t91.js} +25 -25
- package/dist/chunks/{instruction-discovery-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{instruction-discovery-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{instruction-discovery-1sj4msk3.js → persistent-pty-6nppgqk8.js} +16 -16
- package/dist/chunks/{instruction-discovery-4jww6vkh.js → persistent-pty-6vxbcxjn.js} +17 -17
- package/dist/chunks/{instruction-discovery-xdbx4t5e.js → persistent-pty-6yaq8bgj.js} +14 -14
- package/dist/chunks/{instruction-discovery-73tb2d7t.js → persistent-pty-73tb2d7t.js} +1 -1
- package/dist/chunks/{instruction-discovery-df9eyrmy.js → persistent-pty-74rrnwt7.js} +12 -12
- package/dist/chunks/{instruction-discovery-q76b2ped.js → persistent-pty-768y9nds.js} +22 -22
- package/dist/chunks/{instruction-discovery-vyy6cxw9.js → persistent-pty-7ac170kv.js} +4 -4
- package/dist/chunks/{instruction-discovery-2jh18hkm.js → persistent-pty-7adxfadd.js} +4 -4
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-qgn6gcr1.js → persistent-pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{instruction-discovery-4jq0495n.js → persistent-pty-7knfbc9g.js} +20 -20
- package/dist/chunks/{instruction-discovery-9hjja45j.js → persistent-pty-7m245gq7.js} +9 -9
- package/dist/chunks/{instruction-discovery-qcb68cv5.js → persistent-pty-81jqfy1y.js} +25 -25
- package/dist/chunks/{instruction-discovery-8hdgcmvp.js → persistent-pty-8558z9wf.js} +5 -5
- package/dist/chunks/{instruction-discovery-jcehjjw3.js → persistent-pty-8649vrz9.js} +4 -4
- package/dist/chunks/{instruction-discovery-k9w3fgz4.js → persistent-pty-89x64swv.js} +26 -26
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-029er0hp.js → persistent-pty-8g5k0jjx.js} +6 -6
- package/dist/chunks/{instruction-discovery-cbgr23ns.js → persistent-pty-8szzmgce.js} +11 -11
- package/dist/chunks/{instruction-discovery-48pbfrvk.js → persistent-pty-8y1sr6jq.js} +9 -9
- package/dist/chunks/{instruction-discovery-r1p3dd79.js → persistent-pty-94pybxf5.js} +18 -18
- package/dist/chunks/{instruction-discovery-3nwqm4xm.js → persistent-pty-95t0hkjg.js} +5 -5
- package/dist/chunks/{instruction-discovery-emkjygpb.js → persistent-pty-95z2c9pc.js} +21 -21
- package/dist/chunks/{instruction-discovery-g9cpt5ca.js → persistent-pty-9rbga6h0.js} +29 -29
- package/dist/chunks/{instruction-discovery-dw8937wj.js → persistent-pty-9x1fwner.js} +14 -14
- package/dist/chunks/{instruction-discovery-qm0v3jhh.js → persistent-pty-a2ew8a62.js} +7 -7
- package/dist/chunks/{instruction-discovery-nn3w8ya3.js → persistent-pty-a4v39hfy.js} +11 -11
- package/dist/chunks/{instruction-discovery-j5rxtxht.js → persistent-pty-a89e0tac.js} +4 -4
- package/dist/chunks/{instruction-discovery-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-78v47nsk.js → persistent-pty-ag9w8cw1.js} +5 -5
- package/dist/chunks/{instruction-discovery-9v8385ms.js → persistent-pty-am60j996.js} +8 -8
- package/dist/chunks/{instruction-discovery-24p6mxem.js → persistent-pty-amys79f3.js} +15 -15
- package/dist/chunks/{instruction-discovery-hzzav9z2.js → persistent-pty-anj84gah.js} +14 -14
- package/dist/chunks/{instruction-discovery-1r7c63ym.js → persistent-pty-awsncmv7.js} +3 -3
- package/dist/chunks/{instruction-discovery-36m7pkzw.js → persistent-pty-axebf1a4.js} +8 -8
- package/dist/chunks/{instruction-discovery-aebc7qpb.js → persistent-pty-axg0gedx.js} +32 -32
- package/dist/chunks/{instruction-discovery-s2br5vfy.js → persistent-pty-axsc7vaz.js} +1 -1
- package/dist/chunks/{instruction-discovery-fqww2hbw.js → persistent-pty-ayxtpegw.js} +38 -34
- package/dist/chunks/{instruction-discovery-e4nq6v23.js → persistent-pty-azqw3jb1.js} +5 -5
- package/dist/chunks/{instruction-discovery-mn7hgmyj.js → persistent-pty-b1a1n7cj.js} +3 -3
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-dwd00071.js → persistent-pty-bjyddaxd.js} +20 -20
- package/dist/chunks/{instruction-discovery-ydzd8ct0.js → persistent-pty-byea612g.js} +17 -17
- package/dist/chunks/{instruction-discovery-26zmf1pq.js → persistent-pty-ca0tf0b7.js} +25 -25
- package/dist/chunks/{instruction-discovery-9hn6k4tm.js → persistent-pty-cmwkp3r5.js} +8 -8
- package/dist/chunks/{instruction-discovery-ay615zsc.js → persistent-pty-cppz10m7.js} +21 -17
- package/dist/chunks/{instruction-discovery-ssbpaa97.js → persistent-pty-cpxfwkbg.js} +13 -13
- package/dist/chunks/{instruction-discovery-emzgf0hj.js → persistent-pty-crxeq1ff.js} +3 -3
- package/dist/chunks/{instruction-discovery-x9hq217q.js → persistent-pty-cs048tcd.js} +32 -32
- package/dist/chunks/{instruction-discovery-81czwxpn.js → persistent-pty-csf2jhsg.js} +4 -4
- package/dist/chunks/{instruction-discovery-djszqvmq.js → persistent-pty-cwa6csj7.js} +9 -9
- package/dist/chunks/{instruction-discovery-jk6a9ave.js → persistent-pty-d2z8n5gq.js} +38 -38
- package/dist/chunks/{instruction-discovery-5rz2hsq0.js → persistent-pty-d3yjsxey.js} +7 -7
- package/dist/chunks/{instruction-discovery-y55yjzpr.js → persistent-pty-d9tmdxxh.js} +57 -57
- package/dist/chunks/{instruction-discovery-t9zs3egg.js → persistent-pty-dfe8djrf.js} +4 -4
- package/dist/chunks/{instruction-discovery-y7x142mt.js → persistent-pty-dhwr7h25.js} +11 -11
- package/dist/chunks/{instruction-discovery-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{instruction-discovery-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{instruction-discovery-wjck36vb.js → persistent-pty-e0rr02qg.js} +11 -11
- package/dist/chunks/{instruction-discovery-5qd3pb7m.js → persistent-pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-ak3nc98z.js → persistent-pty-eh332ggn.js} +4 -4
- package/dist/chunks/{instruction-discovery-32nwpadc.js → persistent-pty-em6q0j7w.js} +11 -11
- package/dist/chunks/{instruction-discovery-23wpwp1k.js → persistent-pty-ene4sphv.js} +6 -6
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-m4cf4vvt.js → persistent-pty-f2pnfy76.js} +15 -15
- package/dist/chunks/{instruction-discovery-0r7xxs81.js → persistent-pty-f3r3b7qx.js} +23 -23
- package/dist/chunks/{instruction-discovery-nscznvay.js → persistent-pty-fhs97t90.js} +9 -9
- package/dist/chunks/{instruction-discovery-c6nzkrcz.js → persistent-pty-fjqrscp2.js} +4 -4
- package/dist/chunks/{instruction-discovery-zmz7rfv6.js → persistent-pty-frk1q65v.js} +70 -56
- package/dist/chunks/{instruction-discovery-eq23s0y6.js → persistent-pty-fvsyg6qk.js} +5 -5
- package/dist/chunks/{instruction-discovery-4nj4bn9q.js → persistent-pty-fwwk8vbp.js} +9 -9
- package/dist/chunks/{instruction-discovery-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instruction-discovery-x4hh2yva.js → persistent-pty-g2er3606.js} +32 -32
- package/dist/chunks/{instruction-discovery-6bp9km5f.js → persistent-pty-g3v3qf95.js} +5 -5
- package/dist/chunks/{instruction-discovery-b3y784v2.js → persistent-pty-gaezwqx6.js} +23 -23
- package/dist/chunks/{instruction-discovery-ab258zec.js → persistent-pty-gbe3t543.js} +22 -22
- package/dist/chunks/{instruction-discovery-v5w6sppg.js → persistent-pty-gbwj81ez.js} +32 -32
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-9n0dsy51.js → persistent-pty-ge476xvj.js} +178 -178
- package/dist/chunks/{instruction-discovery-x4ytj6pq.js → persistent-pty-gek3hqmr.js} +32 -32
- package/dist/chunks/{instruction-discovery-q60qfh9s.js → persistent-pty-gfkdt5qx.js} +6 -6
- package/dist/chunks/{instruction-discovery-x12gwff2.js → persistent-pty-gjvcn921.js} +29 -29
- package/dist/chunks/{instruction-discovery-fw3v8b4w.js → persistent-pty-gkq5qcyg.js} +18 -18
- package/dist/chunks/{instruction-discovery-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/{instruction-discovery-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{instruction-discovery-kqjw8gv6.js → persistent-pty-h39be83b.js} +33 -33
- package/dist/chunks/{instruction-discovery-0a3qk1rf.js → persistent-pty-h3jkmnye.js} +33 -27
- package/dist/chunks/{instruction-discovery-44h5tttr.js → persistent-pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-9pv03zpw.js → persistent-pty-hcf1qdgt.js} +42 -42
- package/dist/chunks/{instruction-discovery-eebc2rt6.js → persistent-pty-hdb7f41y.js} +23 -23
- package/dist/chunks/{instruction-discovery-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{instruction-discovery-hes1j7ga.js → persistent-pty-hes1j7ga.js} +2 -2
- package/dist/chunks/{instruction-discovery-tbrsbcaz.js → persistent-pty-hfwabszm.js} +19 -19
- package/dist/chunks/persistent-pty-hr9dp009.js +4 -0
- package/dist/chunks/{instruction-discovery-xxx2a5sq.js → persistent-pty-hz2whg8s.js} +8 -8
- package/dist/chunks/{instruction-discovery-5p6pg4tj.js → persistent-pty-hzhe0gvd.js} +20 -20
- package/dist/chunks/{instruction-discovery-58ka6e3j.js → persistent-pty-j10zwm3w.js} +33 -33
- package/dist/chunks/{instruction-discovery-qwy8h0yc.js → persistent-pty-j542mbwn.js} +10 -10
- package/dist/chunks/{instruction-discovery-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/persistent-pty-j6sjxh3t.js +48 -0
- package/dist/chunks/{instruction-discovery-466w7y98.js → persistent-pty-jn5zp6kq.js} +10 -10
- package/dist/chunks/{instruction-discovery-n1xefwxf.js → persistent-pty-jp86qn4x.js} +17 -17
- package/dist/chunks/{instruction-discovery-k3gnzxs0.js → persistent-pty-jppvw2tx.js} +5 -5
- package/dist/chunks/{instruction-discovery-nzks3jc8.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{instruction-discovery-em05np38.js → persistent-pty-k4vvbs8q.js} +11 -11
- package/dist/chunks/{instruction-discovery-9rkevmgk.js → persistent-pty-k5z6kse8.js} +32 -32
- package/dist/chunks/{instruction-discovery-td2t4wzh.js → persistent-pty-k859smhz.js} +45 -45
- package/dist/chunks/{instruction-discovery-0yy4b7d0.js → persistent-pty-kesv6def.js} +32 -32
- package/dist/chunks/{instruction-discovery-18steed6.js → persistent-pty-kkpc3vmh.js} +28 -24
- package/dist/chunks/{instruction-discovery-zav06jzw.js → persistent-pty-kne8f3cn.js} +4 -4
- package/dist/chunks/{instruction-discovery-tr16pgkv.js → persistent-pty-krracc70.js} +30 -30
- package/dist/chunks/{instruction-discovery-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{instruction-discovery-g479j9dz.js → persistent-pty-m2xyr0c9.js} +8 -8
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-f2kqmm63.js → persistent-pty-masp7ejj.js} +11 -11
- package/dist/chunks/{instruction-discovery-33w4ejhs.js → persistent-pty-mfqp6xfm.js} +9 -9
- package/dist/chunks/{instruction-discovery-78hbjvp7.js → persistent-pty-mg0hvqns.js} +24 -24
- package/dist/chunks/{instruction-discovery-g8tp2ddb.js → persistent-pty-mhhfs06f.js} +91 -91
- package/dist/chunks/{instruction-discovery-tm6j2b42.js → persistent-pty-mns2zg1r.js} +51 -51
- package/dist/chunks/{instruction-discovery-jyfph6m6.js → persistent-pty-mpz2f9hn.js} +22 -22
- package/dist/chunks/{instruction-discovery-3bnvp3y0.js → persistent-pty-mvf3rv83.js} +15 -15
- package/dist/chunks/{instruction-discovery-56w11rj3.js → persistent-pty-mvpt2jq4.js} +4 -4
- package/dist/chunks/{instruction-discovery-8actpy02.js → persistent-pty-mzwaw4s1.js} +13 -13
- package/dist/chunks/{instruction-discovery-g35x6qc6.js → persistent-pty-nd83aj77.js} +19 -19
- package/dist/chunks/{instruction-discovery-n0tdmknn.js → persistent-pty-nga2x94v.js} +9 -9
- package/dist/chunks/{instruction-discovery-1mr1eyme.js → persistent-pty-ngp9tqdp.js} +12 -12
- package/dist/chunks/{instruction-discovery-rw15cjs6.js → persistent-pty-nmv4qf5f.js} +10 -7
- package/dist/chunks/{instruction-discovery-x83qg319.js → persistent-pty-nrby4tch.js} +3 -3
- package/dist/chunks/{instruction-discovery-p6hhdbp1.js → persistent-pty-p23m4hfg.js} +10 -10
- package/dist/chunks/{instruction-discovery-m8pwhfnp.js → persistent-pty-p2860678.js} +44 -43
- package/dist/chunks/{instruction-discovery-k14vmcg0.js → persistent-pty-p4dwv8bm.js} +13 -13
- package/dist/chunks/{instruction-discovery-h7dw0jnp.js → persistent-pty-pbjanjg3.js} +44 -44
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-88dkmhka.js → persistent-pty-pqkcmren.js} +14 -14
- package/dist/chunks/{instruction-discovery-z3tdms7e.js → persistent-pty-px9mqhce.js} +35 -35
- package/dist/chunks/{instruction-discovery-vyxzcs45.js → persistent-pty-pxnvhszz.js} +4 -4
- package/dist/chunks/{instruction-discovery-gm9abxbg.js → persistent-pty-q00hqmww.js} +15 -15
- package/dist/chunks/{instruction-discovery-77m2hw5c.js → persistent-pty-q4v54bpb.js} +36 -36
- package/dist/chunks/{instruction-discovery-pyp2rmkt.js → persistent-pty-q5rhn9x0.js} +16 -16
- package/dist/chunks/{instruction-discovery-vcye14pz.js → persistent-pty-qcjne9p2.js} +14 -14
- package/dist/chunks/{instruction-discovery-dcjwzqtv.js → persistent-pty-qe3x1bke.js} +37 -37
- package/dist/chunks/{instruction-discovery-7j3fq2cw.js → persistent-pty-qk51h78h.js} +9 -9
- package/dist/chunks/{instruction-discovery-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-qjpk9dge.js → persistent-pty-qydamkj6.js} +9 -9
- package/dist/chunks/{instruction-discovery-cckk8bsw.js → persistent-pty-r0185wf8.js} +26 -26
- package/dist/chunks/{instruction-discovery-1z146pd3.js → persistent-pty-r8b3me2j.js} +19 -19
- package/dist/chunks/{instruction-discovery-yp2x3t23.js → persistent-pty-r8xr0va3.js} +4 -4
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-444wcx0m.js → persistent-pty-ry98d82p.js} +35 -35
- package/dist/chunks/{instruction-discovery-yrznvahk.js → persistent-pty-s4enseaf.js} +2 -2
- package/dist/chunks/{instruction-discovery-gbt6w4kb.js → persistent-pty-s8d7rejh.js} +8 -8
- package/dist/chunks/{instruction-discovery-1az6fcmj.js → persistent-pty-sd29ckz9.js} +11 -11
- package/dist/chunks/{instruction-discovery-mqy0jkn2.js → persistent-pty-sej7e0cf.js} +4 -4
- package/dist/chunks/{instruction-discovery-64s65d1n.js → persistent-pty-sgwh5nyn.js} +8 -8
- package/dist/chunks/{instruction-discovery-hnpkfvtv.js → persistent-pty-sj90gq8y.js} +47 -47
- package/dist/chunks/{instruction-discovery-0e92bpf8.js → persistent-pty-svvemcs6.js} +8 -8
- package/dist/chunks/{instruction-discovery-gq5rp1wh.js → persistent-pty-sx06aacx.js} +3 -3
- package/dist/chunks/{instruction-discovery-aq5y8b9e.js → persistent-pty-t1dawjzh.js} +8 -8
- package/dist/chunks/{instruction-discovery-e17z8zpc.js → persistent-pty-t3qbpr1w.js} +7 -7
- package/dist/chunks/{instruction-discovery-fbaqdnvp.js → persistent-pty-t6xg0e00.js} +17 -17
- package/dist/chunks/{instruction-discovery-9kyabea7.js → persistent-pty-tamw7e85.js} +14 -14
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-cpaj0n15.js → persistent-pty-tbpqatpq.js} +9 -9
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-rzs3gq0x.js → persistent-pty-tk9ew89t.js} +8 -8
- package/dist/chunks/{instruction-discovery-mbrtjw0c.js → persistent-pty-tqf3jwg0.js} +6 -6
- package/dist/chunks/{instruction-discovery-19w9qk9n.js → persistent-pty-ts2x07a1.js} +1 -1
- package/dist/chunks/{instruction-discovery-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{instruction-discovery-x33k6nf3.js → persistent-pty-txckpkgb.js} +24 -24
- package/dist/chunks/persistent-pty-v1faaxn9.js +18 -0
- package/dist/chunks/{instruction-discovery-h9vg4cc6.js → persistent-pty-v85t9p8e.js} +27 -27
- package/dist/chunks/{instruction-discovery-zhv99wwk.js → persistent-pty-vcntgk60.js} +14 -14
- package/dist/chunks/{instruction-discovery-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/persistent-pty-vkwmxz0p.js +26 -0
- package/dist/chunks/{instruction-discovery-zdpte8cy.js → persistent-pty-vnzr5dgv.js} +13 -13
- package/dist/chunks/{instruction-discovery-a8bn8zg0.js → persistent-pty-vsp1fds9.js} +21 -21
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{instruction-discovery-hq8zt1th.js → persistent-pty-w21bzq9q.js} +6 -6
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-n9bg66xr.js → persistent-pty-w47dka18.js} +35 -35
- package/dist/chunks/{instruction-discovery-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-yhj6r7vt.js → persistent-pty-wn0nt2j8.js} +24 -24
- package/dist/chunks/{instruction-discovery-hj4jgbr8.js → persistent-pty-wp9pt51y.js} +9 -9
- package/dist/chunks/{instruction-discovery-wmttgrd3.js → persistent-pty-wsmhkxds.js} +10 -10
- package/dist/chunks/{instruction-discovery-92f49rtq.js → persistent-pty-wx6gfcwp.js} +23 -23
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instruction-discovery-q581keqr.js → persistent-pty-x3h8tes1.js} +2 -2
- package/dist/chunks/{instruction-discovery-drwq78ky.js → persistent-pty-xfkkasph.js} +4 -4
- package/dist/chunks/{instruction-discovery-207ajt2h.js → persistent-pty-xh49vxj8.js} +5 -5
- package/dist/chunks/{instruction-discovery-y35sf2j4.js → persistent-pty-xvrfmkdb.js} +4 -4
- package/dist/chunks/{instruction-discovery-45zz8fdq.js → persistent-pty-xyxzmjjm.js} +5 -5
- package/dist/chunks/{instruction-discovery-rwk055kb.js → persistent-pty-xz3t98gq.js} +3 -3
- package/dist/chunks/{instruction-discovery-dwvzh0g2.js → persistent-pty-y10wk092.js} +7 -7
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-cvnk88jx.js → persistent-pty-y99sa8tk.js} +24 -24
- package/dist/chunks/{instruction-discovery-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instruction-discovery-3zj26zxs.js → persistent-pty-yyz8jpkn.js} +18 -17
- package/dist/chunks/{instruction-discovery-q2bxhs6b.js → persistent-pty-yz26c8tn.js} +55 -53
- package/dist/chunks/{instruction-discovery-9g3d7f2z.js → persistent-pty-yzdcysfh.js} +26 -26
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-ts9rs282.js → persistent-pty-z1zwcfv4.js} +20 -20
- package/dist/chunks/{instruction-discovery-33msecec.js → persistent-pty-z5dnp9d4.js} +30 -30
- package/dist/chunks/{instruction-discovery-y3w6sw4s.js → persistent-pty-z84pa76x.js} +5 -5
- package/dist/chunks/{instruction-discovery-a87mck0n.js → persistent-pty-z880hw7s.js} +28 -28
- package/dist/chunks/{instruction-discovery-ampvn4qt.js → persistent-pty-zbxvfzam.js} +3 -3
- package/dist/chunks/{instruction-discovery-jg7s3n8r.js → persistent-pty-zdd5h57h.js} +23 -23
- package/dist/chunks/{instruction-discovery-7kvy0jtg.js → persistent-pty-ze07024f.js} +16 -16
- package/dist/chunks/{instruction-discovery-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{instruction-discovery-gqt4q109.js → persistent-pty-zjqwybhk.js} +24 -24
- package/dist/chunks/{instruction-discovery-f7n6j563.js → persistent-pty-zmtxzyyy.js} +17 -17
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-4kvj1wzz.js → persistent-pty-zvh69c5a.js} +12 -12
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +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 +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 +125 -125
- 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 +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +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 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +109 -105
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +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 +134 -134
- package/dist/location-lifecycle.js +110 -0
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -85
- package/dist/location-services.js +354 -353
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +102 -102
- 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 +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- 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 +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +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 +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- 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 +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +98 -98
- 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 +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 -133
- 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 +226 -226
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- 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 +4 -4
- 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 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +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 +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- 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 +120 -120
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +119 -119
- 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 +10 -10
- 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/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/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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +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 +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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/instruction-discovery-3vhfgt92.js +0 -34
- package/dist/chunks/instruction-discovery-4v7qdvcn.js +0 -18
- package/dist/chunks/instruction-discovery-6cqkcgv0.js +0 -478
- package/dist/chunks/instruction-discovery-7aagt1ep.js +0 -247
- package/dist/chunks/instruction-discovery-mqvgb463.js +0 -26
- package/dist/chunks/instruction-discovery-wd3es6t1.js +0 -4
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,61 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
|
+
AbsolutePath2,
|
|
2
3
|
PositiveInt2,
|
|
3
4
|
RelativePath2
|
|
4
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-922hggd3.js";
|
|
5
6
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./persistent-pty-pqkcmren.js";
|
|
9
10
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52,
|
|
12
|
+
node55
|
|
13
|
+
} from "./persistent-pty-z5dnp9d4.js";
|
|
13
14
|
import {
|
|
14
15
|
__export
|
|
15
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
16
17
|
|
|
17
18
|
// src/filesystem.ts
|
|
18
19
|
var exports_filesystem = {};
|
|
19
20
|
__export(exports_filesystem, {
|
|
20
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
21
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
24
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
25
|
+
Event: () => Event9,
|
|
25
26
|
FileSystem: () => exports_filesystem,
|
|
26
27
|
FindInput: () => FindInput2,
|
|
27
28
|
GlobInput: () => GlobInput2,
|
|
28
29
|
GrepInput: () => GrepInput2,
|
|
29
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput3,
|
|
30
31
|
Match: () => Match2,
|
|
31
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError5,
|
|
32
33
|
ReadInput: () => ReadInput2,
|
|
33
|
-
Service: () =>
|
|
34
|
+
Service: () => Service51,
|
|
34
35
|
Submatch: () => Submatch2,
|
|
35
|
-
|
|
36
|
+
Write: () => Write2,
|
|
37
|
+
WriteInput: () => WriteInput2,
|
|
38
|
+
node: () => node54
|
|
36
39
|
});
|
|
37
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
41
|
import path from "path";
|
|
39
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
40
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
41
|
-
import { Entry, FileSystem, FindInput as FindInput2 } from "@opencode/schema/filesystem";
|
|
44
|
+
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
42
45
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
43
46
|
var ReadInput2 = Schema.Struct({
|
|
44
47
|
path: RelativePath2
|
|
45
48
|
});
|
|
49
|
+
var WriteInput2 = Schema.Struct({
|
|
50
|
+
path: Schema.String,
|
|
51
|
+
data: Schema.Uint8Array
|
|
52
|
+
});
|
|
46
53
|
|
|
47
|
-
class
|
|
54
|
+
class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
48
55
|
path: RelativePath2
|
|
49
56
|
}) {
|
|
50
57
|
}
|
|
51
|
-
var
|
|
58
|
+
var Content3 = Schema.Struct({
|
|
52
59
|
uri: Schema.String,
|
|
53
60
|
name: Schema.String.pipe(Schema.optional),
|
|
54
61
|
content: Schema.String,
|
|
55
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
56
63
|
mime: Schema.String
|
|
57
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
58
|
-
var
|
|
65
|
+
var ListInput3 = Schema.Struct({
|
|
59
66
|
path: Schema.String.pipe(Schema.optional)
|
|
60
67
|
});
|
|
61
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -78,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
78
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
79
86
|
}) {
|
|
80
87
|
}
|
|
81
|
-
var
|
|
88
|
+
var Event9 = FileSystem.Event;
|
|
82
89
|
|
|
83
|
-
class
|
|
90
|
+
class Service51 extends Context.Service()("@opencode/FileSystem") {
|
|
84
91
|
}
|
|
85
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service51, Effect.gen(function* () {
|
|
86
93
|
const fs = yield* FSUtil.Service;
|
|
87
|
-
const location = yield*
|
|
88
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service79;
|
|
95
|
+
const search = yield* Service52;
|
|
89
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
90
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
91
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -96,15 +103,15 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
96
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
97
104
|
return { absolute, real, directory: location.directory };
|
|
98
105
|
});
|
|
99
|
-
return
|
|
106
|
+
return Service51.of({
|
|
100
107
|
find: search.find,
|
|
101
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
102
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
103
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
|
|
104
111
|
if (info.type !== "File")
|
|
105
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
106
113
|
return {
|
|
107
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error))),
|
|
108
115
|
mime: FSUtil.mimeType(target.real)
|
|
109
116
|
};
|
|
110
117
|
}),
|
|
@@ -125,13 +132,18 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
125
132
|
})
|
|
126
133
|
];
|
|
127
134
|
}).sort((a, b) => a.type === b.type ? a.path.localeCompare(b.path) : a.type === "directory" ? -1 : 1)));
|
|
135
|
+
}),
|
|
136
|
+
write: Effect.fn("FileSystem.write")(function* (input) {
|
|
137
|
+
const target = path.resolve(location.directory, input.path);
|
|
138
|
+
yield* fs.writeWithDirs(target, input.data).pipe(Effect.orDie);
|
|
139
|
+
return Write2.make({ path: AbsolutePath2.make(target) });
|
|
128
140
|
})
|
|
129
141
|
});
|
|
130
142
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
143
|
+
var node54 = makeLocationNode({
|
|
144
|
+
service: Service51,
|
|
133
145
|
layer: baseLayer,
|
|
134
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node83, node55]
|
|
135
147
|
});
|
|
136
148
|
|
|
137
|
-
export { FindInput2, ReadInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError5, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event9, Service51, node54, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./persistent-pty-w47dka18.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./persistent-pty-1kvb0kat.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-gfkdt5qx.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service69;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make6();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./persistent-pty-e0rr02qg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-5c4hm403.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service21,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node25,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service21 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make21({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service83;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service21.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node25 = makeLocationNode({ service: Service21, layer, deps: [node87] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service21, node25, exports_instruction_entry };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./persistent-pty-pqkcmren.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./persistent-pty-y99sa8tk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service38,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-vnzr5dgv.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service78
|
|
14
|
+
} from "./persistent-pty-5smkf6vr.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service60
|
|
17
|
+
} from "./persistent-pty-frk1q65v.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service39,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-gkq5qcyg.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_edit, {
|
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
33
|
Input: () => Input6,
|
|
34
34
|
Output: () => Output4,
|
|
35
|
-
Plugin: () =>
|
|
35
|
+
Plugin: () => Plugin39,
|
|
36
36
|
name: () => name6
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -103,15 +103,15 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin39 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service39;
|
|
110
|
+
const fileMutation = yield* Service38;
|
|
111
|
+
const environment = yield* Service54;
|
|
112
|
+
const formatter = yield* Service78;
|
|
113
|
+
const location = yield* Service79;
|
|
114
|
+
const permission = yield* Service60;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
116
|
name: name6,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
@@ -194,4 +194,4 @@ var Plugin8 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export { name6, Input6, Output4,
|
|
197
|
+
export { name6, Input6, Output4, Plugin39, exports_edit };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info24,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info24 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info24, exports_mcp5 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./persistent-pty-1kvb0kat.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service54
|
|
13
|
+
} from "./persistent-pty-y99sa8tk.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service48
|
|
16
|
+
} from "./persistent-pty-jp86qn4x.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service60
|
|
19
|
+
} from "./persistent-pty-frk1q65v.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service39,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-gkq5qcyg.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service68,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./persistent-pty-nd83aj77.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError3,
|
|
36
|
+
Service30
|
|
37
|
+
} from "./persistent-pty-mns2zg1r.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service17
|
|
40
|
+
} from "./persistent-pty-mhhfs06f.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./persistent-pty-fjqrscp2.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input4,
|
|
53
|
+
Plugin: () => Plugin37,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name4
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name4 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input4 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin37 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service17;
|
|
122
|
+
const jobs = yield* Service48;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service54;
|
|
125
|
+
const access = yield* Service39;
|
|
126
|
+
const shell = yield* Service30;
|
|
127
|
+
const shellSelect = yield* Service68;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service60;
|
|
130
|
+
const config = yield* Service69;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin13 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name4,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin13 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name4,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input4,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin13 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError3({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name4,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name4];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin37, exports_shell2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-xfkkasph.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|