@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,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./vcs-fnkxbfgv.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input8,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin9,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name8
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name8 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input8 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input12 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input8.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin9 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service54;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name8,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description5,
|
|
104
|
-
input:
|
|
104
|
+
input: Input8,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin30 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name8,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name8, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input8, Plugin9, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-r9yzpxjv.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin21,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
13
|
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin21 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin5 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint5,
|
|
80
|
+
export { endpoint5, Plugin21, exports_tavily };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info14,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info14 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info14, exports_mcp5 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service36
|
|
3
|
+
} from "./vcs-2q8c0gm7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./vcs-3ppptnan.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-1x11rq2a.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service58
|
|
15
|
+
} from "./vcs-37ea9c2d.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-pqqhfkp1.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service46
|
|
23
|
+
} from "./vcs-9c50v8xn.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service40;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service58;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service46;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service36;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-yx57bgcq.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event4,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options5,
|
|
30
|
+
Service: () => Service35,
|
|
31
|
+
configured: () => configured5,
|
|
32
|
+
layer: () => layer16,
|
|
33
|
+
node: () => node38
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event4 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options5 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service35 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event4.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service35.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service35,
|
|
110
|
+
layer: layer16(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node38 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event4, Options5, Service35, layer16, configured5, node38, exports_instruction_discovery };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./vcs-a0f0vbmj.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch2 = {};
|
|
14
14
|
__export(exports_websearch2, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin35
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin35 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service65;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin43 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin35, exports_websearch2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission2 = {};
|
|
7
7
|
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info17,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule3
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info17 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule3,
|
|
41
|
+
export { Action2, Object2, Rule3, Info17, exports_permission2 };
|