@opencode/core 0.0.0-dev-20131 → 0.0.0-dev-20137
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 +75 -75
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{model-resolver-02nrjc1r.js → location-service-map-02nrjc1r.js} +1 -1
- package/dist/chunks/{model-resolver-tr5g7dwj.js → location-service-map-03s9h7nf.js} +30 -30
- package/dist/chunks/{model-resolver-3gpdp23k.js → location-service-map-0agfh96h.js} +20 -20
- package/dist/chunks/{model-resolver-nvga8as2.js → location-service-map-0dhw10zh.js} +28 -28
- package/dist/chunks/location-service-map-0mesazry.js +4 -0
- package/dist/chunks/{model-resolver-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-qn4ba14w.js → location-service-map-0r7yqxbf.js} +5 -5
- package/dist/chunks/{model-resolver-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-h78w9zet.js → location-service-map-1fvbb5gs.js} +12 -12
- package/dist/chunks/{model-resolver-jprx4acp.js → location-service-map-1m25n68p.js} +30 -30
- package/dist/chunks/{model-resolver-mtxspnbv.js → location-service-map-1p981hez.js} +6 -6
- package/dist/chunks/{model-resolver-wgj8gk84.js → location-service-map-1shbe8nm.js} +13 -13
- package/dist/chunks/{model-resolver-ng7mjv9a.js → location-service-map-1w7zbgwd.js} +5 -5
- package/dist/chunks/{model-resolver-mfqp6xfm.js → location-service-map-1ygqh575.js} +6 -6
- package/dist/chunks/{model-resolver-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-h52b82t8.js → location-service-map-23ebhyy2.js} +9 -9
- package/dist/chunks/{model-resolver-d70vg6w7.js → location-service-map-259gmszf.js} +5 -5
- package/dist/chunks/{model-resolver-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-j2gs22te.js → location-service-map-2eh9qhhh.js} +18 -18
- package/dist/chunks/{model-resolver-m1g4ddbr.js → location-service-map-2md0r0d5.js} +10 -10
- package/dist/chunks/{model-resolver-bnn3ejb3.js → location-service-map-2zdx7faf.js} +16 -16
- package/dist/chunks/{model-resolver-wz37ky42.js → location-service-map-34ysrydy.js} +9 -9
- package/dist/chunks/{model-resolver-z3nay82g.js → location-service-map-3b9qt4hj.js} +9 -9
- package/dist/chunks/{model-resolver-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-xr3c7pyz.js → location-service-map-3qbkkqhe.js} +20 -20
- package/dist/chunks/{model-resolver-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-79daw15k.js → location-service-map-3snh9t0n.js} +17 -17
- package/dist/chunks/{model-resolver-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-fb8vwq5a.js → location-service-map-41g06184.js} +41 -41
- package/dist/chunks/{model-resolver-tabketkd.js → location-service-map-424tbsm5.js} +19 -19
- package/dist/chunks/{model-resolver-s5e1nvhr.js → location-service-map-450h6hjs.js} +4 -4
- package/dist/chunks/{model-resolver-fv5cfh7k.js → location-service-map-46399800.js} +10 -10
- package/dist/chunks/{model-resolver-7bw9czss.js → location-service-map-47bg82f5.js} +14 -14
- package/dist/chunks/{model-resolver-pws4t4z4.js → location-service-map-4810y6an.js} +15 -21
- package/dist/chunks/{model-resolver-et80q73h.js → location-service-map-4ab9h24f.js} +16 -16
- package/dist/chunks/{model-resolver-k315xvzq.js → location-service-map-4b3mq37n.js} +27 -27
- package/dist/chunks/{model-resolver-43xnf7n2.js → location-service-map-4ep4b8gh.js} +8 -8
- package/dist/chunks/{model-resolver-zx1yj1rb.js → location-service-map-4f5fjcbb.js} +5 -5
- package/dist/chunks/{model-resolver-7gtkwbed.js → location-service-map-4q240hsc.js} +24 -24
- package/dist/chunks/{model-resolver-r1vxhqvv.js → location-service-map-4sb4s29h.js} +6 -6
- package/dist/chunks/{model-resolver-4sn99hha.js → location-service-map-4sn99hha.js} +2 -2
- package/dist/chunks/{model-resolver-7gn1sa53.js → location-service-map-4vvsrq4y.js} +11 -11
- package/dist/chunks/{model-resolver-v5w6wnvh.js → location-service-map-4ze5hmng.js} +5 -5
- package/dist/chunks/{model-resolver-31aac5dg.js → location-service-map-507necyj.js} +13 -13
- package/dist/chunks/{model-resolver-nsyvzat3.js → location-service-map-50ymr963.js} +30 -30
- package/dist/chunks/{model-resolver-ckecvw8r.js → location-service-map-54tcyq79.js} +2 -2
- package/dist/chunks/{model-resolver-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-7fgmj9zm.js → location-service-map-5dzdme91.js} +50 -44
- package/dist/chunks/{model-resolver-5zmnbfpv.js → location-service-map-5gg88spf.js} +19 -19
- package/dist/chunks/{model-resolver-da6awahp.js → location-service-map-5ktycaew.js} +11 -11
- package/dist/chunks/{model-resolver-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-bmjpewtg.js → location-service-map-5xpxt9v0.js} +8 -8
- package/dist/chunks/{model-resolver-5xtgfte3.js → location-service-map-5yzzbxa7.js} +8 -8
- package/dist/chunks/{model-resolver-hkk23z5q.js → location-service-map-61qx6nws.js} +18 -18
- package/dist/chunks/{model-resolver-8rrp652e.js → location-service-map-64q5n1jq.js} +41 -41
- package/dist/chunks/{model-resolver-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-6h73sxmp.js → location-service-map-6h73sxmp.js} +1 -1
- package/dist/chunks/{model-resolver-fwwaqksj.js → location-service-map-6khy56qy.js} +9 -9
- package/dist/chunks/{model-resolver-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-1p07q0wb.js → location-service-map-6pc27hjz.js} +8 -8
- package/dist/chunks/{model-resolver-4qaqz5hy.js → location-service-map-6wjr3z5y.js} +25 -25
- package/dist/chunks/{model-resolver-geazy0ga.js → location-service-map-6xt159cr.js} +22 -22
- package/dist/chunks/{model-resolver-r3s0jvgk.js → location-service-map-79r8wnbb.js} +19 -20
- package/dist/chunks/{model-resolver-g220c3ay.js → location-service-map-7bc00jg7.js} +15 -15
- package/dist/chunks/{model-resolver-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-148hwcm1.js → location-service-map-7cvcew84.js} +39 -39
- package/dist/chunks/{model-resolver-7dqw4kz8.js → location-service-map-7dqw4kz8.js} +1 -1
- package/dist/chunks/{model-resolver-jc64rqpz.js → location-service-map-7g1tk3jp.js} +22 -22
- package/dist/chunks/{model-resolver-skewz91w.js → location-service-map-7r8hasa0.js} +8 -8
- package/dist/chunks/{model-resolver-qrpa6y5p.js → location-service-map-7wgsdhax.js} +18 -18
- package/dist/chunks/{model-resolver-qtg64bph.js → location-service-map-87qhefk3.js} +13 -13
- package/dist/chunks/{model-resolver-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-qrcgjn0g.js → location-service-map-8p1aye3m.js} +13 -13
- package/dist/chunks/{model-resolver-jdn4y69x.js → location-service-map-8tkrce1v.js} +21 -21
- package/dist/chunks/{model-resolver-b9yq29xv.js → location-service-map-8vyng8eb.js} +1 -1
- package/dist/chunks/{model-resolver-k9tmrhf2.js → location-service-map-8wxd41g0.js} +36 -36
- package/dist/chunks/{model-resolver-7q7n39pe.js → location-service-map-8xx4zsj3.js} +4 -4
- package/dist/chunks/{model-resolver-sekja6vn.js → location-service-map-95xkhxd3.js} +32 -32
- package/dist/chunks/{model-resolver-wgcg4671.js → location-service-map-9w3d3tm1.js} +7 -7
- package/dist/chunks/{model-resolver-r94sc7mg.js → location-service-map-a0gm2e7e.js} +19 -19
- package/dist/chunks/{model-resolver-jg7327rx.js → location-service-map-a1g56qev.js} +35 -35
- package/dist/chunks/{model-resolver-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-fchfgkaj.js → location-service-map-adctt029.js} +3 -3
- package/dist/chunks/{model-resolver-yvvvp4gn.js → location-service-map-ahd542yp.js} +8 -8
- package/dist/chunks/{model-resolver-vpg6s37p.js → location-service-map-am0fexgm.js} +12 -12
- package/dist/chunks/{model-resolver-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-dt787f91.js → location-service-map-be69yzwq.js} +8 -8
- package/dist/chunks/{model-resolver-ab36d4rp.js → location-service-map-bezprz3y.js} +26 -26
- package/dist/chunks/{model-resolver-z07pqspn.js → location-service-map-bjtzbw4r.js} +3 -3
- package/dist/chunks/{model-resolver-1a1kv4b6.js → location-service-map-bk53mjv3.js} +20 -20
- package/dist/chunks/{model-resolver-zbr1vv3b.js → location-service-map-bq0pqg2f.js} +24 -24
- package/dist/chunks/{model-resolver-ys5e46m7.js → location-service-map-bzyywkew.js} +20 -20
- package/dist/chunks/{model-resolver-vxd8j8jx.js → location-service-map-c43xdecr.js} +7 -7
- package/dist/chunks/{model-resolver-j63mkyf2.js → location-service-map-c5tfyz74.js} +48 -48
- package/dist/chunks/{model-resolver-e2z5s1q4.js → location-service-map-c7kxy51f.js} +32 -32
- package/dist/chunks/{model-resolver-40py8n81.js → location-service-map-c9nkg9tz.js} +4 -4
- package/dist/chunks/{model-resolver-ktk6m7yv.js → location-service-map-cctkjn30.js} +12 -12
- package/dist/chunks/location-service-map-ce3pg98x.js +507 -0
- package/dist/chunks/{model-resolver-gn5vz676.js → location-service-map-cfansp95.js} +10 -10
- package/dist/chunks/{model-resolver-8daq0xa6.js → location-service-map-cjhfvjhr.js} +5 -5
- package/dist/chunks/{model-resolver-2kze60mb.js → location-service-map-d4g6md5d.js} +88 -88
- package/dist/chunks/{model-resolver-bscb95cy.js → location-service-map-dg5bcj4q.js} +6 -6
- package/dist/chunks/{model-resolver-baaqp4zd.js → location-service-map-dhmh7aw6.js} +4 -4
- package/dist/chunks/{model-resolver-4k1ett8m.js → location-service-map-dk9y2vpf.js} +3 -3
- package/dist/chunks/{model-resolver-tbggjeq3.js → location-service-map-dntj2zb0.js} +9 -9
- package/dist/chunks/{model-resolver-1443xh57.js → location-service-map-dp4nxcya.js} +17 -17
- package/dist/chunks/{model-resolver-y71avatq.js → location-service-map-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-2c0njjec.js → location-service-map-dqxzn0a8.js} +5 -5
- package/dist/chunks/{model-resolver-57b9ws8p.js → location-service-map-drwq78ky.js} +5 -5
- package/dist/chunks/{model-resolver-26ytv93r.js → location-service-map-dw3k1723.js} +169 -169
- package/dist/chunks/{model-resolver-9d2rvs94.js → location-service-map-dxbsykg3.js} +22 -22
- package/dist/chunks/{model-resolver-g5j9y4s8.js → location-service-map-dxrhnt69.js} +5 -5
- package/dist/chunks/{model-resolver-n06j78b9.js → location-service-map-e78gvs92.js} +31 -31
- package/dist/chunks/{model-resolver-11a63abd.js → location-service-map-e7vv0sdg.js} +18 -18
- package/dist/chunks/{model-resolver-p44d8wdy.js → location-service-map-ead3g9p8.js} +5 -5
- package/dist/chunks/{model-resolver-g5dq6450.js → location-service-map-eamnwnsv.js} +15 -15
- package/dist/chunks/{model-resolver-b10wfwbh.js → location-service-map-ec9x9c8h.js} +21 -21
- package/dist/chunks/{model-resolver-ecfe7b91.js → location-service-map-ecfe7b91.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-z9ceva1d.js → location-service-map-eq8w2hep.js} +13 -13
- package/dist/chunks/{model-resolver-rpdh6k9e.js → location-service-map-es4f2jcb.js} +10 -10
- package/dist/chunks/{model-resolver-pad12jgs.js → location-service-map-etn9exkr.js} +4 -4
- package/dist/chunks/{model-resolver-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-tn0aqsam.js → location-service-map-evbgk2k8.js} +5 -5
- package/dist/chunks/{model-resolver-x3smdky3.js → location-service-map-eyxfwqss.js} +24 -24
- package/dist/chunks/{model-resolver-eg6dkfdg.js → location-service-map-f1hf083f.js} +33 -33
- package/dist/chunks/{model-resolver-019v9s6p.js → location-service-map-f94f2384.js} +15 -15
- package/dist/chunks/{model-resolver-4xkes3e0.js → location-service-map-fcx1xcbb.js} +25 -25
- package/dist/chunks/{model-resolver-e97x7vbd.js → location-service-map-fjwae357.js} +21 -21
- package/dist/chunks/{model-resolver-a2ew8a62.js → location-service-map-fm2qvscf.js} +4 -4
- package/dist/chunks/{model-resolver-pvyheege.js → location-service-map-ft2mgfdt.js} +9 -9
- package/dist/chunks/{model-resolver-wgtcm0m7.js → location-service-map-fx5e6na3.js} +4 -4
- package/dist/chunks/{model-resolver-zp1dewdg.js → location-service-map-g24jq3wx.js} +18 -18
- package/dist/chunks/{model-resolver-y7mjge6b.js → location-service-map-g6000pn7.js} +10 -10
- package/dist/chunks/{model-resolver-8qxd8ywd.js → location-service-map-g74awd5s.js} +16 -16
- package/dist/chunks/{model-resolver-865wjsr0.js → location-service-map-gbqf8nr6.js} +6 -6
- package/dist/chunks/{model-resolver-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-tdpndm1c.js → location-service-map-gebtr55s.js} +5 -5
- package/dist/chunks/{model-resolver-94ek1h2f.js → location-service-map-gfvb90ym.js} +2 -2
- package/dist/chunks/{model-resolver-yr3xshr9.js → location-service-map-ghfxe9gm.js} +17 -17
- package/dist/chunks/{model-resolver-trkehavn.js → location-service-map-gsz6cz4y.js} +26 -26
- package/dist/chunks/{model-resolver-pfk6y5a9.js → location-service-map-gv3hh1pr.js} +3 -3
- package/dist/chunks/{model-resolver-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-r9gyrj3a.js → location-service-map-gv7wt7kz.js} +33 -33
- package/dist/chunks/{model-resolver-8nvr8aa5.js → location-service-map-h2jejqrs.js} +91 -91
- package/dist/chunks/{model-resolver-vs0p53ya.js → location-service-map-h6c76xv0.js} +25 -25
- package/dist/chunks/{model-resolver-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-mptx0e16.js → location-service-map-h9d2wv4t.js} +12 -12
- package/dist/chunks/{model-resolver-m8de87mw.js → location-service-map-hbtvd0cq.js} +8 -8
- package/dist/chunks/{model-resolver-hkagk5ex.js → location-service-map-hkagk5ex.js} +2 -2
- package/dist/chunks/{model-resolver-2f06ph81.js → location-service-map-hmrqem0r.js} +20 -20
- package/dist/chunks/{model-resolver-n1vacj9h.js → location-service-map-hvvzvytb.js} +17 -17
- package/dist/chunks/{model-resolver-rz6dkkgy.js → location-service-map-hwqq4ms1.js} +19 -19
- package/dist/chunks/{model-resolver-1xdh55zq.js → location-service-map-hzcnk2we.js} +15 -15
- package/dist/chunks/{model-resolver-pzf166vf.js → location-service-map-j3c7dv01.js} +13 -13
- package/dist/chunks/{model-resolver-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-r98e92ep.js → location-service-map-j83byb14.js} +4 -4
- package/dist/chunks/{model-resolver-qw9dfm9w.js → location-service-map-jgzkz8s7.js} +40 -40
- package/dist/chunks/{model-resolver-j85kw5b6.js → location-service-map-jkm7pd32.js} +1 -1
- package/dist/chunks/{model-resolver-34ffsfmk.js → location-service-map-jmxv7wc6.js} +29 -29
- package/dist/chunks/{model-resolver-380686fe.js → location-service-map-jq0271ny.js} +14 -14
- package/dist/chunks/{model-resolver-0nz87m70.js → location-service-map-jwep2zy8.js} +5 -5
- package/dist/chunks/{model-resolver-cqv513mk.js → location-service-map-k1060952.js} +5 -5
- package/dist/chunks/{model-resolver-k3c624dm.js → location-service-map-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-kwrf6mrp.js → location-service-map-k9d40v1y.js} +4 -4
- package/dist/chunks/{model-resolver-8pdtxvwz.js → location-service-map-kg4mwryn.js} +30 -30
- package/dist/chunks/{model-resolver-xwk6kexd.js → location-service-map-kyzrk45e.js} +32 -32
- package/dist/chunks/{model-resolver-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-ncjresk4.js → location-service-map-m6f3t844.js} +8 -8
- package/dist/chunks/{model-resolver-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-wg9731he.js → location-service-map-mbss4039.js} +5 -5
- package/dist/chunks/{model-resolver-mvfsc1pv.js → location-service-map-mhkvc446.js} +3 -3
- package/dist/chunks/{model-resolver-syb9bdnb.js → location-service-map-nedz2vx5.js} +37 -37
- package/dist/chunks/{model-resolver-mt4m7rgv.js → location-service-map-nkwbwebq.js} +33 -33
- package/dist/chunks/{model-resolver-84zt2byv.js → location-service-map-nq7qbqzc.js} +9 -9
- package/dist/chunks/{model-resolver-cpj0znwe.js → location-service-map-nzyhnfxz.js} +4 -4
- package/dist/chunks/{model-resolver-prwkcbsp.js → location-service-map-p4b86tx8.js} +6 -6
- package/dist/chunks/{model-resolver-2z2h1d1a.js → location-service-map-p4sxwvkr.js} +22 -22
- package/dist/chunks/{model-resolver-30h5yzkb.js → location-service-map-p6f9zxg3.js} +20 -20
- package/dist/chunks/{model-resolver-y6mhz57t.js → location-service-map-ph842b28.js} +4 -4
- package/dist/chunks/{model-resolver-cre1ds5y.js → location-service-map-phr7ftrb.js} +6 -6
- package/dist/chunks/location-service-map-phz3h32g.js +18 -0
- package/dist/chunks/{model-resolver-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-xwmpr423.js → location-service-map-pkh54gez.js} +11 -11
- package/dist/chunks/{model-resolver-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-dz80t97f.js → location-service-map-pnmgjxet.js} +8 -8
- package/dist/chunks/{model-resolver-phpw85vv.js → location-service-map-pnvk1zxf.js} +4 -4
- package/dist/chunks/{model-resolver-6fatt4mk.js → location-service-map-prq7hedt.js} +9 -9
- package/dist/chunks/{model-resolver-wd3x2cqz.js → location-service-map-psazpmmj.js} +2 -2
- package/dist/chunks/{model-resolver-59tns5gj.js → location-service-map-ptbfq7v4.js} +3 -3
- package/dist/chunks/{model-resolver-7xpjqkkh.js → location-service-map-py27tf68.js} +73 -73
- package/dist/chunks/{model-resolver-02ycnm9p.js → location-service-map-q113pvv4.js} +9 -9
- package/dist/chunks/{model-resolver-cfv23f3f.js → location-service-map-q3m32w60.js} +9 -9
- package/dist/chunks/{model-resolver-mw06f09h.js → location-service-map-q4sspc8c.js} +4 -4
- package/dist/chunks/{model-resolver-f9fdmeaf.js → location-service-map-q7kgck38.js} +20 -20
- package/dist/chunks/{model-resolver-jpvyrqpf.js → location-service-map-qbh4gvhy.js} +6 -6
- package/dist/chunks/{model-resolver-fq1mb532.js → location-service-map-qc87fffq.js} +23 -23
- package/dist/chunks/{model-resolver-bkmpw4ys.js → location-service-map-qeh14t3h.js} +39 -39
- package/dist/chunks/{model-resolver-36z62d1v.js → location-service-map-qewfg78p.js} +51 -51
- package/dist/chunks/{model-resolver-zgnhzt77.js → location-service-map-qg4hwk1z.js} +8 -8
- package/dist/chunks/{model-resolver-5c96rnmg.js → location-service-map-qgcrwtb6.js} +9 -9
- package/dist/chunks/{model-resolver-36cdy2c1.js → location-service-map-qhrmp4fs.js} +13 -13
- package/dist/chunks/{model-resolver-g190xswt.js → location-service-map-qj8eh1ht.js} +4 -4
- package/dist/chunks/{model-resolver-3jbh6hat.js → location-service-map-qkyxkvrz.js} +29 -29
- package/dist/chunks/{model-resolver-djszqvmq.js → location-service-map-qmqgtz8f.js} +9 -9
- package/dist/chunks/{model-resolver-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-reg6q42h.js → location-service-map-qsr9synt.js} +5 -5
- package/dist/chunks/{model-resolver-e9e65bk8.js → location-service-map-qtkgpsf5.js} +18 -18
- package/dist/chunks/{model-resolver-aye9t8w1.js → location-service-map-qvac82vn.js} +11 -11
- package/dist/chunks/{model-resolver-48mqjw6a.js → location-service-map-qx87v5j4.js} +4 -4
- package/dist/chunks/{model-resolver-14vnkz19.js → location-service-map-rahyx2nv.js} +20 -20
- package/dist/chunks/{model-resolver-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-2ksgs95r.js → location-service-map-recgpn30.js} +11 -11
- package/dist/chunks/{model-resolver-6ersrjne.js → location-service-map-rph3zd4r.js} +6 -6
- package/dist/chunks/{model-resolver-5qw9a524.js → location-service-map-s00t6gee.js} +14 -14
- package/dist/chunks/{model-resolver-c8t27pbe.js → location-service-map-s7v6hrs8.js} +25 -25
- package/dist/chunks/{model-resolver-w1ab7jb8.js → location-service-map-sazjfcx0.js} +21 -21
- package/dist/chunks/{model-resolver-bbqvnk4j.js → location-service-map-sb65efm1.js} +7 -7
- package/dist/chunks/{model-resolver-mvpnggzp.js → location-service-map-sd069vt2.js} +13 -13
- package/dist/chunks/{model-resolver-vtpkq4qf.js → location-service-map-sqy4ahhk.js} +1 -1
- package/dist/chunks/{model-resolver-avgcnp2n.js → location-service-map-swv4n3d1.js} +10 -10
- package/dist/chunks/{model-resolver-n12nh7v3.js → location-service-map-t4n03wcv.js} +16 -16
- package/dist/chunks/{model-resolver-nswx804b.js → location-service-map-t931hse7.js} +5 -5
- package/dist/chunks/{model-resolver-bsqx64w4.js → location-service-map-t9gsygq5.js} +4 -4
- package/dist/chunks/{model-resolver-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-0hf9g8pg.js → location-service-map-tcay1cqt.js} +6 -6
- package/dist/chunks/{model-resolver-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-6zbaf6y6.js → location-service-map-tctn2m74.js} +41 -32
- package/dist/chunks/{model-resolver-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/location-service-map-tfgtc0pe.js +26 -0
- package/dist/chunks/{model-resolver-mxvadrgb.js → location-service-map-tma9828z.js} +22 -22
- package/dist/chunks/{model-resolver-tj563fq2.js → location-service-map-tmx1mryt.js} +10 -10
- package/dist/chunks/{model-resolver-xd8zv5eh.js → location-service-map-tsz8qk70.js} +10 -10
- package/dist/chunks/{model-resolver-5fk90ppn.js → location-service-map-ttea074e.js} +30 -30
- package/dist/chunks/{model-resolver-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-2pg8f252.js → location-service-map-v33h0zw5.js} +7 -7
- package/dist/chunks/{model-resolver-06pr8t08.js → location-service-map-v4tsqjyc.js} +23 -23
- package/dist/chunks/{model-resolver-vnzk026p.js → location-service-map-v74ss3dt.js} +15 -15
- package/dist/chunks/{model-resolver-k0a3z2qz.js → location-service-map-v7z2bvyd.js} +4 -4
- package/dist/chunks/{model-resolver-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/location-service-map-vgdhyf9k.js +252 -0
- package/dist/chunks/{model-resolver-154cngd0.js → location-service-map-vv97ra8n.js} +11 -11
- package/dist/chunks/{model-resolver-p5n4cgkg.js → location-service-map-vywjspgy.js} +5 -5
- package/dist/chunks/{model-resolver-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-g2yswn4q.js → location-service-map-w0btq40s.js} +23 -23
- package/dist/chunks/{model-resolver-4xhhjths.js → location-service-map-w1ad28wa.js} +8 -8
- package/dist/chunks/{model-resolver-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-wskc8q6d.js → location-service-map-w97wsg5q.js} +9 -9
- package/dist/chunks/{model-resolver-z4qjxmbw.js → location-service-map-wb4c3pmm.js} +44 -44
- package/dist/chunks/{model-resolver-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-f0f4082g.js → location-service-map-wehc16x5.js} +9 -9
- package/dist/chunks/{model-resolver-818pfwc9.js → location-service-map-wf538q6w.js} +8 -8
- package/dist/chunks/{model-resolver-wrmrmykr.js → location-service-map-wrmrmykr.js} +3 -3
- package/dist/chunks/{model-resolver-d39wnbs3.js → location-service-map-ws895fx8.js} +22 -22
- package/dist/chunks/{model-resolver-ktaf8h5s.js → location-service-map-wsh5sam6.js} +35 -35
- package/dist/chunks/{model-resolver-rgp9xjnz.js → location-service-map-wz4dwhx2.js} +9 -9
- package/dist/chunks/{model-resolver-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-vjkdmr6a.js → location-service-map-x2zz8s1g.js} +56 -56
- package/dist/chunks/{model-resolver-xts25mas.js → location-service-map-x5rzm51b.js} +15 -15
- package/dist/chunks/{model-resolver-hkfaxnqd.js → location-service-map-x6f94w8h.js} +12 -12
- package/dist/chunks/{model-resolver-xkntkrq7.js → location-service-map-xkntkrq7.js} +2 -2
- package/dist/chunks/{model-resolver-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-h9yqjvwa.js → location-service-map-yga80wc9.js} +17 -17
- package/dist/chunks/{model-resolver-r8xr0va3.js → location-service-map-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-resolver-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → location-service-map-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-9qk46xax.js → location-service-map-yt02esnb.js} +6 -6
- package/dist/chunks/{model-resolver-tfe0tp1v.js → location-service-map-yv3g7xzy.js} +18 -18
- package/dist/chunks/{model-resolver-6c4rfp41.js → location-service-map-ywgq89qd.js} +29 -29
- package/dist/chunks/{model-resolver-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-ddvm9hbe.js → location-service-map-z1xczv8v.js} +11 -11
- package/dist/chunks/{model-resolver-z63w68vq.js → location-service-map-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-p995c4qr.js → location-service-map-zdhnzd96.js} +44 -44
- package/dist/chunks/{model-resolver-n0tq777j.js → location-service-map-ze75yzft.js} +8 -8
- package/dist/chunks/{model-resolver-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-0dd3shfy.js → location-service-map-zgar4ghz.js} +30 -30
- package/dist/chunks/{model-resolver-312373c7.js → location-service-map-zpvp7xvx.js} +2 -2
- package/dist/chunks/{model-resolver-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-tep61x30.js → location-service-map-ztksnztg.js} +9 -9
- package/dist/chunks/{model-resolver-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-c4k5568r.js → location-service-map-zzq62vwj.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- 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 +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- 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 +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +73 -73
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +74 -74
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/model-resolver-5m5mx5gm.js +0 -252
- package/dist/chunks/model-resolver-6kdq0pjd.js +0 -4
- package/dist/chunks/model-resolver-7fj5dwt0.js +0 -18
- package/dist/chunks/model-resolver-hha64avn.js +0 -26
- package/dist/chunks/model-resolver-sps9zgfa.js +0 -507
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-34c7v6d4.js → location-service-map-34c7v6d4.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5qd3pb7m.js → location-service-map-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → location-service-map-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-ndmv45hp.js → location-service-map-ndmv45hp.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-nzyhnfxz.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-hbtvd0cq.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./location-service-map-e78gvs92.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-h6c76xv0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service64
|
|
20
|
+
} from "./location-service-map-tctn2m74.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./location-service-map-03s9h7nf.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./location-service-map-6xt159cr.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-46399800.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID9.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service64;
|
|
161
161
|
const bus = yield* Service81;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID8.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID8.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID8.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID8.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-q4sspc8c.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make10,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -100,7 +100,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
100
100
|
return true;
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
104
104
|
const decide = yield* policy2(sessionID);
|
|
105
105
|
const wait = (input) => Effect.gen(function* () {
|
|
106
106
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -117,4 +117,4 @@ var make8 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
117
117
|
return { decide, wait };
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
-
export { isRetryable2, policy2, transient2,
|
|
120
|
+
export { isRetryable2, policy2, transient2, make10, exports_retry };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service72,
|
|
3
|
+
node75,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-23ebhyy2.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service48,
|
|
8
|
+
node50
|
|
9
|
+
} from "./location-service-map-tcay1cqt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service70
|
|
12
|
+
} from "./location-service-map-nkwbwebq.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-vgdhyf9k.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(Service72, 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, Service70);
|
|
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
|
+
node50.replace(Layer.succeed(Service48, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node75.replace(Layer.succeed(Service72, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
3
|
Service59
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-gsz6cz4y.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin15,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,7 +19,7 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin15 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
const config = yield* Service59;
|
|
@@ -96,4 +96,4 @@ var Plugin34 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin15, exports_warming };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES2, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-47bg82f5.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service72,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node75,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service72 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service72, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node75 = LayerNode.unbound(Service72, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service72;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service72, node75, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./location-service-map-tctn2m74.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-qvac82vn.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Service81,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-hbtvd0cq.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-ndmv45hp.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-bjtzbw4r.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_inbox, {
|
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service47,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer18,
|
|
49
49
|
list: () => list3,
|
|
50
50
|
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node49,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -151,10 +151,10 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service47 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
156
|
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
-
const database = yield*
|
|
157
|
+
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service81;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer18 = Layer.effect(Service47, make17());
|
|
231
|
+
var node49 = makeGlobalNode({ service: Service47, layer: layer18, deps: [node88, node84] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service47, make17, layer18, node49, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service81,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-hbtvd0cq.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service4,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node5
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service4 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service4, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service81;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service4.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node5 = makeGlobalNode({ service: Service4, layer: layer4, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service4, layer4, node5, exports_sdk };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info10,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-p4sxwvkr.js";
|
|
9
9
|
import {
|
|
10
10
|
Service59
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-gsz6cz4y.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin13,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin13 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info10.make({
|
|
434
|
+
id: ID6.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info10.make({
|
|
441
|
+
id: ID6.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin13, exports_skill };
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
ID15,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-swv4n3d1.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-50ymr963.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin10
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin10 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -148,4 +148,4 @@ var Plugin35 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin10, exports_agent };
|