@opencode/core 0.0.0-dev-19529 → 0.0.0-dev-19530
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/catalog.js +82 -82
- package/dist/chunks/{credential-7qr38kzh.js → model-0247gmrw.js} +15 -15
- package/dist/chunks/{credential-025stnsb.js → model-03y65m91.js} +4 -4
- package/dist/chunks/{credential-zfcp8yb0.js → model-0artwwxx.js} +3 -3
- package/dist/chunks/{credential-ggh4w9bp.js → model-0cebr7hk.js} +2 -2
- package/dist/chunks/{credential-pym3tcck.js → model-0d16ff4w.js} +28 -28
- package/dist/chunks/{credential-b3v47ypf.js → model-0m04t0a0.js} +16 -16
- package/dist/chunks/{credential-0paq2nw3.js → model-0paq2nw3.js} +1 -1
- package/dist/chunks/{credential-rsb1fe67.js → model-0pb75hch.js} +5 -5
- package/dist/chunks/{credential-0q0f95c6.js → model-0q0f95c6.js} +1 -1
- package/dist/chunks/{credential-tv8vkxw9.js → model-0s3pzcqz.js} +11 -11
- package/dist/chunks/{credential-f0q7zmqq.js → model-0sfsr3zt.js} +19 -19
- package/dist/chunks/{credential-g9d49rzx.js → model-0snep097.js} +22 -22
- package/dist/chunks/{credential-jbjr1a4g.js → model-19yq3b24.js} +6 -6
- package/dist/chunks/{credential-w4whswvt.js → model-1cd9yk0n.js} +20 -20
- package/dist/chunks/{credential-vv2ntgne.js → model-1crpa11v.js} +29 -29
- package/dist/chunks/{credential-1dazxqgg.js → model-1dazxqgg.js} +2 -2
- package/dist/chunks/{credential-djmr82th.js → model-1f3wjap0.js} +19 -19
- package/dist/chunks/{credential-znsaqkh0.js → model-1gbs1kbt.js} +9 -9
- package/dist/chunks/{credential-fqjr7ce9.js → model-1kcksn9e.js} +24 -24
- package/dist/chunks/{credential-6nvz1bm7.js → model-1v6ba5ez.js} +11 -11
- package/dist/chunks/{credential-3hjzpa7c.js → model-20355881.js} +6 -6
- package/dist/chunks/{credential-fs6bp36w.js → model-219neeqh.js} +5 -5
- package/dist/chunks/{credential-21r38tys.js → model-21r38tys.js} +1 -1
- package/dist/chunks/{credential-fb0qyvep.js → model-257a402r.js} +13 -13
- package/dist/chunks/{credential-rc3vhjpg.js → model-25gn6xf8.js} +6 -6
- package/dist/chunks/{credential-34ytdzas.js → model-265kqrgy.js} +1 -1
- package/dist/chunks/{credential-2a5m3afh.js → model-2a5m3afh.js} +1 -1
- package/dist/chunks/{credential-cnyg1n0p.js → model-2fwd9rb4.js} +13 -13
- package/dist/chunks/{credential-7dqw4kz8.js → model-2k8khapm.js} +5 -5
- package/dist/chunks/{credential-aybmp5ad.js → model-2xrspd6r.js} +15 -15
- package/dist/chunks/{credential-zgsse2vy.js → model-31jd4e8t.js} +1 -1
- package/dist/chunks/{credential-njr1pezb.js → model-33n3bzdy.js} +6 -6
- package/dist/chunks/{credential-1ygqh575.js → model-33w4ejhs.js} +6 -6
- package/dist/chunks/{credential-6anwy9fs.js → model-35agz59w.js} +4 -4
- package/dist/chunks/{credential-trn0ebkj.js → model-35wynegs.js} +2 -2
- package/dist/chunks/{credential-vparcg9p.js → model-3ad4bd0a.js} +7 -7
- package/dist/chunks/{credential-4faqw2br.js → model-3d6q6ejm.js} +31 -31
- package/dist/chunks/{credential-3fc6dm20.js → model-3fc6dm20.js} +1 -1
- package/dist/chunks/{credential-6qbmmse8.js → model-3hdw1vhc.js} +31 -31
- package/dist/chunks/{credential-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-g1r5npbb.js → model-3hf7z3yq.js} +11 -11
- package/dist/chunks/{credential-87deq66t.js → model-3rqkssp8.js} +6 -6
- package/dist/chunks/{credential-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-2qp6y8xf.js → model-3w0fmcng.js} +5 -5
- package/dist/chunks/{credential-f32czd11.js → model-45fdndrg.js} +11 -11
- package/dist/chunks/{credential-c5r41xyy.js → model-4mddsdbt.js} +16 -16
- package/dist/chunks/{credential-4y66k410.js → model-4y66k410.js} +2 -2
- package/dist/chunks/{credential-5x0qqm75.js → model-5akxe5k1.js} +5 -5
- package/dist/chunks/{credential-1eft6v2a.js → model-5b2dqtre.js} +7 -7
- package/dist/chunks/{credential-csf2jhsg.js → model-5c0f1prt.js} +4 -4
- package/dist/chunks/{credential-5daktx2q.js → model-5daktx2q.js} +1 -1
- package/dist/chunks/{credential-ep4amt4t.js → model-5hac0djz.js} +291 -291
- package/dist/chunks/{credential-bzy4s6e0.js → model-5kqd1r0d.js} +72 -72
- package/dist/chunks/{credential-fnjg1z38.js → model-5nyvja88.js} +26 -26
- package/dist/chunks/{credential-a402s24a.js → model-5q82gfck.js} +11 -11
- package/dist/chunks/{credential-5tc6z34b.js → model-5rgh8ask.js} +20 -20
- package/dist/chunks/{credential-5t3nmthw.js → model-5t3nmthw.js} +2 -2
- package/dist/chunks/{credential-m7ze9y9x.js → model-5tgjep30.js} +6 -6
- package/dist/chunks/{credential-669tq793.js → model-669tq793.js} +1 -1
- package/dist/chunks/{credential-mdcergxs.js → model-677w9byw.js} +10 -10
- package/dist/chunks/{credential-rw56aqa4.js → model-6895yszx.js} +17 -17
- package/dist/chunks/{credential-1xhwvcn8.js → model-6csep4d6.js} +17 -17
- package/dist/chunks/{credential-2402vzrj.js → model-6h73sxmp.js} +5 -5
- package/dist/chunks/{credential-2bt6bea8.js → model-6jnybvqn.js} +9 -9
- package/dist/chunks/{credential-sazt4qeq.js → model-6kny798m.js} +30 -30
- package/dist/chunks/{credential-6msgmcgs.js → model-6msgmcgs.js} +1 -1
- package/dist/chunks/{credential-jvc6geyb.js → model-6pnccst9.js} +23 -23
- package/dist/chunks/{credential-qfvgma3d.js → model-6psebnbx.js} +30 -30
- package/dist/chunks/{credential-zpn9qnw3.js → model-6rbveq4m.js} +4 -4
- package/dist/chunks/{credential-1q5awywt.js → model-6vq97qmv.js} +5 -5
- package/dist/chunks/{credential-g500fjm7.js → model-70d2s7af.js} +1 -1
- package/dist/chunks/{credential-71q4at8m.js → model-71q4at8m.js} +1 -1
- package/dist/chunks/{credential-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-qtkzm0vp.js → model-7m5f9412.js} +8 -8
- package/dist/chunks/{credential-tj0j24wc.js → model-7pkhtfns.js} +14 -14
- package/dist/chunks/{credential-e518rnqz.js → model-7y4pbgtc.js} +15 -15
- package/dist/chunks/{credential-tcezcvh9.js → model-89znhe33.js} +4 -4
- package/dist/chunks/{credential-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
- package/dist/chunks/{credential-30e04pyd.js → model-8e5vt1qx.js} +28 -28
- package/dist/chunks/{credential-bn33stbn.js → model-8n9190v4.js} +9 -9
- package/dist/chunks/{credential-8p4f9s12.js → model-8p4f9s12.js} +2 -2
- package/dist/chunks/{credential-f3hm7x99.js → model-91xeb72v.js} +8 -8
- package/dist/chunks/{credential-vd0a34xb.js → model-91y7rpnn.js} +6 -6
- package/dist/chunks/{credential-w8z81xec.js → model-97mdmb9a.js} +19 -19
- package/dist/chunks/{credential-65a5j36j.js → model-99em0p16.js} +11 -11
- package/dist/chunks/{credential-yf17ygct.js → model-9d3a58tj.js} +11 -11
- package/dist/chunks/{credential-h51gdt4r.js → model-9n8nxpxn.js} +22 -22
- package/dist/chunks/{credential-ycxn0eaf.js → model-9q9jdv8e.js} +24 -24
- package/dist/chunks/{credential-vx1b4c7n.js → model-9s353mxg.js} +16 -16
- package/dist/chunks/{credential-bdx9dffp.js → model-a04ypazz.js} +37 -37
- package/dist/chunks/{credential-3c04bhmx.js → model-a0mw1hja.js} +12 -12
- package/dist/chunks/{credential-a1bz86dw.js → model-a1bz86dw.js} +3 -3
- package/dist/chunks/{credential-zh5vq5ax.js → model-a5r6p83p.js} +19 -19
- package/dist/chunks/{credential-s8evpm24.js → model-a6kqfaee.js} +9 -9
- package/dist/chunks/{credential-pmv4bga1.js → model-a9759q1q.js} +6 -6
- package/dist/chunks/{credential-aaet6srn.js → model-aaet6srn.js} +2 -2
- package/dist/chunks/{credential-8yey56tc.js → model-ajegdr06.js} +27 -27
- package/dist/chunks/{credential-anjj55s4.js → model-aqjqj2ff.js} +6 -6
- package/dist/chunks/{credential-ps0k9z1z.js → model-atjxpbab.js} +28 -28
- package/dist/chunks/{credential-6gbp1941.js → model-ayv404k4.js} +4 -4
- package/dist/chunks/{credential-3jp54z3r.js → model-b3t12aqp.js} +1 -1
- package/dist/chunks/{credential-b6gygkdw.js → model-b6gygkdw.js} +2 -2
- package/dist/chunks/{credential-vkxpz7g2.js → model-bajakh74.js} +4 -4
- package/dist/chunks/{credential-xzv329k9.js → model-bgtgk6cp.js} +9 -9
- package/dist/chunks/{credential-kyktj0vd.js → model-brp8zeym.js} +6 -6
- package/dist/chunks/{credential-kn9ky0zj.js → model-bv88jg6f.js} +35 -35
- package/dist/chunks/{credential-j320jmqx.js → model-bvg29jbq.js} +18 -18
- package/dist/chunks/{credential-137edvbp.js → model-bvha1vq7.js} +7 -7
- package/dist/chunks/{credential-gzfav7zd.js → model-bya8prfn.js} +5 -5
- package/dist/chunks/{credential-thqjg0hd.js → model-bya8x26g.js} +8 -8
- package/dist/chunks/{credential-xy7r7wb6.js → model-bz2p45ry.js} +20 -20
- package/dist/chunks/{credential-s3939hvd.js → model-c0pa16pn.js} +3 -3
- package/dist/chunks/{credential-ck93fedy.js → model-c179hq9v.js} +34 -34
- package/dist/chunks/{credential-8dmhhx1w.js → model-c462van6.js} +30 -30
- package/dist/chunks/{credential-k54dv39c.js → model-c5nvra9m.js} +4 -4
- package/dist/chunks/{credential-kfef4ady.js → model-cebcabsx.js} +53 -53
- package/dist/chunks/{credential-cfpkc3c9.js → model-cfpkc3c9.js} +2 -2
- package/dist/chunks/{credential-h7tghspc.js → model-cq9pat89.js} +21 -21
- package/dist/chunks/{credential-gy4p1xkh.js → model-cvtmmhw6.js} +1 -1
- package/dist/chunks/{credential-32k62b7w.js → model-cw6d4prj.js} +14 -14
- package/dist/chunks/{credential-7tjcxw0h.js → model-czs7xmcn.js} +15 -15
- package/dist/chunks/{credential-3nswzzay.js → model-cztasbnk.js} +18 -18
- package/dist/chunks/{credential-phwwwv48.js → model-dgdas7td.js} +16 -16
- package/dist/chunks/{credential-h727evg8.js → model-dn3t1y0q.js} +39 -39
- package/dist/chunks/{credential-bpqahvg7.js → model-dnc4tg6k.js} +8 -8
- package/dist/chunks/{credential-n9ke8tjh.js → model-dq8fe4ed.js} +11 -11
- package/dist/chunks/{credential-kead0yev.js → model-dwgpa5q5.js} +18 -18
- package/dist/chunks/{credential-a2e86qtx.js → model-e4f6pw00.js} +26 -26
- package/dist/chunks/{credential-vj2t5vfg.js → model-e5yeyj5b.js} +10 -10
- package/dist/chunks/{credential-jv01nqvq.js → model-e6hmchc5.js} +5 -5
- package/dist/chunks/{credential-88fd6wt9.js → model-e758m3vy.js} +12 -12
- package/dist/chunks/{credential-etq0c3wd.js → model-etq0c3wd.js} +1 -1
- package/dist/chunks/{credential-p8dxdehy.js → model-ev82ehxs.js} +27 -27
- package/dist/chunks/{credential-dpk4wwe7.js → model-exatzf7p.js} +14 -14
- package/dist/chunks/{credential-52brkwct.js → model-f1zva5d5.js} +5 -5
- package/dist/chunks/{credential-j6s0ns1m.js → model-f24vq1c7.js} +27 -27
- package/dist/chunks/{credential-f828m53h.js → model-f828m53h.js} +2 -2
- package/dist/chunks/{credential-ff0svapt.js → model-ff0svapt.js} +2 -2
- package/dist/chunks/{credential-0k50dt3x.js → model-fvkgc8rm.js} +8 -8
- package/dist/chunks/{credential-fxbjtjnd.js → model-fxbjtjnd.js} +1 -1
- package/dist/chunks/{credential-deerssnd.js → model-g3vfgj64.js} +21 -21
- package/dist/chunks/model-gbadjzag.js +4 -0
- package/dist/chunks/{credential-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-3pwgdhn9.js → model-gg3hj2sp.js} +22 -22
- package/dist/chunks/{credential-z8gz5v71.js → model-gkt6z8r9.js} +17 -17
- package/dist/chunks/{credential-th5km1p3.js → model-gv6a8nnw.js} +5 -5
- package/dist/chunks/{credential-h03wrkyp.js → model-h03wrkyp.js} +2 -2
- package/dist/chunks/{credential-0qbfsv0x.js → model-h56egzzg.js} +4 -4
- package/dist/chunks/{credential-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-37vne506.js → model-hjejd8rj.js} +12 -12
- package/dist/chunks/{credential-90dkwxdw.js → model-hq8zt1th.js} +6 -6
- package/dist/chunks/{credential-4y8npecy.js → model-htza7hdd.js} +22 -22
- package/dist/chunks/{credential-383y241e.js → model-hxevvepb.js} +60 -60
- package/dist/chunks/{credential-k2v7tfaw.js → model-hyhy14jr.js} +17 -17
- package/dist/chunks/{credential-1y31sz3y.js → model-j181hgc5.js} +10 -10
- package/dist/chunks/{credential-j56e64zr.js → model-j56e64zr.js} +1 -1
- package/dist/chunks/{credential-tj02xv2p.js → model-jerxsvsx.js} +29 -29
- package/dist/chunks/{credential-zkcb3wjz.js → model-jj5vypy3.js} +28 -28
- package/dist/chunks/{credential-rb5q7yxt.js → model-jv3cv6p3.js} +10 -10
- package/dist/chunks/{credential-y71avatq.js → model-jwcy2c2z.js} +4 -4
- package/dist/chunks/{credential-fs1f3z87.js → model-jx3c22rf.js} +11 -11
- package/dist/chunks/{credential-kg06axw8.js → model-kg06axw8.js} +1 -1
- package/dist/chunks/{credential-w90cbs64.js → model-m7bfq9wr.js} +7 -7
- package/dist/chunks/{credential-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-356gzxb5.js → model-mb2y4s57.js} +10 -10
- package/dist/chunks/{credential-y4zgnm30.js → model-mdy2tqts.js} +41 -41
- package/dist/chunks/{credential-mhkvc446.js → model-mhkvc446.js} +1 -1
- package/dist/chunks/{credential-k7ckb9zr.js → model-mkhznv56.js} +9 -9
- package/dist/chunks/{credential-5vbbbddv.js → model-mtc9q228.js} +31 -31
- package/dist/chunks/{credential-jwx4y25k.js → model-mwr2btvq.js} +2 -2
- package/dist/chunks/{credential-hy1g3bgf.js → model-mz6ae2yf.js} +1 -1
- package/dist/chunks/{credential-fkd2ewj5.js → model-n4m2mkxj.js} +12 -12
- package/dist/chunks/{credential-t2q9as2k.js → model-n649fndv.js} +5 -5
- package/dist/chunks/{credential-xbwpbga0.js → model-n7hjcbvg.js} +11 -11
- package/dist/chunks/{credential-5rhtwdx6.js → model-ncxt770z.js} +8 -8
- package/dist/chunks/{credential-nhy5jxhy.js → model-nhy5jxhy.js} +1 -1
- package/dist/chunks/{credential-j7m6ehyz.js → model-nn17eg7m.js} +23 -23
- package/dist/chunks/{credential-h7y0pvw8.js → model-nncchp3m.js} +5 -5
- package/dist/chunks/model-nnzt82h0.js +26 -0
- package/dist/chunks/{credential-nnn8deah.js → model-npevzfsy.js} +18 -18
- package/dist/chunks/{credential-eraanh1f.js → model-nv5vn7qx.js} +6 -6
- package/dist/chunks/{credential-kp963v2v.js → model-p2h53nt6.js} +26 -26
- package/dist/chunks/{credential-gfpqwj54.js → model-p52t23z3.js} +45 -45
- package/dist/chunks/{credential-108vvwmb.js → model-p6sp61vg.js} +35 -35
- package/dist/chunks/{credential-784ptbr4.js → model-p87gvwbv.js} +15 -15
- package/dist/chunks/{credential-j935v87r.js → model-paphc93g.js} +2 -2
- package/dist/chunks/{credential-jjsk41ar.js → model-pdy42dnd.js} +21 -21
- package/dist/chunks/{credential-f1zbxv7x.js → model-phc8pspp.js} +9 -9
- package/dist/chunks/model-phz3h32g.js +18 -0
- package/dist/chunks/{credential-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{credential-rf48t08f.js → model-pqwf4bge.js} +2 -2
- package/dist/chunks/{credential-az27rkrd.js → model-ps77swb3.js} +3 -3
- package/dist/chunks/{credential-pgy0xeev.js → model-pwqcks32.js} +5 -5
- package/dist/chunks/{credential-92hfss88.js → model-px2sqpay.js} +25 -25
- package/dist/chunks/{credential-4mp12xfm.js → model-q13p9eja.js} +5 -5
- package/dist/chunks/{credential-qzj2vqtz.js → model-q44n8009.js} +16 -16
- package/dist/chunks/{credential-wayj738j.js → model-qa2mkktq.js} +37 -37
- package/dist/chunks/{credential-y4tdvyse.js → model-qbngxwj5.js} +24 -24
- package/dist/chunks/{credential-c2jb4sd6.js → model-qfpa574x.js} +19 -19
- package/dist/chunks/model-qj7q8b1b.js +247 -0
- package/dist/chunks/{credential-axmvebxj.js → model-qj8eh1ht.js} +21 -21
- package/dist/chunks/{credential-t2pqv1sz.js → model-qrq421eh.js} +20 -20
- package/dist/chunks/{credential-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-g59fyfvz.js → model-qwrxphsy.js} +17 -17
- package/dist/chunks/{credential-mgxxs7qr.js → model-r0gpwmmm.js} +13 -13
- package/dist/chunks/{credential-m5kafssk.js → model-r0ztwh7r.js} +52 -52
- package/dist/chunks/{credential-e9h89vp0.js → model-r8x9m1qg.js} +25 -25
- package/dist/chunks/{credential-r9mregkx.js → model-r9mregkx.js} +2 -2
- package/dist/chunks/{credential-mxfg1vns.js → model-rr6fm4cb.js} +32 -32
- package/dist/chunks/{credential-shh6fz4q.js → model-s0esgemt.js} +4 -4
- package/dist/chunks/{credential-vkt5fbj2.js → model-s8bz6z4k.js} +8 -8
- package/dist/chunks/{credential-vs4ph552.js → model-se0t50fj.js} +23 -23
- package/dist/chunks/{credential-mche7wjp.js → model-sgfa6f2r.js} +4 -4
- package/dist/chunks/{credential-m1bsv6jj.js → model-sh0rasge.js} +47 -47
- package/dist/chunks/{credential-4jsr3np4.js → model-sp8m6a9q.js} +9 -9
- package/dist/chunks/{credential-w9hf3j60.js → model-sxwk9xb8.js} +22 -22
- package/dist/chunks/{credential-5kptn8c0.js → model-t0x5rdq8.js} +9 -9
- package/dist/chunks/{credential-0gdmqesm.js → model-t550f9t1.js} +4 -4
- package/dist/chunks/{credential-55wx515q.js → model-t8na6qa3.js} +17 -17
- package/dist/chunks/{credential-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{credential-04k593ph.js → model-tsfgabrd.js} +42 -42
- package/dist/chunks/{credential-2hkwsqj8.js → model-ttzta52k.js} +34 -34
- package/dist/chunks/{credential-tvtrv512.js → model-tvtrv512.js} +1 -1
- package/dist/chunks/{credential-tcjd441j.js → model-v0pkrfgq.js} +11 -11
- package/dist/chunks/{credential-w4zny49r.js → model-v4hmzr0r.js} +8 -8
- package/dist/chunks/{credential-jfqtm2ew.js → model-v5dkyp31.js} +4 -4
- package/dist/chunks/{credential-k6q20m6t.js → model-v6a8s5gf.js} +24 -24
- package/dist/chunks/{credential-4f3mwee9.js → model-v7bpw0rx.js} +16 -16
- package/dist/chunks/{credential-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-x6we754t.js → model-vf5jgz4g.js} +46 -46
- package/dist/chunks/{credential-xpj3gpes.js → model-vfqqz6ex.js} +9 -9
- package/dist/chunks/{credential-dx6t9n3e.js → model-vg018stg.js} +49 -49
- package/dist/chunks/{credential-qq11w61w.js → model-vncycja5.js} +4 -4
- package/dist/chunks/{credential-kmgatmpx.js → model-vshq87yh.js} +32 -32
- package/dist/chunks/{credential-qy4w3bxg.js → model-vtjb7z8s.js} +24 -24
- package/dist/chunks/{credential-vzcthcp8.js → model-vzcthcp8.js} +1 -1
- package/dist/chunks/{credential-jrrn2k62.js → model-vze96k0n.js} +4 -4
- package/dist/chunks/{credential-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-adtgbey4.js → model-w5me5d90.js} +11 -11
- package/dist/chunks/{credential-cxfsjqk4.js → model-w6tw9skw.js} +11 -11
- package/dist/chunks/{credential-yyfky2bj.js → model-wavq5vqb.js} +1 -1
- package/dist/chunks/{credential-tyzndn2s.js → model-wb1tzt4d.js} +27 -27
- package/dist/chunks/{credential-6ghnv2dz.js → model-wbq0a8cf.js} +32 -32
- package/dist/chunks/{credential-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{credential-cbc0s4e1.js → model-wgwrm75m.js} +164 -164
- package/dist/chunks/{credential-a2zg7mdw.js → model-whsrbek6.js} +11 -11
- package/dist/chunks/{credential-7t3evy4q.js → model-wmf56hzh.js} +9 -9
- package/dist/chunks/{credential-h8wfmpj2.js → model-wwcafvtr.js} +17 -17
- package/dist/chunks/{credential-57kf9cn6.js → model-wycsdkc3.js} +11 -11
- package/dist/chunks/{credential-x1ezjp6w.js → model-x1ezjp6w.js} +1 -1
- package/dist/chunks/{credential-ajpz4c85.js → model-xkc587sw.js} +17 -17
- package/dist/chunks/{credential-5843mwj1.js → model-xtd5dz6n.js} +80 -80
- package/dist/chunks/{credential-jg4wsava.js → model-xzzk44db.js} +15 -15
- package/dist/chunks/{credential-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-3gdxf9my.js → model-y2bvvrzc.js} +15 -15
- package/dist/chunks/{credential-dc6tzc5b.js → model-y5mrfvw4.js} +7 -7
- package/dist/chunks/{credential-824g01v9.js → model-y7gk6gsz.js} +12 -12
- package/dist/chunks/{credential-1e9w7pgh.js → model-y7gn77t5.js} +10 -10
- package/dist/chunks/{credential-6f89xh0p.js → model-y7j7ndb6.js} +47 -47
- package/dist/chunks/{credential-fschjpvb.js → model-yeqyw0z5.js} +9 -9
- package/dist/chunks/{credential-v0rc55wa.js → model-yhq7b4d8.js} +9 -9
- package/dist/chunks/{credential-j7knmneh.js → model-ymca8mtq.js} +15 -15
- package/dist/chunks/{credential-f2n192rq.js → model-yp2x3t23.js} +4 -4
- package/dist/chunks/{credential-yrhqyw5v.js → model-yrhqyw5v.js} +1 -1
- package/dist/chunks/{credential-s4enseaf.js → model-yrznvahk.js} +2 -2
- package/dist/chunks/{credential-yt0fqk68.js → model-yt0fqk68.js} +2 -2
- package/dist/chunks/{credential-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-29x78va6.js → model-z63w68vq.js} +6 -6
- package/dist/chunks/{credential-bcw3k3x0.js → model-z9pwsk94.js} +13 -13
- package/dist/chunks/{credential-xw0r27ex.js → model-zav06jzw.js} +4 -4
- package/dist/chunks/{credential-pgt8aa90.js → model-zc27a7bm.js} +4 -4
- package/dist/chunks/{credential-h2bhmd9t.js → model-zdrvw4c2.js} +25 -25
- package/dist/chunks/{credential-zeh9ct20.js → model-zeh9ct20.js} +2 -2
- package/dist/chunks/{credential-vqeat92e.js → model-zm3pd5tb.js} +39 -39
- package/dist/chunks/{credential-mc5fskgh.js → model-znz7rtxh.js} +11 -11
- package/dist/chunks/{credential-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +87 -87
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +89 -89
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +83 -83
- package/dist/generate.js +90 -90
- 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 +353 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +70 -70
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +350 -350
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +92 -92
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +10 -10
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- 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/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- 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 +95 -95
- package/dist/reference/instructions.js +83 -83
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +123 -123
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- 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 +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +109 -109
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +146 -146
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +204 -204
- 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 +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +87 -87
- 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 +122 -122
- package/dist/tool/plugin/edit.js +112 -112
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +97 -97
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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 +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/credential-6kdq0pjd.js +0 -4
- package/dist/chunks/credential-n7dsh0d3.js +0 -26
- package/dist/chunks/credential-p2h6zvwc.js +0 -18
- package/dist/chunks/credential-rjd8bv89.js +0 -247
- /package/dist/chunks/{credential-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3w5fmr99.js → model-3w5fmr99.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-6bsje7ws.js → model-6bsje7ws.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-922hggd3.js → model-922hggd3.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hjbc5kem.js → model-hjbc5kem.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-hrnqkpcd.js → model-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-sk3qaz4a.js → model-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-twg0f83k.js → model-twg0f83k.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8cydn3q.js → model-y8cydn3q.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-3hf7z3yq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./model-v7bpw0rx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event17,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./model-1kcksn9e.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID7,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service55
|
|
16
|
+
} from "./model-r8x9m1qg.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID18
|
|
23
|
+
} from "./model-33n3bzdy.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-5b2dqtre.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 = ID18.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,9 +53,9 @@ 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*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service62;
|
|
57
|
+
const integrations = yield* Service55;
|
|
58
|
+
const bus = yield* Service73;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service25,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer11,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node29
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
32
32
|
});
|
|
33
33
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service25 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
36
36
|
}
|
|
37
37
|
var transportError = (message, input) => new AIError({
|
|
38
38
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
|
|
|
56
56
|
return Effect.fail(observation.error);
|
|
57
57
|
};
|
|
58
58
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
59
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
59
|
+
var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* () {
|
|
60
60
|
const scope = yield* Scope.Scope;
|
|
61
61
|
const states = new Map;
|
|
62
62
|
const state = (sessionID) => {
|
|
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service23, Effect.gen(function* ()
|
|
|
356
356
|
}, { discard: true });
|
|
357
357
|
});
|
|
358
358
|
yield* Effect.addFinalizer(() => closeAll);
|
|
359
|
-
return
|
|
359
|
+
return Service25.of({ bind, close, closeAll });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
361
|
+
var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
362
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
363
363
|
})));
|
|
364
|
-
var
|
|
364
|
+
var node29 = makeGlobalNode({ service: Service25, layer: layer11, deps: [webSocketConstructor2] });
|
|
365
365
|
|
|
366
|
-
export {
|
|
366
|
+
export { Service25, makeLayer2, layer11, node29, exports_model_transport };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-3hf7z3yq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./model-v7bpw0rx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event17
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-1kcksn9e.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID7,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-r8x9m1qg.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID18,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-33n3bzdy.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/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: ID7.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: ID7.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,10 +159,10 @@ 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
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service73;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -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()) {
|
|
@@ -222,9 +222,9 @@ var OpenAIPlugin2 = define({
|
|
|
222
222
|
evt.baseURL = codexBaseURL;
|
|
223
223
|
evt.headers.originator = "opencode";
|
|
224
224
|
evt.headers["session-id"] = evt.sessionID;
|
|
225
|
-
}), { providerID:
|
|
225
|
+
}), { providerID: ID18.openai });
|
|
226
226
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
227
|
-
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
227
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
function headers(contentType, app) {
|
|
@@ -315,4 +315,4 @@ function claim(token) {
|
|
|
315
315
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
export {
|
|
318
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,92 +1,92 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./model-jx3c22rf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service69,
|
|
7
|
+
node73
|
|
8
|
+
} from "./model-qwrxphsy.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID11,
|
|
11
|
+
Service61,
|
|
12
|
+
node64
|
|
13
|
+
} from "./model-ev82ehxs.js";
|
|
14
14
|
import {
|
|
15
15
|
AgentNotFoundError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-phc8pspp.js";
|
|
17
17
|
import {
|
|
18
18
|
combine2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-t550f9t1.js";
|
|
20
20
|
import {
|
|
21
21
|
provenance2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-5c0f1prt.js";
|
|
23
23
|
import {
|
|
24
24
|
entriesForRunner2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-0s3pzcqz.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service59,
|
|
28
|
+
node62
|
|
29
|
+
} from "./model-t8na6qa3.js";
|
|
30
30
|
import {
|
|
31
31
|
merge2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./model-hxevvepb.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service54,
|
|
35
|
+
node57
|
|
36
|
+
} from "./model-e4f6pw00.js";
|
|
37
37
|
import {
|
|
38
38
|
make13
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-q13p9eja.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service40,
|
|
42
|
+
node44
|
|
43
|
+
} from "./model-0d16ff4w.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service18,
|
|
46
|
+
node23
|
|
47
|
+
} from "./model-4mddsdbt.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service74,
|
|
50
|
+
node78
|
|
51
|
+
} from "./model-vtjb7z8s.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service22,
|
|
54
|
+
node27
|
|
55
|
+
} from "./model-1crpa11v.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
57
|
+
Service21,
|
|
58
|
+
node26
|
|
59
|
+
} from "./model-hyhy14jr.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service19,
|
|
62
|
+
node24
|
|
63
|
+
} from "./model-0247gmrw.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
65
|
+
Service20,
|
|
66
66
|
node25
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./model-cw6d4prj.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service17,
|
|
70
|
+
node22
|
|
71
|
+
} from "./model-exatzf7p.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service24,
|
|
74
|
+
node28
|
|
75
|
+
} from "./model-6psebnbx.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service51,
|
|
78
|
+
node54
|
|
79
|
+
} from "./model-257a402r.js";
|
|
80
80
|
import {
|
|
81
81
|
__export
|
|
82
|
-
} from "./
|
|
82
|
+
} from "./model-9rqn6x4v.js";
|
|
83
83
|
|
|
84
84
|
// src/session/context.ts
|
|
85
85
|
var exports_context = {};
|
|
86
86
|
__export(exports_context, {
|
|
87
87
|
Service: () => Service16,
|
|
88
88
|
SessionContext: () => exports_context,
|
|
89
|
-
node: () =>
|
|
89
|
+
node: () => node21
|
|
90
90
|
});
|
|
91
91
|
import { Model } from "@opencode/schema/model";
|
|
92
92
|
import { Context, Effect, Layer } from "effect";
|
|
@@ -94,24 +94,24 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
94
94
|
class Service16 extends Context.Service()("@opencode/SessionContext") {
|
|
95
95
|
}
|
|
96
96
|
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
97
|
-
const agents = yield*
|
|
98
|
-
const builtins = yield*
|
|
99
|
-
const catalog = yield*
|
|
97
|
+
const agents = yield* Service61;
|
|
98
|
+
const builtins = yield* Service18;
|
|
99
|
+
const catalog = yield* Service54;
|
|
100
100
|
const db = (yield* Service80).db;
|
|
101
|
-
const discovery = yield*
|
|
102
|
-
const entries = yield*
|
|
103
|
-
const location = yield*
|
|
104
|
-
const mcpInstructions = yield*
|
|
105
|
-
const mcpTools = yield*
|
|
106
|
-
const models = yield*
|
|
107
|
-
const request = yield*
|
|
108
|
-
const referenceInstructions = yield*
|
|
109
|
-
const skillInstructions = yield*
|
|
110
|
-
const store = yield*
|
|
111
|
-
const registry = yield*
|
|
101
|
+
const discovery = yield* Service40;
|
|
102
|
+
const entries = yield* Service17;
|
|
103
|
+
const location = yield* Service69;
|
|
104
|
+
const mcpInstructions = yield* Service21;
|
|
105
|
+
const mcpTools = yield* Service22;
|
|
106
|
+
const models = yield* Service51;
|
|
107
|
+
const request = yield* Service24;
|
|
108
|
+
const referenceInstructions = yield* Service19;
|
|
109
|
+
const skillInstructions = yield* Service20;
|
|
110
|
+
const store = yield* Service59;
|
|
111
|
+
const registry = yield* Service74;
|
|
112
112
|
const resolveModel = (session) => models.resolve(session, catalog.model.available);
|
|
113
113
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
114
|
-
const agent = yield* agents.get(
|
|
114
|
+
const agent = yield* agents.get(ID11.make("title"));
|
|
115
115
|
if (!agent)
|
|
116
116
|
return;
|
|
117
117
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -189,26 +189,26 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
189
189
|
return Service16.of({ select, load, resolveModel, selectTitle, request });
|
|
190
190
|
}));
|
|
191
191
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
|
|
192
|
-
var
|
|
192
|
+
var node21 = makeLocationNode({
|
|
193
193
|
service: Service16,
|
|
194
194
|
layer,
|
|
195
195
|
deps: [
|
|
196
|
-
|
|
197
|
-
node60,
|
|
198
|
-
node85,
|
|
199
|
-
node24,
|
|
196
|
+
node64,
|
|
200
197
|
node57,
|
|
198
|
+
node84,
|
|
201
199
|
node23,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
node21,
|
|
206
|
-
node34,
|
|
200
|
+
node44,
|
|
201
|
+
node22,
|
|
202
|
+
node73,
|
|
207
203
|
node26,
|
|
208
|
-
|
|
204
|
+
node27,
|
|
205
|
+
node24,
|
|
206
|
+
node54,
|
|
207
|
+
node28,
|
|
208
|
+
node62,
|
|
209
209
|
node25,
|
|
210
|
-
|
|
210
|
+
node78
|
|
211
211
|
]
|
|
212
212
|
});
|
|
213
213
|
|
|
214
|
-
export { Service16,
|
|
214
|
+
export { Service16, node21, exports_context };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./model-qbngxwj5.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service40
|
|
13
|
+
} from "./model-0d16ff4w.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service69
|
|
16
|
+
} from "./model-qwrxphsy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin40
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin40 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service40;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service69;
|
|
42
|
+
const watcher = yield* Service43;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin40, exports_instruction };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service69,
|
|
3
|
+
node73
|
|
4
|
+
} from "./model-qwrxphsy.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node16
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service13 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service69;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service13.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node16 = makeLocationNode({
|
|
91
|
+
service: Service13,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node73, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service13, node16, exports_formatter2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
12
|
Event: () => Event19,
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
13
|
+
ID: () => ID16,
|
|
14
|
+
Info: () => Info31,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID16 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info31 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
25
|
var Event19 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
@@ -28,4 +28,4 @@ var Vcs3 = Schema.Struct({
|
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID16, Current3, Info31, UpdateInput4, Event19, Vcs3, exports_schema };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref3
|
|
3
|
+
} from "./model-qwrxphsy.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
13
|
-
canonical: () =>
|
|
14
|
-
node: () =>
|
|
12
|
+
Service: () => Service57,
|
|
13
|
+
canonical: () => canonical3,
|
|
14
|
+
node: () => node60
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service57 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service57, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
function
|
|
28
|
-
return
|
|
26
|
+
var node60 = LayerNode.unbound(Service57, Node.tags.values.global);
|
|
27
|
+
function canonical3(ref) {
|
|
28
|
+
return Ref3.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service57, node60, canonical3, exports_location_service_map };
|