@opencode/core 0.0.0-dev-19294 → 0.0.0-dev-19295
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{persistent-pty-pxks3tta.js → vcs-01b3j2sk.js} +9 -9
- package/dist/chunks/{persistent-pty-mjkd0a6p.js → vcs-03nm8wmp.js} +41 -41
- package/dist/chunks/{persistent-pty-zr7f6xwe.js → vcs-08w8xxxr.js} +4 -4
- package/dist/chunks/{persistent-pty-jkp0d30b.js → vcs-0ewff80w.js} +6 -6
- package/dist/chunks/{persistent-pty-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-0v53mg2y.js → vcs-0v53mg2y.js} +1 -1
- package/dist/chunks/{persistent-pty-1g8atdmp.js → vcs-17mjd4zx.js} +12 -12
- package/dist/chunks/{persistent-pty-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-0hpxrkyb.js → vcs-1dfhrqqs.js} +5 -5
- package/dist/chunks/{persistent-pty-725dzfhf.js → vcs-1wccev85.js} +16 -16
- package/dist/chunks/{persistent-pty-f2serpxf.js → vcs-1x8t8gpv.js} +16 -16
- package/dist/chunks/vcs-1xhwbttb.js +462 -0
- package/dist/chunks/{persistent-pty-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-rv1159bt.js → vcs-24ba4jfm.js} +22 -22
- package/dist/chunks/{persistent-pty-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-mwm2dbc1.js → vcs-2b6sqd5x.js} +11 -11
- package/dist/chunks/{persistent-pty-1wh7yt6v.js → vcs-2exjphd9.js} +23 -23
- package/dist/chunks/{persistent-pty-ydvjgqzz.js → vcs-2kyvaxfn.js} +24 -24
- package/dist/chunks/{persistent-pty-727hyhtj.js → vcs-2nh393ec.js} +26 -26
- package/dist/chunks/{persistent-pty-h44053qn.js → vcs-2q30hpy5.js} +22 -22
- package/dist/chunks/{persistent-pty-j78cby75.js → vcs-2s63w71d.js} +35 -35
- package/dist/chunks/{persistent-pty-4kr8d4zw.js → vcs-2wj8n25z.js} +6 -6
- package/dist/chunks/{persistent-pty-tysjjvy9.js → vcs-31ekb3dj.js} +6 -6
- package/dist/chunks/{persistent-pty-tn6kcrep.js → vcs-36sf85p8.js} +30 -30
- package/dist/chunks/{persistent-pty-cpy6gm2a.js → vcs-3a6re68j.js} +6 -6
- package/dist/chunks/{persistent-pty-trn6fzsq.js → vcs-3fr1t35k.js} +4 -4
- package/dist/chunks/{persistent-pty-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-yxt3f3md.js → vcs-3jm4ew4v.js} +17 -17
- package/dist/chunks/{persistent-pty-bv075x5w.js → vcs-3pmadhy5.js} +25 -25
- package/dist/chunks/{persistent-pty-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-ed4261w0.js → vcs-3wwvh5h9.js} +24 -24
- package/dist/chunks/{persistent-pty-6bsje7ws.js → vcs-3yjg5mh2.js} +2 -2
- package/dist/chunks/{persistent-pty-0axathjs.js → vcs-41d0ycw9.js} +27 -27
- package/dist/chunks/{persistent-pty-hghsks1n.js → vcs-439t1ysr.js} +26 -26
- package/dist/chunks/{persistent-pty-mrw4weg4.js → vcs-4fk6bf9g.js} +5 -5
- package/dist/chunks/{persistent-pty-zhbcekg2.js → vcs-4mbqxmpk.js} +11 -11
- package/dist/chunks/{persistent-pty-72p4sft2.js → vcs-4rngsmjt.js} +5 -5
- package/dist/chunks/{persistent-pty-xhqkdcr0.js → vcs-4rpd5z62.js} +2 -2
- package/dist/chunks/{persistent-pty-7knmeq7j.js → vcs-54n3m20p.js} +10 -10
- package/dist/chunks/{persistent-pty-ht8yq9j7.js → vcs-5983v49c.js} +18 -18
- package/dist/chunks/{persistent-pty-rsdf2nvv.js → vcs-5c0f1prt.js} +4 -4
- package/dist/chunks/{persistent-pty-a1bz86dw.js → vcs-5c4hm403.js} +3 -3
- package/dist/chunks/{persistent-pty-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-h82fng87.js → vcs-5f1ybg3e.js} +15 -15
- package/dist/chunks/{persistent-pty-p3n7r4sc.js → vcs-5feg5dwc.js} +7 -7
- package/dist/chunks/{persistent-pty-84tssp1s.js → vcs-5kbk4f8q.js} +6 -6
- package/dist/chunks/{persistent-pty-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-5aqfxp9a.js → vcs-5tfag9cv.js} +4 -4
- package/dist/chunks/{persistent-pty-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-djvjdepx.js → vcs-6c7f3089.js} +9 -9
- package/dist/chunks/{persistent-pty-2402vzrj.js → vcs-6h73sxmp.js} +5 -5
- package/dist/chunks/{persistent-pty-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-j18gb1wk.js → vcs-6prncynz.js} +17 -17
- package/dist/chunks/{persistent-pty-71q4at8m.js → vcs-71q4at8m.js} +1 -1
- package/dist/chunks/{persistent-pty-554te78s.js → vcs-74bm1tyj.js} +9 -9
- package/dist/chunks/{persistent-pty-81swgkk7.js → vcs-7azwfx08.js} +9 -9
- package/dist/chunks/{persistent-pty-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-bscb95cy.js → vcs-7w3s9kd0.js} +4 -4
- package/dist/chunks/{persistent-pty-qyvn9zey.js → vcs-7wcaja6h.js} +15 -15
- package/dist/chunks/{persistent-pty-sytjjnsv.js → vcs-7z907rm2.js} +18 -18
- package/dist/chunks/{persistent-pty-tcezcvh9.js → vcs-89znhe33.js} +4 -4
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-8kay7r51.js → vcs-8gatpkw8.js} +14 -14
- package/dist/chunks/{persistent-pty-z807qtb6.js → vcs-8qw2swy2.js} +18 -18
- package/dist/chunks/{persistent-pty-3dtz0ed4.js → vcs-90xza599.js} +3 -3
- package/dist/chunks/{persistent-pty-qg9drey5.js → vcs-931qptha.js} +12 -12
- package/dist/chunks/{persistent-pty-nh85wpnm.js → vcs-97kf03n6.js} +6 -6
- package/dist/chunks/{persistent-pty-wwxgka64.js → vcs-9abatgz1.js} +18 -18
- package/dist/chunks/{persistent-pty-ac5bwv76.js → vcs-9d9yh65r.js} +16 -16
- package/dist/chunks/{persistent-pty-a8qvq7xc.js → vcs-9g26vy4m.js} +41 -41
- package/dist/chunks/{persistent-pty-qzqps7kt.js → vcs-9s3dvk2t.js} +7 -7
- package/dist/chunks/{persistent-pty-pvm63170.js → vcs-a0dtrzbk.js} +5 -5
- package/dist/chunks/{persistent-pty-daq6r9eg.js → vcs-a2pxnmze.js} +11 -11
- package/dist/chunks/{persistent-pty-7s3mtrfk.js → vcs-a55dpvm7.js} +11 -11
- package/dist/chunks/{persistent-pty-3trbxeqx.js → vcs-a5k42hjy.js} +1 -1
- package/dist/chunks/{persistent-pty-22zc0h6z.js → vcs-a84st5z7.js} +29 -29
- package/dist/chunks/{persistent-pty-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-fnw3hf31.js → vcs-abekcsag.js} +10 -10
- package/dist/chunks/{persistent-pty-1yrs7djp.js → vcs-ajzzmsfp.js} +9 -9
- package/dist/chunks/{persistent-pty-28wyaaxp.js → vcs-ak11xt4g.js} +4 -4
- package/dist/chunks/{persistent-pty-bgz3db1b.js → vcs-amqp4h4r.js} +32 -32
- package/dist/chunks/{persistent-pty-fp77m0kv.js → vcs-anz7jrtv.js} +18 -18
- package/dist/chunks/{persistent-pty-rxv86vcs.js → vcs-b2x79vpr.js} +37 -37
- package/dist/chunks/{persistent-pty-g9hjdpe6.js → vcs-b34bcn0w.js} +13 -13
- package/dist/chunks/{persistent-pty-wx9wy1qm.js → vcs-b3t12aqp.js} +1 -1
- package/dist/chunks/{persistent-pty-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-zyrrefe2.js → vcs-b7kc6jt8.js} +31 -31
- package/dist/chunks/{persistent-pty-1tjg7tvh.js → vcs-b8b3f19r.js} +9 -9
- package/dist/chunks/{persistent-pty-he62rfth.js → vcs-bcb60wk2.js} +22 -22
- package/dist/chunks/{persistent-pty-cjckq4v9.js → vcs-bcbgemzk.js} +7 -7
- package/dist/chunks/{persistent-pty-nswt8hzj.js → vcs-bf50v5a2.js} +15 -15
- package/dist/chunks/{persistent-pty-4c8bw516.js → vcs-bm1f71yt.js} +8 -8
- package/dist/chunks/{persistent-pty-qj8eh1ht.js → vcs-cavr175a.js} +4 -4
- package/dist/chunks/{persistent-pty-cay3r0qb.js → vcs-cjsb4aez.js} +4 -4
- package/dist/chunks/{persistent-pty-0f9afca0.js → vcs-cr07tj7n.js} +5 -5
- package/dist/chunks/{persistent-pty-ws5qfxv9.js → vcs-cwxby6pr.js} +9 -9
- package/dist/chunks/{persistent-pty-xrdkskw0.js → vcs-cymnc8ce.js} +22 -22
- package/dist/chunks/{persistent-pty-nbjdr6xc.js → vcs-d8e4j98n.js} +17 -17
- package/dist/chunks/{persistent-pty-3b234dxf.js → vcs-dcxndzqg.js} +13 -13
- package/dist/chunks/{persistent-pty-gkngn95s.js → vcs-dfgqp3wc.js} +24 -24
- package/dist/chunks/{persistent-pty-qbhwnd5t.js → vcs-dg025mcc.js} +10 -10
- package/dist/chunks/{persistent-pty-mv1w94an.js → vcs-dghxt3de.js} +33 -33
- package/dist/chunks/{persistent-pty-0x4wqcvz.js → vcs-dh3gjkyt.js} +6 -6
- package/dist/chunks/{persistent-pty-8p4f9s12.js → vcs-dj2t23y0.js} +2 -2
- package/dist/chunks/{persistent-pty-5q7zd1pw.js → vcs-dn0tcz9p.js} +2 -2
- package/dist/chunks/{persistent-pty-qhmak1gv.js → vcs-dnaywyet.js} +32 -32
- package/dist/chunks/{persistent-pty-y71avatq.js → vcs-dpkg50ah.js} +4 -4
- package/dist/chunks/{persistent-pty-pa16je5z.js → vcs-dqy85s1y.js} +11 -11
- package/dist/chunks/{persistent-pty-b1er1a8h.js → vcs-dtw0dyrs.js} +14 -14
- package/dist/chunks/{persistent-pty-vypqtakx.js → vcs-e6ke6rjh.js} +1 -1
- package/dist/chunks/{persistent-pty-ny46n6vj.js → vcs-e7v6xf45.js} +7 -7
- package/dist/chunks/{persistent-pty-hjt4xg1x.js → vcs-e82z9tr0.js} +7 -7
- package/dist/chunks/{persistent-pty-02nrjc1r.js → vcs-eaj1djv9.js} +4 -4
- package/dist/chunks/{persistent-pty-bbf85as9.js → vcs-ee6q3dhy.js} +3 -3
- package/dist/chunks/{persistent-pty-80bgm7g6.js → vcs-ehnaxygy.js} +41 -41
- package/dist/chunks/{persistent-pty-5p42pk8x.js → vcs-ehpz93s6.js} +4 -4
- package/dist/chunks/{persistent-pty-fg8ch49h.js → vcs-ejhkbtdh.js} +6 -6
- package/dist/chunks/{persistent-pty-v0wtswx9.js → vcs-ejybkajt.js} +23 -23
- package/dist/chunks/{persistent-pty-73tb2d7t.js → vcs-eq1pz5kg.js} +3 -3
- package/dist/chunks/{persistent-pty-gqxm86at.js → vcs-esb12hpz.js} +8 -8
- package/dist/chunks/{persistent-pty-z7exr65g.js → vcs-eshhb3rq.js} +20 -20
- package/dist/chunks/{persistent-pty-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-k0gdq8ga.js → vcs-fad6j005.js} +8 -8
- package/dist/chunks/{persistent-pty-www25bj0.js → vcs-fgxh6x1g.js} +11 -11
- package/dist/chunks/{persistent-pty-2y9nvaw7.js → vcs-fh2x9k99.js} +10 -10
- package/dist/chunks/{persistent-pty-hrvd6t1f.js → vcs-fjmrr6sh.js} +9 -9
- package/dist/chunks/{persistent-pty-tkmwgdpd.js → vcs-fm2qvscf.js} +7 -7
- package/dist/chunks/{persistent-pty-9k2v62xn.js → vcs-fnpwkbwy.js} +1 -1
- package/dist/chunks/{persistent-pty-zxperdw5.js → vcs-fp58ys57.js} +77 -77
- package/dist/chunks/{persistent-pty-v1qx6y19.js → vcs-fvnh2aw6.js} +8 -8
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-31nw0jmk.js → vcs-g06x7zz3.js} +13 -13
- package/dist/chunks/{persistent-pty-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-3fc6dm20.js → vcs-gdvy8fx6.js} +4 -4
- package/dist/chunks/{persistent-pty-8sfc32fj.js → vcs-geymwjz1.js} +15 -15
- package/dist/chunks/{persistent-pty-gg09y051.js → vcs-gk5c3emf.js} +15 -15
- package/dist/chunks/{persistent-pty-9gr8y5ys.js → vcs-gnx4ytbv.js} +4 -4
- package/dist/chunks/{persistent-pty-9r9xaaca.js → vcs-gq9h1cy4.js} +20 -20
- package/dist/chunks/{persistent-pty-1r470mcr.js → vcs-gs5f6wv0.js} +17 -17
- package/dist/chunks/{persistent-pty-xr3qwqh4.js → vcs-gy8mbycn.js} +14 -14
- package/dist/chunks/{persistent-pty-h03wrkyp.js → vcs-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-1aypx7k6.js → vcs-h1jg3mbz.js} +46 -46
- package/dist/chunks/{persistent-pty-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-f828m53h.js → vcs-hdnk95c8.js} +2 -2
- package/dist/chunks/{persistent-pty-9dgj6nfy.js → vcs-hgt2pabg.js} +39 -39
- package/dist/chunks/{persistent-pty-gwzd8001.js → vcs-hgx0tp9g.js} +19 -19
- package/dist/chunks/{persistent-pty-jv01nqvq.js → vcs-hnr5yq9h.js} +5 -5
- package/dist/chunks/{persistent-pty-mtfbgphn.js → vcs-hsmrm7k2.js} +34 -34
- package/dist/chunks/{persistent-pty-2qcb76fz.js → vcs-hxfmkmqx.js} +1 -1
- package/dist/chunks/{persistent-pty-pk6r85zh.js → vcs-j23mnxnf.js} +23 -23
- package/dist/chunks/{persistent-pty-0myxtnrb.js → vcs-j2veqt8s.js} +19 -19
- package/dist/chunks/{persistent-pty-y59nms7p.js → vcs-j3a110vt.js} +35 -35
- package/dist/chunks/{persistent-pty-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-8ygrg08v.js → vcs-j7m17kb0.js} +18 -18
- package/dist/chunks/{persistent-pty-q0xt3gns.js → vcs-jaay07m2.js} +23 -23
- package/dist/chunks/{persistent-pty-cvjh1vra.js → vcs-jegmcvcq.js} +87 -87
- package/dist/chunks/{persistent-pty-gb05bdzk.js → vcs-jmg1cn05.js} +11 -11
- package/dist/chunks/{persistent-pty-dxsf3nxk.js → vcs-jn7rdtnf.js} +6 -6
- package/dist/chunks/{persistent-pty-fthsm4kn.js → vcs-jrkywk2g.js} +7 -7
- package/dist/chunks/{persistent-pty-atcvebh1.js → vcs-k493p788.js} +28 -28
- package/dist/chunks/{persistent-pty-wp1zmha7.js → vcs-kaqyeaqf.js} +13 -13
- package/dist/chunks/{persistent-pty-kg06axw8.js → vcs-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-j3s48atd.js → vcs-kgvmxhkt.js} +24 -24
- package/dist/chunks/{persistent-pty-vabb23s0.js → vcs-knxn0y4q.js} +1 -1
- package/dist/chunks/{persistent-pty-4gq97fz6.js → vcs-kpvq4q1q.js} +4 -4
- package/dist/chunks/{persistent-pty-0e5n0sf2.js → vcs-kqybcvxm.js} +25 -25
- package/dist/chunks/{persistent-pty-24z3mw7y.js → vcs-kr28y8a4.js} +48 -48
- package/dist/chunks/{persistent-pty-wgmz4se6.js → vcs-kya1d1cj.js} +14 -14
- package/dist/chunks/{persistent-pty-cfpkc3c9.js → vcs-m0jqrx5p.js} +2 -2
- package/dist/chunks/{persistent-pty-h7ygw6q4.js → vcs-m86bnw2c.js} +9 -9
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-35qwg6vj.js → vcs-meaty2af.js} +20 -20
- package/dist/chunks/{persistent-pty-mnza640n.js → vcs-mfd4djmy.js} +30 -30
- package/dist/chunks/{persistent-pty-33w4ejhs.js → vcs-mfqp6xfm.js} +9 -9
- package/dist/chunks/{persistent-pty-mkcjrzeh.js → vcs-mkcjrzeh.js} +1 -1
- package/dist/chunks/{persistent-pty-pq4st5kv.js → vcs-mnp2x0c0.js} +2 -2
- package/dist/chunks/{persistent-pty-eqw6cy2w.js → vcs-mstfewda.js} +18 -18
- package/dist/chunks/{persistent-pty-jefma2gq.js → vcs-mwjh8pk4.js} +10 -10
- package/dist/chunks/{persistent-pty-bbrn9wt5.js → vcs-n5hw7tw3.js} +11 -11
- package/dist/chunks/{persistent-pty-8gmzme5z.js → vcs-ndz31w7t.js} +15 -15
- package/dist/chunks/{persistent-pty-393vybvf.js → vcs-njjjq97b.js} +11 -11
- package/dist/chunks/{persistent-pty-e3xaa0tb.js → vcs-nxnkqx32.js} +28 -28
- package/dist/chunks/{persistent-pty-x9y61efs.js → vcs-p1zz5ch3.js} +21 -21
- package/dist/chunks/{persistent-pty-zhakcjh9.js → vcs-pa9dw40s.js} +11 -11
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-774549wc.js → vcs-pm61cg0m.js} +15 -15
- package/dist/chunks/{persistent-pty-g2ym30wz.js → vcs-ps1rdr0m.js} +12 -12
- package/dist/chunks/{persistent-pty-wed3qxc6.js → vcs-pvm3f0zc.js} +5 -5
- package/dist/chunks/{persistent-pty-vbqtc4fz.js → vcs-pw0h3xc5.js} +16 -16
- package/dist/chunks/{persistent-pty-82zcy4t3.js → vcs-pwkmx0nv.js} +11 -11
- package/dist/chunks/{persistent-pty-8d6twjaw.js → vcs-q2xmq31x.js} +25 -25
- package/dist/chunks/vcs-q509s3k3.js +18 -0
- package/dist/chunks/{persistent-pty-2pwhnswx.js → vcs-qbe8xtgd.js} +20 -20
- package/dist/chunks/{persistent-pty-2k8khapm.js → vcs-qgn6gcr1.js} +5 -5
- package/dist/chunks/{persistent-pty-hphp9nwx.js → vcs-qgzzp5rc.js} +38 -38
- package/dist/chunks/{persistent-pty-4hbnwbp2.js → vcs-qpvaxy8p.js} +16 -16
- package/dist/chunks/{persistent-pty-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-ndf63s1d.js → vcs-r2brn030.js} +6 -6
- package/dist/chunks/{persistent-pty-8sjbh9hv.js → vcs-r6w0dfy9.js} +16 -16
- package/dist/chunks/{persistent-pty-rs226bz6.js → vcs-rgn0sbm6.js} +5 -5
- package/dist/chunks/{persistent-pty-fyjrpq2n.js → vcs-rh2d5hfk.js} +11 -11
- package/dist/chunks/{persistent-pty-519xp98s.js → vcs-rjepra4w.js} +4 -4
- package/dist/chunks/{persistent-pty-q1a91n7k.js → vcs-rkn0rgfw.js} +4 -4
- package/dist/chunks/{persistent-pty-ma15yhyh.js → vcs-rmm45jmv.js} +5 -5
- package/dist/chunks/{persistent-pty-ewy23wfq.js → vcs-ry7qtge5.js} +47 -47
- package/dist/chunks/{persistent-pty-t3xw15sj.js → vcs-s0h0tznv.js} +14 -14
- package/dist/chunks/{persistent-pty-s0esgemt.js → vcs-s0hza5ac.js} +4 -4
- package/dist/chunks/{persistent-pty-z9ftmr1k.js → vcs-s32jfjzq.js} +9 -9
- package/dist/chunks/{persistent-pty-2qa1y7tr.js → vcs-s4r6xr0n.js} +23 -23
- package/dist/chunks/{persistent-pty-k1557tdf.js → vcs-sb1hd4c5.js} +12 -12
- package/dist/chunks/{persistent-pty-r2dp1cmd.js → vcs-shaevpe7.js} +33 -33
- package/dist/chunks/{persistent-pty-ee2tbgw5.js → vcs-shz58gzq.js} +37 -37
- package/dist/chunks/vcs-sjneqh1p.js +247 -0
- package/dist/chunks/{persistent-pty-fq1h1v14.js → vcs-sjvd53j5.js} +3 -3
- package/dist/chunks/{persistent-pty-egg00cm7.js → vcs-t07ezw6n.js} +12 -12
- package/dist/chunks/{persistent-pty-tn0aqsam.js → vcs-t0fxg8b9.js} +5 -5
- package/dist/chunks/{persistent-pty-dz79qsv0.js → vcs-tar8shjy.js} +9 -9
- package/dist/chunks/{persistent-pty-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-c12qfpxz.js → vcs-tcdnkm8w.js} +10 -10
- package/dist/chunks/{persistent-pty-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → vcs-th5km1p3.js} +5 -5
- package/dist/chunks/{persistent-pty-hrtnrbtk.js → vcs-ts0apre4.js} +6 -6
- package/dist/chunks/{persistent-pty-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-es9s4w7e.js → vcs-tw433h7h.js} +8 -8
- package/dist/chunks/{persistent-pty-t7n9q6bq.js → vcs-tz4n1mmd.js} +4 -4
- package/dist/chunks/{persistent-pty-nnjk6rmq.js → vcs-tzcbdvgd.js} +33 -33
- package/dist/chunks/{persistent-pty-2483rb3n.js → vcs-tzem3vgm.js} +168 -168
- package/dist/chunks/{persistent-pty-7b15y959.js → vcs-v4hmzr0r.js} +8 -8
- package/dist/chunks/{persistent-pty-z1hva277.js → vcs-v859h3f5.js} +12 -12
- package/dist/chunks/{persistent-pty-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-k0sa6emq.js → vcs-vf8kzats.js} +27 -27
- package/dist/chunks/{persistent-pty-rcfc93g0.js → vcs-vsj0mrz7.js} +11 -11
- package/dist/chunks/{persistent-pty-6a88n1h6.js → vcs-vttgjvka.js} +15 -15
- package/dist/chunks/{persistent-pty-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-th9j4zfv.js → vcs-w855rgcx.js} +57 -57
- package/dist/chunks/{persistent-pty-w3jexmf5.js → vcs-wby18vsc.js} +46 -46
- package/dist/chunks/{persistent-pty-8j7660kb.js → vcs-wcs25pa1.js} +21 -21
- package/dist/chunks/{persistent-pty-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-05d6g4k8.js → vcs-wda6fw6s.js} +4 -4
- package/dist/chunks/{persistent-pty-h2gyv3sg.js → vcs-wxeb981z.js} +1 -1
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-x43y2vfs.js → vcs-x43y2vfs.js} +2 -2
- package/dist/chunks/{persistent-pty-50fwx2e7.js → vcs-x4dt4g1v.js} +3 -3
- package/dist/chunks/{persistent-pty-s8bz6z4k.js → vcs-xbrnje9f.js} +8 -8
- package/dist/chunks/{persistent-pty-g5w4gfvg.js → vcs-xj4vfcdk.js} +20 -20
- package/dist/chunks/{persistent-pty-2me1kph6.js → vcs-xs239fpb.js} +35 -35
- package/dist/chunks/{persistent-pty-nzq16788.js → vcs-xs9ek88g.js} +39 -39
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-etks993p.js → vcs-y50jbmae.js} +8 -8
- package/dist/chunks/{persistent-pty-nhvy51yq.js → vcs-y92wnscp.js} +6 -6
- package/dist/chunks/{persistent-pty-qx5x1pzp.js → vcs-y9522tf6.js} +7 -7
- package/dist/chunks/{persistent-pty-emjm2bea.js → vcs-ybq66g35.js} +15 -15
- package/dist/chunks/{persistent-pty-p7t0e5yz.js → vcs-ykaejvpz.js} +25 -25
- package/dist/chunks/{persistent-pty-1acjjqhc.js → vcs-yp2x3t23.js} +4 -4
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → vcs-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-q6zxxt9y.js → vcs-yse227kr.js} +4 -4
- package/dist/chunks/{persistent-pty-ddx3tg71.js → vcs-ytx9308a.js} +8 -8
- package/dist/chunks/vcs-yvzgh9ps.js +22 -0
- package/dist/chunks/{persistent-pty-y9g26qgq.js → vcs-yw8mnecf.js} +24 -24
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-esdnemd6.js → vcs-z3ykvfqy.js} +1 -1
- package/dist/chunks/{persistent-pty-z63w68vq.js → vcs-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-k1v94gwx.js → vcs-z6e4n9b7.js} +24 -24
- package/dist/chunks/{persistent-pty-c2bnm6k2.js → vcs-z8ssr624.js} +5 -5
- package/dist/chunks/{persistent-pty-8y1r50ts.js → vcs-zb62w0c9.js} +13 -13
- package/dist/chunks/{persistent-pty-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-j67mtk5t.js → vcs-zezyckm9.js} +15 -15
- package/dist/chunks/{persistent-pty-y8p3zjbc.js → vcs-zfq801h6.js} +6 -6
- package/dist/chunks/{persistent-pty-145661wq.js → vcs-zgw7ze31.js} +25 -25
- package/dist/chunks/{persistent-pty-r17k24qa.js → vcs-zh470wy1.js} +7 -7
- package/dist/chunks/{persistent-pty-d190jgse.js → vcs-znr4ar3k.js} +46 -46
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-3jaapndc.js → vcs-zxdcey3e.js} +27 -27
- package/dist/chunks/{persistent-pty-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +78 -78
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +100 -100
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +80 -80
- package/dist/plugin/vcs/hg.js +80 -80
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +216 -216
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +99 -99
- package/dist/snapshot.js +84 -84
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-dxj72tfx.js +0 -18
- package/dist/chunks/persistent-pty-gbs4gtrg.js +0 -22
- package/dist/chunks/persistent-pty-kfvq4etd.js +0 -247
- package/dist/chunks/persistent-pty-y7yp40hx.js +0 -462
- /package/dist/chunks/{persistent-pty-0mesazry.js → vcs-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a1tpkmh4.js → vcs-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-hrnqkpcd.js → vcs-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-paphc93g.js → vcs-paphc93g.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → vcs-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./vcs-z6e4n9b7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-kaqyeaqf.js";
|
|
9
9
|
import {
|
|
10
10
|
Service13
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-y9522tf6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service61
|
|
14
|
+
} from "./vcs-b2x79vpr.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service60
|
|
17
|
+
} from "./vcs-anz7jrtv.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input6,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin36,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name6,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name6 = "write";
|
|
39
|
+
var Input6 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin36 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
55
|
+
const access = yield* Service60;
|
|
56
|
+
const fileMutation = yield* Service14;
|
|
57
|
+
const environment = yield* Service70;
|
|
58
58
|
const formatter = yield* Service13;
|
|
59
|
-
const permission = yield*
|
|
59
|
+
const permission = yield* Service61;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name6,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input6,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name6, Input6, Output5, toModelContent3, Plugin36, exports_write };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry2,
|
|
11
|
+
Info: () => Info11,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry2 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info11 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry2, builtinServerIds2, requiresExtensionsForCustomServers2, Info11, exports_lsp };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-90xza599.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-b2x79vpr.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-jaay07m2.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
UnsupportedPackageError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-b34bcn0w.js";
|
|
20
20
|
|
|
21
21
|
// src/session/to-session-error.ts
|
|
22
22
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-pwkmx0nv.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-ak11xt4g.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event13,
|
|
10
|
+
Service55
|
|
11
|
+
} from "./vcs-nxnkqx32.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID7,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service53
|
|
16
|
+
} from "./vcs-jaay07m2.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID17
|
|
23
|
+
} from "./vcs-5kbk4f8q.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-jrkywk2g.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID17.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID7.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service55;
|
|
57
|
+
const integrations = yield* Service53;
|
|
58
58
|
const bus = yield* Service79;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
178
178
|
model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
|
-
yield* bus.subscribe(
|
|
181
|
+
yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
182
182
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
183
183
|
const token = envToken();
|
|
184
184
|
if (token)
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service51,
|
|
6
|
+
node55
|
|
7
|
+
} from "./vcs-hgt2pabg.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service50,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer21,
|
|
20
|
+
node: () => node54
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service50 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer21 = Layer.effect(Service50, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service51;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -45,28 +45,28 @@ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
45
45
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
46
46
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
47
47
|
], (error) => {
|
|
48
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
48
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
49
49
|
return Effect.fail(mapped);
|
|
50
50
|
}));
|
|
51
51
|
if (!resolved)
|
|
52
52
|
return yield* new ModelSelectionError2({
|
|
53
53
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
54
54
|
});
|
|
55
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
55
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
56
56
|
message: error.message,
|
|
57
57
|
service: resolved.ref.providerID
|
|
58
58
|
})));
|
|
59
59
|
return response.text;
|
|
60
60
|
});
|
|
61
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
61
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service50.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node54 = makeLocationNode({
|
|
67
|
+
service: Service50,
|
|
68
|
+
layer: layer21,
|
|
69
|
+
deps: [node55, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError3, Service50, layer21, node54, exports_generate2 };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-ak11xt4g.js";
|
|
6
6
|
import {
|
|
7
7
|
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-kg06axw8.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: () => Event20,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options10,
|
|
30
|
+
Service: () => Service78,
|
|
31
|
+
configured: () => configured11,
|
|
32
|
+
layer: () => layer25,
|
|
33
|
+
node: () => node83
|
|
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 = Key4.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event20 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options10 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service78 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer25 = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer21 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event20.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make21({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer21 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service78.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer21 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured11(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service78,
|
|
110
|
+
layer: layer25(options),
|
|
111
111
|
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node83 = configured11();
|
|
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, Event20, Options10, Service78, layer25, configured11, node83, exports_instruction_discovery };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
4
|
+
var ID13 = Session.ID;
|
|
5
5
|
var Info26 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID13, Info26, SessionSchema2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./vcs-qpvaxy8p.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service60
|
|
9
|
+
} from "./vcs-anz7jrtv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./vcs-hgx0tp9g.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service10
|
|
27
|
+
} from "./vcs-d8e4j98n.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input11,
|
|
36
|
+
Plugin: () => Plugin42,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name11,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name11 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input11 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin42 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service10;
|
|
62
|
+
const access = yield* Service60;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service72;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name11,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input11,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin9 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent6 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name11, Input11, Plugin42, toModelContent6, exports_read };
|