@opencode/core 0.0.0-dev-20735 → 0.0.0-dev-20737
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 +76 -76
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{location-service-map-53vxm274.js → skill-06wsxt2c.js} +28 -28
- package/dist/chunks/{location-service-map-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-0emb60td.js → skill-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-service-map-csmm5m4x.js → skill-0wfjtxyk.js} +20 -20
- package/dist/chunks/{location-service-map-cdf44jq4.js → skill-10q5xqqa.js} +11 -11
- package/dist/chunks/{location-service-map-1r0m8s4k.js → skill-19tdy48r.js} +16 -16
- package/dist/chunks/{location-service-map-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-84h8c373.js → skill-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-service-map-k5n7mtkn.js → skill-1ffbm2jk.js} +11 -11
- package/dist/chunks/{location-service-map-pwqp88nm.js → skill-1n3md1y5.js} +16 -16
- package/dist/chunks/skill-1nrzyvtq.js +253 -0
- package/dist/chunks/{location-service-map-vynmvp9h.js → skill-1nzh38e4.js} +9 -9
- package/dist/chunks/{location-service-map-8sze2n9a.js → skill-1p07q0wb.js} +8 -8
- package/dist/chunks/{location-service-map-ezk2k2nc.js → skill-1pxz8ven.js} +5 -5
- package/dist/chunks/{location-service-map-2y6zpsdj.js → skill-1r57angp.js} +4 -4
- package/dist/chunks/{location-service-map-e3h34950.js → skill-1scbvhtv.js} +23 -23
- package/dist/chunks/{location-service-map-dch9g1ez.js → skill-1tw2jwmk.js} +35 -35
- package/dist/chunks/{location-service-map-20g1jh9k.js → skill-23q06crd.js} +8 -8
- package/dist/chunks/{location-service-map-664v0k6q.js → skill-25x68gpd.js} +10 -10
- package/dist/chunks/{location-service-map-3j09gcwn.js → skill-277t2enf.js} +8 -8
- package/dist/chunks/{location-service-map-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-gm6f8w1r.js → skill-2hyensw7.js} +8 -8
- package/dist/chunks/{location-service-map-m4qbna0r.js → skill-2k371w3m.js} +29 -29
- package/dist/chunks/{location-service-map-2k8khapm.js → skill-2k8khapm.js} +1 -1
- package/dist/chunks/{location-service-map-rqb87221.js → skill-2vjrrp5b.js} +9 -9
- package/dist/chunks/{location-service-map-kneamgfa.js → skill-38bd0qn4.js} +18 -18
- package/dist/chunks/{location-service-map-3jq3pnk6.js → skill-38hn9kqs.js} +18 -18
- package/dist/chunks/{location-service-map-xa056vn0.js → skill-39z6f63w.js} +68 -68
- package/dist/chunks/{location-service-map-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-wm5kwffx.js → skill-3pwb08cy.js} +3 -3
- package/dist/chunks/{location-service-map-3b1n4c0v.js → skill-3px26116.js} +20 -20
- package/dist/chunks/{location-service-map-2p623br6.js → skill-3qaj82j9.js} +5 -5
- package/dist/chunks/{location-service-map-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-rtb52qhq.js → skill-3wc4h5vb.js} +13 -13
- package/dist/chunks/{location-service-map-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-service-map-vy7v463h.js → skill-43kacva0.js} +4 -4
- package/dist/chunks/{location-service-map-cjk3yztn.js → skill-44ektz7s.js} +3 -3
- package/dist/chunks/{location-service-map-xaaj1tye.js → skill-44zr7wmx.js} +4 -4
- package/dist/chunks/{location-service-map-8r1f1zwq.js → skill-489wr3gf.js} +50 -50
- package/dist/chunks/{location-service-map-4ts7tf6z.js → skill-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-service-map-vthg97h9.js → skill-50z82c7r.js} +5 -5
- package/dist/chunks/{location-service-map-xfkkasph.js → skill-57b9ws8p.js} +7 -7
- package/dist/chunks/{location-service-map-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-service-map-k6ybn7as.js → skill-5psp9g7y.js} +13 -13
- package/dist/chunks/{location-service-map-v0xmac3n.js → skill-5pyjqqve.js} +2 -2
- package/dist/chunks/{location-service-map-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-c3zehg50.js → skill-5x6e9h63.js} +11 -11
- package/dist/chunks/{location-service-map-gvr8ekz8.js → skill-61pe18x3.js} +20 -20
- package/dist/chunks/{location-service-map-anwrx3vb.js → skill-6bb6h48a.js} +90 -90
- package/dist/chunks/{location-service-map-dgm945yk.js → skill-6h0170s0.js} +24 -24
- package/dist/chunks/{location-service-map-4esgd2h9.js → skill-6qtqgym6.js} +20 -20
- package/dist/chunks/{location-service-map-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-service-map-9vaedqxn.js → skill-6xssvdrk.js} +14 -14
- package/dist/chunks/{location-service-map-v5fbhvxb.js → skill-6yhjnbtw.js} +24 -24
- package/dist/chunks/{location-service-map-f75zav2x.js → skill-71az546q.js} +2 -2
- package/dist/chunks/{location-service-map-wr9mz46y.js → skill-72rdzmg5.js} +43 -43
- package/dist/chunks/{location-service-map-p79d271j.js → skill-79z4s1s6.js} +20 -20
- package/dist/chunks/{location-service-map-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-7qtaxanh.js → skill-7gvtk0qz.js} +5 -5
- package/dist/chunks/{location-service-map-b70cp975.js → skill-7ntjdhca.js} +27 -27
- package/dist/chunks/{location-service-map-3p88kp5b.js → skill-7pezb3n5.js} +3 -3
- package/dist/chunks/{location-service-map-2zbf90ch.js → skill-7s6ywcxg.js} +11 -11
- package/dist/chunks/{location-service-map-1gpjfezg.js → skill-7t1q934f.js} +10 -10
- package/dist/chunks/{location-service-map-rd3hqfd2.js → skill-84vxcqvw.js} +13 -13
- package/dist/chunks/{location-service-map-fv6z39q6.js → skill-8bs2why9.js} +15 -15
- package/dist/chunks/{location-service-map-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-cvx0e1bt.js → skill-8eakngdv.js} +36 -36
- package/dist/chunks/{location-service-map-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-service-map-vedpmp6c.js → skill-8rbyn89s.js} +18 -18
- package/dist/chunks/{location-service-map-3baj6v9a.js → skill-99ts872a.js} +25 -25
- package/dist/chunks/{location-service-map-kb9j3d72.js → skill-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-service-map-xw2x94wp.js → skill-9jcb1sx6.js} +27 -27
- package/dist/chunks/{location-service-map-qg91mhk9.js → skill-9psmcpyj.js} +14 -14
- package/dist/chunks/{location-service-map-v3axjhay.js → skill-9s9cscsz.js} +10 -10
- package/dist/chunks/{location-service-map-9hp16pdx.js → skill-9sn56ns6.js} +16 -16
- package/dist/chunks/{location-service-map-sten0bqb.js → skill-9svtd541.js} +30 -30
- package/dist/chunks/{location-service-map-9zdhvgqs.js → skill-9zdhvgqs.js} +1 -1
- package/dist/chunks/{location-service-map-cpwfp1a9.js → skill-9zwvgpfx.js} +35 -35
- package/dist/chunks/{location-service-map-e4g6rnfs.js → skill-a310axxt.js} +15 -15
- package/dist/chunks/{location-service-map-dc1bnmm6.js → skill-a4xvcdkg.js} +37 -37
- package/dist/chunks/{location-service-map-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-hqsbmb15.js → skill-afg4t0pj.js} +16 -16
- package/dist/chunks/{location-service-map-snr9kmf9.js → skill-anghpc0j.js} +7 -7
- package/dist/chunks/{location-service-map-n57qrn3a.js → skill-ax36eyar.js} +8 -8
- package/dist/chunks/{location-service-map-ypafjwkk.js → skill-b1rh2849.js} +5 -5
- package/dist/chunks/{location-service-map-zyk1yjk8.js → skill-b3f8fkhc.js} +5 -5
- package/dist/chunks/{location-service-map-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-tv9et59k.js → skill-bkwdswef.js} +16 -16
- package/dist/chunks/{location-service-map-xevjxxfx.js → skill-bqcj8w0k.js} +19 -19
- package/dist/chunks/{location-service-map-kx705y8y.js → skill-bsprd9wx.js} +6 -6
- package/dist/chunks/{location-service-map-ryb4sabt.js → skill-btm5bz2x.js} +5 -5
- package/dist/chunks/{location-service-map-s7nv2rwz.js → skill-bx0gyb4h.js} +5 -5
- package/dist/chunks/{location-service-map-a8vtzv7h.js → skill-c05ds52p.js} +18 -18
- package/dist/chunks/{location-service-map-jdpqn6n9.js → skill-c06b7ecc.js} +10 -10
- package/dist/chunks/{location-service-map-1y43ym7q.js → skill-c1xseb8n.js} +5 -5
- package/dist/chunks/{location-service-map-782taykb.js → skill-cbcz0cm3.js} +7 -7
- package/dist/chunks/{location-service-map-811a529q.js → skill-cmw5tbtb.js} +20 -20
- package/dist/chunks/{location-service-map-9ph3ycpc.js → skill-cv3bhqd6.js} +44 -44
- package/dist/chunks/{location-service-map-5h9eqmsr.js → skill-cx0wkq69.js} +29 -29
- package/dist/chunks/{location-service-map-tmq2emtr.js → skill-cz4dmrjy.js} +26 -26
- package/dist/chunks/skill-dd39rsm0.js +507 -0
- package/dist/chunks/{location-service-map-cag4tck2.js → skill-ddd3fjw8.js} +16 -16
- package/dist/chunks/{location-service-map-rf4vyrz7.js → skill-dg5q8gvb.js} +28 -28
- package/dist/chunks/{location-service-map-dewj8197.js → skill-djcq789t.js} +35 -35
- package/dist/chunks/{location-service-map-8x62bep5.js → skill-dkd21v3p.js} +13 -13
- package/dist/chunks/{location-service-map-ax1z2ndw.js → skill-dnk9eqsn.js} +25 -25
- package/dist/chunks/{location-service-map-4y4r5z5b.js → skill-dpk64jtg.js} +4 -4
- package/dist/chunks/{location-service-map-dpkg50ah.js → skill-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-service-map-kbx8m6gb.js → skill-dw07500w.js} +3 -3
- package/dist/chunks/{location-service-map-xg9smtde.js → skill-dw45dz0p.js} +79 -79
- package/dist/chunks/{location-service-map-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-afrtgck4.js → skill-ermxvwhp.js} +4 -4
- package/dist/chunks/{location-service-map-jp3y83b8.js → skill-esvm55dh.js} +8 -8
- package/dist/chunks/{location-service-map-ezhqr4dw.js → skill-et6w6b4v.js} +24 -24
- package/dist/chunks/{location-service-map-0zr63e5x.js → skill-etpqnkca.js} +11 -11
- package/dist/chunks/{location-service-map-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-6req7aj4.js → skill-evd1sev3.js} +24 -24
- package/dist/chunks/{location-service-map-7y8fvpvp.js → skill-ezajbw9f.js} +11 -11
- package/dist/chunks/{location-service-map-ptxaygn1.js → skill-f1j5wxkf.js} +40 -40
- package/dist/chunks/{location-service-map-1shzte8w.js → skill-f59ep6tb.js} +11 -11
- package/dist/chunks/{location-service-map-3knmg7hh.js → skill-fd1vwam1.js} +7 -7
- package/dist/chunks/{location-service-map-a6v06961.js → skill-fe06vw8c.js} +6 -6
- package/dist/chunks/{location-service-map-39r23z6b.js → skill-fh1gv0p9.js} +26 -26
- package/dist/chunks/{location-service-map-kbj2dgab.js → skill-fwfdmgk0.js} +5 -5
- package/dist/chunks/{location-service-map-5fde8rf2.js → skill-fzqzk99w.js} +21 -21
- package/dist/chunks/{location-service-map-1ajx6rf5.js → skill-g0445xdp.js} +8 -8
- package/dist/chunks/{location-service-map-jvnghvnw.js → skill-g1sxm558.js} +8 -8
- package/dist/chunks/{location-service-map-janz2r1q.js → skill-g7ff7jg9.js} +22 -22
- package/dist/chunks/{location-service-map-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-zpts693v.js → skill-gfjbtf19.js} +6 -6
- package/dist/chunks/{location-service-map-tv7q41xk.js → skill-gh5z95q3.js} +9 -9
- package/dist/chunks/{location-service-map-9vmwa021.js → skill-gpeaf9sh.js} +35 -35
- package/dist/chunks/{location-service-map-zkyrpvtj.js → skill-grcnrnkn.js} +15 -15
- package/dist/chunks/{location-service-map-faxn7cy8.js → skill-grx4rdsz.js} +33 -33
- package/dist/chunks/skill-gsr5nhzc.js +26 -0
- package/dist/chunks/{location-service-map-3cegwx68.js → skill-h2b79v29.js} +2 -2
- package/dist/chunks/{location-service-map-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-5w9yjztw.js → skill-he27pt63.js} +1 -1
- package/dist/chunks/{location-service-map-p8p13f12.js → skill-hhjqsc24.js} +5 -5
- package/dist/chunks/{location-service-map-tz4n1mmd.js → skill-hn57h045.js} +4 -4
- package/dist/chunks/{location-service-map-jf28ek8f.js → skill-j3asptbj.js} +13 -13
- package/dist/chunks/{location-service-map-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-7a1hshqp.js → skill-ja7j58wk.js} +10 -10
- package/dist/chunks/{location-service-map-c2wr4gbn.js → skill-jd8va912.js} +20 -20
- package/dist/chunks/{location-service-map-9d29k2sy.js → skill-jj92brwa.js} +4 -4
- package/dist/chunks/{location-service-map-6jps0nvq.js → skill-jmgecx2v.js} +8 -8
- package/dist/chunks/{location-service-map-2q116s0g.js → skill-jx51jahy.js} +3 -3
- package/dist/chunks/{location-service-map-198ssmbw.js → skill-k5s3j7zg.js} +19 -19
- package/dist/chunks/{location-service-map-2mb2919b.js → skill-kefyc7dx.js} +11 -11
- package/dist/chunks/{location-service-map-b27ghv1r.js → skill-kk9nk0jx.js} +25 -25
- package/dist/chunks/{location-service-map-tbwdsz02.js → skill-ktw2vd1c.js} +8 -8
- package/dist/chunks/{location-service-map-j6d8s83h.js → skill-kx20hmfv.js} +15 -15
- package/dist/chunks/{location-service-map-711y4ma3.js → skill-kys24f1n.js} +14 -14
- package/dist/chunks/{location-service-map-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-service-map-6h9s4x6n.js → skill-m799t65h.js} +3 -3
- package/dist/chunks/{location-service-map-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-2ky06ky9.js → skill-meh60f5s.js} +15 -15
- package/dist/chunks/{location-service-map-mfqp6xfm.js → skill-mfqp6xfm.js} +2 -2
- package/dist/chunks/{location-service-map-3br01mcr.js → skill-mh24axys.js} +40 -40
- package/dist/chunks/{location-service-map-rfrf17aw.js → skill-mjqndqed.js} +5 -5
- package/dist/chunks/{location-service-map-50mzsvk4.js → skill-mjymc32g.js} +4 -4
- package/dist/chunks/{location-service-map-w319nhgc.js → skill-mkn9c7m3.js} +16 -16
- package/dist/chunks/{location-service-map-mvfsc1pv.js → skill-mvfsc1pv.js} +1 -1
- package/dist/chunks/{location-service-map-nbfk4spf.js → skill-n25gp9gg.js} +32 -32
- package/dist/chunks/{location-service-map-5s9sacvh.js → skill-n4wrc38t.js} +10 -10
- package/dist/chunks/{location-service-map-0jd8n8rn.js → skill-n90hmzqc.js} +12 -12
- package/dist/chunks/{location-service-map-dm2pdpx2.js → skill-npvj8sw0.js} +18 -18
- package/dist/chunks/{location-service-map-cqv2wkh6.js → skill-p4cjcapg.js} +11 -11
- package/dist/chunks/{location-service-map-vqtj5sg4.js → skill-p4mr7sfp.js} +25 -25
- package/dist/chunks/{location-service-map-kpxkaw22.js → skill-p780t5np.js} +23 -23
- package/dist/chunks/{location-service-map-kzce54ng.js → skill-p85f44de.js} +23 -23
- package/dist/chunks/{location-service-map-swg79b35.js → skill-pbh0vz0q.js} +11 -11
- package/dist/chunks/{location-service-map-bsqx64w4.js → skill-pc4b88sv.js} +4 -4
- package/dist/chunks/{location-service-map-zwfhe8jc.js → skill-pftnhemm.js} +21 -21
- package/dist/chunks/{location-service-map-6rm5yzkt.js → skill-pgp1nwjn.js} +4 -4
- package/dist/chunks/{location-service-map-snyghj24.js → skill-ph4ax9de.js} +15 -15
- package/dist/chunks/{location-service-map-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-mg9mkpg3.js → skill-psx2xk5v.js} +53 -53
- package/dist/chunks/{location-service-map-f4cke4kj.js → skill-pt6ynb3r.js} +9 -9
- package/dist/chunks/{location-service-map-2qbvmajs.js → skill-ptt2rvrg.js} +6 -6
- package/dist/chunks/{location-service-map-q0xm7vwc.js → skill-q0xm7vwc.js} +2 -2
- package/dist/chunks/{location-service-map-6p6p53k2.js → skill-q89h793z.js} +11 -11
- package/dist/chunks/{location-service-map-3h3m3rpf.js → skill-qc8pb49h.js} +18 -18
- package/dist/chunks/{location-service-map-x33nvbwv.js → skill-qhtzv5m2.js} +49 -49
- package/dist/chunks/{location-service-map-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-service-map-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-9kw1gp9b.js → skill-qt9r0byv.js} +13 -13
- package/dist/chunks/{location-service-map-qxjc9qry.js → skill-qxjc9qry.js} +3 -3
- package/dist/chunks/{location-service-map-w9zfbjp4.js → skill-qxwwzzg1.js} +11 -11
- package/dist/chunks/{location-service-map-p0n75hrs.js → skill-r0s95t1n.js} +9 -9
- package/dist/chunks/{location-service-map-2mq1h16s.js → skill-r2m716tb.js} +9 -9
- package/dist/chunks/{location-service-map-egh0nd0j.js → skill-r2pqz3tk.js} +4 -4
- package/dist/chunks/{location-service-map-54ma36ye.js → skill-r94pvvab.js} +4 -4
- package/dist/chunks/{location-service-map-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-sxkj110m.js → skill-rqpv8srm.js} +31 -31
- package/dist/chunks/{location-service-map-xcprcbs0.js → skill-s244nafr.js} +3 -3
- package/dist/chunks/{location-service-map-f59s4cc3.js → skill-s5szkcnr.js} +11 -11
- package/dist/chunks/{location-service-map-hz6nra5z.js → skill-s72jh12f.js} +13 -13
- package/dist/chunks/{location-service-map-t550f9t1.js → skill-s8d7rejh.js} +4 -4
- package/dist/chunks/{location-service-map-4bgzx16c.js → skill-sd90cypy.js} +15 -15
- package/dist/chunks/{location-service-map-5y8fd58d.js → skill-sjnp66q1.js} +5 -5
- package/dist/chunks/{location-service-map-ppzsh8xz.js → skill-sjpyckkz.js} +32 -32
- package/dist/chunks/{location-service-map-a55jx63h.js → skill-sjztfj4p.js} +25 -25
- package/dist/chunks/{location-service-map-v1f6cgh9.js → skill-snq0zncn.js} +45 -45
- package/dist/chunks/{location-service-map-f4d9c169.js → skill-sq06bhpk.js} +21 -21
- package/dist/chunks/{location-service-map-zpkmj148.js → skill-stha93yf.js} +6 -6
- package/dist/chunks/{location-service-map-hv5wevtb.js → skill-swvjn5a3.js} +3 -3
- package/dist/chunks/{location-service-map-x65zb6ev.js → skill-szp886pa.js} +24 -24
- package/dist/chunks/{location-service-map-em5gwgnx.js → skill-t874xgby.js} +178 -178
- package/dist/chunks/{location-service-map-8n69n882.js → skill-t89fqycx.js} +8 -8
- package/dist/chunks/{location-service-map-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-020j3mp2.js → skill-tbhgqgrp.js} +6 -6
- package/dist/chunks/{location-service-map-89znhe33.js → skill-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-service-map-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-xecxzrdp.js → skill-tg7bkhef.js} +7 -7
- package/dist/chunks/{location-service-map-b1psh6s2.js → skill-tqdm0hxx.js} +9 -9
- package/dist/chunks/{location-service-map-vc751hta.js → skill-ty8gx314.js} +9 -9
- package/dist/chunks/{location-service-map-pm7gqfwt.js → skill-v0yy4vhd.js} +15 -15
- package/dist/chunks/{location-service-map-zmhs9j3z.js → skill-v3zmb1fx.js} +24 -24
- package/dist/chunks/{location-service-map-tkmwgdpd.js → skill-v5dkyp31.js} +5 -5
- package/dist/chunks/{location-service-map-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-73esx20d.js → skill-vhhspe0b.js} +2 -2
- package/dist/chunks/{location-service-map-20cj7b67.js → skill-vhryn6dg.js} +32 -32
- package/dist/chunks/{location-service-map-kzn4295t.js → skill-vpywqx1w.js} +1 -1
- package/dist/chunks/{location-service-map-p7a39gy5.js → skill-vqfzq50h.js} +6 -6
- package/dist/chunks/{location-service-map-tmm18trm.js → skill-vt7e675m.js} +8 -8
- package/dist/chunks/{location-service-map-m5jcjszt.js → skill-vx3jgdek.js} +3 -3
- package/dist/chunks/{location-service-map-tx2y3b3g.js → skill-vxcp0z3k.js} +7 -7
- package/dist/chunks/{location-service-map-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-service-map-84txncab.js → skill-w1eejvng.js} +5 -5
- package/dist/chunks/{location-service-map-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-1ze35xh4.js → skill-w45mwdha.js} +7 -7
- package/dist/chunks/{location-service-map-jz7r8edy.js → skill-w8kt14yd.js} +19 -19
- package/dist/chunks/{location-service-map-byjhjrmz.js → skill-waawk074.js} +4 -4
- package/dist/chunks/{location-service-map-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-w40abp0x.js → skill-web09d21.js} +5 -5
- package/dist/chunks/{location-service-map-fr637340.js → skill-wex12k0g.js} +46 -46
- package/dist/chunks/{location-service-map-rb8bt062.js → skill-wex2zvbh.js} +7 -7
- package/dist/chunks/{location-service-map-qb6b4g4m.js → skill-wnqy2pcn.js} +16 -16
- package/dist/chunks/{location-service-map-p5vcwgcv.js → skill-wxzftkw1.js} +10 -10
- package/dist/chunks/{location-service-map-x661k3y3.js → skill-x661k3y3.js} +1 -1
- package/dist/chunks/{location-service-map-92pnwrb8.js → skill-xfzxapbj.js} +27 -27
- package/dist/chunks/{location-service-map-vc9hav61.js → skill-xg8xczng.js} +15 -15
- package/dist/chunks/{location-service-map-xkntkrq7.js → skill-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-service-map-8kq9p8jz.js → skill-xr713843.js} +16 -16
- package/dist/chunks/{location-service-map-8dnsnve2.js → skill-y0hp3gkb.js} +1 -1
- package/dist/chunks/{location-service-map-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-e0xpb80v.js → skill-y335f8qg.js} +34 -34
- package/dist/chunks/{location-service-map-x5qamb68.js → skill-y7dfz63f.js} +18 -18
- package/dist/chunks/{location-service-map-1109kv5r.js → skill-yg6nt6v4.js} +8 -8
- package/dist/chunks/{location-service-map-5jswmftw.js → skill-yh35n21a.js} +18 -18
- package/dist/chunks/{location-service-map-r2gzg7ce.js → skill-yknazq4b.js} +21 -21
- package/dist/chunks/{location-service-map-x24mjvnp.js → skill-ykvgmq8e.js} +13 -13
- package/dist/chunks/{location-service-map-yp2x3t23.js → skill-yp2x3t23.js} +1 -1
- package/dist/chunks/{location-service-map-4fx98jam.js → skill-yrk4rgjd.js} +10 -10
- package/dist/chunks/{location-service-map-dvkrz2pa.js → skill-ywfjxz2y.js} +8 -8
- package/dist/chunks/{location-service-map-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-xf8yqmad.js → skill-z4ztj7g0.js} +9 -9
- package/dist/chunks/{location-service-map-5aw4d85b.js → skill-z6rxv4fn.js} +32 -32
- package/dist/chunks/{location-service-map-xdc3sm7c.js → skill-za34rbws.js} +47 -47
- package/dist/chunks/{location-service-map-nw42y7ya.js → skill-za48msp1.js} +4 -4
- package/dist/chunks/{location-service-map-aywfxs4m.js → skill-zfs8ae4p.js} +4 -4
- package/dist/chunks/{location-service-map-aezf7b9z.js → skill-zmfpt6bt.js} +24 -24
- package/dist/chunks/{location-service-map-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-0jmyq18g.js → skill-zr91fnzj.js} +17 -17
- package/dist/chunks/{location-service-map-3sj8yt8v.js → skill-zsr4wwhv.js} +4 -4
- package/dist/chunks/{location-service-map-3fxhvxgd.js → skill-ztj6b4n1.js} +1 -1
- package/dist/chunks/{location-service-map-g3kvhe3m.js → skill-ztpyyfxw.js} +5 -5
- package/dist/chunks/{location-service-map-dmsxtrss.js → skill-zv33fkyr.js} +12 -12
- package/dist/chunks/{location-service-map-5wq08njd.js → skill-zvbjdhz9.js} +17 -17
- package/dist/chunks/{location-service-map-7rq69z08.js → skill-zwb3m7a4.js} +15 -15
- package/dist/chunks/{location-service-map-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-service-map-47fh37dc.js → skill-zxx8wx1f.js} +18 -18
- package/dist/chunks/{location-service-map-wwwjdszg.js → skill-zzbsmw59.js} +33 -33
- 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 +86 -86
- package/dist/config/discovery.js +85 -85
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- 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 +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +67 -67
- 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.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +71 -71
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- 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 +215 -215
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +106 -106
- package/dist/git.js +6 -6
- 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 +100 -100
- 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 +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +96 -96
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- 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 +215 -215
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +106 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +113 -113
- package/dist/snapshot.js +92 -92
- 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 +127 -127
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +207 -207
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- 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 +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/location-service-map-eq4v9m8y.js +0 -253
- package/dist/chunks/location-service-map-nyf6va6s.js +0 -507
- package/dist/chunks/location-service-map-tp2bs2c5.js +0 -26
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-34c7v6d4.js → skill-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./skill-1scbvhtv.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-6q2bdcd1.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 !== ID13.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 !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./skill-61pe18x3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./skill-489wr3gf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service75;
|
|
57
|
+
const permission = yield* Service64;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-5x6e9h63.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-1r57angp.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service76
|
|
11
|
+
} from "./skill-afg4t0pj.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-sq06bhpk.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-1scbvhtv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID4,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info13
|
|
24
|
+
} from "./skill-9svtd541.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./skill-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
get4
|
|
31
|
+
} from "./skill-r94pvvab.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/chatgpt.ts
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -40,8 +40,8 @@ var issuer = "https://auth.openai.com";
|
|
|
40
40
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
41
41
|
var resource = "https://api.openai.com/v1";
|
|
42
42
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
43
|
-
var providerID =
|
|
44
|
-
var integrationID =
|
|
43
|
+
var providerID = ID13.openai;
|
|
44
|
+
var integrationID = ID14.make("openai");
|
|
45
45
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
46
46
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
47
47
|
var fallbackModels = new Set([
|
|
@@ -177,7 +177,7 @@ var ChatGPTPlugin2 = define({
|
|
|
177
177
|
id: "opencode.provider.chatgpt",
|
|
178
178
|
effect: Effect.fn(function* (ctx) {
|
|
179
179
|
const bus = yield* Service83;
|
|
180
|
-
const credentials = yield*
|
|
180
|
+
const credentials = yield* Service76;
|
|
181
181
|
const loading = Semaphore.makeUnsafe(1);
|
|
182
182
|
let chatgpt;
|
|
183
183
|
let source;
|
|
@@ -192,7 +192,7 @@ var ChatGPTPlugin2 = define({
|
|
|
192
192
|
yield* ctx.integration.transform((editor) => {
|
|
193
193
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
194
194
|
});
|
|
195
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
195
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
|
|
196
196
|
const value = entry.value;
|
|
197
197
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
198
198
|
return Effect.void;
|
|
@@ -221,7 +221,7 @@ var ChatGPTPlugin2 = define({
|
|
|
221
221
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
222
222
|
return;
|
|
223
223
|
}));
|
|
224
|
-
evt.headers["session-id"] = session ?
|
|
224
|
+
evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
|
|
225
225
|
evt.headers["thread-id"] = evt.sessionID;
|
|
226
226
|
evt.headers["x-client-request-id"] = evt.sessionID;
|
|
227
227
|
}), { providerID });
|
|
@@ -319,7 +319,7 @@ function deriveModels2(remote, existing) {
|
|
|
319
319
|
const found = byID.get(model.modelID);
|
|
320
320
|
return found ? [deriveModel(found, model)] : [];
|
|
321
321
|
}),
|
|
322
|
-
...remote.filter((model) => !known.has(
|
|
322
|
+
...remote.filter((model) => !known.has(ID4.make(model.slug))).map((model) => deriveModel(model, Info13.default(ID13.openai, ID4.make(model.slug))))
|
|
323
323
|
];
|
|
324
324
|
}
|
|
325
325
|
function deriveModel(remote, previous) {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-5x6e9h63.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-1r57angp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID16,
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service76
|
|
11
|
+
} from "./skill-afg4t0pj.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-x661k3y3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-sq06bhpk.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID13,
|
|
24
|
+
Service73
|
|
25
|
+
} from "./skill-1scbvhtv.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID4
|
|
28
|
+
} from "./skill-9svtd541.js";
|
|
29
29
|
import {
|
|
30
30
|
iife2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-1kg9ymc8.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./skill-ptt2rvrg.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/azure.ts
|
|
37
37
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -75,19 +75,19 @@ var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.No
|
|
|
75
75
|
var ResourceListing = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
76
76
|
var decodeProfile = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Struct({ subscriptions: Schema.NonEmptyArray(Schema.Unknown) })));
|
|
77
77
|
var decodeResourceListing = Schema.decodeUnknownOption(Schema.Struct({ resourceName: Schema.NonEmptyString, resourceGroup: Schema.String, location: Schema.String }));
|
|
78
|
-
function
|
|
78
|
+
function make8(endpoints = {
|
|
79
79
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
80
80
|
management: "https://management.azure.com"
|
|
81
81
|
}) {
|
|
82
82
|
return define({
|
|
83
83
|
id: "opencode.provider.azure",
|
|
84
84
|
effect: Effect.fn(function* (ctx) {
|
|
85
|
-
const configured = yield* configuredSettings2(
|
|
85
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
86
86
|
const processes = yield* AppProcess.Service;
|
|
87
87
|
const fs = yield* FSUtil.Service;
|
|
88
88
|
const bus = yield* Service83;
|
|
89
|
-
const credentials = yield*
|
|
90
|
-
const providers = yield*
|
|
89
|
+
const credentials = yield* Service76;
|
|
90
|
+
const providers = yield* Service73;
|
|
91
91
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
92
92
|
const tokens = new Map;
|
|
93
93
|
const resourceIDs = new Map;
|
|
@@ -114,7 +114,7 @@ function make9(endpoints = {
|
|
|
114
114
|
const listing = {};
|
|
115
115
|
yield* ctx.integration.transform((editor) => {
|
|
116
116
|
editor.method.update({
|
|
117
|
-
integrationID:
|
|
117
|
+
integrationID: ID13.azure,
|
|
118
118
|
method: {
|
|
119
119
|
type: "key",
|
|
120
120
|
label: "API key",
|
|
@@ -132,7 +132,7 @@ function make9(endpoints = {
|
|
|
132
132
|
if (!available)
|
|
133
133
|
return;
|
|
134
134
|
editor.method.update({
|
|
135
|
-
integrationID:
|
|
135
|
+
integrationID: ID13.azure,
|
|
136
136
|
method: {
|
|
137
137
|
id: methodID,
|
|
138
138
|
type: "external",
|
|
@@ -160,8 +160,8 @@ function make9(endpoints = {
|
|
|
160
160
|
});
|
|
161
161
|
});
|
|
162
162
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
163
|
-
const connection = yield* ctx.integration.connection.active(
|
|
164
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
163
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
164
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
|
|
165
165
|
return { connection, resource: credentialResource(stored?.value) };
|
|
166
166
|
});
|
|
167
167
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -200,7 +200,7 @@ function make9(endpoints = {
|
|
|
200
200
|
}));
|
|
201
201
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
202
202
|
const connection = loaded.connection;
|
|
203
|
-
const settings = (yield* providers.get(
|
|
203
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
204
204
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
205
205
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
206
206
|
if (loaded.connection !== connection)
|
|
@@ -222,11 +222,11 @@ function make9(endpoints = {
|
|
|
222
222
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
223
223
|
if (!found)
|
|
224
224
|
return;
|
|
225
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
225
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
226
226
|
return;
|
|
227
227
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
228
228
|
return;
|
|
229
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
229
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
230
230
|
id.toLowerCase(),
|
|
231
231
|
id
|
|
232
232
|
]));
|
|
@@ -239,7 +239,7 @@ function make9(endpoints = {
|
|
|
239
239
|
yield* ctx.model.reload();
|
|
240
240
|
});
|
|
241
241
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
242
|
-
const resourceFor = (provider) => provider.id ===
|
|
242
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
243
243
|
Object.assign(loaded, yield* load());
|
|
244
244
|
const listResources = Effect.fn("AzurePlugin.listResources")(function* () {
|
|
245
245
|
const profile = yield* fs.readFileStringSafe(path.join(process.env.AZURE_CONFIG_DIR ?? path.join(Global.Path.home, ".azure"), "azureProfile.json"));
|
|
@@ -264,7 +264,7 @@ function make9(endpoints = {
|
|
|
264
264
|
yield* listResources().pipe(Effect.catch((cause) => Effect.logDebug("failed to list Azure resources", { cause })), Effect.forkScoped);
|
|
265
265
|
yield* ctx.provider.transform((evt) => {
|
|
266
266
|
for (const item of evt.list()) {
|
|
267
|
-
if (item.provider.id !==
|
|
267
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
268
268
|
continue;
|
|
269
269
|
const resourceName = resourceFor(item.provider);
|
|
270
270
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -279,7 +279,7 @@ function make9(endpoints = {
|
|
|
279
279
|
};
|
|
280
280
|
});
|
|
281
281
|
}
|
|
282
|
-
const item = evt.get(
|
|
282
|
+
const item = evt.get(ID13.azure);
|
|
283
283
|
if (!item)
|
|
284
284
|
return;
|
|
285
285
|
evt.add({
|
|
@@ -290,7 +290,7 @@ function make9(endpoints = {
|
|
|
290
290
|
});
|
|
291
291
|
yield* ctx.model.transform((models) => {
|
|
292
292
|
for (const item of models.provider.list()) {
|
|
293
|
-
if (item.provider.id !==
|
|
293
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
294
294
|
continue;
|
|
295
295
|
const resourceName = resourceFor(item.provider);
|
|
296
296
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -302,20 +302,20 @@ function make9(endpoints = {
|
|
|
302
302
|
}
|
|
303
303
|
if (!loaded.deployments)
|
|
304
304
|
return;
|
|
305
|
-
const catalog = models.list(
|
|
305
|
+
const catalog = models.list(ID13.azure);
|
|
306
306
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
307
307
|
for (const model of catalog) {
|
|
308
308
|
if (!deployed.has(model.id))
|
|
309
|
-
models.remove(
|
|
309
|
+
models.remove(ID13.azure, model.id);
|
|
310
310
|
}
|
|
311
311
|
for (const [id, model] of deployed) {
|
|
312
|
-
models.update(
|
|
312
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
313
313
|
}
|
|
314
314
|
});
|
|
315
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
315
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
316
316
|
yield* refresh().pipe(Effect.forkScoped);
|
|
317
317
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
318
|
-
const connection = yield* ctx.integration.connection.active(
|
|
318
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
319
319
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
320
320
|
return;
|
|
321
321
|
})) : undefined;
|
|
@@ -327,7 +327,7 @@ function make9(endpoints = {
|
|
|
327
327
|
return `Bearer ${current.access}`;
|
|
328
328
|
});
|
|
329
329
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
330
|
-
if (evt.model.providerID !==
|
|
330
|
+
if (evt.model.providerID !== ID13.azure)
|
|
331
331
|
return;
|
|
332
332
|
const authorization = yield* bearer(evt.request.url);
|
|
333
333
|
if (!authorization)
|
|
@@ -336,9 +336,9 @@ function make9(endpoints = {
|
|
|
336
336
|
evt.request.headers.delete("x-api-key");
|
|
337
337
|
evt.request.headers.set("authorization", authorization);
|
|
338
338
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
339
|
-
}), { providerID:
|
|
339
|
+
}), { providerID: ID13.azure });
|
|
340
340
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
341
|
-
if (evt.model.providerID !==
|
|
341
|
+
if (evt.model.providerID !== ID13.azure)
|
|
342
342
|
return;
|
|
343
343
|
const authorization = yield* bearer(evt.url);
|
|
344
344
|
if (!authorization)
|
|
@@ -347,11 +347,11 @@ function make9(endpoints = {
|
|
|
347
347
|
delete evt.headers["x-api-key"];
|
|
348
348
|
evt.headers.authorization = authorization;
|
|
349
349
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
350
|
-
}), { providerID:
|
|
350
|
+
}), { providerID: ID13.azure });
|
|
351
351
|
})
|
|
352
352
|
});
|
|
353
353
|
}
|
|
354
|
-
var AzurePlugin2 =
|
|
354
|
+
var AzurePlugin2 = make8();
|
|
355
355
|
function resolveResourceName(settings, fallback) {
|
|
356
356
|
const configured = settings?.resourceName;
|
|
357
357
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -389,11 +389,11 @@ function deployedModels(deployments, catalog) {
|
|
|
389
389
|
const model = catalogModel(models, deployment);
|
|
390
390
|
if (!model)
|
|
391
391
|
return [];
|
|
392
|
-
const id =
|
|
392
|
+
const id = ID4.make(deployment.name.toLowerCase());
|
|
393
393
|
const info = {
|
|
394
394
|
...structuredClone(model),
|
|
395
395
|
id,
|
|
396
|
-
modelID:
|
|
396
|
+
modelID: ID4.make(deployment.name),
|
|
397
397
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
398
398
|
};
|
|
399
399
|
return [[id, info]];
|
|
@@ -415,4 +415,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
415
415
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
416
416
|
}
|
|
417
417
|
|
|
418
|
-
export {
|
|
418
|
+
export { make8, AzurePlugin2 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./skill-6yhjnbtw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service20,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-ykvgmq8e.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service19
|
|
11
|
+
} from "./skill-xg8xczng.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service64
|
|
14
|
+
} from "./skill-489wr3gf.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service15
|
|
17
|
+
} from "./skill-npvj8sw0.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input9,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin45,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name9,
|
|
33
33
|
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name9 = "write";
|
|
39
|
+
var Input9 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin45 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service15;
|
|
56
|
+
const fileMutation = yield* Service20;
|
|
57
|
+
const environment = yield* Service58;
|
|
58
|
+
const formatter = yield* Service19;
|
|
59
|
+
const permission = yield* Service64;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name9,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input9,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name9, Input9, Output7, toModelContent6, Plugin45, exports_write };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-swvjn5a3.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-1r57angp.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-277t2enf.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service66,
|
|
21
|
+
node70
|
|
22
|
+
} from "./skill-6xssvdrk.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service26,
|
|
25
|
+
node30
|
|
26
|
+
} from "./skill-dw45dz0p.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service9,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node11
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service9 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service26;
|
|
65
|
+
const store = yield* Service66;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service9.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node87, llmClient2,
|
|
150
|
+
var node11 = makeLocationNode({
|
|
151
|
+
service: Service9,
|
|
152
|
+
layer: layer7,
|
|
153
|
+
deps: [node87, llmClient2, node30, node70, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service9, isUntitled2, layer7, node11, exports_title };
|