@opencode-ai/core 0.0.0-dev-19210 → 0.0.0-dev-19212
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/{pty-gw4mnhe1.js → reference-0084cjzv.js} +23 -23
- package/dist/chunks/{pty-5gj260wt.js → reference-018mknr8.js} +20 -20
- package/dist/chunks/{pty-09ywgxwg.js → reference-09ywgxwg.js} +1 -1
- package/dist/chunks/{pty-0e0xafbb.js → reference-0e0xafbb.js} +2 -2
- package/dist/chunks/{pty-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-s6aqc7tp.js → reference-0pkwxjdh.js} +11 -11
- package/dist/chunks/{pty-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-0s9ayhjt.js → reference-0s9ayhjt.js} +1 -1
- package/dist/chunks/{pty-2jsqb2s5.js → reference-0x6rv59f.js} +43 -43
- package/dist/chunks/{pty-btc4hvws.js → reference-0xd2d7hb.js} +5 -5
- package/dist/chunks/{pty-sx5qmy0w.js → reference-0ynctp82.js} +19 -19
- package/dist/chunks/{pty-40d3rbze.js → reference-12d3xw68.js} +25 -25
- package/dist/chunks/{pty-0e772669.js → reference-14hmenm3.js} +3 -3
- package/dist/chunks/{pty-1vb4t7xf.js → reference-16p10fwd.js} +15 -15
- package/dist/chunks/{pty-m75mcjf9.js → reference-18se47gg.js} +8 -8
- package/dist/chunks/{pty-hyhv6z0h.js → reference-18tdf853.js} +7 -7
- package/dist/chunks/{pty-q6f79gax.js → reference-1c2r3nav.js} +6 -6
- package/dist/chunks/{pty-1ct4r87x.js → reference-1ct4r87x.js} +1 -1
- package/dist/chunks/{pty-twhbvx3p.js → reference-1dvtgkhr.js} +3 -3
- package/dist/chunks/{pty-qm6cd5n4.js → reference-1gdy6sdc.js} +9 -9
- package/dist/chunks/{pty-x2yc4a6j.js → reference-1ks609kc.js} +34 -34
- package/dist/chunks/{pty-1n116cmy.js → reference-1n116cmy.js} +2 -2
- package/dist/chunks/{pty-wftjy6b7.js → reference-1pxjmmqp.js} +6 -6
- package/dist/chunks/{pty-cjr8pkzr.js → reference-1qh4pj30.js} +26 -26
- package/dist/chunks/{pty-pn7b7v58.js → reference-1qw2s0et.js} +5 -5
- package/dist/chunks/{pty-ybd9z855.js → reference-1r334jan.js} +6 -6
- package/dist/chunks/{pty-1ygqh575.js → reference-1ygqh575.js} +2 -2
- package/dist/chunks/{pty-mnkkdra0.js → reference-21psq759.js} +15 -15
- package/dist/chunks/{pty-21r38tys.js → reference-21r38tys.js} +1 -1
- package/dist/chunks/{pty-6h73sxmp.js → reference-2402vzrj.js} +5 -5
- package/dist/chunks/{pty-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-2ht70gj7.js → reference-2ht70gj7.js} +1 -1
- package/dist/chunks/{pty-0sr1e99f.js → reference-2n1jf9zw.js} +9 -9
- package/dist/chunks/{pty-4hwp41pq.js → reference-2sqse76q.js} +84 -84
- package/dist/chunks/{pty-da5b1eap.js → reference-2w60sym0.js} +54 -54
- package/dist/chunks/{pty-3gq0vy0h.js → reference-2yberneh.js} +2 -2
- package/dist/chunks/{pty-3ca69k1d.js → reference-2zjvjrq5.js} +8 -8
- package/dist/chunks/{pty-0jsf5b7r.js → reference-3cae9tw6.js} +11 -11
- package/dist/chunks/{pty-evms6raa.js → reference-3gzh0vtz.js} +9 -9
- package/dist/chunks/{pty-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-drer1pw4.js → reference-3qew0nv7.js} +12 -12
- package/dist/chunks/{pty-3qzbfqsy.js → reference-3qzbfqsy.js} +2 -2
- package/dist/chunks/{pty-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-v794b4ar.js → reference-3v8a3rwp.js} +6 -6
- package/dist/chunks/{pty-nmykry0d.js → reference-3vnt15xv.js} +45 -45
- package/dist/chunks/{pty-b5drwxx7.js → reference-41p65mbg.js} +22 -22
- package/dist/chunks/{pty-454k5vzh.js → reference-454k5vzh.js} +1 -1
- package/dist/chunks/{pty-x3w9e7fr.js → reference-4829mzp8.js} +10 -10
- package/dist/chunks/{pty-vepykt4b.js → reference-4h3djfaw.js} +39 -39
- package/dist/chunks/{pty-b77p7m16.js → reference-4qjtp74j.js} +8 -8
- package/dist/chunks/{pty-4r2nyarf.js → reference-4r2nyarf.js} +1 -1
- package/dist/chunks/{pty-nrhzrk71.js → reference-4s516vzf.js} +9 -9
- package/dist/chunks/{pty-0qgr25r8.js → reference-4sjb0t0m.js} +37 -37
- package/dist/chunks/{pty-c2s86k7e.js → reference-4z6b0fg6.js} +6 -6
- package/dist/chunks/{pty-c7jjx1y3.js → reference-50xx9m7g.js} +13 -13
- package/dist/chunks/{pty-s29bgsj3.js → reference-584ntgtv.js} +285 -285
- package/dist/chunks/{pty-mtw68xnz.js → reference-5bk2z4g2.js} +6 -6
- package/dist/chunks/{pty-1kxkrm1r.js → reference-5cmvkkst.js} +4 -4
- package/dist/chunks/{pty-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-17r6s3ev.js → reference-5ehqaa7d.js} +24 -24
- package/dist/chunks/{pty-5fmxt4p5.js → reference-5fmxt4p5.js} +1 -1
- package/dist/chunks/{pty-5jvc5tg2.js → reference-5jvc5tg2.js} +1 -1
- package/dist/chunks/{pty-pgqf2fs8.js → reference-5k3f87xj.js} +1 -1
- package/dist/chunks/{pty-z4xn8kma.js → reference-5kw2ja90.js} +18 -18
- package/dist/chunks/{pty-mbcsky64.js → reference-5mmddgh2.js} +10 -10
- package/dist/chunks/{pty-q5jj87tv.js → reference-5ngsm0n8.js} +5 -5
- package/dist/chunks/{pty-yfsshprc.js → reference-5xenskfm.js} +52 -52
- package/dist/chunks/{pty-885bgk82.js → reference-67cp0t3n.js} +8 -8
- package/dist/chunks/{pty-013gfbpd.js → reference-68prq3sc.js} +34 -34
- package/dist/chunks/{pty-zzvabdxs.js → reference-692yah3v.js} +10 -10
- package/dist/chunks/{pty-w072ypr0.js → reference-6bwsc8qf.js} +37 -37
- package/dist/chunks/{pty-s6ymxyzv.js → reference-6cd6tdvt.js} +6 -6
- package/dist/chunks/{pty-ms7w7t6w.js → reference-6efxj6ke.js} +4 -4
- package/dist/chunks/{pty-9p3tsgpy.js → reference-6k404gxp.js} +4 -4
- package/dist/chunks/{pty-d6kfye11.js → reference-6md5mvvn.js} +17 -17
- package/dist/chunks/{pty-6253zp6m.js → reference-6mj2pf94.js} +2 -2
- package/dist/chunks/{pty-xejxzz9r.js → reference-6w0j3k4h.js} +4 -4
- package/dist/chunks/{pty-sa79eh7w.js → reference-6wt2d068.js} +22 -22
- package/dist/chunks/{pty-711hfp6y.js → reference-711hfp6y.js} +2 -2
- package/dist/chunks/{pty-72nftnjy.js → reference-72nftnjy.js} +2 -2
- package/dist/chunks/{pty-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-at2ecxq3.js → reference-7x2s7bzw.js} +17 -17
- package/dist/chunks/reference-7zk4hah4.js +4 -0
- package/dist/chunks/{pty-p58sb1wk.js → reference-84p78t7c.js} +9 -9
- package/dist/chunks/{pty-0hvqrr41.js → reference-856yxx7h.js} +10 -10
- package/dist/chunks/{pty-v86v6hh1.js → reference-86s3977f.js} +1 -1
- package/dist/chunks/{pty-35695zj9.js → reference-8dtfw9dp.js} +15 -15
- package/dist/chunks/{pty-rj5726qs.js → reference-8efgc05f.js} +12 -12
- package/dist/chunks/{pty-62fvyfc9.js → reference-8nfv3dr6.js} +23 -23
- package/dist/chunks/{pty-wxp02chc.js → reference-8q4ja06g.js} +9 -9
- package/dist/chunks/{pty-7yee776b.js → reference-8s7rem2e.js} +8 -8
- package/dist/chunks/{pty-7ngn7mvv.js → reference-8ss6hdvh.js} +4 -4
- package/dist/chunks/{pty-hv60z71f.js → reference-9pvr9h0s.js} +11 -11
- package/dist/chunks/{pty-9qm9egsn.js → reference-9qm9egsn.js} +2 -2
- package/dist/chunks/{pty-3bpy1f35.js → reference-9v2dm5wj.js} +14 -14
- package/dist/chunks/{pty-g40pw2ar.js → reference-a17pxmag.js} +11 -11
- package/dist/chunks/{pty-ba3p02zh.js → reference-a2vgq88x.js} +11 -11
- package/dist/chunks/{pty-syn6p6nv.js → reference-a3hbghzv.js} +28 -28
- package/dist/chunks/{pty-3zd1qds3.js → reference-a3jrf4x9.js} +7 -7
- package/dist/chunks/{pty-n95nq84g.js → reference-a9zfrvqc.js} +5 -5
- package/dist/chunks/{pty-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-j7hcs84d.js → reference-agc30tdk.js} +11 -11
- package/dist/chunks/{pty-asmt5k2w.js → reference-ah5d5vc5.js} +9 -9
- package/dist/chunks/{pty-ajtjthsy.js → reference-ajtjthsy.js} +2 -2
- package/dist/chunks/{pty-sx1n432n.js → reference-an7cqtb7.js} +4 -4
- package/dist/chunks/{pty-j4bwgw4b.js → reference-asb6ptdj.js} +14 -14
- package/dist/chunks/{pty-5vhaap9d.js → reference-asvzsbd0.js} +13 -13
- package/dist/chunks/{pty-dsa3zh6h.js → reference-b2vrfppg.js} +18 -18
- package/dist/chunks/{pty-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-b9wsbatv.js → reference-b9wsbatv.js} +1 -1
- package/dist/chunks/{pty-v5v99x5c.js → reference-bcv0c355.js} +4 -4
- package/dist/chunks/{pty-3svv6ct8.js → reference-bdqrk2vk.js} +7 -7
- package/dist/chunks/{pty-bcezcar3.js → reference-bsvvsrn1.js} +5 -5
- package/dist/chunks/{pty-76rb8ttt.js → reference-bz9mz44d.js} +26 -26
- package/dist/chunks/{pty-e6yjdsp3.js → reference-cawt2ka0.js} +32 -32
- package/dist/chunks/{pty-psagec3f.js → reference-d05z5f6t.js} +26 -26
- package/dist/chunks/{pty-c2sj8pwa.js → reference-d657j5sf.js} +10 -10
- package/dist/chunks/{pty-d72308c8.js → reference-d72308c8.js} +2 -2
- package/dist/chunks/{pty-fa23b81s.js → reference-d7na6v95.js} +5 -5
- package/dist/chunks/{pty-zhqqewwy.js → reference-dbhz56x7.js} +18 -18
- package/dist/chunks/{pty-3vhzsnng.js → reference-dnahm207.js} +23 -23
- package/dist/chunks/{pty-9p7fabph.js → reference-dryn3h34.js} +10 -10
- package/dist/chunks/{pty-nez52ejm.js → reference-e0j83zpa.js} +9 -9
- package/dist/chunks/{pty-cnrtbs11.js → reference-e579sj9a.js} +8 -8
- package/dist/chunks/{pty-0e01nj6k.js → reference-e5b0qn1c.js} +1 -1
- package/dist/chunks/{pty-0s2shbjn.js → reference-e7ngq1fb.js} +3 -3
- package/dist/chunks/{pty-nhy5jxhy.js → reference-e82z9tr0.js} +7 -7
- package/dist/chunks/{pty-e892b1rk.js → reference-e8dmw4nq.js} +29 -29
- package/dist/chunks/{pty-g5m7a7ne.js → reference-ea1bn3s4.js} +20 -20
- package/dist/chunks/{pty-fb6byjjj.js → reference-ef7xpky4.js} +20 -20
- package/dist/chunks/{pty-q6affv31.js → reference-eg4pr325.js} +10 -10
- package/dist/chunks/reference-ehdge3wy.js +22 -0
- package/dist/chunks/{pty-xvmjw98v.js → reference-emtnqcre.js} +25 -25
- package/dist/chunks/{pty-8eaaseag.js → reference-esxkkh19.js} +4 -4
- package/dist/chunks/{pty-jmpk3a6e.js → reference-etjqf465.js} +49 -49
- package/dist/chunks/{pty-9e8h8rpk.js → reference-evv0wppe.js} +16 -16
- package/dist/chunks/{pty-yp2x3t23.js → reference-f2n192rq.js} +4 -4
- package/dist/chunks/{pty-mjz8v7j0.js → reference-f7tmr1cs.js} +4 -4
- package/dist/chunks/{pty-6ar3mh1b.js → reference-fa3xpm51.js} +16 -16
- package/dist/chunks/{pty-607tc6va.js → reference-fcrkznn8.js} +5 -5
- package/dist/chunks/{pty-32znk901.js → reference-fexhrjwy.js} +16 -16
- package/dist/chunks/{pty-xekcq1v3.js → reference-ffynz4t3.js} +18 -18
- package/dist/chunks/{pty-yr223zs1.js → reference-fm6rrk6d.js} +41 -41
- package/dist/chunks/{pty-f7b4bt5y.js → reference-fvanntqq.js} +6 -6
- package/dist/chunks/{pty-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-fxypknc8.js → reference-fxypknc8.js} +1 -1
- package/dist/chunks/{pty-rs3m17a2.js → reference-g2tqkshq.js} +26 -26
- package/dist/chunks/{pty-ccvj7v3e.js → reference-g2xm0wwc.js} +11 -11
- package/dist/chunks/{pty-034xe7ps.js → reference-g41n1fn3.js} +5 -5
- package/dist/chunks/{pty-mw3zcnx5.js → reference-g77vssk4.js} +3 -3
- package/dist/chunks/{pty-8ewp3a8x.js → reference-g937y3ww.js} +1 -1
- package/dist/chunks/{pty-v9hddwhc.js → reference-g97bp859.js} +25 -25
- package/dist/chunks/{pty-ejm6j0ba.js → reference-gaw4vzx1.js} +11 -11
- package/dist/chunks/{pty-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-3fc6dm20.js → reference-gdvy8fx6.js} +4 -4
- package/dist/chunks/{pty-mhx1snbf.js → reference-gwybkery.js} +16 -16
- package/dist/chunks/{pty-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-heyhwy2w.js → reference-heyhwy2w.js} +1 -1
- package/dist/chunks/{pty-sjgc59hr.js → reference-hfg87k89.js} +23 -23
- package/dist/chunks/{pty-nx7h467k.js → reference-hjrjbgez.js} +5 -5
- package/dist/chunks/{pty-p5rtwnr4.js → reference-hmw71aj6.js} +14 -14
- package/dist/chunks/{pty-cxmh4q5b.js → reference-hn57h045.js} +4 -4
- package/dist/chunks/{pty-hrvm11jt.js → reference-hrvm11jt.js} +3 -3
- package/dist/chunks/{pty-hw4pv20g.js → reference-hw4pv20g.js} +2 -2
- package/dist/chunks/{pty-js4d4dxf.js → reference-j2823k0a.js} +2 -2
- package/dist/chunks/{pty-5rhnm83e.js → reference-j3qa67je.js} +20 -20
- package/dist/chunks/{pty-8wbdfw5a.js → reference-j8tds478.js} +15 -15
- package/dist/chunks/{pty-71ky23sv.js → reference-jdqgf29y.js} +6 -6
- package/dist/chunks/{pty-e9dn8ye0.js → reference-jfgx1kn9.js} +6 -6
- package/dist/chunks/{pty-zfyvq2j7.js → reference-jj4631b0.js} +11 -11
- package/dist/chunks/{pty-n9mr47st.js → reference-k0zpnkm5.js} +6 -6
- package/dist/chunks/{pty-19en2gs7.js → reference-k1m6m3k9.js} +16 -16
- package/dist/chunks/{pty-netmwv4x.js → reference-k3895j1r.js} +24 -24
- package/dist/chunks/{pty-k4bwy1x5.js → reference-k4bwy1x5.js} +1 -1
- package/dist/chunks/{pty-kg06axw8.js → reference-kg06axw8.js} +1 -1
- package/dist/chunks/{pty-2e63kpzz.js → reference-kjmqhh6j.js} +30 -30
- package/dist/chunks/{pty-0favvfjf.js → reference-krma7hp6.js} +15 -15
- package/dist/chunks/{pty-js1nc2a8.js → reference-kw0c7kv6.js} +17 -17
- package/dist/chunks/{pty-q85kaj9q.js → reference-kwjjfgw8.js} +26 -26
- package/dist/chunks/{pty-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-s1x8c4z2.js → reference-mb6p4x5v.js} +43 -43
- package/dist/chunks/{pty-50sdxj4q.js → reference-mcxg6pmm.js} +1 -1
- package/dist/chunks/{pty-mhkvc446.js → reference-mhkvc446.js} +1 -1
- package/dist/chunks/{pty-h4jhm07g.js → reference-mkqxwqz2.js} +7 -7
- package/dist/chunks/{pty-d7bb67bd.js → reference-mqv5z4da.js} +9 -9
- package/dist/chunks/{pty-x227sajd.js → reference-ms9ez6yh.js} +7 -7
- package/dist/chunks/{pty-nnp2759g.js → reference-mzj84rkx.js} +10 -10
- package/dist/chunks/{pty-9yc3kf06.js → reference-n3zdm92s.js} +4 -4
- package/dist/chunks/{pty-5btzk4yh.js → reference-n97at88n.js} +18 -18
- package/dist/chunks/{pty-ngxtnptd.js → reference-ngxtnptd.js} +1 -1
- package/dist/chunks/{pty-np3h7tvq.js → reference-njkh1s3y.js} +8 -8
- package/dist/chunks/{pty-zh8nqysk.js → reference-p8mkgytk.js} +33 -33
- package/dist/chunks/{pty-41hvkb5v.js → reference-pgnsvmsq.js} +15 -15
- package/dist/chunks/{pty-fgw3h2nh.js → reference-pjrq25az.js} +19 -19
- package/dist/chunks/{pty-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-p09fq6r1.js → reference-pkdexze4.js} +19 -19
- package/dist/chunks/{pty-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{pty-yjk1z796.js → reference-pv06p42z.js} +4 -4
- package/dist/chunks/{pty-7pmd5tmv.js → reference-pzqtgemf.js} +11 -11
- package/dist/chunks/{pty-kf2cz3ye.js → reference-pztv92z9.js} +9 -9
- package/dist/chunks/{pty-d6w2dc4e.js → reference-q05vaz4s.js} +12 -12
- package/dist/chunks/{pty-tt0g23w6.js → reference-q1gnbgak.js} +22 -22
- package/dist/chunks/reference-q509s3k3.js +18 -0
- package/dist/chunks/{pty-t6vsspdg.js → reference-qa3qhgw8.js} +7 -7
- package/dist/chunks/{pty-fqfptt97.js → reference-qh8mgzry.js} +11 -11
- package/dist/chunks/{pty-nx46162a.js → reference-qmgss0yx.js} +21 -21
- package/dist/chunks/{pty-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-szsne9g5.js → reference-qwrhw08z.js} +25 -25
- package/dist/chunks/{pty-3z6w0gng.js → reference-r4fs0yvq.js} +20 -20
- package/dist/chunks/{pty-hqgyw9bw.js → reference-r4ftc533.js} +37 -37
- package/dist/chunks/{pty-kne0e4x7.js → reference-r5cm8qwg.js} +6 -6
- package/dist/chunks/{pty-r8dhm0tv.js → reference-r8dhm0tv.js} +1 -1
- package/dist/chunks/{pty-6ts4fbmv.js → reference-r9vqe5sy.js} +20 -20
- package/dist/chunks/{pty-0359swr9.js → reference-rmk9teax.js} +30 -30
- package/dist/chunks/{pty-5a1cn5dd.js → reference-rx1jg21z.js} +165 -165
- package/dist/chunks/{pty-v79494tb.js → reference-s3eqpch7.js} +1 -1
- package/dist/chunks/{pty-sba4qhjf.js → reference-sba4qhjf.js} +1 -1
- package/dist/chunks/{pty-cw2n1fb0.js → reference-sf4mqfcw.js} +8 -8
- package/dist/chunks/{pty-frqmr21t.js → reference-sht6jbn9.js} +26 -26
- package/dist/chunks/{pty-mf4y0jt3.js → reference-snsfg8hg.js} +26 -26
- package/dist/chunks/{pty-xg3vtz5h.js → reference-snxwbbja.js} +4 -4
- package/dist/chunks/{pty-p8rfww8c.js → reference-spxrvp3q.js} +43 -43
- package/dist/chunks/{pty-9mksjp7g.js → reference-sxfxx2yk.js} +32 -32
- package/dist/chunks/{pty-2xwkyk0m.js → reference-sznyev98.js} +5 -5
- package/dist/chunks/{pty-44zne82a.js → reference-t7jrq559.js} +8 -8
- package/dist/chunks/{pty-kz0yyaa7.js → reference-t87rya8x.js} +18 -18
- package/dist/chunks/{pty-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-89znhe33.js → reference-tcezcvh9.js} +4 -4
- package/dist/chunks/{pty-syjrkv55.js → reference-tcttdp38.js} +13 -13
- package/dist/chunks/{pty-k0czqwzn.js → reference-tjtqfkq6.js} +26 -26
- package/dist/chunks/{pty-tjykrgmx.js → reference-tjykrgmx.js} +1 -1
- package/dist/chunks/{pty-234zxdd8.js → reference-tk4kvvnf.js} +28 -28
- package/dist/chunks/{pty-gbet51sq.js → reference-trss6eke.js} +27 -27
- package/dist/chunks/{pty-s97zf0b4.js → reference-v5qh35yv.js} +9 -9
- package/dist/chunks/{pty-m686xbyy.js → reference-v60ecprk.js} +7 -7
- package/dist/chunks/{pty-1dyeme5k.js → reference-v72skxvp.js} +15 -15
- package/dist/chunks/{pty-nvhcj914.js → reference-vg3d5k3k.js} +23 -23
- package/dist/chunks/{pty-wr01qhz4.js → reference-vkfv6j0y.js} +12 -12
- package/dist/chunks/{pty-pjzvknbe.js → reference-vr25nrf1.js} +46 -46
- package/dist/chunks/{pty-48yhj3zx.js → reference-vweaxkb2.js} +40 -40
- package/dist/chunks/{pty-yr1ynthh.js → reference-vyc39jy3.js} +10 -10
- package/dist/chunks/{pty-az6h3b0x.js → reference-w03xx005.js} +21 -21
- package/dist/chunks/{pty-g75wm5bg.js → reference-w26538p1.js} +26 -26
- package/dist/chunks/{pty-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{pty-w420m8em.js → reference-wvd7xkhd.js} +15 -15
- package/dist/chunks/{pty-md7r3gxc.js → reference-wyrajqkf.js} +39 -39
- package/dist/chunks/{pty-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-qven2pjt.js → reference-x2q61z0h.js} +20 -20
- package/dist/chunks/{pty-s5skk6ym.js → reference-x41jnft1.js} +60 -60
- package/dist/chunks/{pty-s1tf6ted.js → reference-x6z3jawz.js} +36 -36
- package/dist/chunks/{pty-jfe36dk3.js → reference-x8wn8zn7.js} +31 -31
- package/dist/chunks/{pty-s3nm09qe.js → reference-xb8haxn3.js} +16 -16
- package/dist/chunks/{pty-ge947ta0.js → reference-xc4h7e7s.js} +27 -27
- package/dist/chunks/{pty-vaa4m2f9.js → reference-xcjh69t4.js} +15 -15
- package/dist/chunks/{pty-vjrexhmb.js → reference-xev5h8m1.js} +8 -8
- package/dist/chunks/{pty-9xvgy1m6.js → reference-xqsy6kp0.js} +1 -1
- package/dist/chunks/{pty-fy91p0d2.js → reference-xrq8ec0v.js} +15 -15
- package/dist/chunks/{pty-6fvx7cth.js → reference-y18qbtn0.js} +3 -3
- package/dist/chunks/{pty-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-93a8yfjt.js → reference-y2cqme3r.js} +5 -5
- package/dist/chunks/{pty-77ksgyrm.js → reference-y3t4revc.js} +4 -4
- package/dist/chunks/{pty-4wp7md54.js → reference-y5ey60w0.js} +11 -11
- package/dist/chunks/{pty-b7d3s2yt.js → reference-y6nt3k22.js} +2 -2
- package/dist/chunks/{pty-dpkg50ah.js → reference-y71avatq.js} +4 -4
- package/dist/chunks/reference-yb1x73y0.js +247 -0
- package/dist/chunks/{pty-55n8c0qd.js → reference-yegg0avx.js} +86 -86
- package/dist/chunks/{pty-yfbd16n1.js → reference-yfbd16n1.js} +2 -2
- package/dist/chunks/{pty-mtcjf44p.js → reference-yhr218qz.js} +4 -4
- package/dist/chunks/{pty-z1k01bn4.js → reference-z1k01bn4.js} +2 -2
- package/dist/chunks/{pty-a80fmt1q.js → reference-z407bpgn.js} +24 -24
- package/dist/chunks/{pty-z63w68vq.js → reference-z63w68vq.js} +2 -2
- package/dist/chunks/{pty-y2b9ccny.js → reference-z6q3sy01.js} +10 -10
- package/dist/chunks/{pty-4bszfkn1.js → reference-zn2pq4p8.js} +5 -5
- package/dist/chunks/{pty-n38qs1ar.js → reference-ztnyd3e4.js} +9 -9
- package/dist/chunks/{pty-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- 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 +115 -115
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +154 -154
- 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 +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +133 -133
- 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 +113 -113
- 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 +119 -119
- 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 +359 -359
- 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 +90 -90
- 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-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 +2 -2
- package/dist/filesystem/location-watcher.js +219 -219
- 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 +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- 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 +7 -7
- 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 +350 -350
- package/dist/instruction-discovery.js +81 -81
- 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 +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +347 -347
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +121 -121
- 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 +7 -7
- package/dist/model-resolver.js +86 -86
- 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 +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -321
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +94 -94
- 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/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 +117 -117
- 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 +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- 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 +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +80 -80
- package/dist/plugin/vcs/hg.js +82 -82
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +82 -82
- 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 +124 -124
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- 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 +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- 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 +224 -224
- 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 +4 -4
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +99 -99
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +120 -120
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +112 -112
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +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 +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/pty-054fperg.js +0 -22
- package/dist/chunks/pty-3wq1x32c.js +0 -247
- package/dist/chunks/pty-9zwhrd2p.js +0 -4
- package/dist/chunks/pty-p2h6zvwc.js +0 -18
- /package/dist/chunks/{pty-0fabt78z.js → reference-0fabt78z.js} +0 -0
- /package/dist/chunks/{pty-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3t738kvx.js → reference-3t738kvx.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-41nvscxy.js → reference-41nvscxy.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-982e01ww.js → reference-982e01ww.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a1tpkmh4.js → reference-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mntxs535.js → reference-mntxs535.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-p8qxwesx.js → reference-p8qxwesx.js} +0 -0
- /package/dist/chunks/{pty-paphc93g.js → reference-paphc93g.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-se0s1eqw.js → reference-se0s1eqw.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → reference-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x1b8g1yb.js → reference-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → reference-z9919s4g.js} +0 -0
- /package/dist/chunks/{pty-zbjnn3ac.js → reference-zbjnn3ac.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-6w0j3k4h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./reference-fexhrjwy.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./reference-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info4,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service22,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node26
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode-ai/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode-ai/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service22 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service22.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node26 = makeLocationNode({
|
|
165
|
+
service: Service22,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node81, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service22, node26, exports_vcs };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
Service43,
|
|
3
|
+
node46,
|
|
4
|
+
canonical2
|
|
5
|
+
} from "./reference-d657j5sf.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service41,
|
|
8
|
+
node44
|
|
9
|
+
} from "./reference-k0zpnkm5.js";
|
|
10
10
|
import {
|
|
11
11
|
layer2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-yb1x73y0.js";
|
|
13
13
|
|
|
14
14
|
// src/location-services.ts
|
|
15
15
|
import { Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
16
16
|
function buildLocationServiceMap2(replacements = []) {
|
|
17
|
-
return Layer.effect(
|
|
17
|
+
return Layer.effect(Service43, Effect.gen(function* () {
|
|
18
18
|
const owner = yield* Effect.scope;
|
|
19
19
|
const booting = MutableHashMap.empty();
|
|
20
20
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -32,21 +32,21 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
32
32
|
}, { idleTimeToLive: Duration.infinity });
|
|
33
33
|
const map = {
|
|
34
34
|
...inner,
|
|
35
|
-
get: (ref) => inner.get(
|
|
36
|
-
contextEffect: (ref) => inner.contextEffect(
|
|
37
|
-
contextEffectOption: (ref) => inner.contextEffectOption(
|
|
35
|
+
get: (ref) => inner.get(canonical2(ref)),
|
|
36
|
+
contextEffect: (ref) => inner.contextEffect(canonical2(ref)),
|
|
37
|
+
contextEffectOption: (ref) => inner.contextEffectOption(canonical2(ref)),
|
|
38
38
|
invalidate: (ref) => Effect.suspend(() => {
|
|
39
|
-
const key =
|
|
39
|
+
const key = canonical2(ref);
|
|
40
40
|
MutableHashMap.remove(booting, key);
|
|
41
41
|
return inner.invalidate(key);
|
|
42
42
|
})
|
|
43
43
|
};
|
|
44
44
|
const bindings = [
|
|
45
|
-
|
|
45
|
+
node44.replace(Layer.succeed(Service41, {
|
|
46
46
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
47
47
|
})),
|
|
48
48
|
...replacements,
|
|
49
|
-
|
|
49
|
+
node46.replace(Layer.succeed(Service43, map))
|
|
50
50
|
];
|
|
51
51
|
return map;
|
|
52
52
|
}));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-jj4631b0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID18
|
|
6
|
+
} from "./reference-4z6b0fg6.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-mkqxwqz2.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode-ai/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID18.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-ms9ez6yh.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-g937y3ww.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer21,
|
|
12
|
+
make: () => make18,
|
|
13
|
+
node: () => node51,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make18()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make18(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node51 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer21, configured6, node51, exports_app };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service41,
|
|
10
|
+
node: () => node44
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service41 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node44 = LayerNode.unbound(Service41, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service41, node44, exports_service2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-jj4631b0.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-6w0j3k4h.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./reference-tk4kvvnf.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID6,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-1qh4pj30.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID18,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-4z6b0fg6.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID6.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID6.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service79;
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID18.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -220,9 +220,9 @@ var OpenAIPlugin2 = define({
|
|
|
220
220
|
evt.baseURL = codexBaseURL;
|
|
221
221
|
evt.headers.originator = "opencode";
|
|
222
222
|
evt.headers["session-id"] = evt.sessionID;
|
|
223
|
-
}), { providerID:
|
|
223
|
+
}), { providerID: ID18.openai });
|
|
224
224
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
225
|
-
yield* bus.subscribe(
|
|
225
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
})
|
|
227
227
|
});
|
|
228
228
|
function headers(contentType, app) {
|
|
@@ -313,4 +313,4 @@ function claim(token) {
|
|
|
313
313
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-6w0j3k4h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-p8qxwesx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service72,
|
|
17
|
+
node77
|
|
18
|
+
} from "./reference-0084cjzv.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./reference-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
29
|
Event: () => Event18,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info26,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service71,
|
|
35
35
|
Source: () => Source5,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node76
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
@@ -43,14 +43,14 @@ import { Event as Event18 } from "@opencode-ai/schema/reference";
|
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source5 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info26 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service71 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service79;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service72;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info26.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info26.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service71.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node76 = makeLocationNode({
|
|
116
|
+
service: Service71,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node84,
|
|
118
|
+
deps: [Global.node, node84, node77]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source5,
|
|
121
|
+
export { LocalSource2, GitSource2, Source5, Info26, Service71, node76, exports_reference2, Event18 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-4z6b0fg6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID15
|
|
8
|
+
} from "./reference-asb6ptdj.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-6w0j3k4h.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event19
|
|
15
|
+
} from "./reference-tk4kvvnf.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID6,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-1qh4pj30.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service49
|
|
22
|
+
} from "./reference-emtnqcre.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get2
|
|
25
|
+
} from "./reference-7x2s7bzw.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./reference-jj4631b0.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID6.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
158
|
+
const catalog = yield* Service49;
|
|
159
159
|
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID18.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID18.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get2(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
178
178
|
Authorization: `Bearer ${credential.refresh}`,
|
|
179
179
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID18.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID15.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID15.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID15.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID18.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID18.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|