@opencode/core 0.0.0-dev-20053 → 0.0.0-dev-20055
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{instruction-discovery-8s77jh8q.js → persistent-pty-01021z3r.js} +13 -13
- package/dist/chunks/{instruction-discovery-55eajq8q.js → persistent-pty-03cbr0jq.js} +6 -6
- package/dist/chunks/{instruction-discovery-eqrkd5z0.js → persistent-pty-0dhjr9tc.js} +4 -4
- package/dist/chunks/{instruction-discovery-tb574xta.js → persistent-pty-0edkeq6v.js} +20 -20
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-mt2z56f5.js → persistent-pty-0zm5snvh.js} +25 -25
- package/dist/chunks/{instruction-discovery-en7c0xf8.js → persistent-pty-14e8zrc8.js} +22 -22
- package/dist/chunks/{instruction-discovery-etph2ke2.js → persistent-pty-15cqf3kr.js} +28 -28
- package/dist/chunks/{instruction-discovery-bjn91642.js → persistent-pty-179189h4.js} +4 -4
- package/dist/chunks/{instruction-discovery-5p35wnkk.js → persistent-pty-18qw6axq.js} +26 -26
- package/dist/chunks/{instruction-discovery-evfjsp4y.js → persistent-pty-1cwvpkmb.js} +24 -24
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-j148vjdr.js → persistent-pty-1fw2a5v8.js} +19 -19
- package/dist/chunks/{instruction-discovery-rtathh62.js → persistent-pty-1h80sv90.js} +8 -8
- package/dist/chunks/{instruction-discovery-97zbn10c.js → persistent-pty-1watctkc.js} +7 -7
- package/dist/chunks/{instruction-discovery-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{instruction-discovery-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{instruction-discovery-xmx6g731.js → persistent-pty-27gsfrrn.js} +1 -1
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-0wry3n1m.js → persistent-pty-2bks3qmb.js} +40 -40
- package/dist/chunks/{instruction-discovery-z6kcpssz.js → persistent-pty-2j4h19rn.js} +8 -8
- package/dist/chunks/{instruction-discovery-gtwzfepv.js → persistent-pty-2k3c4q13.js} +6 -6
- package/dist/chunks/{instruction-discovery-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
- package/dist/chunks/{instruction-discovery-xz1491ck.js → persistent-pty-2kt2qswp.js} +22 -22
- package/dist/chunks/{instruction-discovery-enqpmdm5.js → persistent-pty-2kvqe6kt.js} +35 -35
- package/dist/chunks/{instruction-discovery-bf0dbsxh.js → persistent-pty-2nkp2mfn.js} +6 -6
- package/dist/chunks/{instruction-discovery-rey5gbxv.js → persistent-pty-2sejkfem.js} +9 -9
- package/dist/chunks/{instruction-discovery-2eegacq4.js → persistent-pty-30846h32.js} +8 -8
- package/dist/chunks/{instruction-discovery-56gdpj1q.js → persistent-pty-33w4ejhs.js} +6 -6
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-1ed2t66p.js → persistent-pty-3fmtxraa.js} +4 -4
- package/dist/chunks/{instruction-discovery-ap3b078m.js → persistent-pty-3fydtesb.js} +11 -11
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-gkz88561.js → persistent-pty-3mtzcc5w.js} +1 -1
- package/dist/chunks/{instruction-discovery-4s2t67gb.js → persistent-pty-3n93prt5.js} +3 -3
- package/dist/chunks/{instruction-discovery-4s9mtqqy.js → persistent-pty-3qt928je.js} +11 -11
- 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-hncjez84.js → persistent-pty-3yccry20.js} +5 -5
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-4qa2vbsh.js → persistent-pty-43f675a3.js} +15 -15
- package/dist/chunks/{instruction-discovery-kjhp2gs9.js → persistent-pty-45w2hez1.js} +4 -4
- package/dist/chunks/{instruction-discovery-y72zmemf.js → persistent-pty-4c2df9zx.js} +8 -8
- package/dist/chunks/{instruction-discovery-m3af1xqw.js → persistent-pty-4pjjbxv2.js} +9 -9
- package/dist/chunks/{instruction-discovery-k9d40v1y.js → persistent-pty-56dkfrzf.js} +4 -4
- package/dist/chunks/{instruction-discovery-57ez7d0k.js → persistent-pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{instruction-discovery-11s59a84.js → persistent-pty-59a69fj0.js} +12 -12
- package/dist/chunks/{instruction-discovery-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
- package/dist/chunks/{instruction-discovery-e2v056qs.js → persistent-pty-5jgvze5w.js} +6 -6
- package/dist/chunks/{instruction-discovery-j3w7b9je.js → persistent-pty-5m8csvve.js} +4 -4
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{instruction-discovery-2qrdqbn9.js → persistent-pty-6bd07m6k.js} +20 -20
- package/dist/chunks/{instruction-discovery-t9ca33zz.js → persistent-pty-6eh7yy0z.js} +4 -4
- package/dist/chunks/{instruction-discovery-578btx0z.js → persistent-pty-6j158gj8.js} +22 -22
- package/dist/chunks/{instruction-discovery-sx1fh020.js → persistent-pty-6k427wqf.js} +16 -16
- package/dist/chunks/{instruction-discovery-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{instruction-discovery-4d4s568v.js → persistent-pty-6mvdh01c.js} +16 -16
- package/dist/chunks/{instruction-discovery-ft6ep068.js → persistent-pty-6wgjtmj1.js} +20 -20
- package/dist/chunks/{instruction-discovery-eneefzjq.js → persistent-pty-6ysrkrkr.js} +8 -8
- package/dist/chunks/{instruction-discovery-1bbkgx8g.js → persistent-pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{instruction-discovery-p6dvmy6m.js → persistent-pty-768gsh1v.js} +5 -5
- package/dist/chunks/{instruction-discovery-css18bw4.js → persistent-pty-79mwksnw.js} +4 -4
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-22ebvdeb.js → persistent-pty-7cdwr1t5.js} +32 -32
- package/dist/chunks/{instruction-discovery-zm8zfhe0.js → persistent-pty-7jjmmf08.js} +30 -30
- package/dist/chunks/{instruction-discovery-cm7ckfx7.js → persistent-pty-7md6e53z.js} +11 -11
- package/dist/chunks/{instruction-discovery-dkddc65t.js → persistent-pty-7xfe1xnv.js} +2 -2
- package/dist/chunks/{instruction-discovery-5amwhyk8.js → persistent-pty-7zs56f9j.js} +6 -6
- package/dist/chunks/{instruction-discovery-n484hve9.js → persistent-pty-830djgf5.js} +12 -12
- package/dist/chunks/{instruction-discovery-3433kd31.js → persistent-pty-8829hrmv.js} +3 -3
- package/dist/chunks/{instruction-discovery-aye1rqq8.js → persistent-pty-89tssg7j.js} +5 -5
- package/dist/chunks/{instruction-discovery-et40h98e.js → persistent-pty-8cb91319.js} +28 -28
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-1rawk49q.js → persistent-pty-8p6aty9m.js} +13 -13
- package/dist/chunks/{instruction-discovery-3mcjejv0.js → persistent-pty-8tvn0bgg.js} +15 -15
- package/dist/chunks/{instruction-discovery-qemwa272.js → persistent-pty-90c14161.js} +27 -27
- package/dist/chunks/{instruction-discovery-wmz1520h.js → persistent-pty-90mszmds.js} +20 -20
- package/dist/chunks/{instruction-discovery-mh5s6r0s.js → persistent-pty-90r3bpwe.js} +42 -42
- package/dist/chunks/{instruction-discovery-vgsrdn5q.js → persistent-pty-92nedzp3.js} +8 -8
- package/dist/chunks/{instruction-discovery-mtjrch8b.js → persistent-pty-933fkq5d.js} +24 -24
- package/dist/chunks/{instruction-discovery-gfvb90ym.js → persistent-pty-94ek1h2f.js} +2 -2
- package/dist/chunks/{instruction-discovery-gmjjhz4f.js → persistent-pty-97fmyryk.js} +3 -3
- package/dist/chunks/{instruction-discovery-x5gsvnve.js → persistent-pty-9hxa6fgt.js} +22 -22
- package/dist/chunks/{instruction-discovery-jca4demv.js → persistent-pty-9kmbd9mt.js} +2 -2
- package/dist/chunks/{instruction-discovery-5773vcrt.js → persistent-pty-a2jafzqy.js} +10 -10
- package/dist/chunks/{instruction-discovery-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-djkbap09.js → persistent-pty-ajfhfmjy.js} +28 -28
- package/dist/chunks/{instruction-discovery-tpqwk5ce.js → persistent-pty-amw4dhzn.js} +48 -48
- package/dist/chunks/{instruction-discovery-1phdpwc2.js → persistent-pty-b2fmx0cr.js} +23 -23
- package/dist/chunks/{instruction-discovery-djg052x6.js → persistent-pty-b6ev060k.js} +85 -85
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-q2em0wnb.js → persistent-pty-b95khez4.js} +32 -32
- package/dist/chunks/{instruction-discovery-gm52bzsg.js → persistent-pty-bex2v6cw.js} +32 -32
- package/dist/chunks/{instruction-discovery-45f95y49.js → persistent-pty-bqszwq89.js} +8 -8
- package/dist/chunks/{instruction-discovery-90jp2e9k.js → persistent-pty-bxss05bd.js} +5 -5
- package/dist/chunks/{instruction-discovery-byfdp7sc.js → persistent-pty-by2ahm79.js} +19 -19
- package/dist/chunks/persistent-pty-by5v678g.js +18 -0
- package/dist/chunks/persistent-pty-bye9g0db.js +503 -0
- package/dist/chunks/{instruction-discovery-6megmk7j.js → persistent-pty-cavp3yv7.js} +167 -167
- package/dist/chunks/{instruction-discovery-svqww8e9.js → persistent-pty-cb29sgre.js} +12 -12
- package/dist/chunks/{instruction-discovery-krerckhf.js → persistent-pty-cet8zpt3.js} +20 -20
- package/dist/chunks/{instruction-discovery-54tcyq79.js → persistent-pty-ckecvw8r.js} +2 -2
- package/dist/chunks/{instruction-discovery-eqnpzj6x.js → persistent-pty-ckznq2md.js} +47 -47
- package/dist/chunks/{instruction-discovery-cb50g36s.js → persistent-pty-cy7y84yk.js} +27 -27
- package/dist/chunks/{instruction-discovery-mpmef94f.js → persistent-pty-d04a2mwz.js} +27 -27
- package/dist/chunks/{instruction-discovery-pc2w18tz.js → persistent-pty-d3mx090j.js} +11 -11
- package/dist/chunks/{instruction-discovery-9z7zzmhv.js → persistent-pty-dahg00w6.js} +14 -14
- package/dist/chunks/{instruction-discovery-z4ztj7g0.js → persistent-pty-depwzj9d.js} +9 -9
- package/dist/chunks/{instruction-discovery-2wt5435z.js → persistent-pty-dftjxd64.js} +43 -43
- package/dist/chunks/{instruction-discovery-4bm5ja14.js → persistent-pty-dj68pnee.js} +4 -4
- package/dist/chunks/{instruction-discovery-v2ja366f.js → persistent-pty-dta3aaj1.js} +13 -13
- package/dist/chunks/{instruction-discovery-nca7p386.js → persistent-pty-dwvzh0g2.js} +6 -6
- package/dist/chunks/{instruction-discovery-6jq1twvs.js → persistent-pty-e6bk6vcc.js} +17 -17
- package/dist/chunks/{instruction-discovery-0gaj4617.js → persistent-pty-e6hd9jay.js} +6 -6
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-39zjwp2f.js → persistent-pty-ek7s1yw1.js} +31 -31
- package/dist/chunks/{instruction-discovery-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-pamen60e.js → persistent-pty-eyn1g3ne.js} +11 -11
- package/dist/chunks/{instruction-discovery-kbez90jx.js → persistent-pty-f78qqxb3.js} +2 -2
- package/dist/chunks/{instruction-discovery-ratrq7cm.js → persistent-pty-fdv30zvt.js} +7 -7
- package/dist/chunks/{instruction-discovery-gkbk41jf.js → persistent-pty-fmfe6t1x.js} +8 -8
- package/dist/chunks/{instruction-discovery-20fk9aev.js → persistent-pty-fwdthrhg.js} +4 -4
- package/dist/chunks/{instruction-discovery-wyyg1kth.js → persistent-pty-g1e31y9g.js} +9 -9
- package/dist/chunks/{instruction-discovery-32mptbtk.js → persistent-pty-g9keeyzv.js} +22 -22
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-th62b91t.js → persistent-pty-gk8whktx.js} +16 -16
- package/dist/chunks/{instruction-discovery-965ggptx.js → persistent-pty-gmjq4p6e.js} +12 -12
- package/dist/chunks/{instruction-discovery-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instruction-discovery-akrnn5pm.js → persistent-pty-h2r7bbkd.js} +8 -8
- 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-r53cm70s.js → persistent-pty-h92q6hp8.js} +5 -5
- package/dist/chunks/{instruction-discovery-mx9vqzsb.js → persistent-pty-hdab2k61.js} +6 -6
- package/dist/chunks/{instruction-discovery-x4rn42j9.js → persistent-pty-hdmhar15.js} +20 -20
- package/dist/chunks/{instruction-discovery-fpzdzkj0.js → persistent-pty-hfr76n8q.js} +19 -19
- package/dist/chunks/{instruction-discovery-erxzqa2e.js → persistent-pty-hk4fq7r2.js} +33 -33
- package/dist/chunks/{instruction-discovery-pkfpcs6v.js → persistent-pty-hmpr7mk5.js} +48 -48
- package/dist/chunks/{instruction-discovery-d3p4xgmg.js → persistent-pty-hrhjdx1t.js} +9 -9
- package/dist/chunks/{instruction-discovery-5j0v07dd.js → persistent-pty-hsn9352f.js} +47 -47
- package/dist/chunks/{instruction-discovery-fwy2bgzc.js → persistent-pty-hv93qhcc.js} +2 -2
- package/dist/chunks/{instruction-discovery-j6qe1feh.js → persistent-pty-hwk3zhxf.js} +5 -5
- package/dist/chunks/{instruction-discovery-s7pfqayf.js → persistent-pty-j27gqa6x.js} +5 -5
- package/dist/chunks/{instruction-discovery-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-npyy71b9.js → persistent-pty-jettcq7s.js} +18 -18
- package/dist/chunks/{instruction-discovery-ze7b11e9.js → persistent-pty-jrarfqr6.js} +25 -25
- package/dist/chunks/{instruction-discovery-qj8eh1ht.js → persistent-pty-jw80jp6b.js} +4 -4
- package/dist/chunks/{instruction-discovery-9kdxktf7.js → persistent-pty-k3b8e1df.js} +28 -28
- package/dist/chunks/{instruction-discovery-nzks3jc8.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{instruction-discovery-jnn0bp1d.js → persistent-pty-k4r214gj.js} +11 -11
- package/dist/chunks/{instruction-discovery-44ke2mar.js → persistent-pty-k9kj6xed.js} +6 -6
- package/dist/chunks/{instruction-discovery-gmx50r0d.js → persistent-pty-ka5wj0td.js} +9 -9
- package/dist/chunks/{instruction-discovery-xkfpn5tc.js → persistent-pty-kk99n8q9.js} +13 -13
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-5zj68cj2.js → persistent-pty-m57zmrhq.js} +28 -28
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-wr7ps67x.js → persistent-pty-ma15yhyh.js} +5 -5
- package/dist/chunks/{instruction-discovery-m2w22vaf.js → persistent-pty-mae9nf4n.js} +16 -16
- package/dist/chunks/{instruction-discovery-mbjzy413.js → persistent-pty-mce3n2w0.js} +15 -15
- package/dist/chunks/{instruction-discovery-q3t37ft6.js → persistent-pty-mf9m2v67.js} +3 -3
- package/dist/chunks/{instruction-discovery-atnq9fe8.js → persistent-pty-mhd9raa2.js} +28 -28
- package/dist/chunks/{instruction-discovery-rt03rqyf.js → persistent-pty-mhj6erx5.js} +11 -11
- package/dist/chunks/persistent-pty-mn1405vt.js +252 -0
- package/dist/chunks/{instruction-discovery-h2hm217k.js → persistent-pty-mrgbk9d9.js} +3 -3
- package/dist/chunks/{instruction-discovery-e4934fpk.js → persistent-pty-mxqsfyay.js} +15 -15
- package/dist/chunks/{instruction-discovery-wta2bqzn.js → persistent-pty-myas8b4t.js} +17 -17
- package/dist/chunks/{instruction-discovery-jff2zpce.js → persistent-pty-myg059q6.js} +46 -46
- package/dist/chunks/{instruction-discovery-5t720x8c.js → persistent-pty-n7q0d5fq.js} +6 -6
- package/dist/chunks/{instruction-discovery-c4hpbxsz.js → persistent-pty-ndtwm10h.js} +11 -11
- package/dist/chunks/{instruction-discovery-7cbq4mgj.js → persistent-pty-nkgvehk0.js} +17 -17
- package/dist/chunks/{instruction-discovery-kfphszmj.js → persistent-pty-nq7qbqzc.js} +9 -9
- package/dist/chunks/{instruction-discovery-jk5nd1ev.js → persistent-pty-nx741bd4.js} +43 -43
- package/dist/chunks/{instruction-discovery-af04s6ss.js → persistent-pty-nxhqveyz.js} +5 -5
- package/dist/chunks/{instruction-discovery-zyn1nver.js → persistent-pty-ny93wepk.js} +10 -10
- package/dist/chunks/{instruction-discovery-qahfex6h.js → persistent-pty-p14rgpp2.js} +20 -20
- package/dist/chunks/{instruction-discovery-3hfr6h8q.js → persistent-pty-pa8pe2x7.js} +6 -6
- package/dist/chunks/{instruction-discovery-2040r5xd.js → persistent-pty-pbfw7m20.js} +11 -11
- package/dist/chunks/{instruction-discovery-m88pfp32.js → persistent-pty-pfa9vqac.js} +3 -3
- 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-vybhs2ww.js → persistent-pty-pp173efe.js} +11 -11
- package/dist/chunks/{instruction-discovery-1w70gyjm.js → persistent-pty-pr593267.js} +36 -36
- package/dist/chunks/{instruction-discovery-sgrqhgmf.js → persistent-pty-q5758hxt.js} +13 -13
- package/dist/chunks/{instruction-discovery-hq4dtc3h.js → persistent-pty-q9n5cbnp.js} +14 -14
- package/dist/chunks/{instruction-discovery-0chg25k6.js → persistent-pty-qp5vsj8n.js} +14 -14
- package/dist/chunks/{instruction-discovery-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-0r7yqxbf.js → persistent-pty-qte5z7bc.js} +5 -5
- package/dist/chunks/{instruction-discovery-0ryd0fps.js → persistent-pty-qvreyy9g.js} +5 -5
- package/dist/chunks/{instruction-discovery-mva6xa9e.js → persistent-pty-qxxt2qtz.js} +44 -44
- package/dist/chunks/{instruction-discovery-5t7an2a8.js → persistent-pty-r2j9d1ms.js} +11 -11
- package/dist/chunks/{instruction-discovery-nhyq2g63.js → persistent-pty-r31redw9.js} +9 -9
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-eaj1djv9.js → persistent-pty-rhjbct0v.js} +8 -8
- package/dist/chunks/{instruction-discovery-q7qx1k0z.js → persistent-pty-rjvvd7vb.js} +31 -31
- package/dist/chunks/{instruction-discovery-g00n1506.js → persistent-pty-rr40bken.js} +21 -21
- package/dist/chunks/{instruction-discovery-v2dx9ytq.js → persistent-pty-rxhvjhx4.js} +5 -5
- package/dist/chunks/{instruction-discovery-e6rhpkh1.js → persistent-pty-s4ek6zwe.js} +24 -24
- package/dist/chunks/{instruction-discovery-nn3r97b9.js → persistent-pty-s8wgvgmw.js} +4 -4
- package/dist/chunks/{instruction-discovery-sqy4ahhk.js → persistent-pty-sfntmzm9.js} +1 -1
- package/dist/chunks/{instruction-discovery-q082haf0.js → persistent-pty-sk6t9hvy.js} +84 -84
- package/dist/chunks/{instruction-discovery-c6yaza7c.js → persistent-pty-sma20vvg.js} +11 -11
- package/dist/chunks/{instruction-discovery-g2pkmnsy.js → persistent-pty-smympfee.js} +30 -30
- package/dist/chunks/{instruction-discovery-1s7z0cjk.js → persistent-pty-st4mhzzs.js} +5 -5
- package/dist/chunks/{instruction-discovery-91pn7y7z.js → persistent-pty-sxcbscrm.js} +7 -7
- package/dist/chunks/{instruction-discovery-y9ac25rv.js → persistent-pty-syyvpj1n.js} +21 -21
- package/dist/chunks/{instruction-discovery-evbgk2k8.js → persistent-pty-t0fxg8b9.js} +5 -5
- package/dist/chunks/{instruction-discovery-wps88n7s.js → persistent-pty-t29rx7a6.js} +11 -11
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-7w57ebwc.js → persistent-pty-tcekf9ey.js} +5 -5
- 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-mnxhb66b.js → persistent-pty-thas5x23.js} +25 -25
- package/dist/chunks/{instruction-discovery-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{instruction-discovery-q5797vwk.js → persistent-pty-twba3jga.js} +29 -29
- package/dist/chunks/{instruction-discovery-15kgmdgj.js → persistent-pty-v1kefnyt.js} +19 -19
- package/dist/chunks/{instruction-discovery-p4thxdrt.js → persistent-pty-v3qtc92a.js} +19 -19
- package/dist/chunks/{instruction-discovery-j6bx7044.js → persistent-pty-v4zvv4f8.js} +11 -11
- package/dist/chunks/{instruction-discovery-rw1kqm1d.js → persistent-pty-v9pex1z2.js} +14 -14
- package/dist/chunks/persistent-pty-vatnpgrc.js +26 -0
- package/dist/chunks/{instruction-discovery-vbh3tngh.js → persistent-pty-vcsatxq3.js} +11 -11
- package/dist/chunks/{instruction-discovery-dfe8djrf.js → persistent-pty-ve4pfa0n.js} +4 -4
- package/dist/chunks/{instruction-discovery-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-kad7k73d.js → persistent-pty-vhf33m4y.js} +8 -8
- package/dist/chunks/{instruction-discovery-jt292q3w.js → persistent-pty-vhkdxrqw.js} +32 -32
- package/dist/chunks/{instruction-discovery-efbtb4e8.js → persistent-pty-vnkhd93v.js} +14 -14
- package/dist/chunks/{instruction-discovery-dbc2k69g.js → persistent-pty-vq1h36b7.js} +32 -32
- package/dist/chunks/{instruction-discovery-49gctfzm.js → persistent-pty-vr3zvskj.js} +74 -74
- package/dist/chunks/{instruction-discovery-659sfxq9.js → persistent-pty-vtt0yr3x.js} +16 -16
- package/dist/chunks/{instruction-discovery-9cyfspf3.js → persistent-pty-vtxr0yy2.js} +5 -5
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{instruction-discovery-pwcz8111.js → persistent-pty-w0bwbkhm.js} +13 -13
- package/dist/chunks/{instruction-discovery-e0r7vjdq.js → persistent-pty-w3nq1sqw.js} +9 -9
- package/dist/chunks/{instruction-discovery-v1eq4e05.js → persistent-pty-w3pke5fx.js} +8 -8
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-bfcwx7ng.js → persistent-pty-w577a3z6.js} +32 -32
- package/dist/chunks/{instruction-discovery-kaqea1z3.js → persistent-pty-w7q5193v.js} +35 -35
- package/dist/chunks/{instruction-discovery-pn4n9n96.js → persistent-pty-w9kxsqx0.js} +14 -14
- package/dist/chunks/{instruction-discovery-psazpmmj.js → persistent-pty-wd3x2cqz.js} +2 -2
- package/dist/chunks/{instruction-discovery-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-zzy8bv2k.js → persistent-pty-weft2jvw.js} +7 -7
- package/dist/chunks/{instruction-discovery-1vvr2ajh.js → persistent-pty-wpv1nwv6.js} +14 -14
- package/dist/chunks/{instruction-discovery-1e5e9c2h.js → persistent-pty-ww3rdmp0.js} +9 -9
- package/dist/chunks/{instruction-discovery-zrahedb4.js → persistent-pty-x02qtknb.js} +15 -15
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instruction-discovery-tzztennb.js → persistent-pty-x73qep3k.js} +44 -44
- package/dist/chunks/{instruction-discovery-ee381eds.js → persistent-pty-x9p3nmqr.js} +43 -43
- package/dist/chunks/{instruction-discovery-tww8z1vj.js → persistent-pty-xe9jd8cp.js} +31 -31
- package/dist/chunks/{instruction-discovery-xfkkasph.js → persistent-pty-xfkkasph.js} +1 -1
- package/dist/chunks/{instruction-discovery-1n98hr1n.js → persistent-pty-xgxqjvfa.js} +3 -3
- package/dist/chunks/{instruction-discovery-k7b9gx9s.js → persistent-pty-xm5cggtr.js} +20 -20
- package/dist/chunks/{instruction-discovery-rnrng9qw.js → persistent-pty-xn4akm7j.js} +11 -11
- package/dist/chunks/{instruction-discovery-d4ytm8cd.js → persistent-pty-xt97jqwb.js} +6 -6
- package/dist/chunks/{instruction-discovery-8x5fbbq2.js → persistent-pty-xtbqs454.js} +22 -22
- package/dist/chunks/{instruction-discovery-htvkgf1n.js → persistent-pty-xw8g27w3.js} +25 -25
- package/dist/chunks/{instruction-discovery-n1bt1yd9.js → persistent-pty-xy6b5509.js} +5 -5
- package/dist/chunks/{instruction-discovery-9jd99yzh.js → persistent-pty-xzzwhxmb.js} +12 -12
- package/dist/chunks/{instruction-discovery-pnra210x.js → persistent-pty-y001mj7v.js} +10 -10
- package/dist/chunks/{instruction-discovery-0m0tvs7x.js → persistent-pty-y19c3zcv.js} +4 -4
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-1saq4hr5.js → persistent-pty-y64nvfbp.js} +28 -28
- package/dist/chunks/{instruction-discovery-qsaqc0wr.js → persistent-pty-y6agey15.js} +16 -16
- package/dist/chunks/{instruction-discovery-dpkg50ah.js → persistent-pty-y71avatq.js} +4 -4
- package/dist/chunks/{instruction-discovery-xga2m62q.js → persistent-pty-y7d7kw9x.js} +10 -10
- package/dist/chunks/{instruction-discovery-yp2x3t23.js → persistent-pty-yp2x3t23.js} +1 -1
- package/dist/chunks/{instruction-discovery-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instruction-discovery-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{instruction-discovery-715tkws1.js → persistent-pty-z06g7yey.js} +19 -19
- package/dist/chunks/{instruction-discovery-bjtzbw4r.js → persistent-pty-z07pqspn.js} +3 -3
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{instruction-discovery-0wexbj72.js → persistent-pty-zar8sqd3.js} +17 -17
- package/dist/chunks/{instruction-discovery-jvf3yq6v.js → persistent-pty-zav06jzw.js} +4 -4
- package/dist/chunks/{instruction-discovery-7vrq869m.js → persistent-pty-zd5y1z78.js} +17 -17
- package/dist/chunks/{instruction-discovery-cbd96z7n.js → persistent-pty-zdsm4etx.js} +25 -25
- package/dist/chunks/{instruction-discovery-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{instruction-discovery-vzdazkqw.js → persistent-pty-zjzqdcy8.js} +15 -15
- package/dist/chunks/{instruction-discovery-xh5b640q.js → persistent-pty-zp05054v.js} +40 -40
- package/dist/chunks/{instruction-discovery-5x6h8zsv.js → persistent-pty-zp1j8h0b.js} +10 -10
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-4pymtaw6.js → persistent-pty-zrv8bjrm.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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +91 -91
- 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 +361 -361
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- 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 +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +5 -5
- 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 +2 -2
- 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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-82dwf0d7.js +0 -26
- package/dist/chunks/instruction-discovery-9sh4wc5j.js +0 -18
- package/dist/chunks/instruction-discovery-hcvhzkzs.js +0 -503
- package/dist/chunks/instruction-discovery-qapv375x.js +0 -4
- package/dist/chunks/instruction-discovery-w4wez72a.js +0 -252
- /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-34c7v6d4.js → persistent-pty-34c7v6d4.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-5qd3pb7m.js → persistent-pty-5qd3pb7m.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-8wj87zfr.js → persistent-pty-8wj87zfr.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-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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node86
|
|
7
|
+
} from "./persistent-pty-gmjq4p6e.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-gebd4c9n.js";
|
|
11
|
+
import {
|
|
12
|
+
Service84,
|
|
13
|
+
node88
|
|
14
|
+
} from "./persistent-pty-7md6e53z.js";
|
|
11
15
|
import {
|
|
12
16
|
Service83,
|
|
13
17
|
node87
|
|
14
|
-
} from "./
|
|
15
|
-
import {
|
|
16
|
-
Service82,
|
|
17
|
-
node86
|
|
18
|
-
} from "./instruction-discovery-qsaqc0wr.js";
|
|
18
|
+
} from "./persistent-pty-y6agey15.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-wd3x2cqz.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-94ek1h2f.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-8tvn0bgg.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-7xfe1xnv.js";
|
|
32
32
|
import {
|
|
33
33
|
Service79,
|
|
34
34
|
node83
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./persistent-pty-f78qqxb3.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./persistent-pty-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
41
|
make12
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./persistent-pty-768gsh1v.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service23
|
|
45
|
+
} from "./persistent-pty-6k427wqf.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
|
|
|
53
53
|
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event7,
|
|
57
|
+
Info: () => Info4,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service22,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node25
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -79,7 +79,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
80
|
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info4 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -94,15 +94,15 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event7 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service22 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const database = yield*
|
|
103
|
+
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service83;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
107
|
const locations = yield* Service79;
|
|
108
108
|
const gitStrategy = yield* make12;
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service23).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event7.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service22.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node25 = Node.makeGlobalNode({
|
|
265
|
+
service: Service22,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node83]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event7, Service22, node25, exports_worktree2, OperationError2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./persistent-pty-dftjxd64.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./persistent-pty-x9p3nmqr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin40,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin40 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service54;
|
|
28
|
+
const mcp = yield* Service41;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin40, register2, exports_mcp2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service54
|
|
4
|
+
} from "./persistent-pty-dftjxd64.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./persistent-pty-1fw2a5v8.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin34
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin34 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service54;
|
|
27
|
+
const shell = yield* Service70;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin8 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin34, exports_shell2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./persistent-pty-7md6e53z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./persistent-pty-hdab2k61.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-by5v678g.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-56dkfrzf.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-92nedzp3.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-8cb91319.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service32
|
|
21
|
+
} from "./persistent-pty-b6ev060k.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
36
|
-
const database = yield*
|
|
35
|
+
const instances = yield* Service51;
|
|
36
|
+
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service32;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -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/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info19,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info19 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info14 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info19, exports_provider2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin29,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin29 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin29, exports_tool_input_repair };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service66
|
|
4
|
+
} from "./persistent-pty-s4ek6zwe.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service71
|
|
8
|
+
} from "./persistent-pty-7jjmmf08.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./persistent-pty-dftjxd64.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-mf9m2v67.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service52
|
|
18
|
+
} from "./persistent-pty-zar8sqd3.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service63
|
|
22
|
+
} from "./persistent-pty-hsn9352f.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service30
|
|
25
|
+
} from "./persistent-pty-sk6t9hvy.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make8
|
|
31
|
+
} from "./persistent-pty-pbfw7m20.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input2,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin2,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name2
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name2 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input2 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input7 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output2 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin2 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service30;
|
|
93
|
+
const jobs = yield* Service52;
|
|
94
|
+
const agents = yield* Service66;
|
|
95
|
+
const config = yield* Service54;
|
|
96
|
+
const permission = yield* Service63;
|
|
97
|
+
const models = yield* Service71;
|
|
98
|
+
const subagents = yield* make8;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin26 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin26 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name2,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin26 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID10.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name2];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name2, Input2, Output2, description2, Plugin2, exports_subagent };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-7cdwr1t5.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info25
|
|
11
|
+
} from "./persistent-pty-7jjmmf08.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID11.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info25.make({
|
|
122
|
+
...Info25.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID11.make(remote.id),
|
|
125
|
+
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|