@opencode/core 0.0.0-dev-21670 → 0.0.0-dev-21672
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/chunks/{reference-zm25mbzg.js → models-dev-00j71afz.js} +8 -8
- package/dist/chunks/{reference-034tev2y.js → models-dev-034tev2y.js} +2 -2
- package/dist/chunks/{reference-ngd7ekm8.js → models-dev-07qaj4e5.js} +4 -4
- package/dist/chunks/{reference-8hky2e3x.js → models-dev-0c362mbg.js} +20 -20
- package/dist/chunks/{reference-3wn85t44.js → models-dev-0c38ghcn.js} +43 -43
- package/dist/chunks/{reference-ncg31dbj.js → models-dev-0e0djxfn.js} +10 -10
- package/dist/chunks/{reference-w7zjqt6n.js → models-dev-0q213vj2.js} +4 -4
- package/dist/chunks/{reference-xhjrc3ew.js → models-dev-0qx19ghq.js} +11 -11
- package/dist/chunks/{reference-3k8j9mz0.js → models-dev-0wwx6cs9.js} +32 -32
- package/dist/chunks/{reference-0ndnbbn0.js → models-dev-0yvjzpst.js} +11 -11
- package/dist/chunks/{reference-ym0fp58v.js → models-dev-10adnn5q.js} +12 -12
- package/dist/chunks/{reference-s9hxxgb8.js → models-dev-13xp8kk2.js} +83 -83
- package/dist/chunks/{reference-wjd1k730.js → models-dev-1bmv17xj.js} +9 -9
- package/dist/chunks/{reference-1ep2p91f.js → models-dev-1ep2p91f.js} +2 -2
- package/dist/chunks/{reference-vbf812b9.js → models-dev-1fdfse2g.js} +32 -32
- package/dist/chunks/{reference-w05t22bp.js → models-dev-1j1x4fa8.js} +18 -18
- package/dist/chunks/{reference-1x2knyw4.js → models-dev-1x2knyw4.js} +1 -1
- package/dist/chunks/{reference-5zrxpy3q.js → models-dev-1yq9hg58.js} +5 -5
- package/dist/chunks/{reference-27va4m0r.js → models-dev-21tez1wd.js} +32 -32
- package/dist/chunks/{reference-c3yk3agv.js → models-dev-2ezarshc.js} +46 -46
- package/dist/chunks/{reference-0j8er3xh.js → models-dev-2gz5ch5e.js} +15 -15
- package/dist/chunks/{reference-5djjexeq.js → models-dev-2jxrz3hz.js} +1 -1
- package/dist/chunks/{reference-2z1j29yd.js → models-dev-2z1j29yd.js} +1 -1
- package/dist/chunks/{reference-6ayjbyaf.js → models-dev-37vv98vy.js} +3 -3
- package/dist/chunks/{reference-bqwdyg2t.js → models-dev-39kss88q.js} +9 -9
- package/dist/chunks/{reference-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-p330xe03.js → models-dev-3jxsha8q.js} +12 -12
- package/dist/chunks/{reference-69w1p6yk.js → models-dev-3kw38gkw.js} +24 -24
- package/dist/chunks/{reference-snm52sr2.js → models-dev-3mzn62mq.js} +15 -15
- package/dist/chunks/{reference-tmc7xdjs.js → models-dev-3nnrz6f6.js} +4 -4
- package/dist/chunks/{reference-yx5z65v3.js → models-dev-3ws1kde7.js} +10 -10
- package/dist/chunks/{reference-h5z6qxf3.js → models-dev-3wtngzdm.js} +18 -18
- package/dist/chunks/{reference-q0tfq5t2.js → models-dev-3xxsfpwx.js} +6 -6
- package/dist/chunks/{reference-14vqzes2.js → models-dev-3zz6nw1q.js} +15 -15
- package/dist/chunks/{reference-bjhzkqyk.js → models-dev-42jd4697.js} +4 -4
- package/dist/chunks/{reference-q91r7fzh.js → models-dev-44z8xak8.js} +10 -10
- package/dist/chunks/{reference-sbegqkxp.js → models-dev-4bwthz3m.js} +6 -6
- package/dist/chunks/{reference-m8vnyr1s.js → models-dev-4d8jrjdf.js} +9 -9
- package/dist/chunks/{reference-y3wdcfp2.js → models-dev-4qje77qp.js} +1 -1
- package/dist/chunks/{reference-4v008n1t.js → models-dev-4v008n1t.js} +1 -1
- package/dist/chunks/{reference-kw46yrg2.js → models-dev-4xhfyr6c.js} +27 -27
- package/dist/chunks/{reference-4xvmh7wp.js → models-dev-4xvmh7wp.js} +3 -3
- package/dist/chunks/{reference-b2sv8bpc.js → models-dev-5498z5gx.js} +5 -5
- package/dist/chunks/{reference-2fg4fkaj.js → models-dev-5c570mwr.js} +20 -20
- package/dist/chunks/{reference-9y617mgq.js → models-dev-5jmszjhn.js} +9 -9
- package/dist/chunks/{reference-5m9w47nd.js → models-dev-5m9w47nd.js} +1 -1
- package/dist/chunks/{reference-n8d8y6qz.js → models-dev-5mybh76x.js} +10 -10
- package/dist/chunks/models-dev-5v5zc9vr.js +26 -0
- package/dist/chunks/{reference-jvdzp9ms.js → models-dev-5v78rb4d.js} +4 -4
- package/dist/chunks/{reference-vrjhymqn.js → models-dev-5y057s9p.js} +332 -332
- package/dist/chunks/{reference-azarmemk.js → models-dev-603zd8g4.js} +21 -21
- package/dist/chunks/{reference-dy4pv8et.js → models-dev-604krks2.js} +11 -11
- package/dist/chunks/{reference-v919ewzn.js → models-dev-6bx3cs9p.js} +36 -36
- package/dist/chunks/{reference-s6whas8k.js → models-dev-6dj31fem.js} +12 -12
- package/dist/chunks/{reference-dewmw27y.js → models-dev-6drp02fx.js} +1 -1
- package/dist/chunks/{reference-6esdw8yj.js → models-dev-6esdw8yj.js} +1 -1
- package/dist/chunks/{reference-6pjqjmy2.js → models-dev-6pjqjmy2.js} +1 -1
- package/dist/chunks/{reference-9vyw5bnv.js → models-dev-6yqb3vrw.js} +11 -11
- package/dist/chunks/{reference-2fem2qqn.js → models-dev-6zhajzvs.js} +1 -1
- package/dist/chunks/{reference-xvcq0a37.js → models-dev-721d6ssn.js} +6 -6
- package/dist/chunks/{reference-xmpvkfqb.js → models-dev-723avxzj.js} +5 -5
- package/dist/chunks/{reference-76cb1hcw.js → models-dev-76cb1hcw.js} +1 -1
- package/dist/chunks/{reference-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-q46y00v4.js → models-dev-7cx8wp0a.js} +9 -9
- package/dist/chunks/{reference-r5majfkb.js → models-dev-7k20pdnx.js} +13 -13
- package/dist/chunks/{reference-d8t680bk.js → models-dev-7p0xn48f.js} +2 -2
- package/dist/chunks/{reference-ce5fknq2.js → models-dev-7r0r50e5.js} +5 -5
- package/dist/chunks/{reference-c7s7jw20.js → models-dev-7sn46knd.js} +30 -30
- package/dist/chunks/{reference-7w2ypzdf.js → models-dev-7w2ypzdf.js} +1 -1
- package/dist/chunks/{reference-pscgdtph.js → models-dev-7xqxpfvw.js} +11 -11
- package/dist/chunks/{reference-108gkaby.js → models-dev-7z0v7eda.js} +13 -13
- package/dist/chunks/{reference-c8819f4b.js → models-dev-80c2d82y.js} +23 -23
- package/dist/chunks/{reference-jq4rj68g.js → models-dev-86b6ptkh.js} +14 -14
- package/dist/chunks/{reference-1hyje1p9.js → models-dev-88aaabm6.js} +26 -26
- package/dist/chunks/{reference-acdmrrd1.js → models-dev-88eag83w.js} +5 -5
- package/dist/chunks/{reference-ztj6qd7j.js → models-dev-8gz3wb1q.js} +32 -32
- package/dist/chunks/{reference-vq537ftf.js → models-dev-8qwc5dnh.js} +17 -17
- package/dist/chunks/{reference-xm8ddap8.js → models-dev-8t90x1ww.js} +9 -9
- package/dist/chunks/{reference-8wtp7s3z.js → models-dev-8wtp7s3z.js} +1 -1
- package/dist/chunks/{reference-91rj84md.js → models-dev-91rj84md.js} +1 -1
- package/dist/chunks/{reference-9yyv8yy4.js → models-dev-91sspt0w.js} +19 -19
- package/dist/chunks/{reference-v8e5qm2c.js → models-dev-970n3xgf.js} +9 -9
- package/dist/chunks/{reference-tnqzh63d.js → models-dev-997dsrmm.js} +2 -2
- package/dist/chunks/{reference-998yhzzq.js → models-dev-998yhzzq.js} +3 -3
- package/dist/chunks/{reference-953xbrr3.js → models-dev-9b28cy4d.js} +5 -5
- package/dist/chunks/{reference-nsgvs482.js → models-dev-9dmmv9vc.js} +14 -14
- package/dist/chunks/{reference-n3axp0yc.js → models-dev-9kbek825.js} +16 -16
- package/dist/chunks/{reference-jneg3k74.js → models-dev-9p9xqj3m.js} +6 -6
- package/dist/chunks/{reference-cmb5kt6z.js → models-dev-9x9zyc4q.js} +35 -35
- package/dist/chunks/{reference-mpzxhqjk.js → models-dev-9xt2sp81.js} +16 -16
- package/dist/chunks/{reference-54gv86a9.js → models-dev-9z2ft0m6.js} +8 -8
- package/dist/chunks/{reference-ztd79bjn.js → models-dev-a4t01zf9.js} +19 -19
- package/dist/chunks/{reference-ayjs7tqn.js → models-dev-ayjs7tqn.js} +2 -2
- package/dist/chunks/{reference-bhkt8v4f.js → models-dev-azcpjphw.js} +19 -19
- package/dist/chunks/{reference-b0mv4wxm.js → models-dev-b0mv4wxm.js} +2 -2
- package/dist/chunks/{reference-b6vsg801.js → models-dev-b6vsg801.js} +2 -2
- package/dist/chunks/{reference-8p8nexw9.js → models-dev-babfezga.js} +11 -11
- package/dist/chunks/{reference-d8p3t516.js → models-dev-bex4xsk5.js} +4 -4
- package/dist/chunks/{reference-jx68n2v7.js → models-dev-bjbxsavb.js} +4 -4
- package/dist/chunks/{reference-p8x9nhrm.js → models-dev-bp74npqy.js} +9 -9
- package/dist/chunks/{reference-0f0dnca3.js → models-dev-brb1b7xb.js} +18 -18
- package/dist/chunks/{reference-xd9cc171.js → models-dev-bstexjd6.js} +5 -5
- package/dist/chunks/{reference-4ezxaq78.js → models-dev-bt6gheby.js} +18 -18
- package/dist/chunks/{reference-0aabztd5.js → models-dev-bx077b5x.js} +28 -28
- package/dist/chunks/{reference-sfgqhxwc.js → models-dev-bzfaamf2.js} +2 -2
- package/dist/chunks/{reference-hxs3jcbh.js → models-dev-c11reyah.js} +3 -3
- package/dist/chunks/{reference-dqgvvwe0.js → models-dev-c3cfh5w6.js} +9 -9
- package/dist/chunks/{reference-2hpggya2.js → models-dev-c681qaxm.js} +1 -1
- package/dist/chunks/{reference-6pe7vn7p.js → models-dev-c6ctsthb.js} +8 -8
- package/dist/chunks/{reference-c9t2ty9q.js → models-dev-c9t2ty9q.js} +1 -1
- package/dist/chunks/{reference-cmj7s95h.js → models-dev-ccv8c4s5.js} +62 -62
- package/dist/chunks/{reference-f9sbv1za.js → models-dev-cgw1k5sv.js} +45 -45
- package/dist/chunks/{reference-zv31yxkj.js → models-dev-channxys.js} +3 -3
- package/dist/chunks/{reference-2nzqa2tq.js → models-dev-cm884v9c.js} +28 -28
- package/dist/chunks/{reference-kkntnx2q.js → models-dev-cqn3v7mm.js} +5 -5
- package/dist/chunks/{reference-39r9rzhd.js → models-dev-cw8fgyw2.js} +4 -4
- package/dist/chunks/{reference-6perv44c.js → models-dev-cwjanqmp.js} +11 -11
- package/dist/chunks/{reference-d2dx6a7h.js → models-dev-d2dx6a7h.js} +1 -1
- package/dist/chunks/{reference-d4v9tmah.js → models-dev-d4v9tmah.js} +2 -2
- package/dist/chunks/{reference-zzh4dnpm.js → models-dev-d4yp7v9m.js} +30 -30
- package/dist/chunks/models-dev-d77dj7jw.js +18 -0
- package/dist/chunks/{reference-d8qd4w10.js → models-dev-d8qd4w10.js} +3 -3
- package/dist/chunks/{reference-kg4y9gc0.js → models-dev-dcjnd4m8.js} +32 -32
- package/dist/chunks/{reference-yhkv4e77.js → models-dev-dcky058q.js} +13 -13
- package/dist/chunks/{reference-dh62xe4r.js → models-dev-dh62xe4r.js} +1 -1
- package/dist/chunks/{reference-0m83bapc.js → models-dev-dr3a7210.js} +2 -2
- package/dist/chunks/{reference-avb4hb8j.js → models-dev-dt583h2d.js} +27 -27
- package/dist/chunks/{reference-gbmf93tw.js → models-dev-dy2h6ad1.js} +11 -11
- package/dist/chunks/{reference-s04fhkcw.js → models-dev-dyh2tc83.js} +3 -3
- package/dist/chunks/{reference-k3562rys.js → models-dev-e5sekw5h.js} +10 -10
- package/dist/chunks/{reference-e834z07m.js → models-dev-e834z07m.js} +1 -1
- package/dist/chunks/{reference-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-qg6w8app.js → models-dev-et0r2xd7.js} +13 -13
- package/dist/chunks/{reference-x7sq7g0m.js → models-dev-f08n38td.js} +23 -23
- package/dist/chunks/{reference-gf5n06h2.js → models-dev-f2dpdkzd.js} +18 -18
- package/dist/chunks/{reference-9v02bs0k.js → models-dev-fa2qvhbb.js} +5 -5
- package/dist/chunks/{reference-fffv3p7h.js → models-dev-fffv3p7h.js} +1 -1
- package/dist/chunks/{reference-wmwmhrgq.js → models-dev-fgabcymg.js} +10 -10
- package/dist/chunks/{reference-ygvq11bn.js → models-dev-fge0cnxa.js} +32 -32
- package/dist/chunks/{reference-tarnqw0m.js → models-dev-fnbr6nw2.js} +18 -18
- package/dist/chunks/{reference-233jjx4c.js → models-dev-fr0ct2rt.js} +17 -17
- package/dist/chunks/{reference-wr3re1en.js → models-dev-fznmdakp.js} +4 -4
- package/dist/chunks/{reference-g5h9c0rr.js → models-dev-g5h9c0rr.js} +2 -2
- package/dist/chunks/{reference-eqmd2tfz.js → models-dev-g7esga4v.js} +4 -4
- package/dist/chunks/{reference-2f1cs0mb.js → models-dev-genmt75h.js} +2 -2
- package/dist/chunks/{reference-dgc6zgst.js → models-dev-gh6j4ke9.js} +5 -5
- package/dist/chunks/{reference-hjzm8qgk.js → models-dev-ghczf8tc.js} +36 -36
- package/dist/chunks/{reference-y5mjzf8n.js → models-dev-gjfbt33p.js} +20 -20
- package/dist/chunks/{reference-2n0ty02m.js → models-dev-h0m4fzk5.js} +41 -41
- package/dist/chunks/{reference-xpve62cf.js → models-dev-h0rg6s60.js} +4 -4
- package/dist/chunks/{reference-kcty1ace.js → models-dev-h8tnqdxv.js} +15 -15
- package/dist/chunks/{reference-zkeee37c.js → models-dev-ha2v1z14.js} +24 -24
- package/dist/chunks/{reference-pvz0z9yn.js → models-dev-hf1e99b5.js} +30 -30
- package/dist/chunks/{reference-ghb7106v.js → models-dev-hkaezbcy.js} +19 -19
- package/dist/chunks/{reference-sv2aw4yq.js → models-dev-hkdkjvbm.js} +5 -5
- package/dist/chunks/{reference-v3htpbcn.js → models-dev-j0p7c7tg.js} +10 -10
- package/dist/chunks/{reference-j113cymg.js → models-dev-j113cymg.js} +1 -1
- package/dist/chunks/{reference-xapnwa6c.js → models-dev-j32x6r6g.js} +15 -15
- package/dist/chunks/{reference-1yzxt8mn.js → models-dev-j6q1v0mm.js} +11 -11
- package/dist/chunks/{reference-eq9cyptm.js → models-dev-jb6x488n.js} +40 -40
- package/dist/chunks/{reference-4arsphjq.js → models-dev-jerkzzfx.js} +51 -51
- package/dist/chunks/{reference-867cczcy.js → models-dev-jrq7bcnr.js} +30 -30
- package/dist/chunks/{reference-g5j8m9ve.js → models-dev-js1chbgy.js} +16 -16
- package/dist/chunks/{reference-4shcznxh.js → models-dev-jzjradmt.js} +16 -16
- package/dist/chunks/{reference-snm2qmq7.js → models-dev-k45syvet.js} +15 -15
- package/dist/chunks/{reference-n49wygsy.js → models-dev-k605x2ym.js} +7 -7
- package/dist/chunks/{reference-ry7kp2db.js → models-dev-k732j073.js} +8 -8
- package/dist/chunks/{reference-k814nvkf.js → models-dev-k814nvkf.js} +1 -1
- package/dist/chunks/{reference-954vrfjz.js → models-dev-kf16exft.js} +11 -11
- package/dist/chunks/{reference-dt1dewz5.js → models-dev-kq2kj0cs.js} +12 -12
- package/dist/chunks/{reference-m1714858.js → models-dev-m1714858.js} +1 -1
- package/dist/chunks/{reference-31wms35x.js → models-dev-m7ee3x5c.js} +8 -8
- package/dist/chunks/{reference-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-maspj1v3.js → models-dev-maspj1v3.js} +1 -1
- package/dist/chunks/{reference-n9e2wk5v.js → models-dev-mpftjjzm.js} +11 -11
- package/dist/chunks/{reference-fgak986r.js → models-dev-mqry7vh6.js} +24 -24
- package/dist/chunks/{reference-w0jjrdy3.js → models-dev-msp8203r.js} +11 -11
- package/dist/chunks/{reference-wskggc81.js → models-dev-mtdrv22n.js} +6 -6
- package/dist/chunks/{reference-1njtx4es.js → models-dev-mtpeagzc.js} +3 -3
- package/dist/chunks/{reference-n0p0277s.js → models-dev-n0p0277s.js} +1 -1
- package/dist/chunks/{reference-xmgbg1w1.js → models-dev-n473ggnb.js} +24 -24
- package/dist/chunks/{reference-307hjk8t.js → models-dev-n5x1qnnp.js} +13 -13
- package/dist/chunks/{reference-x3mp4vcj.js → models-dev-n6v2b7cw.js} +5 -5
- package/dist/chunks/{reference-nah043kf.js → models-dev-nah043kf.js} +1 -1
- package/dist/chunks/{reference-ma8ws105.js → models-dev-njkxgtzr.js} +15 -15
- package/dist/chunks/{reference-xffzfxwd.js → models-dev-nkr5r85d.js} +2 -2
- package/dist/chunks/{reference-pfg6nwxg.js → models-dev-ntwtearv.js} +26 -26
- package/dist/chunks/{reference-scpsh37c.js → models-dev-nvjt6hcq.js} +15 -15
- package/dist/chunks/{reference-6gym6y7m.js → models-dev-nwztx11m.js} +25 -25
- package/dist/chunks/{reference-svjkc6ey.js → models-dev-nxd0c77e.js} +24 -24
- package/dist/chunks/{reference-vry4t0gh.js → models-dev-nxda9c92.js} +4 -4
- package/dist/chunks/{reference-jh20twgm.js → models-dev-nys4946a.js} +7 -7
- package/dist/chunks/{reference-p015t6z3.js → models-dev-p015t6z3.js} +2 -2
- package/dist/chunks/{reference-8taff695.js → models-dev-pdx11bkf.js} +16 -16
- package/dist/chunks/{reference-g04rf8w6.js → models-dev-pefw7vhy.js} +5 -5
- package/dist/chunks/{reference-zvk4dyfv.js → models-dev-pg9pm64p.js} +12 -12
- package/dist/chunks/{reference-pknna89w.js → models-dev-pknna89w.js} +1 -1
- package/dist/chunks/{reference-p6q4m3qk.js → models-dev-ptkha4df.js} +46 -46
- package/dist/chunks/{reference-7yj30c8s.js → models-dev-q0b0p22k.js} +15 -15
- package/dist/chunks/{reference-3x8kzqev.js → models-dev-q239wykz.js} +19 -19
- package/dist/chunks/{reference-cqcd4edx.js → models-dev-q400g5tq.js} +15 -15
- package/dist/chunks/{reference-xmry5mjf.js → models-dev-q6sdbmza.js} +15 -15
- package/dist/chunks/{reference-bceb57s2.js → models-dev-q906rdr4.js} +14 -14
- package/dist/chunks/{reference-qcypp6s5.js → models-dev-qcypp6s5.js} +2 -2
- package/dist/chunks/{reference-2t8maz45.js → models-dev-qe73a3ee.js} +28 -28
- package/dist/chunks/{reference-qjgzc4b4.js → models-dev-qjgzc4b4.js} +1 -1
- package/dist/chunks/{reference-gxjyhf1s.js → models-dev-qp9ykck9.js} +50 -50
- package/dist/chunks/{reference-2jq4ff38.js → models-dev-qqg9c0kv.js} +4 -4
- package/dist/chunks/{reference-ymb3jxsn.js → models-dev-qzt8vt06.js} +23 -23
- package/dist/chunks/{reference-aygxzdnw.js → models-dev-r00hhtph.js} +27 -27
- package/dist/chunks/{reference-r0yr0wbs.js → models-dev-r0yr0wbs.js} +1 -1
- package/dist/chunks/{reference-mg6b5d3z.js → models-dev-r36exhg8.js} +13 -13
- package/dist/chunks/{reference-6sw2gn8c.js → models-dev-r3gymk1a.js} +41 -41
- package/dist/chunks/{reference-5enarcya.js → models-dev-r41sfy63.js} +9 -9
- package/dist/chunks/{reference-g9chkspz.js → models-dev-r5sx5k8r.js} +15 -15
- package/dist/chunks/{reference-j1kmhe03.js → models-dev-r6zya5yt.js} +33 -33
- package/dist/chunks/{reference-3kfn2j5q.js → models-dev-r86zmz9e.js} +8 -8
- package/dist/chunks/{reference-rb9dy4dg.js → models-dev-rb9dy4dg.js} +1 -1
- package/dist/chunks/{reference-2rd3d0hp.js → models-dev-rf5a6b4e.js} +9 -9
- package/dist/chunks/{reference-7bnde8q6.js → models-dev-rhf8x4z4.js} +16 -16
- package/dist/chunks/{reference-jcqm84fr.js → models-dev-rmt6m6se.js} +9 -9
- package/dist/chunks/{reference-sy87a8wb.js → models-dev-rsb77j2b.js} +32 -32
- package/dist/chunks/{reference-rt5dr6hb.js → models-dev-rt5dr6hb.js} +1 -1
- package/dist/chunks/{reference-n61v90z4.js → models-dev-rwf3qv8n.js} +44 -44
- package/dist/chunks/{reference-297fdtb1.js → models-dev-s39rexwj.js} +11 -11
- package/dist/chunks/{reference-armekrg6.js → models-dev-sk6vvdwr.js} +19 -19
- package/dist/chunks/{reference-v0aazhy0.js → models-dev-sn7xdfdt.js} +11 -11
- package/dist/chunks/{reference-z9y71txf.js → models-dev-snfgt9zc.js} +3 -3
- package/dist/chunks/{reference-sqjzf8x2.js → models-dev-sqjzf8x2.js} +1 -1
- package/dist/chunks/{reference-st4p3zbh.js → models-dev-sryswszh.js} +35 -35
- package/dist/chunks/{reference-yrj74tq8.js → models-dev-ssgew5gp.js} +14 -14
- package/dist/chunks/{reference-t1s8rtrn.js → models-dev-st9ms96z.js} +15 -15
- package/dist/chunks/{reference-0dnn63dc.js → models-dev-szmpxakz.js} +19 -19
- package/dist/chunks/{reference-4svb63hy.js → models-dev-t5p2hefy.js} +33 -33
- package/dist/chunks/{reference-tasvem1v.js → models-dev-tasvem1v.js} +3 -3
- package/dist/chunks/{reference-tczq8hjw.js → models-dev-tczq8hjw.js} +1 -1
- package/dist/chunks/{reference-nazbq7w0.js → models-dev-tenyxeq0.js} +11 -11
- package/dist/chunks/{reference-ydsespw1.js → models-dev-tg1vr1qt.js} +8 -8
- package/dist/chunks/models-dev-tgy6ybx3.js +257 -0
- package/dist/chunks/{reference-yd0qn0bb.js → models-dev-tkj08dsk.js} +23 -23
- package/dist/chunks/{reference-5r9a3vh3.js → models-dev-tm0gta7w.js} +28 -28
- package/dist/chunks/{reference-tw8zr1ps.js → models-dev-tw8zr1ps.js} +1 -1
- package/dist/chunks/{reference-dcqpnb0y.js → models-dev-twnmjdm4.js} +7 -7
- package/dist/chunks/{reference-twv2r8f4.js → models-dev-twv2r8f4.js} +2 -2
- package/dist/chunks/{reference-v2r1d0zg.js → models-dev-v2r1d0zg.js} +1 -1
- package/dist/chunks/{reference-gfpxj5hf.js → models-dev-v368w2c8.js} +8 -8
- package/dist/chunks/{reference-61g7nd3s.js → models-dev-v81b46rr.js} +10 -10
- package/dist/chunks/{reference-4kfy9c2m.js → models-dev-v9b44qx7.js} +20 -20
- package/dist/chunks/{reference-8cj6s5zj.js → models-dev-vadw58me.js} +22 -22
- package/dist/chunks/{reference-vd3b3yk9.js → models-dev-vd3b3yk9.js} +1 -1
- package/dist/chunks/{reference-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-9fq5cvaf.js → models-dev-vjs5md9z.js} +35 -35
- package/dist/chunks/{reference-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-a6p3qmva.js → models-dev-w552pve9.js} +87 -87
- package/dist/chunks/{reference-wakvkjy4.js → models-dev-wakvkjy4.js} +1 -1
- package/dist/chunks/{reference-wd87259q.js → models-dev-wd87259q.js} +1 -1
- package/dist/chunks/{reference-f8vd2a9b.js → models-dev-wfe16x56.js} +6 -6
- package/dist/chunks/{reference-rw71ew34.js → models-dev-wvxsermt.js} +4 -4
- package/dist/chunks/{reference-whkc4da7.js → models-dev-wwdney99.js} +4 -4
- package/dist/chunks/{reference-q0wzr35k.js → models-dev-xksp0ar2.js} +23 -23
- package/dist/chunks/{reference-y45mmnaw.js → models-dev-xmq3ht5y.js} +14 -14
- package/dist/chunks/{reference-8k73trgp.js → models-dev-xnpqwph5.js} +16 -16
- package/dist/chunks/{reference-7vw4nys1.js → models-dev-y09thtp3.js} +4 -4
- package/dist/chunks/{reference-0r8en8zz.js → models-dev-y0r1wt5k.js} +7 -7
- package/dist/chunks/{reference-v75htaq3.js → models-dev-y31s63n5.js} +3 -3
- package/dist/chunks/{reference-yb20nhc3.js → models-dev-yb20nhc3.js} +1 -1
- package/dist/chunks/{reference-9szkry8c.js → models-dev-yb8pzg9e.js} +7 -7
- package/dist/chunks/{reference-0jz5fbss.js → models-dev-yc5hzz5h.js} +17 -17
- package/dist/chunks/{reference-n4fp6f8d.js → models-dev-ye8c8a77.js} +6 -6
- package/dist/chunks/{reference-2ww2ff7e.js → models-dev-yk2jq8sz.js} +19 -19
- package/dist/chunks/{reference-6nnfvszr.js → models-dev-yq981ng5.js} +21 -21
- package/dist/chunks/{reference-vjtgj0yq.js → models-dev-ys64c0en.js} +2 -2
- package/dist/chunks/{reference-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-z38nccrw.js → models-dev-z38nccrw.js} +1 -1
- package/dist/chunks/{reference-y5zyg2mm.js → models-dev-z4emg7hy.js} +162 -162
- package/dist/chunks/{reference-t7w9mbga.js → models-dev-z9jt0t62.js} +1 -1
- package/dist/chunks/{reference-f67dkjq4.js → models-dev-zcpd9pa2.js} +21 -21
- package/dist/chunks/{reference-wdn14rh7.js → models-dev-zdczhcc3.js} +20 -20
- package/dist/chunks/{reference-zkg84ctx.js → models-dev-zkg84ctx.js} +1 -1
- package/dist/chunks/{reference-1711wf45.js → models-dev-znha1335.js} +12 -12
- package/dist/chunks/{reference-kndrgbcf.js → models-dev-zv4jb2b2.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +77 -77
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +94 -94
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- 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 +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/reference-07cvc9wn.js +0 -257
- package/dist/chunks/reference-a610t88q.js +0 -18
- package/dist/chunks/reference-ffm6r77t.js +0 -26
- /package/dist/chunks/{reference-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2bv980vf.js → models-dev-2bv980vf.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → models-dev-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → models-dev-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5fjb7ams.js → models-dev-5fjb7ams.js} +0 -0
- /package/dist/chunks/{reference-5qd3pb7m.js → models-dev-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → models-dev-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → models-dev-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → models-dev-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-84wd9syh.js → models-dev-84wd9syh.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a058387c.js → models-dev-a058387c.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → models-dev-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → models-dev-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → models-dev-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hcxmzztb.js → models-dev-hcxmzztb.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → models-dev-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jze0r7bz.js → models-dev-jze0r7bz.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-m18g726c.js → models-dev-m18g726c.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-pkyv6v7h.js → models-dev-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-ve7vex1e.js → models-dev-ve7vex1e.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wjj7prxr.js → models-dev-wjj7prxr.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → models-dev-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service8,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service8.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node9 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service8, node9, exports_discovery };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service84,
|
|
9
|
+
node88
|
|
10
|
+
} from "./models-dev-znha1335.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service82,
|
|
13
|
+
node86
|
|
14
|
+
} from "./models-dev-pdx11bkf.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./models-dev-vd3b3yk9.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID7,
|
|
27
|
+
Service: () => Service65,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node68,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID7 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service65 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service84;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service82;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID7.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
141
141
|
for (const [file, snapshot] of input.files) {
|
|
142
142
|
const absolute = path.resolve(worktree, file);
|
|
143
143
|
if (!FSUtil.contains(worktree, absolute))
|
|
144
|
-
return yield* new
|
|
144
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
145
145
|
files.set(file, TreeID2.make(snapshot));
|
|
146
146
|
}
|
|
147
147
|
return files;
|
|
148
148
|
});
|
|
149
149
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
150
150
|
if (!enabled())
|
|
151
|
-
return yield* new
|
|
151
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service65.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node68 = makeLocationNode({
|
|
158
|
+
service: Service65,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node,
|
|
160
|
+
deps: [FSUtil.node, node88, Global.node, node86]
|
|
161
161
|
});
|
|
162
|
-
var noopLayer3 = Layer.succeed(
|
|
162
|
+
var noopLayer3 = Layer.succeed(Service65, Service65.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -168,13 +168,13 @@ var noopLayer3 = Layer.succeed(Service45, Service45.of({
|
|
|
168
168
|
restore: () => Effect.void
|
|
169
169
|
}));
|
|
170
170
|
function failure(operation, cause) {
|
|
171
|
-
if (cause instanceof
|
|
171
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
172
172
|
return cause;
|
|
173
|
-
return new
|
|
173
|
+
return new Error5({
|
|
174
174
|
operation,
|
|
175
175
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
176
176
|
cause
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID7, Error5, Service65, node68, noopLayer3, exports_snapshot2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service59
|
|
7
|
+
} from "./models-dev-2ezarshc.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-zkg84ctx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service63
|
|
13
|
+
} from "./models-dev-ha2v1z14.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service66
|
|
16
|
+
} from "./models-dev-9kbek825.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service76
|
|
19
|
+
} from "./models-dev-h0m4fzk5.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service15,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./models-dev-bt6gheby.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./models-dev-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service57,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./models-dev-sk6vvdwr.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError7,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service55
|
|
37
|
+
} from "./models-dev-0c38ghcn.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service25
|
|
40
|
+
} from "./models-dev-13xp8kk2.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./models-dev-07qaj4e5.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin3,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name3 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input3 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin3 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service25;
|
|
124
|
+
const jobs = yield* Service66;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service63;
|
|
127
|
+
const access = yield* Service15;
|
|
128
|
+
const shell = yield* Service55;
|
|
129
|
+
const shellSelect = yield* Service57;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service76;
|
|
132
|
+
const config = yield* Service59;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin47 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name3,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin47 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name3,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input3,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name3,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name3];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin3, exports_shell };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service59
|
|
4
|
+
} from "./models-dev-2ezarshc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service10
|
|
7
|
+
} from "./models-dev-jb6x488n.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/compaction.ts
|
|
16
16
|
var exports_compaction = {};
|
|
17
17
|
__export(exports_compaction, {
|
|
18
18
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin44
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin44 = define({
|
|
24
24
|
id: "opencode.config.compaction",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const compaction = yield*
|
|
26
|
+
const config = yield* Service59;
|
|
27
|
+
const compaction = yield* Service10;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
29
29
|
yield* compaction.transform((editor) => {
|
|
30
30
|
editor.configure({ precompute: latest2(loaded.entries, "experimental")?.background_compaction === true });
|
|
@@ -41,4 +41,4 @@ var Plugin12 = define({
|
|
|
41
41
|
})
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { Plugin44, exports_compaction };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options6,
|
|
15
|
+
Service: () => Service57,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured7,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name16,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node59,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options6 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service57 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve4(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service57.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured7(options) {
|
|
210
|
+
return makeLocationNode({ service: Service57, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node59 = configured7();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options6, Service57, gitbash2, name16, login2, ps2, args2, environment2, resolve3, list4, configured7, node59, exports_select };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service59
|
|
4
|
+
} from "./models-dev-2ezarshc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./models-dev-msp8203r.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin50
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin50 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service59;
|
|
27
|
+
const output = yield* Service58;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin14 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin50, exports_tool_output };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-dyh2tc83.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-37vv98vy.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|