@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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-5v78rb4d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service71,
|
|
9
|
+
node75
|
|
10
|
+
} from "./models-dev-hf1e99b5.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./models-dev-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./models-dev-42jd4697.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./models-dev-qzt8vt06.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event15,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID10,
|
|
41
|
+
Info: () => Info20,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service70,
|
|
49
|
+
node: () => node74
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event15 } from "@opencode/schema/integration";
|
|
72
|
+
var ID10 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info20 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID10,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service70 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service71;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info20.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service70.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key3.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { metadata: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node74 = makeLocationNode({
|
|
633
|
+
service: Service70,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node75, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info20, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service70, node74, exports_integration, Event15 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID7,
|
|
6
|
+
Service65
|
|
7
|
+
} from "./models-dev-rsb77j2b.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-mtpeagzc.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./models-dev-y31s63n5.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./models-dev-998yhzzq.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service65;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID7.make(from),
|
|
91
|
+
to: ID7.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service75,
|
|
3
|
+
node79,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./models-dev-970n3xgf.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service42,
|
|
8
|
+
node44
|
|
9
|
+
} from "./models-dev-4bwthz3m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service73
|
|
12
|
+
} from "./models-dev-t5p2hefy.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-tgy6ybx3.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service75, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service73);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node44.replace(Layer.succeed(Service42, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node79.replace(Layer.succeed(Service75, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-9p9xqj3m.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-h0m4fzk5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service34,
|
|
12
|
+
node37
|
|
13
|
+
} from "./models-dev-cgw1k5sv.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./models-dev-9x9zyc4q.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions3 = {};
|
|
24
|
+
__export(exports_instructions3, {
|
|
25
|
+
McpInstructions: () => exports_instructions3,
|
|
26
|
+
Service: () => Service31,
|
|
27
|
+
layer: () => layer13,
|
|
28
|
+
node: () => node34
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -65,14 +65,14 @@ var update = (previous, current) => {
|
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
class
|
|
68
|
+
class Service31 extends Context.Service()("@opencode/McpInstructions") {
|
|
69
69
|
}
|
|
70
|
-
var
|
|
71
|
-
const mcp = yield*
|
|
72
|
-
return
|
|
70
|
+
var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
71
|
+
const mcp = yield* Service34;
|
|
72
|
+
return Service31.of({
|
|
73
73
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
74
74
|
const source = (value) => make21({
|
|
75
|
-
key:
|
|
75
|
+
key: Key4.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
78
78
|
render: {
|
|
@@ -90,7 +90,7 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node34 = makeLocationNode({ service: Service31, layer: layer13, deps: [node37] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service31, layer13, node34, exports_instructions3 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-5v78rb4d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./models-dev-pdx11bkf.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service34
|
|
10
|
+
} from "./models-dev-cgw1k5sv.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin19
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin19 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service82;
|
|
200
|
+
const mcp = yield* Service34;
|
|
201
201
|
const bus = yield* Service85;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin19, exports_command };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
Service72
|
|
4
|
-
} from "./reference-0dnn63dc.js";
|
|
5
|
-
import {
|
|
2
|
+
ID16,
|
|
6
3
|
Service81
|
|
7
|
-
} from "./
|
|
4
|
+
} from "./models-dev-szmpxakz.js";
|
|
5
|
+
import {
|
|
6
|
+
Service82
|
|
7
|
+
} from "./models-dev-pdx11bkf.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service59
|
|
10
|
+
} from "./models-dev-2ezarshc.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service57,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./models-dev-sk6vvdwr.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service25
|
|
17
|
+
} from "./models-dev-13xp8kk2.js";
|
|
18
18
|
import {
|
|
19
19
|
Service11
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./models-dev-6yqb3vrw.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./models-dev-e834z07m.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin34
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -39,10 +39,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
39
39
|
import { ChildProcess } from "effect/process";
|
|
40
40
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
41
41
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
42
|
-
var
|
|
42
|
+
var Plugin34 = define({
|
|
43
43
|
id: "opencode.config.command",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
|
-
const config = yield*
|
|
45
|
+
const config = yield* Service59;
|
|
46
46
|
const fs = yield* FSUtil.Service;
|
|
47
47
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
48
48
|
if (entry.type === "document")
|
|
@@ -52,11 +52,11 @@ var Plugin9 = define({
|
|
|
52
52
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
53
53
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
54
54
|
});
|
|
55
|
-
const location = yield*
|
|
55
|
+
const location = yield* Service82;
|
|
56
56
|
const processes = yield* AppProcess.Service;
|
|
57
|
-
const shell = yield*
|
|
58
|
-
const sessions = yield*
|
|
59
|
-
const agents = yield*
|
|
57
|
+
const shell = yield* Service57;
|
|
58
|
+
const sessions = yield* Service25;
|
|
59
|
+
const agents = yield* Service81;
|
|
60
60
|
const subagents = yield* Service11;
|
|
61
61
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
62
62
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
@@ -78,7 +78,7 @@ var Plugin9 = define({
|
|
|
78
78
|
name,
|
|
79
79
|
description: command.description,
|
|
80
80
|
execute: (input) => Effect.gen(function* () {
|
|
81
|
-
const agent = command.agent === undefined ? undefined :
|
|
81
|
+
const agent = command.agent === undefined ? undefined : ID16.make(command.agent);
|
|
82
82
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
83
83
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
84
84
|
id: command.model.model,
|
|
@@ -202,4 +202,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
202
202
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
203
203
|
var shellRegex = /!`([^`]+)`/g;
|
|
204
204
|
|
|
205
|
-
export {
|
|
205
|
+
export { Plugin34, exports_command2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-r41sfy63.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin22,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
13
|
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin22 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { endpoint2,
|
|
83
|
+
export { endpoint2, Plugin22, exports_exa };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-5v78rb4d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node62
|
|
7
|
+
} from "./models-dev-brb1b7xb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service5,
|
|
10
|
+
node6
|
|
11
|
+
} from "./models-dev-4xhfyr6c.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service72
|
|
14
|
+
} from "./models-dev-v81b46rr.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service27
|
|
17
|
+
} from "./models-dev-d77dj7jw.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
node21,
|
|
20
20
|
ID3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./models-dev-3wtngzdm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service4,
|
|
24
|
+
node5
|
|
25
|
+
} from "./models-dev-tg1vr1qt.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./models-dev-5y057s9p.js";
|
|
31
31
|
import {
|
|
32
32
|
make3,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./models-dev-tenyxeq0.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
Service4,
|
|
38
|
-
node5
|
|
39
|
-
} from "./reference-yx5z65v3.js";
|
|
40
|
-
import {
|
|
41
37
|
Service3,
|
|
42
38
|
node4
|
|
43
|
-
} from "./
|
|
39
|
+
} from "./models-dev-3ws1kde7.js";
|
|
40
|
+
import {
|
|
41
|
+
Service2,
|
|
42
|
+
node3
|
|
43
|
+
} from "./models-dev-39kss88q.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
139
|
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
140
|
+
const managed = yield* Service72;
|
|
141
|
+
const registry = yield* Service27;
|
|
142
|
+
const sdk = yield* Service3;
|
|
143
|
+
const instance = yield* Service4;
|
|
144
|
+
const sources = yield* Service5;
|
|
145
145
|
const modules = yield* make3();
|
|
146
146
|
const bus = yield* Service85;
|
|
147
|
-
const updates = yield*
|
|
147
|
+
const updates = yield* Service2;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
150
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -220,14 +220,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
223
|
+
node21,
|
|
224
|
+
node4,
|
|
224
225
|
node5,
|
|
225
226
|
node6,
|
|
226
227
|
node3,
|
|
227
|
-
node4,
|
|
228
228
|
node89,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node62,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|