@opencode/core 0.0.0-dev-20720 → 0.0.0-dev-20723
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 +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{state-d3zsqy84.js → vcs-04yyf4qt.js} +18 -18
- package/dist/chunks/{state-0fypn0a3.js → vcs-07wgvsh6.js} +25 -25
- package/dist/chunks/{state-xecxzrdp.js → vcs-0bg0bx69.js} +5 -5
- package/dist/chunks/{state-zxszgjhy.js → vcs-0c9wqyy8.js} +14 -14
- package/dist/chunks/{state-tc3k9mfd.js → vcs-0d8zqp83.js} +3 -3
- package/dist/chunks/{state-0j77ygfz.js → vcs-0j77ygfz.js} +2 -2
- package/dist/chunks/{state-rf1bdrxr.js → vcs-0me6j0h2.js} +11 -11
- package/dist/chunks/{state-crdrr85v.js → vcs-0nnqgx98.js} +5 -5
- package/dist/chunks/{state-qbma24dw.js → vcs-0nzb3xm7.js} +17 -17
- package/dist/chunks/{state-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-yfmzq89s.js → vcs-0pd58yjc.js} +20 -20
- package/dist/chunks/{state-73vgk540.js → vcs-0pjmp4n2.js} +1 -1
- package/dist/chunks/{state-qvkrf2sr.js → vcs-0s2jvk1v.js} +26 -26
- package/dist/chunks/{state-0emb60td.js → vcs-0vbcp93d.js} +2 -2
- package/dist/chunks/{state-6wzskhnk.js → vcs-13gmnxv8.js} +28 -28
- package/dist/chunks/{state-2cfdhw3s.js → vcs-19yw5azz.js} +69 -69
- package/dist/chunks/{state-rhraev7y.js → vcs-1acjjqhc.js} +4 -4
- package/dist/chunks/{state-9hn6k4tm.js → vcs-1ajx6rf5.js} +8 -8
- package/dist/chunks/{state-dntcxfx6.js → vcs-1cgp65pm.js} +12 -12
- package/dist/chunks/{state-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-84h8c373.js → vcs-1dvck2a7.js} +2 -2
- package/dist/chunks/{state-n4dca9y5.js → vcs-1h9s09mr.js} +19 -19
- package/dist/chunks/{state-ppk3b36w.js → vcs-1q5c5pmz.js} +24 -24
- package/dist/chunks/{state-5dkn69vz.js → vcs-1rn5pcm9.js} +4 -4
- package/dist/chunks/{state-hjd5rs48.js → vcs-1sc12dm9.js} +32 -32
- package/dist/chunks/vcs-1x11rq2a.js +18 -0
- package/dist/chunks/{state-zbjxv3dz.js → vcs-1xzpbkn4.js} +5 -5
- package/dist/chunks/{state-1deese7r.js → vcs-1z1w0x60.js} +3 -3
- package/dist/chunks/{state-6121h2h6.js → vcs-22q3b961.js} +2 -2
- package/dist/chunks/{state-6e54mn8t.js → vcs-25b99zps.js} +41 -41
- package/dist/chunks/{state-zzwrqwz9.js → vcs-27gmch2w.js} +4 -4
- package/dist/chunks/{state-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-2ccvkpx1.js → vcs-2ccvkpx1.js} +2 -2
- package/dist/chunks/{state-3rtxz4nr.js → vcs-2hr5nhwa.js} +8 -8
- package/dist/chunks/{state-86fzd6mx.js → vcs-2q6k3pst.js} +9 -9
- package/dist/chunks/{state-xdrba4jw.js → vcs-2q8c0gm7.js} +9 -9
- package/dist/chunks/{state-cwa6csj7.js → vcs-2sejkfem.js} +9 -9
- package/dist/chunks/{state-1ygqh575.js → vcs-33w4ejhs.js} +6 -6
- package/dist/chunks/{state-s5met55r.js → vcs-37ea9c2d.js} +8 -8
- package/dist/chunks/{state-jrjafyr0.js → vcs-37sfe3bm.js} +14 -14
- package/dist/chunks/{state-f62qkzqr.js → vcs-3bc8czyk.js} +5 -5
- package/dist/chunks/{state-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-edbfpfck.js → vcs-3ppptnan.js} +6 -6
- package/dist/chunks/{state-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-mgpjz0db.js → vcs-3w6ka4dd.js} +32 -32
- package/dist/chunks/{state-1p2095bv.js → vcs-3y6k4917.js} +35 -35
- package/dist/chunks/{state-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{state-eekvak8k.js → vcs-49q8yaxv.js} +11 -11
- package/dist/chunks/{state-vgepzxbh.js → vcs-4eq8w0dz.js} +4 -4
- package/dist/chunks/{state-tbpc65w4.js → vcs-4q42yqz9.js} +12 -12
- package/dist/chunks/{state-11dqjexa.js → vcs-4rt0ga34.js} +9 -9
- package/dist/chunks/{state-ms8ccy3x.js → vcs-4rz2eah6.js} +25 -25
- package/dist/chunks/{state-pn003z7t.js → vcs-4ttfntha.js} +19 -19
- package/dist/chunks/{state-zbj3drqt.js → vcs-4xgn8f08.js} +20 -20
- package/dist/chunks/{state-54ma36ye.js → vcs-54ma36ye.js} +1 -1
- package/dist/chunks/{state-3ck2xf04.js → vcs-5750az6h.js} +5 -5
- package/dist/chunks/{state-8316qx5p.js → vcs-57myy5jh.js} +5 -5
- package/dist/chunks/{state-88gkpqae.js → vcs-59q5jc6n.js} +16 -16
- package/dist/chunks/{state-nd37bzcf.js → vcs-5jdc83g9.js} +24 -24
- package/dist/chunks/{state-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{state-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-qgvx2ecd.js → vcs-5we17rd7.js} +8 -8
- package/dist/chunks/{state-6sr3ve8g.js → vcs-5wtwrezn.js} +4 -4
- package/dist/chunks/{state-9zmkt7t8.js → vcs-63tw2y7q.js} +313 -313
- package/dist/chunks/{state-s2f320av.js → vcs-64kp7p04.js} +26 -26
- package/dist/chunks/{state-jhdf29st.js → vcs-68wqtz75.js} +1 -1
- package/dist/chunks/{state-qpef03sa.js → vcs-6fqhqgbm.js} +1 -1
- package/dist/chunks/{state-y3ghf2b6.js → vcs-6kenx3xs.js} +7 -7
- package/dist/chunks/{state-gx34rq0y.js → vcs-6n96qzv5.js} +8 -8
- package/dist/chunks/{state-pe0zt13j.js → vcs-6t0whsax.js} +1 -1
- package/dist/chunks/{state-6xb47vfp.js → vcs-6xb47vfp.js} +1 -1
- package/dist/chunks/{state-9t8z8sz2.js → vcs-6z3x1np0.js} +4 -4
- package/dist/chunks/{state-f75zav2x.js → vcs-71az546q.js} +2 -2
- package/dist/chunks/{state-e7fzh1tv.js → vcs-75a1c4v1.js} +9 -9
- package/dist/chunks/{state-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-rdd3t6fr.js → vcs-7bw0yazn.js} +11 -11
- package/dist/chunks/{state-krs87b37.js → vcs-7dw0t1ze.js} +9 -9
- package/dist/chunks/{state-v4swh9q7.js → vcs-7jfftv5p.js} +10 -10
- package/dist/chunks/{state-54n0a6zw.js → vcs-7kne82cw.js} +11 -11
- package/dist/chunks/{state-9sxnv72c.js → vcs-80hejsm3.js} +18 -18
- package/dist/chunks/{state-84txncab.js → vcs-84txncab.js} +1 -1
- package/dist/chunks/{state-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/vcs-8gnn3ynq.js +26 -0
- package/dist/chunks/{state-8m6m0r52.js → vcs-8m6m0r52.js} +1 -1
- package/dist/chunks/{state-wv509nq3.js → vcs-8s9b4wpd.js} +11 -11
- package/dist/chunks/{state-wzx4r275.js → vcs-8x0r4hhp.js} +4 -4
- package/dist/chunks/{state-m7afyyyj.js → vcs-8ybr1j9f.js} +15 -15
- package/dist/chunks/{state-trj1gmcm.js → vcs-956c9a2b.js} +1 -1
- package/dist/chunks/{state-m9jgt8r5.js → vcs-99zns8hp.js} +5 -5
- package/dist/chunks/{state-8h82tmdf.js → vcs-9c50v8xn.js} +22 -22
- package/dist/chunks/{state-kb9j3d72.js → vcs-9e5bzkjp.js} +3 -3
- package/dist/chunks/{state-f9a4pn72.js → vcs-9fxzk225.js} +7 -7
- package/dist/chunks/{state-fwr1nvee.js → vcs-9kbad57x.js} +13 -13
- package/dist/chunks/{state-h24f7b7f.js → vcs-9vj6bm7e.js} +32 -32
- package/dist/chunks/{state-fn7rspy2.js → vcs-a0f0vbmj.js} +41 -41
- package/dist/chunks/{state-eq1pz5kg.js → vcs-a1gpj94z.js} +3 -3
- package/dist/chunks/{state-88wa59w3.js → vcs-a251rf9t.js} +133 -133
- package/dist/chunks/{state-fm2qvscf.js → vcs-a2ew8a62.js} +4 -4
- package/dist/chunks/{state-44ak30pa.js → vcs-a3c7ahw6.js} +4 -4
- package/dist/chunks/{state-g5xbze43.js → vcs-a3hwmvp4.js} +4 -4
- package/dist/chunks/{state-bkwnwkna.js → vcs-a3p2k8hz.js} +6 -6
- package/dist/chunks/{state-cq15wxzp.js → vcs-a86j6ah1.js} +4 -4
- package/dist/chunks/{state-pmwpe40e.js → vcs-a89e0tac.js} +4 -4
- package/dist/chunks/{state-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{state-addxnjmp.js → vcs-addxnjmp.js} +1 -1
- package/dist/chunks/{state-c4jzek7p.js → vcs-ae1t3fda.js} +10 -10
- package/dist/chunks/{state-ket9r42f.js → vcs-atkvf9td.js} +20 -20
- package/dist/chunks/{state-34rerane.js → vcs-aw110tac.js} +9 -9
- package/dist/chunks/{state-9pkkzrmj.js → vcs-b29mbqx6.js} +5 -5
- package/dist/chunks/{state-evszv5pj.js → vcs-b2vqzx2z.js} +51 -51
- package/dist/chunks/{state-qygbw77c.js → vcs-b3f8fkhc.js} +5 -5
- package/dist/chunks/{state-f36c7hhr.js → vcs-b5m1msdc.js} +32 -32
- package/dist/chunks/{state-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-45cwyr7q.js → vcs-b6kfej2e.js} +24 -24
- package/dist/chunks/{state-jvtf094g.js → vcs-bet956c8.js} +11 -11
- package/dist/chunks/{state-adwe1qqm.js → vcs-bnnqep0w.js} +20 -20
- package/dist/chunks/{state-17dj5fv5.js → vcs-bsabe2th.js} +14 -14
- package/dist/chunks/{state-ggjzp0zf.js → vcs-c0pnaphe.js} +7 -7
- package/dist/chunks/{state-msbh9db6.js → vcs-c4s9wf9w.js} +49 -49
- package/dist/chunks/{state-v6raqp8b.js → vcs-cn4yje2m.js} +28 -28
- package/dist/chunks/{state-ctj64nje.js → vcs-csn9490h.js} +43 -43
- package/dist/chunks/{state-mec702eg.js → vcs-cvrb0wmz.js} +24 -24
- package/dist/chunks/{state-kz7kk7hk.js → vcs-czasab6n.js} +14 -14
- package/dist/chunks/{state-hts2a9q2.js → vcs-czrbczn7.js} +18 -18
- package/dist/chunks/{state-y8v18ms9.js → vcs-dcd21nhz.js} +11 -11
- package/dist/chunks/{state-dd2ph1ae.js → vcs-dd81mdey.js} +84 -84
- package/dist/chunks/{state-x34x4jyj.js → vcs-dnx92wgp.js} +29 -29
- package/dist/chunks/{state-zc3nhar9.js → vcs-dwjkk65h.js} +8 -8
- package/dist/chunks/{state-adn16pwm.js → vcs-dwzaxvp4.js} +13 -13
- package/dist/chunks/{state-2fdt73cz.js → vcs-dxph6fvz.js} +13 -13
- package/dist/chunks/{state-2t27atdg.js → vcs-e04y2fwa.js} +5 -5
- package/dist/chunks/{state-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-2wtagmr7.js → vcs-et31tfjf.js} +6 -6
- package/dist/chunks/{state-ejvnp2ks.js → vcs-et7yaydb.js} +11 -11
- package/dist/chunks/{state-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-kk956e2k.js → vcs-f0ybs7ce.js} +1 -1
- package/dist/chunks/{state-b00pzheq.js → vcs-f7c64vsa.js} +30 -30
- package/dist/chunks/{state-vtg4gjwx.js → vcs-fb58p62m.js} +10 -10
- package/dist/chunks/{state-7dqw4kz8.js → vcs-fcrkznn8.js} +5 -5
- package/dist/chunks/{state-jkz3v61y.js → vcs-fcy0w2k8.js} +11 -11
- package/dist/chunks/{state-bpfw675d.js → vcs-fg48vtc7.js} +20 -20
- package/dist/chunks/{state-berfgc7x.js → vcs-fgbyx8j7.js} +18 -18
- package/dist/chunks/{state-35b7yesr.js → vcs-fhe9bgpx.js} +32 -32
- package/dist/chunks/{state-3arepkys.js → vcs-fnkxbfgv.js} +43 -43
- package/dist/chunks/{state-mypwhdkk.js → vcs-fq9618wy.js} +6 -6
- package/dist/chunks/{state-tb16czpv.js → vcs-fqhd525k.js} +19 -19
- package/dist/chunks/{state-7zy8zh4w.js → vcs-g5bbch9r.js} +22 -22
- package/dist/chunks/{state-6sf1d713.js → vcs-g6gmb5yh.js} +7 -7
- package/dist/chunks/{state-4t030mrg.js → vcs-gakkbf5f.js} +14 -14
- package/dist/chunks/{state-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-7x89b08m.js → vcs-gt8vmn75.js} +10 -10
- package/dist/chunks/{state-62wb3p7v.js → vcs-h0qj2v5j.js} +1 -1
- package/dist/chunks/{state-3cegwx68.js → vcs-h2b79v29.js} +2 -2
- package/dist/chunks/{state-4x28rjsq.js → vcs-h4jdqfnm.js} +2 -2
- package/dist/chunks/{state-768a8gp9.js → vcs-h4n0vpmw.js} +4 -4
- package/dist/chunks/{state-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-x7sbve6c.js → vcs-hcw1qacz.js} +16 -16
- package/dist/chunks/{state-w692g40q.js → vcs-hj3s3aqk.js} +30 -30
- package/dist/chunks/{state-ttqh24zm.js → vcs-hn57h045.js} +4 -4
- package/dist/chunks/{state-ah3xqtr9.js → vcs-hspafk43.js} +15 -15
- package/dist/chunks/{state-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{state-yw2yvzmw.js → vcs-j7n56pbn.js} +82 -82
- package/dist/chunks/{state-09cpb2ex.js → vcs-j86sv62k.js} +16 -16
- package/dist/chunks/{state-b37sb5xh.js → vcs-jcfbsand.js} +26 -26
- package/dist/chunks/{state-55h7b49p.js → vcs-jddbe3s4.js} +9 -9
- package/dist/chunks/{state-nr69g3jv.js → vcs-je2hg063.js} +3 -3
- package/dist/chunks/{state-thc1rszf.js → vcs-jghv7esd.js} +4 -4
- package/dist/chunks/{state-4dbsr0k0.js → vcs-jyxdbt71.js} +27 -27
- package/dist/chunks/{state-mcjkpbn0.js → vcs-k0r5xdxg.js} +19 -19
- package/dist/chunks/{state-yc3p3qwe.js → vcs-k51kyevv.js} +13 -13
- package/dist/chunks/{state-46rbnc5c.js → vcs-k6ce5wme.js} +24 -24
- package/dist/chunks/{state-fkqcn188.js → vcs-k70p9jzb.js} +9 -9
- package/dist/chunks/{state-g5kmhmn4.js → vcs-kgdwkpsf.js} +11 -11
- package/dist/chunks/{state-pvr0mps5.js → vcs-kq6723p0.js} +26 -26
- package/dist/chunks/{state-mqatsg7m.js → vcs-kt9fe3w1.js} +31 -31
- package/dist/chunks/{state-kxfx0zw7.js → vcs-kxfx0zw7.js} +2 -2
- package/dist/chunks/{state-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{state-6dtkngtv.js → vcs-m7wr2zvh.js} +6 -6
- package/dist/chunks/{state-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-xb9jmman.js → vcs-mg3qwnkj.js} +11 -11
- package/dist/chunks/{state-cxr298sk.js → vcs-mgpyf44b.js} +8 -8
- package/dist/chunks/{state-q67nxkv9.js → vcs-mktbbgtc.js} +33 -33
- package/dist/chunks/{state-vrtmy21p.js → vcs-mytw81tk.js} +2 -2
- package/dist/chunks/{state-xhw3x5cz.js → vcs-n2dx4brw.js} +17 -17
- package/dist/chunks/{state-28jd512m.js → vcs-n5f4tddc.js} +3 -3
- package/dist/chunks/{state-20de9dw7.js → vcs-n89qam4x.js} +3 -3
- package/dist/chunks/{state-dpkg50ah.js → vcs-nxm207yx.js} +4 -4
- package/dist/chunks/{state-4916wvbv.js → vcs-nz4xs60n.js} +5 -5
- package/dist/chunks/{state-7dyczsbr.js → vcs-nzqy64wh.js} +13 -13
- package/dist/chunks/{state-vpn79mg0.js → vcs-pce6pjhv.js} +10 -10
- package/dist/chunks/{state-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{state-a8947ck8.js → vcs-pnw2nq81.js} +19 -19
- package/dist/chunks/{state-pqqhfkp1.js → vcs-pqqhfkp1.js} +3 -3
- package/dist/chunks/{state-6t7bc6bg.js → vcs-pv0xkb1p.js} +8 -8
- package/dist/chunks/{state-cfsekr6v.js → vcs-py3kkmfq.js} +2 -2
- package/dist/chunks/{state-fed6refb.js → vcs-pz9hw1vj.js} +47 -47
- package/dist/chunks/{state-2xg2fwz2.js → vcs-q1rz759s.js} +9 -9
- package/dist/chunks/{state-kzfrgs0d.js → vcs-q9xpq9q1.js} +18 -18
- package/dist/chunks/{state-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
- package/dist/chunks/{state-9y76xs4t.js → vcs-qs2h65bq.js} +15 -15
- package/dist/chunks/{state-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{state-agh9v499.js → vcs-qzeprjkv.js} +23 -23
- package/dist/chunks/{state-2bw2w2fe.js → vcs-r01t9b5y.js} +8 -8
- package/dist/chunks/{state-fesacqrs.js → vcs-r9gm9aqm.js} +13 -13
- package/dist/chunks/{state-7zpky84d.js → vcs-r9yzpxjv.js} +11 -11
- package/dist/chunks/{state-0rq11za7.js → vcs-rckkhj3g.js} +21 -21
- package/dist/chunks/{state-04a2hr2k.js → vcs-rctphcnz.js} +35 -35
- package/dist/chunks/{state-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-ccchx4q8.js → vcs-rg2hvmrn.js} +16 -16
- package/dist/chunks/{state-9t7a50xb.js → vcs-rhjbct0v.js} +4 -4
- package/dist/chunks/{state-dd40s8jk.js → vcs-s0b7t9fd.js} +4 -4
- package/dist/chunks/{state-mvatweg5.js → vcs-s4kvt3fr.js} +16 -16
- package/dist/chunks/vcs-sm4ryf7a.js +253 -0
- package/dist/chunks/{state-r2vb5ahw.js → vcs-szm2718d.js} +6 -6
- package/dist/chunks/{state-m6yf48sn.js → vcs-t03rxstc.js} +25 -25
- package/dist/chunks/{state-gzpbea96.js → vcs-t0gjdka1.js} +45 -45
- package/dist/chunks/{state-z9ghcmzp.js → vcs-t79xfqfr.js} +30 -30
- package/dist/chunks/{state-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{state-wy9mvxme.js → vcs-td95gcyn.js} +6 -6
- package/dist/chunks/{state-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{state-yn2fms0x.js → vcs-tn9ec2vd.js} +15 -15
- package/dist/chunks/{state-ssax58sw.js → vcs-trftep7b.js} +36 -36
- package/dist/chunks/{state-2e8mbfdm.js → vcs-tsvrf6ne.js} +10 -10
- package/dist/chunks/{state-ef18fqje.js → vcs-txq8pc04.js} +21 -21
- package/dist/chunks/{state-kr34918r.js → vcs-v1h528vh.js} +20 -20
- package/dist/chunks/{state-qcy60mzg.js → vcs-v5gfdgtn.js} +8 -8
- package/dist/chunks/{state-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{state-6q8n1y66.js → vcs-vmyd8gm7.js} +15 -15
- package/dist/chunks/{state-3rfzw5ap.js → vcs-vp58kcp5.js} +11 -11
- package/dist/chunks/{state-h7nvfha0.js → vcs-vxzvcjag.js} +24 -24
- package/dist/chunks/{state-y597v6j1.js → vcs-vybjyyra.js} +3 -3
- package/dist/chunks/{state-w1ad28wa.js → vcs-vz7d5c1g.js} +8 -8
- package/dist/chunks/{state-bcdwjwga.js → vcs-vzgd1kv9.js} +15 -15
- package/dist/chunks/{state-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
- package/dist/chunks/{state-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-5krvj9g7.js → vcs-w52nmrah.js} +15 -15
- package/dist/chunks/{state-1smjtbw1.js → vcs-wa0pn2s4.js} +15 -15
- package/dist/chunks/{state-scyp0cvb.js → vcs-wc42rgsf.js} +4 -4
- package/dist/chunks/{state-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{state-hjwcbm2z.js → vcs-we0nggcz.js} +24 -24
- package/dist/chunks/{state-m55qy151.js → vcs-wh6pa4pr.js} +10 -10
- package/dist/chunks/{state-bxrcwjqe.js → vcs-wjw0s51h.js} +5 -5
- package/dist/chunks/{state-eq2t0afb.js → vcs-wpfq0pge.js} +42 -42
- package/dist/chunks/{state-c1wzgm1s.js → vcs-wwycyvg2.js} +9 -9
- package/dist/chunks/{state-yg8cpn2k.js → vcs-x68akpvm.js} +18 -18
- package/dist/chunks/{state-7wnhzmy2.js → vcs-x8d8x7vf.js} +13 -13
- package/dist/chunks/{state-van68h44.js → vcs-xapam9zr.js} +12 -12
- package/dist/chunks/{state-2x68r0t2.js → vcs-xcvh5wbc.js} +18 -18
- package/dist/chunks/{state-mzzkv1b5.js → vcs-xf5kteyf.js} +1 -1
- package/dist/chunks/{state-g5w8qwbj.js → vcs-xfkkasph.js} +4 -4
- package/dist/chunks/{state-2qzcchk7.js → vcs-xfpnc088.js} +43 -43
- package/dist/chunks/{state-dmqcgk4z.js → vcs-xkntkrq7.js} +5 -5
- package/dist/chunks/{state-xyafkbt0.js → vcs-xyafkbt0.js} +3 -3
- package/dist/chunks/{state-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-h9pcb0g7.js → vcs-y43wzbb2.js} +12 -12
- package/dist/chunks/{state-emk51cvb.js → vcs-y7as67ar.js} +13 -13
- package/dist/chunks/{state-4bevpzhv.js → vcs-y83bvz77.js} +6 -6
- package/dist/chunks/{state-za57v6vq.js → vcs-y9e6dd6b.js} +16 -16
- package/dist/chunks/{state-wm3gbqz0.js → vcs-ychfnym3.js} +11 -11
- package/dist/chunks/{state-e2ncvvex.js → vcs-yd29pr10.js} +20 -20
- package/dist/chunks/{state-prdj665r.js → vcs-ypjhjecy.js} +15 -15
- package/dist/chunks/{state-cse9r4v9.js → vcs-ys7nn5kb.js} +11 -11
- package/dist/chunks/{state-jh8bf3qg.js → vcs-yx57bgcq.js} +4 -4
- package/dist/chunks/{state-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-497z3mry.js → vcs-z3nkt1j3.js} +7 -7
- package/dist/chunks/{state-y6f80w1r.js → vcs-z6c3x22d.js} +5 -5
- package/dist/chunks/{state-jjqn8krh.js → vcs-za7chhtt.js} +3 -3
- package/dist/chunks/{state-0x57zm2e.js → vcs-zfbhwvgy.js} +9 -9
- package/dist/chunks/{state-6yjat7sj.js → vcs-zktyrv2e.js} +20 -20
- package/dist/chunks/{state-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-g41jgzrn.js → vcs-zrzkxtqn.js} +10 -10
- package/dist/chunks/{state-zxq2ej10.js → vcs-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 +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +67 -67
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +71 -71
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +99 -99
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +92 -92
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +95 -95
- package/dist/models-dev.js +108 -108
- 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 +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +6 -6
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +92 -92
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- 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 +215 -215
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- 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 +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +206 -206
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +127 -127
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- 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/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- 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 +90 -90
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/state-ht5y0zrb.js +0 -18
- package/dist/chunks/state-kc4mjjv2.js +0 -253
- package/dist/chunks/state-w1199tq0.js +0 -26
- /package/dist/chunks/{state-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-34c7v6d4.js → vcs-34c7v6d4.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{state-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{state-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e3qxr5gk.js → vcs-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fjs5xx1d.js → vcs-fjs5xx1d.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./vcs-a0f0vbmj.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service69
|
|
13
|
+
} from "./vcs-vxzvcjag.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./vcs-j86sv62k.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service54
|
|
19
|
+
} from "./vcs-fnkxbfgv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service53,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-czrbczn7.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service52,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-atkvf9td.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service48
|
|
37
|
+
} from "./vcs-pz9hw1vj.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service19
|
|
40
|
+
} from "./vcs-j7n56pbn.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./vcs-a86j6ah1.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./vcs-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input2,
|
|
53
|
+
Plugin: () => Plugin2,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name2
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name2 = "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 Input2 = 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."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin2 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service19;
|
|
123
|
+
const jobs = yield* Service44;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service69;
|
|
126
|
+
const access = yield* Service53;
|
|
127
|
+
const shell = yield* Service48;
|
|
128
|
+
const shellSelect = yield* Service52;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service54;
|
|
131
|
+
const config = yield* Service65;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin22 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name2,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin22 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name2,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input2,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin22 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name2,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name2];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin2, exports_shell };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
3
|
Service75,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node78
|
|
5
|
+
} from "./vcs-r9gm9aqm.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,23 +15,23 @@ import {
|
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
17
|
Service74,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
node77
|
|
19
|
+
} from "./vcs-dwzaxvp4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service73,
|
|
22
|
+
node76
|
|
23
|
+
} from "./vcs-2q6k3pst.js";
|
|
24
24
|
import {
|
|
25
25
|
ID12,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Service72,
|
|
29
|
+
node75,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./vcs-hcw1qacz.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./vcs-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service71,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
47
47
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
|
-
layer: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
layer: () => layer24,
|
|
51
|
+
node: () => node74,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service71 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -270,12 +270,12 @@ var causeMessage = (cause) => {
|
|
|
270
270
|
};
|
|
271
271
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
272
272
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
273
|
-
var
|
|
273
|
+
var layer24 = Layer.effect(Service71, Effect.gen(function* () {
|
|
274
274
|
const providers = yield* Service74;
|
|
275
|
-
const models = yield*
|
|
275
|
+
const models = yield* Service72;
|
|
276
276
|
const integrations = yield* Service75;
|
|
277
277
|
const npm = yield* Npm.Service;
|
|
278
|
-
const aisdk = yield*
|
|
278
|
+
const aisdk = yield* Service73;
|
|
279
279
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
280
280
|
const provider = yield* providers.get(selected.providerID);
|
|
281
281
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -305,7 +305,7 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
305
305
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
306
306
|
};
|
|
307
307
|
});
|
|
308
|
-
return
|
|
308
|
+
return Service71.of({
|
|
309
309
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
310
310
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
311
311
|
if (!selected)
|
|
@@ -322,10 +322,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
322
322
|
const name = packageName2(packageName);
|
|
323
323
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
service:
|
|
327
|
-
layer:
|
|
328
|
-
deps: [
|
|
325
|
+
var node74 = makeLocationNode({
|
|
326
|
+
service: Service71,
|
|
327
|
+
layer: layer24,
|
|
328
|
+
deps: [node77, node75, node78, Npm.node, node76]
|
|
329
329
|
});
|
|
330
330
|
|
|
331
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
331
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service71, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node74, exports_model_resolver };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./vcs-a0f0vbmj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service11
|
|
6
|
+
} from "./vcs-2sejkfem.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher2 = {};
|
|
16
|
+
__export(exports_location_watcher2, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
+
Plugin: () => Plugin47
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin47 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service65;
|
|
26
|
+
const policy = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin34 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin47, exports_location_watcher2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-we0nggcz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node81
|
|
10
|
+
} from "./vcs-gakkbf5f.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service54,
|
|
13
|
+
node56
|
|
14
|
+
} from "./vcs-fnkxbfgv.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service53,
|
|
26
|
+
node: () => node55,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service53 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service78;
|
|
55
|
+
const permission = yield* Service54;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service53.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node55 = makeLocationNode({ service: Service53, layer, deps: [FSUtil.node, node81, node56] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service53, resolvePath2, node55, exports_file_access };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./vcs-a0f0vbmj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./vcs-2q8c0gm7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin37
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin37 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service65;
|
|
26
|
+
const image = yield* Service36;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin42 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin37, exports_image };
|