@opencode/core 0.0.0-dev-20519 → 0.0.0-dev-20521
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +75 -75
- package/dist/chunks/{repository-z1z2g4rq.js → location-activity-01tx8f53.js} +31 -31
- package/dist/chunks/{repository-7exnn0s8.js → location-activity-0j9anxys.js} +5 -5
- package/dist/chunks/{repository-hrsw90a0.js → location-activity-0nh6kzyg.js} +5 -5
- package/dist/chunks/{repository-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-5q9a57aq.js → location-activity-0rvxctrv.js} +10 -10
- package/dist/chunks/{repository-0vbcp93d.js → location-activity-0vbcp93d.js} +2 -2
- package/dist/chunks/{repository-6k16hz2a.js → location-activity-15cj8qrs.js} +22 -22
- package/dist/chunks/{repository-2vbjsh7b.js → location-activity-160scmv2.js} +41 -41
- package/dist/chunks/{repository-n0jrqa4n.js → location-activity-19jk5r44.js} +10 -10
- package/dist/chunks/{repository-b4ay83s5.js → location-activity-1ae0fb0f.js} +33 -33
- package/dist/chunks/{repository-wz1atnp1.js → location-activity-1c9fxvqt.js} +32 -32
- package/dist/chunks/{repository-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-nkbqs3g6.js → location-activity-1dkcmh1t.js} +8 -8
- package/dist/chunks/{repository-1dvck2a7.js → location-activity-1dvck2a7.js} +2 -2
- package/dist/chunks/{repository-hd1h4sdm.js → location-activity-1hgyh5xj.js} +24 -24
- package/dist/chunks/{repository-mcgqdyxj.js → location-activity-1j3dgyx5.js} +17 -17
- package/dist/chunks/{repository-1h55ez1m.js → location-activity-1pkjp48q.js} +4 -4
- package/dist/chunks/{repository-5hf9jtfg.js → location-activity-1saa9w2b.js} +27 -27
- package/dist/chunks/{repository-bd6jnwb5.js → location-activity-1y7mca2y.js} +31 -31
- package/dist/chunks/{repository-56gdpj1q.js → location-activity-1ygqh575.js} +9 -9
- package/dist/chunks/{repository-30246xfp.js → location-activity-1z0xnmzn.js} +11 -11
- package/dist/chunks/{repository-jbjaz31x.js → location-activity-22dwcya1.js} +3 -3
- package/dist/chunks/{repository-nqbq2dfn.js → location-activity-28svkdeb.js} +9 -9
- package/dist/chunks/{repository-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-j5qjrfr0.js → location-activity-2nhms0n3.js} +27 -27
- package/dist/chunks/{repository-yvfm4zgg.js → location-activity-30tes4bs.js} +15 -15
- package/dist/chunks/{repository-pt0wt1wj.js → location-activity-3dyrv95m.js} +15 -15
- package/dist/chunks/{repository-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-ctyjcm37.js → location-activity-3gd3w2pg.js} +20 -20
- package/dist/chunks/{repository-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-n1n192bv.js → location-activity-3sj8yt8v.js} +4 -4
- package/dist/chunks/{repository-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-5dkb19jg.js → location-activity-3v7fz22j.js} +26 -26
- package/dist/chunks/{repository-vyxss0x7.js → location-activity-3vtc4pgb.js} +6 -6
- package/dist/chunks/{repository-dbyxgn0d.js → location-activity-3wp60njz.js} +4 -4
- package/dist/chunks/{repository-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-rqjg81cy.js → location-activity-3zyhkej9.js} +27 -27
- package/dist/chunks/{repository-7t7h7y47.js → location-activity-40wf16dd.js} +45 -45
- package/dist/chunks/{repository-0x85wf7n.js → location-activity-4551vydq.js} +22 -22
- package/dist/chunks/{repository-94mhjk1j.js → location-activity-4864cdyv.js} +8 -8
- package/dist/chunks/{repository-t7zyy776.js → location-activity-4f62khv0.js} +3 -3
- package/dist/chunks/{repository-75krc8da.js → location-activity-4k26tt2c.js} +20 -20
- package/dist/chunks/{repository-yt3hy1g9.js → location-activity-4n607a2z.js} +5 -5
- package/dist/chunks/{repository-fwn2qxfh.js → location-activity-4nve2rnj.js} +3 -3
- package/dist/chunks/{repository-p4m5rkpc.js → location-activity-4pg6v30t.js} +12 -12
- package/dist/chunks/{repository-4ts7tf6z.js → location-activity-4ts7tf6z.js} +2 -2
- package/dist/chunks/{repository-t5mr26pw.js → location-activity-4zaxszxh.js} +14 -14
- package/dist/chunks/{repository-54ma36ye.js → location-activity-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-se3dpnjp.js → location-activity-58qd9brx.js} +13 -13
- package/dist/chunks/{repository-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-kzg8eg9w.js → location-activity-5n6f22tt.js} +3 -3
- package/dist/chunks/{repository-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-psxfbx9m.js → location-activity-5wzag2z6.js} +7 -7
- package/dist/chunks/{repository-p37cw4rj.js → location-activity-5yzzbxa7.js} +8 -8
- package/dist/chunks/{repository-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{repository-n733q660.js → location-activity-68hbh74y.js} +22 -22
- package/dist/chunks/{repository-nzsadt46.js → location-activity-691xqr4y.js} +5 -5
- package/dist/chunks/{repository-fvgnrajg.js → location-activity-6bnezdwd.js} +47 -47
- package/dist/chunks/{repository-ygdna4kr.js → location-activity-6kzp9tjq.js} +5 -5
- package/dist/chunks/{repository-k1qrnqst.js → location-activity-6ysrkrkr.js} +8 -8
- package/dist/chunks/{repository-71az546q.js → location-activity-71az546q.js} +2 -2
- package/dist/chunks/{repository-bfv1sg7e.js → location-activity-74cdqdj4.js} +6 -6
- package/dist/chunks/{repository-6rc6b2d0.js → location-activity-77m0p7r2.js} +31 -31
- package/dist/chunks/{repository-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-2k8khapm.js → location-activity-7dqw4kz8.js} +5 -5
- package/dist/chunks/{repository-t9yz5pcd.js → location-activity-7ksze7ve.js} +19 -19
- package/dist/chunks/{repository-bg0vsp1h.js → location-activity-7pv3en3p.js} +21 -21
- package/dist/chunks/{repository-7t7xm5f5.js → location-activity-7sc99g37.js} +33 -33
- package/dist/chunks/{repository-y15vpdnr.js → location-activity-7v81x33d.js} +9 -9
- package/dist/chunks/{repository-03xyy9gs.js → location-activity-89rvcjqs.js} +8 -8
- package/dist/chunks/{repository-rt5fvqme.js → location-activity-8awxj94f.js} +13 -13
- package/dist/chunks/{repository-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-b0bn8jek.js → location-activity-8gj5hy41.js} +11 -11
- package/dist/chunks/{repository-cfsekr6v.js → location-activity-8sze2n9a.js} +6 -6
- package/dist/chunks/{repository-p8x4zn18.js → location-activity-92pkkjkx.js} +13 -13
- package/dist/chunks/{repository-h223frf1.js → location-activity-93wx4btr.js} +11 -11
- package/dist/chunks/{repository-knrehdqd.js → location-activity-98c1vh8m.js} +12 -12
- package/dist/chunks/{repository-42vews4y.js → location-activity-98vraqt9.js} +5 -5
- package/dist/chunks/{repository-7apag2ba.js → location-activity-999aqn6p.js} +9 -9
- package/dist/chunks/{repository-5pnadt17.js → location-activity-9anxccrj.js} +44 -44
- package/dist/chunks/{repository-9e5bzkjp.js → location-activity-9e5bzkjp.js} +3 -3
- package/dist/chunks/{repository-zdwe30dy.js → location-activity-9gea571p.js} +6 -6
- package/dist/chunks/{repository-zbzykp3k.js → location-activity-9mhdh3s2.js} +23 -23
- package/dist/chunks/{repository-68dcddmz.js → location-activity-9szwjyee.js} +4 -4
- package/dist/chunks/{repository-zt70qyd8.js → location-activity-9t0ctetm.js} +21 -21
- package/dist/chunks/{repository-q1ra8wwz.js → location-activity-9yswjp79.js} +18 -18
- package/dist/chunks/{repository-bgc5ggmx.js → location-activity-a3c7ahw6.js} +4 -4
- package/dist/chunks/{repository-t4gyfdwy.js → location-activity-a3ynkskz.js} +18 -18
- package/dist/chunks/{repository-3f8cefc3.js → location-activity-a7hcjh87.js} +15 -15
- package/dist/chunks/{repository-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-b3w8m03a.js → location-activity-adbzb285.js} +8 -8
- package/dist/chunks/{repository-c651xxjb.js → location-activity-afjydgk3.js} +4 -4
- package/dist/chunks/{repository-asg2gjc7.js → location-activity-aqz60ka6.js} +2 -2
- package/dist/chunks/{repository-f2gse5fy.js → location-activity-as4zy6vm.js} +6 -6
- package/dist/chunks/{repository-zfs8ae4p.js → location-activity-as7cf5zz.js} +4 -4
- package/dist/chunks/{repository-n9fkx9fb.js → location-activity-atpkxcjq.js} +41 -41
- package/dist/chunks/{repository-ekdgv9sd.js → location-activity-aw6ckkaw.js} +7 -7
- package/dist/chunks/{repository-985e6bwz.js → location-activity-axw8psg0.js} +5 -5
- package/dist/chunks/{repository-5c2tg5ke.js → location-activity-azz24fzd.js} +24 -24
- package/dist/chunks/{repository-rqccjq9f.js → location-activity-b0tb73q3.js} +34 -34
- package/dist/chunks/{repository-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-dgv0ky8a.js → location-activity-bxjbhrgj.js} +5 -5
- package/dist/chunks/{repository-srq8z0b0.js → location-activity-c01nkytp.js} +5 -5
- package/dist/chunks/{repository-01603vev.js → location-activity-c2w9nh9f.js} +15 -15
- package/dist/chunks/{repository-9xpxkkxc.js → location-activity-c4gwav79.js} +11 -11
- package/dist/chunks/{repository-v7tr91j2.js → location-activity-cs30bwkd.js} +20 -20
- package/dist/chunks/{repository-w1m3yhsf.js → location-activity-d9shzvfq.js} +3 -3
- package/dist/chunks/{repository-addxnjmp.js → location-activity-db2wf4at.js} +4 -4
- package/dist/chunks/{repository-688vv85h.js → location-activity-df2wbre9.js} +59 -59
- package/dist/chunks/{repository-8x1aspth.js → location-activity-dmbmpn6h.js} +53 -53
- package/dist/chunks/{repository-xkntkrq7.js → location-activity-dmqcgk4z.js} +5 -5
- package/dist/chunks/{repository-dpkg50ah.js → location-activity-dpkg50ah.js} +1 -1
- package/dist/chunks/{repository-vg4wf0mn.js → location-activity-e2tmtcte.js} +28 -28
- package/dist/chunks/{repository-mgh0sv84.js → location-activity-e6y7vv2n.js} +16 -16
- package/dist/chunks/{repository-fh6b6r6n.js → location-activity-e75k7gt1.js} +26 -26
- package/dist/chunks/{repository-6hh8tjw2.js → location-activity-edrmdtr5.js} +7 -7
- package/dist/chunks/{repository-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-mvb04ncq.js → location-activity-en6vk7kh.js} +19 -19
- package/dist/chunks/{repository-zk0y2mrg.js → location-activity-ep3pq24z.js} +9 -9
- package/dist/chunks/{repository-j028xdjb.js → location-activity-eq1pz5kg.js} +3 -3
- package/dist/chunks/{repository-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-dqp1z7j3.js → location-activity-evg9512y.js} +10 -10
- package/dist/chunks/{repository-ravsngc6.js → location-activity-evv3dzvs.js} +26 -26
- package/dist/chunks/{repository-htdpdheb.js → location-activity-ewyax98d.js} +8 -8
- package/dist/chunks/{repository-c4b8ezrc.js → location-activity-ezkf672b.js} +44 -44
- package/dist/chunks/{repository-2mbdhcvf.js → location-activity-f1k3hqn9.js} +1 -1
- package/dist/chunks/{repository-wshymwk5.js → location-activity-f1n1je73.js} +19 -19
- package/dist/chunks/{repository-ckf8nxjz.js → location-activity-f73rjn58.js} +4 -4
- package/dist/chunks/{repository-5xh06rp5.js → location-activity-fbqjtz0c.js} +13 -13
- package/dist/chunks/{repository-66g35fn0.js → location-activity-fcdty1ra.js} +19 -19
- package/dist/chunks/{repository-3hvbndb5.js → location-activity-fe9yc616.js} +35 -35
- package/dist/chunks/{repository-ekye0xrt.js → location-activity-fmdv976f.js} +9 -9
- package/dist/chunks/{repository-yj2tv32p.js → location-activity-fp5441vb.js} +13 -13
- package/dist/chunks/{repository-zevr4986.js → location-activity-fq0k09qp.js} +6 -6
- package/dist/chunks/{repository-207ajt2h.js → location-activity-fwfdmgk0.js} +5 -5
- package/dist/chunks/location-activity-g1p6fzp9.js +26 -0
- package/dist/chunks/{repository-2a4f6v5q.js → location-activity-g2y161wv.js} +8 -8
- package/dist/chunks/{repository-wh6zw745.js → location-activity-g6yfr6ja.js} +5 -5
- package/dist/chunks/{repository-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-ehzzcez4.js → location-activity-gs3arnfd.js} +15 -15
- package/dist/chunks/{repository-0j124r8p.js → location-activity-h1dds5vx.js} +5 -5
- package/dist/chunks/{repository-g0hvftey.js → location-activity-h1jr262y.js} +16 -16
- package/dist/chunks/{repository-h2b79v29.js → location-activity-h2b79v29.js} +2 -2
- package/dist/chunks/{repository-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-xq6z0cpe.js → location-activity-hd3y20fa.js} +37 -37
- package/dist/chunks/{repository-t93qmerw.js → location-activity-hqa377zx.js} +11 -11
- package/dist/chunks/{repository-nyr2ydaj.js → location-activity-hr3asgbz.js} +11 -11
- package/dist/chunks/location-activity-ht5y0zrb.js +18 -0
- package/dist/chunks/{repository-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-10a0p2jb.js → location-activity-jmh888fr.js} +14 -14
- package/dist/chunks/{repository-zc5g640q.js → location-activity-jy6n4x97.js} +12 -12
- package/dist/chunks/{repository-mr5n092j.js → location-activity-jyh3tc31.js} +23 -23
- package/dist/chunks/{repository-b67wgpc5.js → location-activity-jyq4wy3w.js} +20 -20
- package/dist/chunks/{repository-vjjaysxc.js → location-activity-k0dn768s.js} +2 -2
- package/dist/chunks/{repository-5sd2bsp4.js → location-activity-k0hp4vmt.js} +171 -171
- package/dist/chunks/{repository-rtzddngt.js → location-activity-k1vbp5vp.js} +25 -25
- package/dist/chunks/{repository-g4esgq2v.js → location-activity-k8h7fr5j.js} +42 -42
- package/dist/chunks/{repository-5xhdktqa.js → location-activity-kmbm8s16.js} +13 -13
- package/dist/chunks/location-activity-kpht16y1.js +507 -0
- package/dist/chunks/{repository-mjymc32g.js → location-activity-kvvk39gs.js} +4 -4
- package/dist/chunks/{repository-5caacxvf.js → location-activity-kwmtrvkt.js} +8 -8
- package/dist/chunks/{repository-q0zgm0mk.js → location-activity-kzxncgwt.js} +21 -21
- package/dist/chunks/{repository-bhp8nqnw.js → location-activity-m2g6eass.js} +6 -6
- package/dist/chunks/{repository-06b67pjk.js → location-activity-m32k1dn8.js} +18 -18
- package/dist/chunks/{repository-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-wa9j5a7a.js → location-activity-m4afetfz.js} +16 -16
- package/dist/chunks/{repository-hzrfc1p4.js → location-activity-m89858wj.js} +3 -3
- package/dist/chunks/{repository-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-g22mckqh.js → location-activity-mnyyh52c.js} +6 -6
- package/dist/chunks/{repository-1y969dbq.js → location-activity-mvkj911g.js} +27 -27
- package/dist/chunks/{repository-7j2qha59.js → location-activity-n27a7nb2.js} +8 -8
- package/dist/chunks/{repository-ns3eape4.js → location-activity-n2thn3nx.js} +1 -1
- package/dist/chunks/{repository-atjpr980.js → location-activity-n3m3k3m8.js} +45 -45
- package/dist/chunks/{repository-q4h1ncg4.js → location-activity-n76pv0kn.js} +15 -15
- package/dist/chunks/{repository-z30kww73.js → location-activity-nandancc.js} +11 -11
- package/dist/chunks/{repository-stkaepbr.js → location-activity-nj5d45w8.js} +24 -24
- package/dist/chunks/{repository-ntyyk472.js → location-activity-nthpf047.js} +16 -16
- package/dist/chunks/{repository-xsaexjm7.js → location-activity-pb9wnr0k.js} +24 -24
- package/dist/chunks/{repository-wpybfb3e.js → location-activity-pcqce75p.js} +6 -6
- package/dist/chunks/{repository-abszyt6t.js → location-activity-pd12hwc5.js} +22 -22
- package/dist/chunks/{repository-9yr9kc58.js → location-activity-pfpzmfy3.js} +10 -10
- package/dist/chunks/{repository-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{repository-b7hywp55.js → location-activity-pvbzzedf.js} +28 -28
- package/dist/chunks/{repository-6g1ntbc3.js → location-activity-py5e2b36.js} +24 -24
- package/dist/chunks/{repository-q0xm7vwc.js → location-activity-q0xm7vwc.js} +2 -2
- package/dist/chunks/{repository-kmrg6sr7.js → location-activity-q3hpcm59.js} +28 -28
- package/dist/chunks/{repository-cpq3hfc5.js → location-activity-q58p899m.js} +8 -8
- package/dist/chunks/{repository-z89dd6j6.js → location-activity-qbv95z2b.js} +17 -17
- package/dist/chunks/{repository-37dq1jyk.js → location-activity-qespzq9h.js} +35 -35
- package/dist/chunks/{repository-qnc92qwc.js → location-activity-qnc92qwc.js} +1 -1
- package/dist/chunks/{repository-f5dxayef.js → location-activity-qsaz8ezt.js} +33 -33
- package/dist/chunks/{repository-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-qxjc9qry.js → location-activity-qxjc9qry.js} +3 -3
- package/dist/chunks/{repository-qygbw77c.js → location-activity-qygbw77c.js} +2 -2
- package/dist/chunks/{repository-jdfywdr0.js → location-activity-r2bszs7a.js} +12 -12
- package/dist/chunks/{repository-79qaa2kf.js → location-activity-r2m716tb.js} +9 -9
- package/dist/chunks/{repository-z4fvbb2v.js → location-activity-r57psfea.js} +31 -31
- package/dist/chunks/{repository-ygcxs446.js → location-activity-r5k95fb4.js} +11 -11
- package/dist/chunks/{repository-rhraev7y.js → location-activity-r8xr0va3.js} +4 -4
- package/dist/chunks/{repository-xrpg47n6.js → location-activity-r9w3djhf.js} +9 -9
- package/dist/chunks/{repository-wr0qm6ht.js → location-activity-raf959tk.js} +8 -8
- package/dist/chunks/{repository-dkvtp6xa.js → location-activity-rag26639.js} +29 -29
- package/dist/chunks/{repository-cn4ym4tf.js → location-activity-rdmbyq3e.js} +4 -4
- package/dist/chunks/{repository-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-2kvbjdsz.js → location-activity-rgre93k7.js} +33 -33
- package/dist/chunks/{repository-s8d7rejh.js → location-activity-rhjbct0v.js} +4 -4
- package/dist/chunks/{repository-9kebxkvg.js → location-activity-rj252jhe.js} +79 -79
- package/dist/chunks/{repository-cj2dpy0x.js → location-activity-rmfgnaan.js} +45 -45
- package/dist/chunks/{repository-jsef83mq.js → location-activity-rrfqxz7e.js} +8 -8
- package/dist/chunks/{repository-gygtf6m1.js → location-activity-rt043p7b.js} +3 -3
- package/dist/chunks/{repository-1vy5fbnd.js → location-activity-rvg7fvdb.js} +11 -11
- package/dist/chunks/{repository-mbpkv0vm.js → location-activity-rw34hyyf.js} +15 -15
- package/dist/chunks/{repository-yrtnjjvk.js → location-activity-s3qvcq0a.js} +29 -29
- package/dist/chunks/{repository-mqzx2e15.js → location-activity-s4nntvmh.js} +30 -30
- package/dist/chunks/{repository-4g6efvjz.js → location-activity-s5w3pd96.js} +22 -22
- package/dist/chunks/{repository-vw21vv4a.js → location-activity-s8ne19c9.js} +11 -11
- package/dist/chunks/{repository-stwtv1xt.js → location-activity-s9jw59ev.js} +23 -23
- package/dist/chunks/{repository-dac4tb83.js → location-activity-sfepvqeg.js} +41 -41
- package/dist/chunks/{repository-5w4agvbq.js → location-activity-sfwtkxz8.js} +15 -15
- package/dist/chunks/{repository-qbt164p2.js → location-activity-t5ykwrj9.js} +29 -29
- package/dist/chunks/{repository-ecfzb1bw.js → location-activity-t5zdfcg6.js} +10 -10
- package/dist/chunks/{repository-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{repository-5cp6651z.js → location-activity-tjedn1bk.js} +4 -4
- package/dist/chunks/{repository-cdpaedqb.js → location-activity-tp1cmem0.js} +11 -11
- package/dist/chunks/{repository-3crmpgh7.js → location-activity-tvvjd900.js} +5 -5
- package/dist/chunks/{repository-0b2nrgqm.js → location-activity-twsfbymt.js} +21 -21
- package/dist/chunks/{repository-qhqsnwja.js → location-activity-txn989v4.js} +9 -9
- package/dist/chunks/{repository-f6b14pw0.js → location-activity-v0fcw5g9.js} +5 -5
- package/dist/chunks/{repository-gv4m19qx.js → location-activity-v3mm3c9w.js} +26 -26
- package/dist/chunks/{repository-f33632yd.js → location-activity-vd1y1hms.js} +10 -10
- package/dist/chunks/{repository-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-f4k2nah6.js → location-activity-vzdd8svv.js} +27 -27
- package/dist/chunks/{repository-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-ej1h7s1w.js → location-activity-w0kqh2my.js} +3 -3
- package/dist/chunks/{repository-84txncab.js → location-activity-w1eejvng.js} +5 -5
- package/dist/chunks/{repository-x0yc3knc.js → location-activity-w1v59pe1.js} +28 -28
- package/dist/chunks/{repository-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-g79x4qk4.js → location-activity-w7srsw53.js} +6 -6
- package/dist/chunks/{repository-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{repository-8wqbvn7m.js → location-activity-wkm1v3rg.js} +23 -23
- package/dist/chunks/{repository-rf2tf0a5.js → location-activity-wkp4k51m.js} +13 -13
- package/dist/chunks/{repository-1c0xhnep.js → location-activity-wp1ncj2v.js} +28 -28
- package/dist/chunks/{repository-5sg7yxgs.js → location-activity-wv95tysd.js} +1 -1
- package/dist/chunks/{repository-0v0nzeqp.js → location-activity-ww0jdshn.js} +11 -11
- package/dist/chunks/{repository-5xv116pf.js → location-activity-wyv8bs3b.js} +3 -3
- package/dist/chunks/{repository-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-v0es1rhs.js → location-activity-x327rsa8.js} +9 -9
- package/dist/chunks/{repository-21vwy28b.js → location-activity-x5w19dj0.js} +6 -6
- package/dist/chunks/{repository-qcajkq06.js → location-activity-x8snrdqj.js} +8 -8
- package/dist/chunks/{repository-1c0rj9z2.js → location-activity-xa33e9e0.js} +13 -13
- package/dist/chunks/{repository-eec2a58p.js → location-activity-xcp1w62v.js} +18 -18
- package/dist/chunks/{repository-2hqqn99n.js → location-activity-xdjjd8je.js} +16 -16
- package/dist/chunks/{repository-qe3svz7e.js → location-activity-xdnz35gs.js} +4 -4
- package/dist/chunks/{repository-g5w8qwbj.js → location-activity-xfkkasph.js} +4 -4
- package/dist/chunks/{repository-f2amk4by.js → location-activity-xq3dk71y.js} +9 -9
- package/dist/chunks/{repository-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-x3qdjvsz.js → location-activity-y202wsz6.js} +7 -7
- package/dist/chunks/{repository-zk1pwz5f.js → location-activity-yar1mcnj.js} +34 -34
- package/dist/chunks/{repository-fe0wezkf.js → location-activity-yep97pyq.js} +15 -15
- package/dist/chunks/location-activity-ygxrzp7v.js +253 -0
- package/dist/chunks/{repository-g3x6pv90.js → location-activity-yhysz8aj.js} +14 -14
- package/dist/chunks/{repository-bh7hf5m0.js → location-activity-yq8dak3p.js} +48 -48
- package/dist/chunks/{repository-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-kq04rqgc.js → location-activity-ywhkxfss.js} +4 -4
- package/dist/chunks/{repository-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-3s1mxyqz.js → location-activity-zctryyn5.js} +8 -8
- package/dist/chunks/{repository-mdr9j661.js → location-activity-zgnngwqk.js} +12 -12
- package/dist/chunks/{repository-64xf6f6f.js → location-activity-zqy94ts4.js} +86 -86
- package/dist/chunks/{repository-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-zrq8kphx.js → location-activity-zrq8kphx.js} +1 -1
- package/dist/chunks/{repository-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-vme6pr1d.js → location-activity-zxqvfsh3.js} +21 -21
- package/dist/chunks/{repository-ww8fvgny.js → location-activity-zzh1kv67.js} +8 -8
- 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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- 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.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 +76 -76
- 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 +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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- 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 +91 -91
- 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 +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +97 -97
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +74 -74
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +101 -101
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- 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 +102 -102
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +211 -211
- 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 +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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +95 -95
- 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 +78 -78
- package/dist/plugin/provider/lmstudio.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- 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 +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- 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/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- 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 +6 -6
- 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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- 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 +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- 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 +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +81 -81
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +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 +5 -5
- package/dist/v1/config/error.js +2 -2
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/repository-5cvvr2b6.js +0 -26
- package/dist/chunks/repository-619r8v3y.js +0 -18
- package/dist/chunks/repository-pjbgbch7.js +0 -507
- package/dist/chunks/repository-y0b9bnxf.js +0 -253
- /package/dist/chunks/{repository-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3t0ybcrp.js → location-activity-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-rgre93k7.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-qespzq9h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve4
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve4(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -511,4 +511,4 @@ var PROTOCOLS = {
|
|
|
511
511
|
[aisdk2("@jerome-benoit/sap-ai-provider-v2")]: sapAICore
|
|
512
512
|
};
|
|
513
513
|
|
|
514
|
-
export {
|
|
514
|
+
export { resolve4, exports_variant };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info4,
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-wp1ncj2v.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service50
|
|
11
|
+
} from "./location-activity-ezkf672b.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-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: () => Plugin11,
|
|
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 Plugin11 = 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(Info4.make({
|
|
434
|
+
id: ID4.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(Info4.make({
|
|
441
|
+
id: ID4.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service50;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -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, Plugin11, exports_skill };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service74,
|
|
3
|
+
node77
|
|
4
|
+
} from "./location-activity-e6y7vv2n.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-rhjbct0v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service31,
|
|
19
|
+
node: () => node33
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service31 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service74;
|
|
29
|
+
return Service31.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make20({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make20({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node33 = makeLocationNode({ service: Service31, layer, deps: [Global.node, node77] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service31, node33, exports_builtins };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID17 = Session.ID;
|
|
5
|
+
var Info28 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID17, Info28, SessionSchema2 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./location-activity-4zaxszxh.js";
|
|
4
4
|
import {
|
|
5
5
|
Service17,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event2
|
|
7
|
+
} from "./location-activity-3zyhkej9.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -30,7 +30,7 @@ var ModelsDevPlugin2 = define({
|
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
32
|
const modelsDev = yield* Service17;
|
|
33
|
-
const bus = yield*
|
|
33
|
+
const bus = yield* Service78;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-5n6f22tt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node81
|
|
8
|
+
} from "./location-activity-4zaxszxh.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
24
|
ID: () => ID15,
|
|
25
|
-
Info: () =>
|
|
25
|
+
Info: () => Info26,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service76,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node79
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -38,9 +38,9 @@ var ID15 = Credential.ID;
|
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
44
44
|
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
@@ -48,16 +48,16 @@ class Info25 extends Schema.Class("Credential.Info")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service76 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service78;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info26({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service76.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,7 +76,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
79
|
+
const credential = new Info26({
|
|
80
80
|
id: input.id ?? ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
108
108
|
type: credential.value.type,
|
|
109
109
|
active: activated
|
|
110
110
|
});
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
112
112
|
if (activated)
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
114
114
|
return credential;
|
|
115
115
|
}),
|
|
116
116
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
130
130
|
})), Effect.orDie);
|
|
131
131
|
if (integrationID) {
|
|
132
132
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
134
134
|
}
|
|
135
135
|
}),
|
|
136
136
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
162
162
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
163
163
|
});
|
|
164
164
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
165
|
-
yield* bus.publish(
|
|
165
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
166
166
|
}),
|
|
167
167
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
168
168
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
195
195
|
active: removed.switched,
|
|
196
196
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
197
197
|
});
|
|
198
|
-
yield* bus.publish(
|
|
198
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
199
199
|
if (removed.switched)
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}));
|
|
204
|
-
var
|
|
204
|
+
var node79 = makeGlobalNode({ service: Service76, layer, deps: [node88, node81] });
|
|
205
205
|
|
|
206
|
-
export { ID15, OAuth3, Key4, Value2,
|
|
206
|
+
export { ID15, OAuth3, Key4, Value2, Event20, Info26, Service76, node79, exports_credential };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service27,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node30
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service27 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service27, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service27.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service45, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node30 = makeGlobalNode({ service: Service27, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service27, node30, exports_environment };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
Service83,
|
|
6
|
-
node87
|
|
7
|
-
} from "./repository-t5mr26pw.js";
|
|
8
|
-
import {
|
|
9
|
-
Event19,
|
|
10
5
|
Service78,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
6
|
+
node81
|
|
7
|
+
} from "./location-activity-4zaxszxh.js";
|
|
8
|
+
import {
|
|
9
|
+
Event20,
|
|
10
|
+
Service76,
|
|
11
|
+
node79
|
|
12
|
+
} from "./location-activity-mvkj911g.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service74,
|
|
15
|
+
node77
|
|
16
|
+
} from "./location-activity-e6y7vv2n.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service47,
|
|
19
|
+
node50
|
|
20
|
+
} from "./location-activity-py5e2b36.js";
|
|
21
21
|
import {
|
|
22
22
|
ID16,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service77,
|
|
24
|
+
node80
|
|
25
|
+
} from "./location-activity-en6vk7kh.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-activity-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID12,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service71,
|
|
34
|
+
node74
|
|
35
|
+
} from "./location-activity-t5ykwrj9.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service35,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured5,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node37
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service35 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options5 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options5 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
117
|
-
const bus = yield*
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service74;
|
|
116
|
+
const environment = yield* Service47;
|
|
117
|
+
const bus = yield* Service78;
|
|
118
|
+
const forms = yield* Service77;
|
|
119
|
+
const integration = yield* Service71;
|
|
120
|
+
const credentials = yield* Service76;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID12.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,7 +161,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
@@ -269,7 +269,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service47, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service35.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
|
|
|
532
532
|
}
|
|
533
533
|
function configured5(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service35,
|
|
536
|
+
layer: layer14(options),
|
|
537
|
+
deps: [node77, node50, node81, node80, node74, node79]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node37 = configured5();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service35, Options5, layer14, configured5, node37, exports_mcp4 };
|