@opencode/core 0.0.0-dev-21506 → 0.0.0-dev-21517
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +5 -5
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-tk9ew89t.js → location-activity-00x4qneg.js} +8 -8
- package/dist/chunks/{model-g3vtahr4.js → location-activity-01kf8yhn.js} +19 -19
- package/dist/chunks/{model-02mvvr71.js → location-activity-02mvvr71.js} +3 -3
- package/dist/chunks/{model-034tev2y.js → location-activity-034tev2y.js} +2 -2
- package/dist/chunks/{model-7x77f1v0.js → location-activity-05w7bww5.js} +25 -25
- package/dist/chunks/{model-xyx6322v.js → location-activity-06f81zaa.js} +47 -47
- package/dist/chunks/{model-qwpgb8t5.js → location-activity-08bp9gk4.js} +12 -12
- package/dist/chunks/{model-bysh3wsf.js → location-activity-0bmgx1nz.js} +14 -14
- package/dist/chunks/{model-mzeqcj4y.js → location-activity-0h785e3w.js} +5 -5
- package/dist/chunks/{model-arzs74za.js → location-activity-0mwht5j2.js} +6 -6
- package/dist/chunks/{model-r09mn59h.js → location-activity-0qmzksdr.js} +52 -52
- package/dist/chunks/{model-wpmx8zxk.js → location-activity-0tbd1f4q.js} +24 -24
- package/dist/chunks/{model-kektvt0t.js → location-activity-0tf9ya7d.js} +9 -9
- package/dist/chunks/{model-v4fy3qk9.js → location-activity-0tfy61zw.js} +32 -32
- package/dist/chunks/{model-0vbcp93d.js → location-activity-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-h53p44pz.js → location-activity-0zkz45z3.js} +14 -14
- package/dist/chunks/{model-nb2z81by.js → location-activity-13cf78z7.js} +33 -33
- package/dist/chunks/{model-e89rsxqp.js → location-activity-14y67es9.js} +11 -11
- package/dist/chunks/{model-yftbr5kk.js → location-activity-17jwbhm2.js} +26 -26
- package/dist/chunks/{model-jqyzchqw.js → location-activity-1a140ev3.js} +6 -6
- package/dist/chunks/{model-1ep2p91f.js → location-activity-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-nvrn0rpc.js → location-activity-1g6m8tcr.js} +36 -36
- package/dist/chunks/{model-3p9fx5xs.js → location-activity-1gfxhtb5.js} +20 -20
- package/dist/chunks/{model-b9ehgbqb.js → location-activity-1pev4fnm.js} +4 -4
- package/dist/chunks/{model-tm7f4x12.js → location-activity-1pkb9xf6.js} +3 -3
- package/dist/chunks/{model-rpavaw06.js → location-activity-1r3g6d8r.js} +25 -25
- package/dist/chunks/{model-gee0q842.js → location-activity-1rtxx7gs.js} +23 -23
- package/dist/chunks/{model-mfk0mvfz.js → location-activity-1xy4vzvc.js} +3 -3
- package/dist/chunks/{model-qwk3m3t3.js → location-activity-1z0y9k0b.js} +26 -26
- package/dist/chunks/{model-9a2f8bab.js → location-activity-28c9dwea.js} +5 -5
- package/dist/chunks/{model-pqtz87qt.js → location-activity-2evmdc3g.js} +17 -17
- package/dist/chunks/{model-d858xzj7.js → location-activity-2k71kv7p.js} +4 -4
- package/dist/chunks/{model-p1dsckbq.js → location-activity-2shfqszk.js} +7 -7
- package/dist/chunks/{model-hy9g3ct7.js → location-activity-2shtrhxh.js} +11 -11
- package/dist/chunks/{model-kkwkmtv3.js → location-activity-3em0thmm.js} +11 -11
- package/dist/chunks/{model-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-3hwn7j4h.js → location-activity-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-hkhzft4n.js → location-activity-3q6hmgvb.js} +29 -29
- package/dist/chunks/{model-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-5w3hrgwv.js → location-activity-41mvb394.js} +14 -14
- package/dist/chunks/{model-8p9mr4ny.js → location-activity-4av8mw61.js} +44 -44
- package/dist/chunks/{model-9yty7s6b.js → location-activity-4bag1db2.js} +5 -5
- package/dist/chunks/{model-x5yt3945.js → location-activity-4n0ytgej.js} +17 -17
- package/dist/chunks/{model-17h5khbx.js → location-activity-4r98eeww.js} +2 -2
- package/dist/chunks/location-activity-4skwmgyb.js +257 -0
- package/dist/chunks/{model-38c2t0gr.js → location-activity-4y06bmfc.js} +5 -5
- package/dist/chunks/{model-ky6xty6m.js → location-activity-4y59gdq5.js} +14 -14
- package/dist/chunks/{model-qsjwargm.js → location-activity-502kcfzs.js} +42 -42
- package/dist/chunks/{model-fx1vnbe7.js → location-activity-51j3hrvc.js} +14 -14
- package/dist/chunks/{model-x9qrfn9j.js → location-activity-537fk6rv.js} +23 -23
- package/dist/chunks/{model-h5w80xhp.js → location-activity-56cza17w.js} +26 -26
- package/dist/chunks/{model-r63j37j6.js → location-activity-59jp7pd6.js} +6 -6
- package/dist/chunks/{model-yjc5w60m.js → location-activity-5cb9jvgc.js} +9 -9
- package/dist/chunks/{model-a2qe2ev9.js → location-activity-5gzjtbzb.js} +8 -8
- package/dist/chunks/{model-8vamb002.js → location-activity-5h58n3v7.js} +16 -16
- package/dist/chunks/{model-sjng2d8s.js → location-activity-5h6tfdbz.js} +3 -3
- package/dist/chunks/{model-5m9w47nd.js → location-activity-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-4kkgmn48.js → location-activity-5mrq4sqf.js} +25 -25
- package/dist/chunks/{model-mqqhst8y.js → location-activity-5ppd002q.js} +4 -4
- package/dist/chunks/{model-sxffc3gc.js → location-activity-5ybyrtj9.js} +10 -10
- package/dist/chunks/{model-svs75v6z.js → location-activity-62skc2qf.js} +14 -14
- package/dist/chunks/{model-6827pfxn.js → location-activity-6827pfxn.js} +1 -1
- package/dist/chunks/{model-46z6bbc3.js → location-activity-6azzqc0z.js} +8 -8
- package/dist/chunks/{model-r47k2kcx.js → location-activity-6fpm48m7.js} +48 -48
- package/dist/chunks/{model-rkprpv83.js → location-activity-6pc27hjz.js} +6 -6
- package/dist/chunks/{model-0eje4krr.js → location-activity-6t960epn.js} +13 -13
- package/dist/chunks/{model-6xb47vfp.js → location-activity-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-efg2qyjc.js → location-activity-6xryydhb.js} +15 -15
- package/dist/chunks/{model-rrvj5mm5.js → location-activity-6yaymdqw.js} +34 -34
- package/dist/chunks/{model-775gj3j1.js → location-activity-775gj3j1.js} +2 -2
- package/dist/chunks/{model-vcf39g69.js → location-activity-7bjvrdsa.js} +16 -16
- package/dist/chunks/{model-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-47hbj2pp.js → location-activity-7jpqzpd7.js} +35 -35
- package/dist/chunks/{model-s15sfq84.js → location-activity-7m71vrgm.js} +88 -88
- package/dist/chunks/{model-8952chzp.js → location-activity-7p7zayqc.js} +1 -1
- package/dist/chunks/{model-hhyv66vq.js → location-activity-7ppyhzjx.js} +8 -8
- package/dist/chunks/{model-j4p30vk2.js → location-activity-7t5avhxh.js} +9 -9
- package/dist/chunks/{model-qga2y2xr.js → location-activity-7w6118fp.js} +61 -61
- package/dist/chunks/{model-rwz8d33h.js → location-activity-7xq5rfcp.js} +24 -24
- package/dist/chunks/{model-xzfxv41j.js → location-activity-7y1sbygh.js} +7 -7
- package/dist/chunks/{model-0w0e9t10.js → location-activity-801xp6nc.js} +20 -20
- package/dist/chunks/{model-84txncab.js → location-activity-84txncab.js} +1 -1
- package/dist/chunks/{model-6zrgpeqf.js → location-activity-86zhaznv.js} +11 -11
- package/dist/chunks/{model-b1cfp7e8.js → location-activity-8dnrzmmm.js} +21 -21
- package/dist/chunks/{model-qmw2t4sc.js → location-activity-8gy1q646.js} +16 -16
- package/dist/chunks/{model-8m6m0r52.js → location-activity-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-8mywswrd.js → location-activity-8mywswrd.js} +1 -1
- package/dist/chunks/{model-ngh7x0hb.js → location-activity-8qyyddbw.js} +30 -30
- package/dist/chunks/{model-h6310vsd.js → location-activity-8wbxkt1z.js} +4 -4
- package/dist/chunks/{model-qdf5x4hh.js → location-activity-90t6v735.js} +9 -9
- package/dist/chunks/{model-059731j3.js → location-activity-92p7xx7n.js} +5 -5
- package/dist/chunks/{model-998yhzzq.js → location-activity-998yhzzq.js} +3 -3
- package/dist/chunks/{model-csphqezw.js → location-activity-9996tgcy.js} +49 -49
- package/dist/chunks/{model-dbxp0fmc.js → location-activity-9sk1wf25.js} +4 -4
- package/dist/chunks/{model-3apxagx1.js → location-activity-9t9dtkqe.js} +14 -14
- package/dist/chunks/{model-9wev2pgg.js → location-activity-9wev2pgg.js} +1 -1
- package/dist/chunks/{model-pvgxn4e8.js → location-activity-a05vnbee.js} +13 -13
- package/dist/chunks/{model-btec747f.js → location-activity-a694798e.js} +5 -5
- package/dist/chunks/{model-kecgep65.js → location-activity-a9drt9e7.js} +11 -11
- package/dist/chunks/{model-kee9xs5a.js → location-activity-am1tmpj5.js} +5 -5
- package/dist/chunks/{model-6vembv3h.js → location-activity-asfdzfp1.js} +28 -28
- package/dist/chunks/{model-azwe5p1w.js → location-activity-azwe5p1w.js} +1 -1
- package/dist/chunks/{model-b11a7tx7.js → location-activity-b11a7tx7.js} +1 -1
- package/dist/chunks/{model-t9618mt3.js → location-activity-b4bzws13.js} +10 -10
- package/dist/chunks/{model-bacj9t34.js → location-activity-bacj9t34.js} +2 -2
- package/dist/chunks/{model-jr2ksrq3.js → location-activity-bft0aa8z.js} +4 -4
- package/dist/chunks/{model-bpxj61qy.js → location-activity-bh8ad4py.js} +18 -18
- package/dist/chunks/{model-bjx1sjef.js → location-activity-bjx1sjef.js} +2 -2
- package/dist/chunks/{model-7jabcg2v.js → location-activity-bmbhqgdj.js} +28 -28
- package/dist/chunks/{model-1ep4rre3.js → location-activity-bzeyqsqd.js} +4 -4
- package/dist/chunks/{model-93h83n4j.js → location-activity-cdtth5pq.js} +32 -32
- package/dist/chunks/{model-tmz9z8jm.js → location-activity-cemgdj9d.js} +35 -35
- package/dist/chunks/{model-6vjn048p.js → location-activity-cg46d0x0.js} +7 -7
- package/dist/chunks/{model-2hawg8d6.js → location-activity-cx6bqw11.js} +7 -7
- package/dist/chunks/{model-xax4r61v.js → location-activity-d4mzham1.js} +25 -25
- package/dist/chunks/{model-375hpnnp.js → location-activity-d5c0yphb.js} +18 -18
- package/dist/chunks/location-activity-d9k0s0cb.js +523 -0
- package/dist/chunks/{model-8dtwfnm6.js → location-activity-dagxvrjx.js} +5 -5
- package/dist/chunks/{model-wnfhhngp.js → location-activity-dj2wvysw.js} +43 -43
- package/dist/chunks/{model-zdfm1n8e.js → location-activity-dj5cvrpb.js} +174 -174
- package/dist/chunks/{model-281sgaqb.js → location-activity-djjr2x20.js} +8 -8
- package/dist/chunks/{model-3mz3s9dw.js → location-activity-dqja8dw2.js} +29 -29
- package/dist/chunks/{model-drwq78ky.js → location-activity-drwq78ky.js} +1 -1
- package/dist/chunks/{model-tz8n52kk.js → location-activity-ds8w0hjc.js} +37 -37
- package/dist/chunks/{model-g9cxqbhm.js → location-activity-e1eg6kc1.js} +2 -2
- package/dist/chunks/{model-6y0zycxh.js → location-activity-e247ns4g.js} +43 -43
- package/dist/chunks/{model-jj5620az.js → location-activity-e4hyd2jn.js} +4 -4
- package/dist/chunks/{model-02nrjc1r.js → location-activity-eaj1djv9.js} +4 -4
- package/dist/chunks/{model-qx0ddeyr.js → location-activity-ebc4hc03.js} +18 -18
- package/dist/chunks/{model-eej6y6fw.js → location-activity-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-888zzhja.js → location-activity-ef32jdqr.js} +13 -13
- package/dist/chunks/{model-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-6vca1abt.js → location-activity-ejg29mxq.js} +20 -20
- package/dist/chunks/{model-c5xv6gzt.js → location-activity-er22t3x6.js} +10 -10
- package/dist/chunks/{model-26speyvc.js → location-activity-ey557bc7.js} +32 -32
- package/dist/chunks/{model-3eqfzzpc.js → location-activity-f54rk091.js} +24 -24
- package/dist/chunks/{model-zee1rnkq.js → location-activity-f73rjn58.js} +4 -4
- package/dist/chunks/{model-j0g1y14w.js → location-activity-f9s3qxhk.js} +6 -6
- package/dist/chunks/{model-1qzqd7y9.js → location-activity-faea9xsf.js} +12 -12
- package/dist/chunks/{model-fcrkznn8.js → location-activity-fcrkznn8.js} +1 -1
- package/dist/chunks/{model-fcy631f0.js → location-activity-fcy631f0.js} +1 -1
- package/dist/chunks/{model-5qspxpfa.js → location-activity-fczg31pg.js} +5 -5
- package/dist/chunks/{model-d8vyx0bf.js → location-activity-fd8vcgz6.js} +21 -21
- package/dist/chunks/{model-gm80t6jn.js → location-activity-fgdtfedm.js} +38 -38
- package/dist/chunks/{model-x1z449jw.js → location-activity-fn08h0vb.js} +44 -44
- package/dist/chunks/{model-fn9t717r.js → location-activity-fn9t717r.js} +3 -3
- package/dist/chunks/{model-dkmgwdej.js → location-activity-g9m76s7h.js} +3 -3
- package/dist/chunks/{model-4cgvcnqc.js → location-activity-gd1x13z4.js} +11 -11
- package/dist/chunks/{model-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-rw8ryefd.js → location-activity-gk08jtek.js} +21 -21
- package/dist/chunks/{model-2t1cejgk.js → location-activity-gp95sf5k.js} +11 -11
- package/dist/chunks/{model-119vrnyz.js → location-activity-gqg0rsq2.js} +26 -26
- package/dist/chunks/{model-kyq9yddx.js → location-activity-gs3gp2dw.js} +29 -29
- package/dist/chunks/{model-2k1yrrb9.js → location-activity-h28sqj9e.js} +21 -21
- package/dist/chunks/{model-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-yjr10ne3.js → location-activity-h92dknr7.js} +17 -17
- package/dist/chunks/{model-hgz4x7wa.js → location-activity-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-097nk7jj.js → location-activity-hjakaqqy.js} +9 -9
- package/dist/chunks/{model-sr417449.js → location-activity-j17j0h0c.js} +4 -4
- package/dist/chunks/{model-4cqzk04t.js → location-activity-j97xjg52.js} +4 -4
- package/dist/chunks/{model-jvkh9b4k.js → location-activity-j9yyv4k7.js} +15 -15
- package/dist/chunks/{model-yjp1gbyy.js → location-activity-jehyjhmh.js} +18 -18
- package/dist/chunks/{model-bsznzx2j.js → location-activity-jhfd3768.js} +40 -40
- package/dist/chunks/{model-bhqc6ztw.js → location-activity-jj6wnavt.js} +6 -6
- package/dist/chunks/location-activity-jqh9b0xq.js +18 -0
- package/dist/chunks/{model-4pk5qdp0.js → location-activity-jshthe41.js} +27 -27
- package/dist/chunks/{model-q3wfvgvt.js → location-activity-jsz4j0f1.js} +15 -15
- package/dist/chunks/{model-5q6zkt9t.js → location-activity-jtstryge.js} +4 -4
- package/dist/chunks/{model-zqp45qky.js → location-activity-jyx3vsn7.js} +1 -1
- package/dist/chunks/{model-qn9wnv8g.js → location-activity-k31f5s50.js} +26 -26
- package/dist/chunks/{model-p2237knj.js → location-activity-k9jxnbe9.js} +12 -12
- package/dist/chunks/{model-sc122w87.js → location-activity-kg1vtevg.js} +4 -4
- package/dist/chunks/{model-khmqacep.js → location-activity-khmqacep.js} +1 -1
- package/dist/chunks/{model-6yz0wx8n.js → location-activity-kjdm35cs.js} +5 -5
- package/dist/chunks/{model-7bj5zk0h.js → location-activity-kn9a3rt9.js} +27 -27
- package/dist/chunks/{model-2k5pzv8p.js → location-activity-knqarm1q.js} +15 -15
- package/dist/chunks/{model-kwb1v3vj.js → location-activity-kwb1v3vj.js} +1 -1
- package/dist/chunks/{model-t1d8dt4n.js → location-activity-kxhnmrdj.js} +16 -16
- package/dist/chunks/{model-2y4y574v.js → location-activity-m3yk03ze.js} +18 -18
- package/dist/chunks/{model-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-xqsr3wks.js → location-activity-ma65t0cg.js} +36 -36
- package/dist/chunks/{model-maspj1v3.js → location-activity-maspj1v3.js} +1 -1
- package/dist/chunks/{model-ag9wmf18.js → location-activity-mb0fhdf6.js} +25 -25
- package/dist/chunks/{model-ebs90ymd.js → location-activity-mnmsk3d0.js} +38 -38
- package/dist/chunks/{model-tcncyrvt.js → location-activity-mpmg7r7y.js} +28 -28
- package/dist/chunks/{model-ztxz8wab.js → location-activity-mpyev40f.js} +10 -10
- package/dist/chunks/{model-seqcyr36.js → location-activity-n0j76x42.js} +4 -4
- package/dist/chunks/{model-47jkzegy.js → location-activity-n8vdnqrc.js} +5 -5
- package/dist/chunks/{model-wx5pdzv2.js → location-activity-ndmy5zdf.js} +10 -10
- package/dist/chunks/{model-39fz5gq7.js → location-activity-ngsdhqcd.js} +8 -8
- package/dist/chunks/{model-depwzj9d.js → location-activity-njhqdk9p.js} +9 -9
- package/dist/chunks/{model-nfpte2eb.js → location-activity-nm268en7.js} +18 -18
- package/dist/chunks/{model-t1hdc2tq.js → location-activity-nmj46b78.js} +11 -11
- package/dist/chunks/{model-4akb30p9.js → location-activity-nxk5tgz1.js} +17 -17
- package/dist/chunks/{model-nhg8br5k.js → location-activity-nz7m2gc2.js} +15 -15
- package/dist/chunks/{model-1pbps8gm.js → location-activity-p06yjkdd.js} +12 -12
- package/dist/chunks/{model-3p7wkzsm.js → location-activity-p269hv07.js} +39 -39
- package/dist/chunks/{model-cmwkp3r5.js → location-activity-p37cw4rj.js} +8 -8
- package/dist/chunks/{model-0jqcpeea.js → location-activity-paeq8bm7.js} +34 -34
- package/dist/chunks/{model-pc1v25hk.js → location-activity-pc1v25hk.js} +1 -1
- package/dist/chunks/{model-2ckxs07g.js → location-activity-pjpe8m1n.js} +21 -21
- package/dist/chunks/{model-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{model-e4ed32bz.js → location-activity-pp22040a.js} +28 -28
- package/dist/chunks/{model-ss358qx3.js → location-activity-pt1ss6jy.js} +3 -3
- package/dist/chunks/{model-gq1w7sb6.js → location-activity-pzbyjs7h.js} +8 -8
- package/dist/chunks/{model-7pz44b56.js → location-activity-q8s8gt54.js} +13 -13
- package/dist/chunks/{model-fm2qvscf.js → location-activity-qa3qhgw8.js} +4 -4
- package/dist/chunks/{model-ffhn27st.js → location-activity-qbk8jmg9.js} +50 -50
- package/dist/chunks/{model-144xy37h.js → location-activity-qdz4w9cy.js} +25 -25
- package/dist/chunks/{model-6bh8c15d.js → location-activity-qkgtb9e9.js} +11 -11
- package/dist/chunks/{model-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{model-djszqvmq.js → location-activity-r2m716tb.js} +9 -9
- package/dist/chunks/{model-p03rm6sa.js → location-activity-r6ph5k83.js} +16 -16
- package/dist/chunks/{model-54ma36ye.js → location-activity-r94pvvab.js} +4 -4
- package/dist/chunks/{model-f567p7kr.js → location-activity-rbfexjrq.js} +19 -19
- package/dist/chunks/{model-mcxd1mvb.js → location-activity-rbg9fbf6.js} +34 -34
- package/dist/chunks/{model-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-anf0zms1.js → location-activity-ry6831an.js} +9 -9
- package/dist/chunks/{model-jb678r5y.js → location-activity-rz270s8p.js} +17 -17
- package/dist/chunks/{model-qv0sc65t.js → location-activity-sa6168g2.js} +6 -6
- package/dist/chunks/{model-yjg8p8vw.js → location-activity-snzfrcy2.js} +12 -12
- package/dist/chunks/{model-fp7gkmgg.js → location-activity-stx7hq6g.js} +11 -11
- package/dist/chunks/{model-syv4x271.js → location-activity-syv4x271.js} +1 -1
- package/dist/chunks/{model-gg18brya.js → location-activity-t6mbdjs5.js} +75 -75
- package/dist/chunks/{model-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{model-bw9zjykr.js → location-activity-tegs1ycp.js} +6 -6
- package/dist/chunks/{model-s85y7g3v.js → location-activity-tj1d5qjh.js} +21 -21
- package/dist/chunks/{model-tyytaxap.js → location-activity-tyytaxap.js} +1 -1
- package/dist/chunks/{model-nz56sr1f.js → location-activity-v13b12ef.js} +5 -5
- package/dist/chunks/{model-v210v162.js → location-activity-v210v162.js} +2 -2
- package/dist/chunks/{model-rs2p4h37.js → location-activity-v45697c8.js} +5 -5
- package/dist/chunks/{model-a4se8z2x.js → location-activity-v4zywrnk.js} +6 -6
- package/dist/chunks/{model-v7p4zvkq.js → location-activity-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-3e18q7y0.js → location-activity-vbz8v6qj.js} +9 -9
- package/dist/chunks/{model-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{model-5jd37bg5.js → location-activity-vfm45d2v.js} +5 -5
- package/dist/chunks/{model-2re5xsb3.js → location-activity-vp15kmxq.js} +98 -98
- package/dist/chunks/{model-jyhmc03f.js → location-activity-vzndzpkc.js} +11 -11
- package/dist/chunks/{model-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-bxrpwnhh.js → location-activity-w7e41agf.js} +5 -5
- package/dist/chunks/{model-gfe9tc4x.js → location-activity-wa5fpxh1.js} +11 -11
- package/dist/chunks/{model-wakvkjy4.js → location-activity-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/location-activity-wfdkgkxy.js +26 -0
- package/dist/chunks/{model-v27y90m9.js → location-activity-wt7mczz9.js} +33 -33
- package/dist/chunks/{model-wh7c4t4p.js → location-activity-x0nw82cs.js} +24 -24
- package/dist/chunks/{model-g634x94t.js → location-activity-x2a7qa3g.js} +23 -23
- package/dist/chunks/{model-dac595nq.js → location-activity-x3y0w94c.js} +14 -14
- package/dist/chunks/{model-hbc5tqp3.js → location-activity-x69p0nft.js} +8 -8
- package/dist/chunks/{model-egbnj0d7.js → location-activity-xns282hb.js} +45 -45
- package/dist/chunks/{model-4vxbzg96.js → location-activity-xqh94nq7.js} +13 -13
- package/dist/chunks/{model-ft76mxxj.js → location-activity-xv4hnfey.js} +4 -4
- package/dist/chunks/{model-fpr4zhmy.js → location-activity-xw6avn3p.js} +12 -12
- package/dist/chunks/{model-xw9fg8fb.js → location-activity-xw9fg8fb.js} +2 -2
- package/dist/chunks/{model-65xqj3gf.js → location-activity-y1bnj3c2.js} +15 -15
- package/dist/chunks/{model-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-y71avatq.js → location-activity-y71avatq.js} +1 -1
- package/dist/chunks/{model-c08hck0b.js → location-activity-y9hbk2er.js} +11 -11
- package/dist/chunks/{model-f6eb70w4.js → location-activity-ydxzzmqj.js} +4 -4
- package/dist/chunks/{model-g31edv3s.js → location-activity-yeqk0rnt.js} +22 -22
- package/dist/chunks/{model-f9gdjgpy.js → location-activity-yfzpe4zr.js} +24 -24
- package/dist/chunks/{model-at643fqj.js → location-activity-ykdjanh2.js} +27 -27
- package/dist/chunks/{model-gs5g8sst.js → location-activity-ykfgt8p5.js} +13 -13
- package/dist/chunks/{model-wsncy6g1.js → location-activity-yn3pj0yh.js} +13 -13
- package/dist/chunks/{model-9g86fe8k.js → location-activity-ys29mwwj.js} +16 -16
- package/dist/chunks/{model-s2ayqtyj.js → location-activity-yxygda1x.js} +14 -14
- package/dist/chunks/{model-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-z0ydvj27.js → location-activity-z0ydvj27.js} +1 -1
- package/dist/chunks/{model-z18fegx4.js → location-activity-z18fegx4.js} +1 -1
- package/dist/chunks/{model-8pah9whb.js → location-activity-z3293m6q.js} +2 -2
- package/dist/chunks/{model-ddf4n6wt.js → location-activity-zcjqesvk.js} +24 -24
- package/dist/chunks/{model-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-e5g7rz9z.js → location-activity-zw0jf4j9.js} +9 -9
- package/dist/chunks/{model-e7gxn9p4.js → location-activity-zwkj30rw.js} +19 -19
- package/dist/chunks/{model-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +116 -116
- package/dist/config/plugin/command.js +212 -212
- 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 +123 -123
- 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 +3 -3
- 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 +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- 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 +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- 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 +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +4 -4
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- 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 +99 -99
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- 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 +76 -76
- package/dist/plugin/command.js +100 -100
- 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 +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- 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 +125 -125
- 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 +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- 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 +170 -170
- 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 +351 -351
- 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 +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- 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 +4 -4
- 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 +231 -231
- 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 +128 -128
- 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 +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +95 -95
- 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 +122 -122
- 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 +116 -116
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- 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 +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- 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/model-9hrj064r.js +0 -26
- package/dist/chunks/model-f40v7vve.js +0 -257
- package/dist/chunks/model-gyce5qg1.js +0 -18
- package/dist/chunks/model-nx4dbdvx.js +0 -523
- /package/dist/chunks/{model-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → location-activity-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3t0ybcrp.js → location-activity-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5fjb7ams.js → location-activity-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → location-activity-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → location-activity-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → location-activity-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → location-activity-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → location-activity-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → location-activity-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → location-activity-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → location-activity-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./location-activity-xw6avn3p.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service79,
|
|
13
|
+
node83
|
|
14
|
+
} from "./location-activity-9t9dtkqe.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-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: () => Error4,
|
|
26
|
+
ID: () => ID16,
|
|
27
|
+
Service: () => Service78,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node82,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
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 ID16 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 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 Service78 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service47, 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 Error4({ 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(Service47, 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 Error4({ 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(Service47, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID16.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(Service47, 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 Error4({ 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 Error4({ 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 Service78.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node82 = makeLocationNode({
|
|
158
|
+
service: Service78,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node,
|
|
160
|
+
deps: [FSUtil.node, node85, Global.node, node83]
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var noopLayer3 = Layer.succeed(Service78, Service78.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -168,13 +168,13 @@ var noopLayer2 = Layer.succeed(Service47, Service47.of({
|
|
|
168
168
|
restore: () => Effect.void
|
|
169
169
|
}));
|
|
170
170
|
function failure(operation, cause) {
|
|
171
|
-
if (cause instanceof
|
|
171
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
172
172
|
return cause;
|
|
173
|
-
return new
|
|
173
|
+
return new Error4({
|
|
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 { ID16, Error4, Service78, node82, noopLayer3, exports_snapshot2 };
|
|
@@ -2,34 +2,34 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service79
|
|
8
|
+
} from "./location-activity-9t9dtkqe.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service53
|
|
11
|
+
} from "./location-activity-zcjqesvk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service22
|
|
14
|
+
} from "./location-activity-nz7m2gc2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service23,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-a05vnbee.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service73
|
|
22
|
+
} from "./location-activity-xns282hb.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service24,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-ebc4hc03.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-activity-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
@@ -38,7 +38,7 @@ __export(exports_patch, {
|
|
|
38
38
|
Input: () => Input7,
|
|
39
39
|
Output: () => Output6,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
41
|
+
Plugin: () => Plugin43,
|
|
42
42
|
name: () => name7,
|
|
43
43
|
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
@@ -105,15 +105,15 @@ var toModelContent4 = (output) => [
|
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin43 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service53;
|
|
112
|
+
const access = yield* Service24;
|
|
113
|
+
const fileMutation = yield* Service23;
|
|
114
|
+
const formatter = yield* Service22;
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const permission = yield* Service73;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
118
|
name: name7,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export { name7, Input7, Applied2, Output6, toModelContent4,
|
|
329
|
+
export { name7, Input7, Applied2, Output6, toModelContent4, Plugin43, exports_patch };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./location-activity-62skc2qf.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./location-activity-9t9dtkqe.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service62
|
|
12
|
+
} from "./location-activity-502kcfzs.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-y1bnj3c2.js";
|
|
18
18
|
import {
|
|
19
19
|
Service12
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-bacj9t34.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-0mwht5j2.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
scan2
|
|
27
|
+
} from "./location-activity-bzeyqsqd.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
|
-
var
|
|
34
|
-
__export(
|
|
35
|
-
ConfigSkillPlugin: () =>
|
|
36
|
-
Plugin: () =>
|
|
33
|
+
var exports_skill2 = {};
|
|
34
|
+
__export(exports_skill2, {
|
|
35
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
36
|
+
Plugin: () => Plugin28
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin28 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
46
|
+
const config = yield* Service62;
|
|
47
47
|
const discovery = yield* Service12;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
|
-
const location = yield*
|
|
51
|
-
const watcher = yield*
|
|
50
|
+
const location = yield* Service79;
|
|
51
|
+
const watcher = yield* Service63;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -122,7 +122,7 @@ var Plugin46 = define({
|
|
|
122
122
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
123
123
|
const skills = [];
|
|
124
124
|
for (const directory of directories) {
|
|
125
|
-
for (const filepath of yield*
|
|
125
|
+
for (const filepath of yield* scan2(directory)) {
|
|
126
126
|
const resolved = yield* fs.realPath(filepath).pipe(Effect.orElseSucceed(() => filepath));
|
|
127
127
|
if (!roots.some((root) => FSUtil.contains(root, resolved)))
|
|
128
128
|
yield* watch(resolved, "file");
|
|
@@ -179,4 +179,4 @@ var Plugin46 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin28, exports_skill2 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-gqg0rsq2.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-pp22040a.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./location-activity-502kcfzs.js";
|
|
12
12
|
import {
|
|
13
13
|
supports2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
resolve2
|
|
15
|
+
} from "./location-activity-jj6wnavt.js";
|
|
16
16
|
import {
|
|
17
17
|
observe2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-qsdy395h.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/config/plugin/provider.ts
|
|
24
24
|
var exports_provider = {};
|
|
25
25
|
__export(exports_provider, {
|
|
26
26
|
ConfigProviderPlugin: () => exports_provider,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin29
|
|
28
28
|
});
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Money } from "@opencode/schema/money";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin29 = define({
|
|
33
33
|
id: "opencode.config.provider",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
35
|
+
const config = yield* Service62;
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
37
37
|
yield* ctx.integration.transform((integrations) => {
|
|
38
38
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -165,7 +165,7 @@ var Plugin39 = define({
|
|
|
165
165
|
models.update(providerID, id, (model) => {
|
|
166
166
|
if (config.capabilities?.reasoning !== undefined)
|
|
167
167
|
model.variants = [
|
|
168
|
-
...
|
|
168
|
+
...resolve2({ ...model, package: model.package ?? models.provider.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
169
169
|
];
|
|
170
170
|
if (config.variants !== undefined) {
|
|
171
171
|
model.variants ??= [];
|
|
@@ -201,7 +201,7 @@ var Plugin39 = define({
|
|
|
201
201
|
if (config.variants === undefined && config.capabilities?.reasoning === undefined && (!source?.base || repackaged))
|
|
202
202
|
models.update(providerID, id, (model) => {
|
|
203
203
|
model.variants = [
|
|
204
|
-
...
|
|
204
|
+
...resolve2({
|
|
205
205
|
...model,
|
|
206
206
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
207
207
|
})
|
|
@@ -216,4 +216,4 @@ function configuredProviders(entries) {
|
|
|
216
216
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
export {
|
|
219
|
+
export { Plugin29, exports_provider };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./location-activity-1r3g6d8r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./location-activity-tegs1ycp.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-jqh9b0xq.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service60;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service84,
|
|
3
|
-
node88
|
|
4
|
-
} from "./model-qmw2t4sc.js";
|
|
5
1
|
import {
|
|
6
2
|
Service82,
|
|
7
3
|
node86
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
ID15,
|
|
11
|
-
Service78,
|
|
12
|
-
node82
|
|
13
|
-
} from "./model-9g86fe8k.js";
|
|
4
|
+
} from "./location-activity-8gy1q646.js";
|
|
14
5
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./location-activity-9t9dtkqe.js";
|
|
17
9
|
import {
|
|
10
|
+
ID15,
|
|
18
11
|
Service76,
|
|
19
12
|
node80
|
|
20
|
-
} from "./
|
|
13
|
+
} from "./location-activity-ys29mwwj.js";
|
|
14
|
+
import {
|
|
15
|
+
NotFoundError11
|
|
16
|
+
} from "./location-activity-sa6168g2.js";
|
|
17
|
+
import {
|
|
18
|
+
Service75,
|
|
19
|
+
node79
|
|
20
|
+
} from "./location-activity-rz270s8p.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service74,
|
|
26
|
+
node78
|
|
27
|
+
} from "./location-activity-5mrq4sqf.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service86,
|
|
30
|
+
node90
|
|
31
|
+
} from "./location-activity-5gzjtbzb.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_permission2, {
|
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
45
|
Event: () => Event19,
|
|
46
|
-
ID: () =>
|
|
46
|
+
ID: () => ID12,
|
|
47
47
|
NotFoundError: () => NotFoundError9,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply3,
|
|
@@ -51,11 +51,11 @@ __export(exports_permission2, {
|
|
|
51
51
|
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service73,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node77
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
@@ -64,7 +64,7 @@ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission"
|
|
|
64
64
|
import { Event as Event19 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID12 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request3 = Permission.Request;
|
|
78
78
|
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID12.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
82
|
agent: ID15.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID12,
|
|
86
86
|
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID12,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
-
requestID:
|
|
114
|
+
requestID: ID12
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service73 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service82;
|
|
132
|
+
const location = yield* Service79;
|
|
133
|
+
const agents = yield* Service76;
|
|
134
|
+
const sessions = yield* Service75;
|
|
135
|
+
const saved = yield* Service74;
|
|
136
|
+
const hooks = yield* Service86;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError11({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID12.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID12.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service73.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node77 = makeLocationNode({
|
|
303
|
+
service: Service73,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node86, node83, node80, node79, node78, node90]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID12, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service73, node77, exports_permission2, Rule3, Ruleset2, Event19 };
|