@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,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-mutation-c19c6034.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
@@ -15,19 +15,19 @@ __export(exports_command4, {
|
|
|
15
15
|
Command: () => exports_command4,
|
|
16
16
|
Event: () => Event8,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info8,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service47,
|
|
21
|
+
layer: () => layer19,
|
|
22
|
+
node: () => node50
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
import { Event as Event8 } from "@opencode/schema/command";
|
|
28
|
-
var
|
|
28
|
+
var Info8 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service47 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service79;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info8.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service47.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node50 = makeLocationNode({
|
|
75
|
+
service: Service47,
|
|
76
|
+
layer: layer19,
|
|
77
|
+
deps: [node84]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info8, NotFoundError6, ExecutionError2, Service47, layer19, node50, exports_command4, Event8 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-7r2070ss.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin39
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin39 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin39, exports_plan };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission2 = {};
|
|
7
7
|
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info23,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule3
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info23 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule3,
|
|
41
|
+
export { Action2, Object2, Rule3, Info23, exports_permission2 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ID15,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-dt849bc4.js";
|
|
6
6
|
import {
|
|
7
7
|
ID14,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info29,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-34wjyeek.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -88,8 +88,8 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info29.make({
|
|
92
|
+
...Info29.default(providerID, id),
|
|
93
93
|
id,
|
|
94
94
|
modelID: ID14.make(remote.id),
|
|
95
95
|
providerID,
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-mutation-c19c6034.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service38,
|
|
7
|
+
node43
|
|
8
|
+
} from "./file-mutation-56fawgj4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node57
|
|
12
|
+
} from "./file-mutation-7r2070ss.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service72,
|
|
15
|
+
node76
|
|
16
|
+
} from "./file-mutation-t0ycew93.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service35,
|
|
26
|
+
layer: () => layer15,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service35 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer15 = Layer.effect(Service35, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service38;
|
|
42
|
+
const tools = yield* Service72;
|
|
43
|
+
const bus = yield* Service79;
|
|
44
|
+
const permission = yield* Service54;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -62,7 +62,7 @@ var layer12 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
62
62
|
output: tool.outputSchema ?? {},
|
|
63
63
|
execute: (input, context) => Effect.gen(function* () {
|
|
64
64
|
yield* permission.assert({
|
|
65
|
-
action:
|
|
65
|
+
action: name14(tool.server, tool.name),
|
|
66
66
|
resources: ["*"],
|
|
67
67
|
save: ["*"],
|
|
68
68
|
metadata: {},
|
|
@@ -99,7 +99,7 @@ var layer12 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
99
99
|
output: result.structured ?? (text === "" ? null : text),
|
|
100
100
|
...content.length === 0 ? {} : { content }
|
|
101
101
|
};
|
|
102
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
102
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
});
|
|
@@ -112,12 +112,12 @@ var layer12 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
113
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
114
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
115
|
+
return Service35.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
116
|
}));
|
|
117
|
-
var
|
|
118
|
-
service:
|
|
119
|
-
layer:
|
|
120
|
-
deps: [
|
|
117
|
+
var node40 = makeLocationNode({
|
|
118
|
+
service: Service35,
|
|
119
|
+
layer: layer15,
|
|
120
|
+
deps: [node76, node43, node84, node57]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
export { namespace2,
|
|
123
|
+
export { namespace2, name14, Service35, layer15, node40, exports_mcp3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./file-mutation-cj8em3nn.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info22
|
|
9
|
+
} from "./file-mutation-49w8mb30.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-zn4kggxy.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service60
|
|
16
|
+
} from "./file-mutation-y6b78k7r.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin31
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info22);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin31 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service60;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin28 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID9.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID9.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin31, exports_agent };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-qgnx4pxt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./file-mutation-c19c6034.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./file-mutation-xnvnravs.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-m0c4px45.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID15,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-dt849bc4.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: ID16.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: ID16.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service79;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -223,7 +223,7 @@ var OpenAIPlugin2 = define({
|
|
|
223
223
|
evt.headers["session-id"] = evt.sessionID;
|
|
224
224
|
}), { providerID: ID15.openai });
|
|
225
225
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
226
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
function headers(contentType, app) {
|
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
UnsupportedPackageError3,
|
|
4
4
|
UnresolvedProviderVariablesError3,
|
|
5
5
|
UnsupportedCompactionError3,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service63,
|
|
7
|
+
node66
|
|
8
|
+
} from "./file-mutation-edca6z4t.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-7w99qc9d.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service44,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
23
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
24
24
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
25
25
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
26
26
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node47,
|
|
28
28
|
resolved: () => resolved2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var UnsupportedPackageError2 = UnsupportedPackageError3;
|
|
|
51
51
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
52
52
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service44 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
55
55
|
}
|
|
56
56
|
var resolved2 = (model, options) => ({
|
|
57
57
|
model,
|
|
@@ -66,9 +66,9 @@ var resolved2 = (model, options) => ({
|
|
|
66
66
|
compaction: options.compaction,
|
|
67
67
|
websocket: options.websocket ?? true
|
|
68
68
|
});
|
|
69
|
-
var layer = Layer.effect(
|
|
70
|
-
const resolver = yield*
|
|
71
|
-
return
|
|
69
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
70
|
+
const resolver = yield* Service63;
|
|
71
|
+
return Service44.of({
|
|
72
72
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
73
73
|
if (!session.model) {
|
|
74
74
|
const resolved = yield* resolver.resolve();
|
|
@@ -86,6 +86,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
86
86
|
})
|
|
87
87
|
});
|
|
88
88
|
}));
|
|
89
|
-
var
|
|
89
|
+
var node47 = makeLocationNode({ service: Service44, layer, deps: [node66] });
|
|
90
90
|
|
|
91
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
91
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service44, resolved2, node47, exports_model };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin42
|
|
3
|
+
} from "./file-mutation-yhgxvs9m.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin34
|
|
6
|
+
} from "./file-mutation-v3wxxz2a.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin32
|
|
9
|
+
} from "./file-mutation-ga7wvnj5.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin33
|
|
12
|
+
} from "./file-mutation-y7kh6pdy.js";
|
|
13
|
+
|
|
14
|
+
// src/plugin/websearch/index.ts
|
|
15
|
+
var WebSearchPlugins2 = [
|
|
16
|
+
Plugin42,
|
|
17
|
+
Plugin34,
|
|
18
|
+
Plugin32,
|
|
19
|
+
Plugin33
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service70,
|
|
3
|
+
node74
|
|
4
|
+
} from "./file-mutation-j0n617hx.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info26,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref2,
|
|
15
|
+
Service: () => Service69,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node73,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info26, Ref as Ref2, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service69 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node73 = LayerNode.unbound(Service69, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service70;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service69.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service69,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node74]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info26, Ref2, response2, Service69, node73, boundNode2, exports_location };
|