@opencode/core 0.0.0-dev-19391 → 0.0.0-dev-19393
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 +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{git-7t2bfs77.js → file-mutation-01fzq3z7.js} +28 -28
- package/dist/chunks/{git-jngqetej.js → file-mutation-02k69zs7.js} +31 -31
- package/dist/chunks/{git-fkzsndak.js → file-mutation-066m6yk3.js} +7 -7
- package/dist/chunks/{git-bby00dsd.js → file-mutation-08z5qwsn.js} +8 -8
- package/dist/chunks/{git-s8d7rejh.js → file-mutation-0gdmqesm.js} +4 -4
- package/dist/chunks/{git-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{git-0m9zqasy.js → file-mutation-0xtcr6w3.js} +15 -15
- package/dist/chunks/{git-00fexjy9.js → file-mutation-0yhvqzdr.js} +45 -45
- package/dist/chunks/{git-5d0wqk5a.js → file-mutation-0zn40hbb.js} +62 -62
- package/dist/chunks/{git-bvqzzpnc.js → file-mutation-12rfhcvn.js} +5 -5
- package/dist/chunks/{git-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-7sdps93t.js → file-mutation-1eyaby9q.js} +5 -5
- package/dist/chunks/{git-qmr73083.js → file-mutation-1fa9ans5.js} +1 -1
- package/dist/chunks/{git-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{git-drknmmyh.js → file-mutation-240ffee7.js} +9 -9
- package/dist/chunks/{git-29x78va6.js → file-mutation-29x78va6.js} +2 -2
- package/dist/chunks/{git-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-v6xr4mhk.js → file-mutation-2bt6bea8.js} +9 -9
- package/dist/chunks/{git-1ah30sey.js → file-mutation-2ee8pmxs.js} +2 -2
- package/dist/chunks/{git-a3vgeg8v.js → file-mutation-2hfp5ger.js} +20 -20
- package/dist/chunks/{git-kkz4yv35.js → file-mutation-2npmwd02.js} +9 -9
- package/dist/chunks/{git-6ht6hv3f.js → file-mutation-2sef7jx7.js} +13 -13
- package/dist/chunks/{git-9v94xm60.js → file-mutation-2ttxt4rm.js} +2 -2
- package/dist/chunks/{git-h3ekzffn.js → file-mutation-2zheyzhp.js} +8 -8
- package/dist/chunks/{git-80e0yyk8.js → file-mutation-34wjyeek.js} +7 -7
- package/dist/chunks/{git-et1r2jf6.js → file-mutation-3bzftg35.js} +13 -13
- package/dist/chunks/{git-2qp6y8xf.js → file-mutation-3cfzdc8e.js} +5 -5
- package/dist/chunks/{git-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-mf8gs4da.js → file-mutation-3kxmfjgw.js} +18 -18
- package/dist/chunks/{git-r3q6pmcz.js → file-mutation-3rqkssp8.js} +8 -8
- package/dist/chunks/{git-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-6jqkynh6.js → file-mutation-3zbb0e4x.js} +11 -11
- package/dist/chunks/{git-1k8wtqrp.js → file-mutation-42b6pzh7.js} +8 -8
- package/dist/chunks/{git-nwd3ssra.js → file-mutation-49w8mb30.js} +8 -8
- package/dist/chunks/{git-qe26s0zb.js → file-mutation-4c2df9zx.js} +8 -8
- package/dist/chunks/{git-43710w3q.js → file-mutation-4cwh3a5t.js} +9 -9
- package/dist/chunks/{git-8fjt75y9.js → file-mutation-4f5v0gkp.js} +17 -17
- package/dist/chunks/{git-mexw47yp.js → file-mutation-4jd5h8hr.js} +4 -4
- package/dist/chunks/{git-e49xbsfe.js → file-mutation-4k2qawm0.js} +18 -18
- package/dist/chunks/{git-967tbwmz.js → file-mutation-56fawgj4.js} +52 -52
- package/dist/chunks/{git-1ygqh575.js → file-mutation-56gdpj1q.js} +9 -9
- package/dist/chunks/{git-6gekrhsf.js → file-mutation-56xqqp2b.js} +6 -6
- package/dist/chunks/{git-fxm9f60t.js → file-mutation-587k4qqh.js} +16 -16
- package/dist/chunks/{git-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{git-p1wf2k30.js → file-mutation-5kptn8c0.js} +9 -9
- package/dist/chunks/{git-dh4vxs71.js → file-mutation-5t37q54p.js} +28 -28
- package/dist/chunks/{git-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-vqskmh9d.js → file-mutation-5y7nmd31.js} +26 -26
- package/dist/chunks/{git-hrndf12w.js → file-mutation-64kphnzf.js} +4 -4
- package/dist/chunks/{git-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{git-2402vzrj.js → file-mutation-6h73sxmp.js} +5 -5
- package/dist/chunks/{git-sv9bpgvh.js → file-mutation-6jex2xta.js} +1 -1
- package/dist/chunks/{git-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{git-wa88tsz1.js → file-mutation-6v41k3zq.js} +36 -36
- package/dist/chunks/{git-nn6nb4dq.js → file-mutation-71acpfn8.js} +13 -13
- package/dist/chunks/{git-71q4at8m.js → file-mutation-71q4at8m.js} +1 -1
- package/dist/chunks/{git-7by8wea0.js → file-mutation-74bmvg0d.js} +5 -5
- package/dist/chunks/{git-60ng23p3.js → file-mutation-74sc3jhk.js} +2 -2
- package/dist/chunks/{git-yx8yz41b.js → file-mutation-78s53s6s.js} +38 -38
- package/dist/chunks/{git-q26tgv94.js → file-mutation-7b15y959.js} +8 -8
- package/dist/chunks/{git-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-fcrkznn8.js → file-mutation-7dqw4kz8.js} +5 -5
- package/dist/chunks/{git-wttsyvcc.js → file-mutation-7g683t1r.js} +24 -24
- package/dist/chunks/{git-56gnm113.js → file-mutation-7ncadwe6.js} +8 -8
- package/dist/chunks/{git-xsz6vv8y.js → file-mutation-7r2070ss.js} +55 -55
- package/dist/chunks/{git-31dz7cp4.js → file-mutation-7s02b6me.js} +1 -1
- package/dist/chunks/{git-gk8mfka9.js → file-mutation-7tske91h.js} +23 -23
- package/dist/chunks/{git-dv250zvr.js → file-mutation-7w99qc9d.js} +3 -3
- package/dist/chunks/{git-8234338a.js → file-mutation-7x56vw45.js} +18 -18
- package/dist/chunks/{git-h5dbjsx9.js → file-mutation-80wms6w9.js} +33 -33
- package/dist/chunks/{git-msn3ckcs.js → file-mutation-8bwmgdjs.js} +18 -18
- package/dist/chunks/{git-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-8p4f9s12.js → file-mutation-8p4f9s12.js} +2 -2
- package/dist/chunks/{git-znt1ym30.js → file-mutation-9g0zx7x8.js} +9 -9
- package/dist/chunks/{git-ssybtts3.js → file-mutation-9n4afpv3.js} +6 -6
- package/dist/chunks/{git-mrem20pc.js → file-mutation-9pa9rw3z.js} +16 -16
- package/dist/chunks/{git-sgystvcz.js → file-mutation-9pwkmyz6.js} +8 -8
- package/dist/chunks/{git-wnpvrkxy.js → file-mutation-9py05vep.js} +22 -22
- package/dist/chunks/{git-m1qcsqkx.js → file-mutation-9shade1g.js} +22 -22
- package/dist/chunks/{git-a1bz86dw.js → file-mutation-a1bz86dw.js} +3 -3
- package/dist/chunks/{git-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{git-cybh4q4m.js → file-mutation-ak7my4zs.js} +15 -15
- package/dist/chunks/{git-1a6p2twq.js → file-mutation-an7cqtb7.js} +4 -4
- package/dist/chunks/{git-tcxw2wsh.js → file-mutation-ar85mn2m.js} +23 -23
- package/dist/chunks/{git-n776arpk.js → file-mutation-as9sp7sj.js} +8 -8
- package/dist/chunks/{git-stz96qh8.js → file-mutation-b036pw45.js} +32 -32
- package/dist/chunks/{git-0fgcnd78.js → file-mutation-b45nt1f1.js} +11 -11
- package/dist/chunks/{git-cz8ja6bv.js → file-mutation-b6d4fm4d.js} +32 -32
- package/dist/chunks/{git-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-5a7skn1d.js → file-mutation-b9vx810x.js} +35 -35
- package/dist/chunks/{git-b7zanwxg.js → file-mutation-bbzhmj3e.js} +28 -28
- package/dist/chunks/{git-kp844bkx.js → file-mutation-bpbqk74e.js} +11 -11
- package/dist/chunks/{git-k304t88f.js → file-mutation-brx509wv.js} +43 -43
- package/dist/chunks/{git-nhvhf6q8.js → file-mutation-bv56xrks.js} +2 -2
- package/dist/chunks/{git-p0n6b7j7.js → file-mutation-c12c3ebf.js} +14 -14
- package/dist/chunks/{git-xcmxfd3t.js → file-mutation-c19c6034.js} +16 -16
- package/dist/chunks/{git-k0zzqzfm.js → file-mutation-c4tqdq5t.js} +4 -4
- package/dist/chunks/{git-q6mfqnjt.js → file-mutation-c9av52v1.js} +1 -1
- package/dist/chunks/{git-cfpkc3c9.js → file-mutation-cfpkc3c9.js} +2 -2
- package/dist/chunks/{git-17rjwhd8.js → file-mutation-cj8em3nn.js} +24 -24
- package/dist/chunks/{git-z7wfm2nz.js → file-mutation-cn5kgcxn.js} +23 -23
- package/dist/chunks/{git-zbynka28.js → file-mutation-d1w5q26k.js} +28 -28
- package/dist/chunks/{git-f90chkmn.js → file-mutation-d2aac7k2.js} +5 -5
- package/dist/chunks/{git-v87fc2n4.js → file-mutation-d40aa9ht.js} +35 -35
- package/dist/chunks/{git-5rcfzxhb.js → file-mutation-dafzyq9v.js} +11 -11
- package/dist/chunks/{git-tqckr4z0.js → file-mutation-df2tx5pe.js} +13 -13
- package/dist/chunks/{git-wfeyvemf.js → file-mutation-dpje9hvt.js} +11 -11
- package/dist/chunks/{git-5c7438wj.js → file-mutation-dsfwte3g.js} +17 -17
- package/dist/chunks/{git-2d6j2h4j.js → file-mutation-dt849bc4.js} +4 -4
- package/dist/chunks/{git-e2wxm4gs.js → file-mutation-dzgwpfm4.js} +71 -71
- package/dist/chunks/{git-cb0b94q1.js → file-mutation-e15qh3wq.js} +11 -11
- package/dist/chunks/{git-qr42g2ex.js → file-mutation-e379cr0y.js} +12 -12
- package/dist/chunks/{git-4rbykmww.js → file-mutation-earnevqz.js} +41 -41
- package/dist/chunks/{git-2evyaa68.js → file-mutation-ec8389mk.js} +4 -4
- package/dist/chunks/{git-2vrs9bvz.js → file-mutation-edca6z4t.js} +29 -29
- package/dist/chunks/{git-nmv7fedf.js → file-mutation-en460j1e.js} +9 -9
- package/dist/chunks/{git-7xvabjvw.js → file-mutation-en8fd2fz.js} +29 -29
- package/dist/chunks/{git-81btcj5e.js → file-mutation-eqbtmbad.js} +16 -16
- package/dist/chunks/{git-6xy3x0mr.js → file-mutation-et23rmd2.js} +28 -28
- package/dist/chunks/{git-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-rernzhsx.js → file-mutation-f1q1bdfb.js} +31 -31
- package/dist/chunks/{git-y116a4zg.js → file-mutation-f5hjq1vh.js} +23 -23
- package/dist/chunks/{git-q3hev8r4.js → file-mutation-f79e7acg.js} +2 -2
- package/dist/chunks/{git-f828m53h.js → file-mutation-f828m53h.js} +2 -2
- package/dist/chunks/{git-8bdgxx6d.js → file-mutation-ff8m8qd7.js} +37 -37
- package/dist/chunks/{git-t4pzxwv6.js → file-mutation-fjvydvzm.js} +7 -7
- package/dist/chunks/{git-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{git-wgvbtfqc.js → file-mutation-g56g034v.js} +25 -25
- package/dist/chunks/{git-7verde8t.js → file-mutation-g8stra9y.js} +4 -4
- package/dist/chunks/{git-cm4cwf14.js → file-mutation-ga7wvnj5.js} +6 -6
- package/dist/chunks/{git-7yfaff3y.js → file-mutation-gb6mvkxt.js} +9 -9
- package/dist/chunks/{git-3cxhyqx9.js → file-mutation-gb9kwzg5.js} +22 -22
- package/dist/chunks/{git-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-wk2zc65r.js → file-mutation-gfz0jyfh.js} +6 -6
- package/dist/chunks/{git-th5km1p3.js → file-mutation-gv6a8nnw.js} +5 -5
- package/dist/chunks/{git-9gyd2w40.js → file-mutation-gx1zhcta.js} +1 -1
- package/dist/chunks/{git-9smnhnck.js → file-mutation-gyyh633g.js} +90 -90
- package/dist/chunks/{git-h03wrkyp.js → file-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{git-4cp288bt.js → file-mutation-h4y4mq8e.js} +92 -92
- package/dist/chunks/{git-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-yzejvhvn.js → file-mutation-ha607pgt.js} +6 -6
- package/dist/chunks/{git-5jtdmvnp.js → file-mutation-hf8cnsjw.js} +1 -1
- package/dist/chunks/{git-nhy5jxhy.js → file-mutation-hjt4xg1x.js} +4 -4
- package/dist/chunks/file-mutation-hkpycv99.js +462 -0
- package/dist/chunks/{git-6k7qnnge.js → file-mutation-hqrxp9gj.js} +13 -13
- package/dist/chunks/{git-57rb2d2p.js → file-mutation-hthj0rnm.js} +14 -14
- package/dist/chunks/{git-saq61fd1.js → file-mutation-hxpkdzb7.js} +3 -3
- package/dist/chunks/{git-azt3fn9h.js → file-mutation-hz456w6n.js} +9 -9
- package/dist/chunks/{git-wxqedpd9.js → file-mutation-hzx83h4g.js} +44 -44
- package/dist/chunks/{git-dn02v3xn.js → file-mutation-j0n617hx.js} +46 -46
- package/dist/chunks/{git-t8g0rz63.js → file-mutation-j2nqzmcv.js} +21 -21
- package/dist/chunks/{git-epqeryd2.js → file-mutation-j3mwg7nd.js} +34 -34
- package/dist/chunks/{git-qc5bn8wy.js → file-mutation-j4028k8z.js} +11 -11
- package/dist/chunks/{git-sexm24t3.js → file-mutation-j4p7emeb.js} +8 -8
- package/dist/chunks/{git-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{git-8ey0tjev.js → file-mutation-jeq3avzd.js} +18 -18
- package/dist/chunks/{git-cyj3cv9r.js → file-mutation-jspz1h3e.js} +22 -22
- package/dist/chunks/{git-3stj0jvq.js → file-mutation-jsvhw8mk.js} +11 -11
- package/dist/chunks/{git-zf4p5794.js → file-mutation-jvybmm27.js} +21 -21
- package/dist/chunks/{git-9kqp7g4a.js → file-mutation-k0qa26hr.js} +28 -28
- package/dist/chunks/{git-fbxzb085.js → file-mutation-k1xjzmxg.js} +20 -20
- package/dist/chunks/{git-0sgtxrs8.js → file-mutation-k23hrhwv.js} +4 -4
- package/dist/chunks/{git-aezjx6de.js → file-mutation-k3swrpg8.js} +4 -4
- package/dist/chunks/{git-5fbvx1w6.js → file-mutation-kekx75qk.js} +1 -1
- package/dist/chunks/{git-kg06axw8.js → file-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{git-rjrt7vbj.js → file-mutation-km7shbm8.js} +15 -15
- package/dist/chunks/{git-s6h26ryx.js → file-mutation-kywk84af.js} +17 -17
- package/dist/chunks/{git-gve6vxyf.js → file-mutation-m0c4px45.js} +29 -29
- package/dist/chunks/{git-chg3p55r.js → file-mutation-m42b0bke.js} +6 -6
- package/dist/chunks/{git-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-mkcjrzeh.js → file-mutation-mkcjrzeh.js} +1 -1
- package/dist/chunks/{git-9edcvf27.js → file-mutation-mkh51v61.js} +10 -10
- package/dist/chunks/{git-971xr3xt.js → file-mutation-mwbx7r51.js} +7 -7
- package/dist/chunks/{git-f9bavhm2.js → file-mutation-n5zjdcc0.js} +1 -1
- package/dist/chunks/file-mutation-n95b3jav.js +18 -0
- package/dist/chunks/{git-hb60fmtr.js → file-mutation-nc6emx03.js} +8 -8
- package/dist/chunks/{git-wvgmydwz.js → file-mutation-nmjsacd1.js} +5 -5
- package/dist/chunks/{git-81swgkk7.js → file-mutation-ntghn7gv.js} +9 -9
- package/dist/chunks/{git-68fh3z7z.js → file-mutation-nvgad3v2.js} +18 -18
- package/dist/chunks/{git-7hsf2613.js → file-mutation-nx72h4d9.js} +12 -12
- package/dist/chunks/{git-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{git-stzp5pqk.js → file-mutation-psxzv6yb.js} +8 -8
- package/dist/chunks/{git-zj4wpktz.js → file-mutation-q5th50z6.js} +16 -16
- package/dist/chunks/{git-jw59a53t.js → file-mutation-q6c9rh6v.js} +15 -15
- package/dist/chunks/{git-hc0zr8pa.js → file-mutation-q8rqxe25.js} +29 -29
- package/dist/chunks/{git-fkxhr6rb.js → file-mutation-qg1dvv3d.js} +27 -27
- package/dist/chunks/{git-5n9f6zmz.js → file-mutation-qgnx4pxt.js} +11 -11
- package/dist/chunks/{git-mpnn67vs.js → file-mutation-qp0yc7dx.js} +13 -13
- package/dist/chunks/{git-pck3w1ab.js → file-mutation-qpxqmgt2.js} +4 -4
- package/dist/chunks/{git-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{git-v8ch97zc.js → file-mutation-qssq5wvh.js} +1 -1
- package/dist/chunks/{git-qte5z7bc.js → file-mutation-qte5z7bc.js} +2 -2
- package/dist/chunks/{git-rpk3p4vp.js → file-mutation-qvf21x62.js} +46 -46
- package/dist/chunks/{git-4y21m883.js → file-mutation-qyy5cpnn.js} +11 -11
- package/dist/chunks/{git-mhkvc446.js → file-mutation-r5x6zcsm.js} +3 -3
- package/dist/chunks/{git-at5d07az.js → file-mutation-ratrq7cm.js} +4 -4
- package/dist/chunks/{git-xaxrq1k6.js → file-mutation-rc1e819m.js} +4 -4
- package/dist/chunks/{git-07q9q0s0.js → file-mutation-rh108m8v.js} +5 -5
- package/dist/chunks/{git-0t098hqn.js → file-mutation-rkdvqggb.js} +5 -5
- package/dist/chunks/{git-hsbe2v8d.js → file-mutation-rmnn1kcj.js} +30 -30
- package/dist/chunks/{git-1zbe0hwx.js → file-mutation-rsh6k2qs.js} +27 -27
- package/dist/chunks/{git-7r4pq86q.js → file-mutation-rtq8p3gy.js} +28 -28
- package/dist/chunks/{git-6420c4zj.js → file-mutation-rvyzmxt1.js} +165 -165
- package/dist/chunks/{git-bj18y5e0.js → file-mutation-s1fbxc7t.js} +24 -24
- package/dist/chunks/{git-dng8y5a3.js → file-mutation-s36eea25.js} +20 -20
- package/dist/chunks/{git-s4enseaf.js → file-mutation-s4enseaf.js} +2 -2
- package/dist/chunks/{git-rf04hjb3.js → file-mutation-s5d18ttv.js} +32 -32
- package/dist/chunks/{git-2gnzn4g6.js → file-mutation-sdc25ghc.js} +32 -32
- package/dist/chunks/{git-f4wfpfa2.js → file-mutation-snbak2yk.js} +9 -9
- package/dist/chunks/{git-1tq060df.js → file-mutation-ss0awb04.js} +4 -4
- package/dist/chunks/{git-r66r7cmm.js → file-mutation-stnw2p2s.js} +15 -15
- package/dist/chunks/{git-4x81xeqa.js → file-mutation-sx5j1r78.js} +14 -14
- package/dist/chunks/{git-53nby2n7.js → file-mutation-t0ycew93.js} +24 -24
- package/dist/chunks/{git-jy16bfac.js → file-mutation-t1bhcjx3.js} +1 -1
- package/dist/chunks/{git-mcq2hdeb.js → file-mutation-t26h1xea.js} +23 -23
- package/dist/chunks/{git-7547p87k.js → file-mutation-t3aqcp13.js} +5 -5
- package/dist/chunks/{git-zepncfka.js → file-mutation-t51qk8jz.js} +4 -4
- package/dist/chunks/{git-gvphacjb.js → file-mutation-t9ja5v0m.js} +6 -6
- package/dist/chunks/{git-sgy72gpz.js → file-mutation-t9n23y5a.js} +32 -32
- package/dist/chunks/{git-7yd68jh1.js → file-mutation-t9nzygtk.js} +20 -20
- package/dist/chunks/{git-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-sfv52yq4.js → file-mutation-tcaez8z7.js} +13 -13
- package/dist/chunks/{git-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{git-5a1z0ner.js → file-mutation-tfmchqhk.js} +13 -13
- package/dist/chunks/file-mutation-tg8gtkmk.js +22 -0
- package/dist/chunks/{git-ezys8rkd.js → file-mutation-thm2xcas.js} +17 -17
- package/dist/chunks/{git-99j83k2z.js → file-mutation-tmr9h4zs.js} +12 -12
- package/dist/chunks/{git-prp4t9gw.js → file-mutation-tp176rca.js} +6 -6
- package/dist/chunks/{git-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{git-5gfn8sdf.js → file-mutation-tx71xht9.js} +51 -51
- package/dist/chunks/{git-jxxmrcps.js → file-mutation-v1q7vfww.js} +6 -6
- package/dist/chunks/{git-gnn1fpcv.js → file-mutation-v3wxxz2a.js} +6 -6
- package/dist/chunks/{git-9p3a0bey.js → file-mutation-v4c6wwdp.js} +7 -7
- package/dist/chunks/{git-v4b36nj3.js → file-mutation-v68haqbh.js} +2 -2
- package/dist/chunks/{git-vzm76b3t.js → file-mutation-ve6nm2s5.js} +6 -6
- package/dist/chunks/{git-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{git-hfdr1yjj.js → file-mutation-vkxpz7g2.js} +4 -4
- package/dist/chunks/{git-5cvbs26k.js → file-mutation-vtrt0ewb.js} +43 -43
- package/dist/chunks/{git-y1p1x618.js → file-mutation-vvcwpm63.js} +13 -13
- package/dist/chunks/{git-z8kcrd6j.js → file-mutation-vw3mnqj9.js} +15 -15
- package/dist/chunks/{git-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-ep79ehza.js → file-mutation-w1rhahvp.js} +16 -16
- package/dist/chunks/{git-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{git-f1afprnz.js → file-mutation-wf5akpyb.js} +8 -8
- package/dist/chunks/{git-5skvzk75.js → file-mutation-wwdjya87.js} +33 -33
- package/dist/chunks/{git-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-x43y2vfs.js → file-mutation-x43y2vfs.js} +2 -2
- package/dist/chunks/{git-k79tzb9n.js → file-mutation-xhmq8qgk.js} +9 -9
- package/dist/chunks/{git-33yrb4zc.js → file-mutation-xnvnravs.js} +33 -33
- package/dist/chunks/{git-qkhbq9gn.js → file-mutation-xrhv95d6.js} +23 -23
- package/dist/chunks/{git-fp7bntjd.js → file-mutation-xxhb5m41.js} +9 -9
- package/dist/chunks/{git-dr9j5dyg.js → file-mutation-y14xz5fd.js} +31 -31
- package/dist/chunks/{git-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-2f3d9t1j.js → file-mutation-y6b78k7r.js} +43 -43
- package/dist/chunks/{git-dpkg50ah.js → file-mutation-y71avatq.js} +4 -4
- package/dist/chunks/{git-b2x839n7.js → file-mutation-y7kh6pdy.js} +8 -8
- package/dist/chunks/{git-8g26s1rr.js → file-mutation-yakg16c7.js} +11 -11
- package/dist/chunks/{git-a4exdnt3.js → file-mutation-yhd29gma.js} +2 -2
- package/dist/chunks/{git-w1ad28wa.js → file-mutation-yhgxvs9m.js} +8 -8
- package/dist/chunks/file-mutation-ymkfqb6w.js +247 -0
- package/dist/chunks/{git-f2n192rq.js → file-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{git-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-79xankta.js → file-mutation-ywt3z907.js} +17 -17
- package/dist/chunks/{git-dn5grvbk.js → file-mutation-yymb8v2v.js} +26 -26
- package/dist/chunks/{git-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-ca7w653e.js → file-mutation-zcrspsvn.js} +4 -4
- package/dist/chunks/{git-8n0zdm8f.js → file-mutation-zd95htgz.js} +18 -18
- package/dist/chunks/{git-zeh9ct20.js → file-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{git-n7t5qjpz.js → file-mutation-zhedf7h9.js} +11 -11
- package/dist/chunks/{git-qr27hz8v.js → file-mutation-zn4kggxy.js} +4 -4
- package/dist/chunks/{git-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-gyeht8yw.js → file-mutation-zrz3rv3v.js} +15 -15
- package/dist/chunks/{git-6c0cft2p.js → file-mutation-zxcqb81j.js} +24 -24
- package/dist/chunks/{git-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +115 -115
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- 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 +77 -77
- 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 +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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +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 +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- 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 +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +3 -3
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- 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 +88 -88
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +7 -7
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +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 +3 -3
- 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 +3 -3
- 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 +2 -2
- 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 +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- 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 +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/git-d7szvhg8.js +0 -247
- package/dist/chunks/git-q509s3k3.js +0 -18
- package/dist/chunks/git-wqy8zhmg.js +0 -22
- package/dist/chunks/git-y5rc9adv.js +0 -462
- /package/dist/chunks/{git-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-6kdq0pjd.js → file-mutation-6kdq0pjd.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-922hggd3.js → file-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{git-hrnqkpcd.js → file-mutation-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-j935v87r.js → file-mutation-j935v87r.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service67,
|
|
6
|
+
node70
|
|
7
|
+
} from "./file-mutation-zxcqb81j.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service25,
|
|
17
|
+
node: () => node29,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service25 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service67;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service25.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node29 = makeLocationNode({ service: Service25, layer, deps: [node70] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service25, readText2, syncTextBom2, node29, exports_file_mutation };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service51,
|
|
3
|
+
node54
|
|
4
|
+
} from "./file-mutation-y14xz5fd.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make18,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-0gdmqesm.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions5 = {};
|
|
17
17
|
__export(exports_instructions5, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service37,
|
|
20
|
+
node: () => node42
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service37 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service51;
|
|
64
|
+
return Service37.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make18({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node42 = makeLocationNode({ service: Service37, layer, deps: [node54] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service37, node42, exports_instructions5 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./file-mutation-c19c6034.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./file-mutation-thm2xcas.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service38
|
|
10
|
+
} from "./file-mutation-56fawgj4.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin37
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin37 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service69;
|
|
200
|
+
const mcp = yield* Service38;
|
|
201
|
+
const bus = yield* Service79;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin37, exports_command2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-34wjyeek.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./file-mutation-y6b78k7r.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-v4c6wwdp.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make10(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service60;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -125,7 +125,7 @@ function make3(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make10();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make10, LMStudioPlugin2 };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service71,
|
|
9
|
+
node75
|
|
10
|
+
} from "./file-mutation-mkh51v61.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service69,
|
|
13
|
+
node73
|
|
14
|
+
} from "./file-mutation-thm2xcas.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service50,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node53,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service50 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service71;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service69;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node53 = makeLocationNode({
|
|
139
|
+
service: Service50,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node75, Global.node, node73]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error3({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID6, Error3, Service50, node53, noopLayer3, exports_snapshot2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/codemode/tool.ts
|
|
10
10
|
var exports_tool2 = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service5 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service5.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node8 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service5, node8, exports_update };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-mutation-dpje9hvt.js";
|
|
1
5
|
import {
|
|
2
6
|
Service79,
|
|
3
7
|
node84
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service78,
|
|
7
|
-
node83
|
|
8
|
-
} from "./git-xcmxfd3t.js";
|
|
8
|
+
} from "./file-mutation-c19c6034.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID18,
|
|
25
|
+
Info: () => Info33,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service78,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID18 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info33 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID18,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service80).db;
|
|
55
|
+
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info33({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service78.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info33({
|
|
80
|
+
id: ID18.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID18, OAuth3, Key4, Value2, Event20, Info33, Service78, node83, exports_credential };
|