@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,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./file-mutation-en8fd2fz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./file-mutation-7r2070ss.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./file-mutation-k0qa26hr.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input4,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin6,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name4 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input4 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin6 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service54;
|
|
53
|
+
const forms = yield* Service77;
|
|
54
|
+
const websearch = yield* Service15;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name4,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input4,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name4,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name4];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name4, NO_RESULTS2, description3, Input4, Plugin6, exports_websearch };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info12,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info12 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
52
52
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
53
53
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Info12, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse5,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse5(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse4(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse5(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service69
|
|
8
|
+
} from "./file-mutation-thm2xcas.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service67
|
|
11
|
+
} from "./file-mutation-zxcqb81j.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./file-mutation-zd95htgz.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service25,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-vvcwpm63.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service54
|
|
22
|
+
} from "./file-mutation-7r2070ss.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service19,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-8bwmgdjs.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-mutation-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input7,
|
|
39
|
+
Output: () => Output3,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin9,
|
|
42
|
+
name: () => name7,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name7 = "patch";
|
|
89
|
+
var Input7 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output3 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin9 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service67;
|
|
112
|
+
const access = yield* Service19;
|
|
113
|
+
const fileMutation = yield* Service25;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
|
+
const location = yield* Service69;
|
|
116
|
+
const permission = yield* Service54;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name7,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input7,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin27 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name7, Input7, Applied2, Output3, toModelContent3, Plugin9, exports_patch };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node84
|
|
5
|
+
} from "./file-mutation-c19c6034.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service12,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer7,
|
|
17
|
+
node: () => node15
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service12 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service79;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service12.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node15 = makeGlobalNode({ service: Service12, layer: layer7, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service12, layer7, node15, exports_sdk };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./file-mutation-thm2xcas.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service69;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service57
|
|
4
|
+
} from "./file-mutation-cj8em3nn.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service60
|
|
8
|
+
} from "./file-mutation-y6b78k7r.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-7w99qc9d.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service66
|
|
14
|
+
} from "./file-mutation-kywk84af.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service54
|
|
18
|
+
} from "./file-mutation-7r2070ss.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service27
|
|
21
|
+
} from "./file-mutation-gyyh633g.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make6
|
|
27
|
+
} from "./file-mutation-b45nt1f1.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
35
|
+
Input: () => Input2,
|
|
36
36
|
Output: () => Output2,
|
|
37
|
-
Plugin: () =>
|
|
37
|
+
Plugin: () => Plugin3,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description2,
|
|
40
|
+
name: () => name2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name2 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input2 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -68,7 +68,7 @@ var Output2 = Schema.Struct({
|
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description2 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,20 +77,20 @@ var description3 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin3 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
83
|
+
const sessions = yield* Service27;
|
|
84
|
+
const jobs = yield* Service66;
|
|
85
|
+
const agents = yield* Service57;
|
|
86
|
+
const config = yield* Service60;
|
|
87
|
+
const permission = yield* Service54;
|
|
88
|
+
const subagents = yield* make6;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name2,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
92
|
+
description: description2,
|
|
93
|
+
input: Input2,
|
|
94
94
|
output: Output2,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
@@ -111,7 +111,7 @@ var Plugin18 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name2,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin18 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID9.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name2];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name2, Input2, Output2, description2, Plugin3, exports_subagent };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service6,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node9
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service6 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node9 = makeLocationNode({
|
|
19
|
+
service: Service6,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service6, node9, bound2, exports_instance2 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options9,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options9 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options9, Spec2, exports_plugin3 };
|