@opencode/core 0.0.0-dev-21223 → 0.0.0-dev-21225
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{permission-2svjz801.js → location-lifecycle-02yqz1pf.js} +13 -13
- package/dist/chunks/{permission-5zpntthn.js → location-lifecycle-0396je17.js} +19 -19
- package/dist/chunks/{permission-awyvts7c.js → location-lifecycle-078jfm9t.js} +8 -8
- package/dist/chunks/{permission-jy6a2h9m.js → location-lifecycle-0dy8m3zv.js} +6 -6
- package/dist/chunks/{permission-0vbcp93d.js → location-lifecycle-0vbcp93d.js} +2 -2
- package/dist/chunks/{permission-q7s0g3km.js → location-lifecycle-11tneqnq.js} +58 -58
- package/dist/chunks/{permission-34wpdfk0.js → location-lifecycle-15btyxjj.js} +14 -14
- package/dist/chunks/{permission-y7yedkxp.js → location-lifecycle-1afpt04b.js} +44 -44
- package/dist/chunks/{permission-cncwc75f.js → location-lifecycle-1azvf0ek.js} +148 -148
- package/dist/chunks/{permission-nx08wsmw.js → location-lifecycle-1ghf8zs3.js} +11 -11
- package/dist/chunks/{permission-7e873caq.js → location-lifecycle-1kxs112r.js} +19 -19
- package/dist/chunks/{permission-57e6gvdr.js → location-lifecycle-1mvt4qzw.js} +11 -11
- package/dist/chunks/{permission-cbdkh6am.js → location-lifecycle-1r4x6jaa.js} +92 -92
- package/dist/chunks/{permission-14epsh2p.js → location-lifecycle-1wjncy0c.js} +21 -21
- package/dist/chunks/{permission-c9755x0g.js → location-lifecycle-1z7ambyv.js} +2 -2
- package/dist/chunks/{permission-x3jtz6x8.js → location-lifecycle-260ykpsb.js} +24 -24
- package/dist/chunks/{permission-5kemg8sr.js → location-lifecycle-2b0aj9p1.js} +9 -9
- package/dist/chunks/{permission-fswg4yvw.js → location-lifecycle-2f2t2pv3.js} +11 -11
- package/dist/chunks/{permission-03tvgetg.js → location-lifecycle-2re0xxhj.js} +25 -25
- package/dist/chunks/{permission-hsjabct9.js → location-lifecycle-2ryng5r3.js} +4 -4
- package/dist/chunks/{permission-nxc9gbf3.js → location-lifecycle-2zsw6cww.js} +32 -32
- package/dist/chunks/{permission-f5t79chw.js → location-lifecycle-30wpx0dj.js} +19 -19
- package/dist/chunks/{permission-bksvgvmx.js → location-lifecycle-35xn2gh1.js} +12 -12
- package/dist/chunks/{permission-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-nmpfhekw.js → location-lifecycle-3fsmcja4.js} +20 -20
- package/dist/chunks/{permission-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-3hwn7j4h.js → location-lifecycle-3hwn7j4h.js} +2 -2
- package/dist/chunks/{permission-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-3zsf4n22.js → location-lifecycle-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-7sh2gb04.js → location-lifecycle-47g78yad.js} +3 -3
- package/dist/chunks/{permission-xbc6qp68.js → location-lifecycle-4az1a8cs.js} +6 -6
- package/dist/chunks/{permission-ytmx4bth.js → location-lifecycle-4cg1k04t.js} +14 -14
- package/dist/chunks/{permission-czgp4ykr.js → location-lifecycle-4h2r7ygm.js} +6 -6
- package/dist/chunks/{permission-bwz6z4r4.js → location-lifecycle-4kzt1szv.js} +15 -15
- package/dist/chunks/{permission-0wj90nr2.js → location-lifecycle-4pm2zvx4.js} +25 -25
- package/dist/chunks/{permission-54ma36ye.js → location-lifecycle-54ma36ye.js} +1 -1
- package/dist/chunks/{permission-er1h7ev2.js → location-lifecycle-54qjajwn.js} +24 -24
- package/dist/chunks/{permission-w2qksh8c.js → location-lifecycle-54tegpm9.js} +24 -24
- package/dist/chunks/{permission-skz1af5d.js → location-lifecycle-5582nyc3.js} +4 -4
- package/dist/chunks/{permission-g686f6pq.js → location-lifecycle-55p8xrkh.js} +9 -9
- package/dist/chunks/{permission-w2h15q85.js → location-lifecycle-57myy5jh.js} +5 -5
- package/dist/chunks/{permission-jsbv2qcb.js → location-lifecycle-59ez5ny7.js} +14 -14
- package/dist/chunks/{permission-djszqvmq.js → location-lifecycle-5d607bsg.js} +9 -9
- package/dist/chunks/{permission-077kz4hx.js → location-lifecycle-5h69s2y5.js} +11 -11
- package/dist/chunks/{permission-5m9w47nd.js → location-lifecycle-5m9w47nd.js} +1 -1
- package/dist/chunks/{permission-e3qxr5gk.js → location-lifecycle-5qd3pb7m.js} +2 -2
- package/dist/chunks/{permission-5k6zyyw6.js → location-lifecycle-607px8n0.js} +11 -11
- package/dist/chunks/{permission-j1kssgz7.js → location-lifecycle-63dwnky5.js} +18 -18
- package/dist/chunks/{permission-6827pfxn.js → location-lifecycle-6827pfxn.js} +1 -1
- package/dist/chunks/{permission-q5seeege.js → location-lifecycle-695sqb9h.js} +9 -9
- package/dist/chunks/{permission-wxht4a6k.js → location-lifecycle-6984ve19.js} +5 -5
- package/dist/chunks/{permission-cv1chh21.js → location-lifecycle-6ebfbtkv.js} +6 -6
- package/dist/chunks/{permission-kaq1n7g1.js → location-lifecycle-6f9fh71a.js} +8 -8
- package/dist/chunks/{permission-vxsxracv.js → location-lifecycle-6fmd39tn.js} +50 -50
- package/dist/chunks/{permission-8vdv097a.js → location-lifecycle-6we61vct.js} +18 -18
- package/dist/chunks/{permission-6xb47vfp.js → location-lifecycle-6xb47vfp.js} +1 -1
- package/dist/chunks/{permission-2htph0zh.js → location-lifecycle-72ejs4yy.js} +9 -9
- package/dist/chunks/{permission-6mrpdpwd.js → location-lifecycle-75aqn353.js} +41 -41
- package/dist/chunks/{permission-775gj3j1.js → location-lifecycle-775gj3j1.js} +2 -2
- package/dist/chunks/{permission-8yz7aj9b.js → location-lifecycle-781hgxz9.js} +23 -23
- package/dist/chunks/{permission-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-7dqw4kz8.js → location-lifecycle-7dqw4kz8.js} +1 -1
- package/dist/chunks/{permission-cx67ajtd.js → location-lifecycle-7e65fbvj.js} +16 -16
- package/dist/chunks/{permission-3zy697b6.js → location-lifecycle-7j2qha59.js} +8 -8
- package/dist/chunks/{permission-xtsepdzs.js → location-lifecycle-7p1f4xp8.js} +14 -14
- package/dist/chunks/{permission-166kng33.js → location-lifecycle-7s451enq.js} +8 -8
- package/dist/chunks/{permission-7bsp9m32.js → location-lifecycle-7v8jrtq9.js} +22 -22
- package/dist/chunks/{permission-84txncab.js → location-lifecycle-84txncab.js} +1 -1
- package/dist/chunks/{permission-dawdxdc6.js → location-lifecycle-89k3ytm0.js} +25 -25
- package/dist/chunks/{permission-qga9tdnh.js → location-lifecycle-89qjhs6t.js} +23 -23
- package/dist/chunks/{permission-06x8he3q.js → location-lifecycle-8gxqpgph.js} +4 -4
- package/dist/chunks/{permission-cy5n4vpa.js → location-lifecycle-8k6988sv.js} +24 -24
- package/dist/chunks/{permission-47e399wk.js → location-lifecycle-8m024czr.js} +17 -17
- package/dist/chunks/{permission-8m6m0r52.js → location-lifecycle-8m6m0r52.js} +1 -1
- package/dist/chunks/{permission-rkprpv83.js → location-lifecycle-8sze2n9a.js} +6 -6
- package/dist/chunks/{permission-g565bdnk.js → location-lifecycle-8wcztz1y.js} +18 -18
- package/dist/chunks/{permission-0qshmr3z.js → location-lifecycle-9wxyxwvg.js} +25 -25
- package/dist/chunks/{permission-zvw4zdac.js → location-lifecycle-9z1tgkt7.js} +8 -8
- package/dist/chunks/{permission-veakan6x.js → location-lifecycle-a7k07a0r.js} +31 -31
- package/dist/chunks/{permission-addxnjmp.js → location-lifecycle-addxnjmp.js} +1 -1
- package/dist/chunks/{permission-2fz504me.js → location-lifecycle-af13pbh4.js} +22 -22
- package/dist/chunks/{permission-w8eettsn.js → location-lifecycle-afghd5ye.js} +13 -13
- package/dist/chunks/{permission-pm3e59ws.js → location-lifecycle-akwe29sb.js} +15 -15
- package/dist/chunks/{permission-ky5p1jet.js → location-lifecycle-aq7td031.js} +13 -13
- package/dist/chunks/{permission-v1d997e3.js → location-lifecycle-ba86n9wp.js} +26 -26
- package/dist/chunks/{permission-7315p9bv.js → location-lifecycle-bbt6kwxg.js} +13 -13
- package/dist/chunks/{permission-1yhnncv3.js → location-lifecycle-bdtjpmhe.js} +11 -11
- package/dist/chunks/{permission-8zphv266.js → location-lifecycle-bvfjyde5.js} +32 -32
- package/dist/chunks/{permission-1ep4rre3.js → location-lifecycle-bzeyqsqd.js} +4 -4
- package/dist/chunks/{permission-x7dbbw4s.js → location-lifecycle-c0zg8c6f.js} +19 -19
- package/dist/chunks/{permission-rj3eygr5.js → location-lifecycle-c41wscbt.js} +2 -2
- package/dist/chunks/{permission-ed1g29hy.js → location-lifecycle-c7zza6wf.js} +3 -3
- package/dist/chunks/{permission-sa8ekw3f.js → location-lifecycle-c8ax2afj.js} +2 -2
- package/dist/chunks/{permission-qz6fg5px.js → location-lifecycle-c8xbbqnc.js} +22 -22
- package/dist/chunks/{permission-0vw65923.js → location-lifecycle-c9936egs.js} +10 -10
- package/dist/chunks/{permission-jbdjstdy.js → location-lifecycle-c9mdeg46.js} +4 -4
- package/dist/chunks/{permission-6wd8akbb.js → location-lifecycle-cd1hftv2.js} +18 -18
- package/dist/chunks/{permission-ag6akj28.js → location-lifecycle-ce3hp9gv.js} +9 -9
- package/dist/chunks/{permission-wt6bjq2d.js → location-lifecycle-cf3kp6ja.js} +4 -4
- package/dist/chunks/{permission-tezfeny1.js → location-lifecycle-cj14cmsv.js} +13 -13
- package/dist/chunks/{permission-sc2nmyy3.js → location-lifecycle-cq56qfwj.js} +5 -5
- package/dist/chunks/location-lifecycle-ctefx7dc.js +18 -0
- package/dist/chunks/{permission-qcg6pskb.js → location-lifecycle-ctqzsr68.js} +40 -40
- package/dist/chunks/{permission-yc8757mh.js → location-lifecycle-cv8r2mmt.js} +14 -14
- package/dist/chunks/{permission-pa8pe2x7.js → location-lifecycle-czfptnv9.js} +4 -4
- package/dist/chunks/{permission-8qbspajy.js → location-lifecycle-d06zwh9p.js} +31 -31
- package/dist/chunks/{permission-d0mq8tsb.js → location-lifecycle-d0mq8tsb.js} +2 -2
- package/dist/chunks/{permission-d1a28jh7.js → location-lifecycle-d1a28jh7.js} +2 -2
- package/dist/chunks/{permission-a2ew8a62.js → location-lifecycle-d216944b.js} +7 -7
- package/dist/chunks/{permission-v1j1xv0z.js → location-lifecycle-d2fh7std.js} +19 -19
- package/dist/chunks/{permission-b0cmhscj.js → location-lifecycle-d347t65w.js} +25 -25
- package/dist/chunks/{permission-4vr8sfaa.js → location-lifecycle-d86m1rj0.js} +18 -18
- package/dist/chunks/{permission-8ymsz4b0.js → location-lifecycle-d8pkrf5h.js} +1 -1
- package/dist/chunks/{permission-jdgs2vf5.js → location-lifecycle-dda9ms3f.js} +18 -18
- package/dist/chunks/{permission-95x86sb2.js → location-lifecycle-dnywr8gb.js} +19 -19
- package/dist/chunks/{permission-y71avatq.js → location-lifecycle-dpkg50ah.js} +4 -4
- package/dist/chunks/{permission-happ2gxr.js → location-lifecycle-dpxmnsbq.js} +30 -30
- package/dist/chunks/{permission-rsc34kwm.js → location-lifecycle-dse8h8s6.js} +48 -48
- package/dist/chunks/{permission-5xkfgywj.js → location-lifecycle-dxskvh44.js} +19 -19
- package/dist/chunks/{permission-xnpx2bje.js → location-lifecycle-e0fmkkrk.js} +14 -14
- package/dist/chunks/{permission-8hg529tb.js → location-lifecycle-e1gt835v.js} +18 -18
- package/dist/chunks/{permission-qzh9stwx.js → location-lifecycle-edfw93ys.js} +10 -10
- package/dist/chunks/{permission-eej6y6fw.js → location-lifecycle-eej6y6fw.js} +2 -2
- package/dist/chunks/{permission-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-4ns3h2re.js → location-lifecycle-emzsebxx.js} +6 -6
- package/dist/chunks/{permission-c1fqxshp.js → location-lifecycle-es1vcfrp.js} +3 -3
- package/dist/chunks/{permission-n9p1hdn1.js → location-lifecycle-etjx4h4r.js} +12 -12
- package/dist/chunks/{permission-cgn6nf8q.js → location-lifecycle-f8emv4xh.js} +2 -2
- package/dist/chunks/{permission-xgm8j16c.js → location-lifecycle-fbr293qy.js} +10 -10
- package/dist/chunks/{permission-fcy631f0.js → location-lifecycle-fcy631f0.js} +1 -1
- package/dist/chunks/{permission-2absmsvt.js → location-lifecycle-ff1xkr9y.js} +8 -8
- package/dist/chunks/{permission-e3b1ykad.js → location-lifecycle-fk55swpw.js} +2 -2
- package/dist/chunks/{permission-s60ex9x9.js → location-lifecycle-fnk67yax.js} +33 -33
- package/dist/chunks/{permission-pg20qm88.js → location-lifecycle-ft2jx7b3.js} +5 -5
- package/dist/chunks/{permission-zjj14ajc.js → location-lifecycle-fycz597j.js} +9 -9
- package/dist/chunks/{permission-y9wt364c.js → location-lifecycle-g4az1zet.js} +29 -29
- package/dist/chunks/{permission-vkbzaat8.js → location-lifecycle-g4yc7aag.js} +3 -3
- package/dist/chunks/{permission-9j319j6c.js → location-lifecycle-g751vwq2.js} +33 -33
- package/dist/chunks/{permission-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-pttp5at5.js → location-lifecycle-ggcvx0ry.js} +10 -10
- package/dist/chunks/{permission-n7pbqev4.js → location-lifecycle-gh2e7mrf.js} +1 -1
- package/dist/chunks/{permission-z6c3x22d.js → location-lifecycle-gj71zhbs.js} +5 -5
- package/dist/chunks/{permission-qat7qfmh.js → location-lifecycle-gr1zjdtk.js} +16 -16
- package/dist/chunks/{permission-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-vk1e3ms9.js → location-lifecycle-h9qe49vr.js} +28 -28
- package/dist/chunks/{permission-jhdf29st.js → location-lifecycle-he27pt63.js} +1 -1
- package/dist/chunks/{permission-twhckqaj.js → location-lifecycle-hg5ffjfb.js} +1 -1
- package/dist/chunks/{permission-hgz4x7wa.js → location-lifecycle-hgz4x7wa.js} +1 -1
- package/dist/chunks/{permission-khmqacep.js → location-lifecycle-hq3c8me3.js} +4 -4
- package/dist/chunks/{permission-sgv45qd8.js → location-lifecycle-hqck28wd.js} +18 -18
- package/dist/chunks/{permission-82rhge12.js → location-lifecycle-hwjyn0yt.js} +8 -8
- package/dist/chunks/{permission-91qna3x0.js → location-lifecycle-j09zfasm.js} +3 -3
- package/dist/chunks/{permission-d85h6rx4.js → location-lifecycle-j4zgmpc2.js} +14 -14
- package/dist/chunks/{permission-pq8ptr2v.js → location-lifecycle-jbzpnqck.js} +20 -20
- package/dist/chunks/{permission-1z25wtjx.js → location-lifecycle-jf845d62.js} +12 -12
- package/dist/chunks/{permission-tk71zytp.js → location-lifecycle-jq1m8ht5.js} +20 -20
- package/dist/chunks/{permission-bb21e2cw.js → location-lifecycle-jqhmcmeg.js} +7 -7
- package/dist/chunks/{permission-kqr3v9n1.js → location-lifecycle-jrwmj463.js} +13 -13
- package/dist/chunks/{permission-df7ycam9.js → location-lifecycle-js93qr4h.js} +16 -16
- package/dist/chunks/location-lifecycle-jvhcgpqb.js +26 -0
- package/dist/chunks/{permission-p3te20em.js → location-lifecycle-jwe28rce.js} +12 -12
- package/dist/chunks/{permission-rk7s9xkn.js → location-lifecycle-k0a3z2qz.js} +4 -4
- package/dist/chunks/{permission-npzsjbbh.js → location-lifecycle-k1jx8dbv.js} +10 -10
- package/dist/chunks/{permission-jegm7e3w.js → location-lifecycle-kc0px9k5.js} +27 -27
- package/dist/chunks/location-lifecycle-khbb1r3r.js +513 -0
- package/dist/chunks/{permission-j6m6nhdy.js → location-lifecycle-kkck9t7z.js} +11 -11
- package/dist/chunks/{permission-y6h6q1t6.js → location-lifecycle-kkmn6qry.js} +7 -7
- package/dist/chunks/{permission-b6xy6jda.js → location-lifecycle-kr1vnkd9.js} +9 -9
- package/dist/chunks/{permission-kwb1v3vj.js → location-lifecycle-kwb1v3vj.js} +1 -1
- package/dist/chunks/{permission-tpey6b1y.js → location-lifecycle-m0ph700x.js} +45 -45
- package/dist/chunks/{permission-yaf4twsz.js → location-lifecycle-m2b6v9cc.js} +11 -11
- package/dist/chunks/{permission-fygdf593.js → location-lifecycle-m4f5eap6.js} +9 -9
- package/dist/chunks/{permission-z030xdpz.js → location-lifecycle-m6gwzbg0.js} +18 -18
- package/dist/chunks/{permission-4fmpts8e.js → location-lifecycle-m8zcef18.js} +9 -9
- package/dist/chunks/{permission-2b1wsq2w.js → location-lifecycle-m95e7rsz.js} +15 -15
- package/dist/chunks/{permission-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-maspj1v3.js → location-lifecycle-maspj1v3.js} +1 -1
- package/dist/chunks/{permission-krnfx9r5.js → location-lifecycle-mjj2pff8.js} +9 -9
- package/dist/chunks/{permission-bhm4j9s7.js → location-lifecycle-mqj6hke2.js} +3 -3
- package/dist/chunks/{permission-3wn0hr41.js → location-lifecycle-n30fntma.js} +38 -38
- package/dist/chunks/{permission-7g6vdmkx.js → location-lifecycle-nnj5ddfb.js} +31 -31
- package/dist/chunks/{permission-214h98jy.js → location-lifecycle-npw39rc8.js} +11 -11
- package/dist/chunks/{permission-49ssvzha.js → location-lifecycle-p1gbbhxc.js} +18 -18
- package/dist/chunks/{permission-6frnfrnw.js → location-lifecycle-p27rdnkk.js} +29 -29
- package/dist/chunks/location-lifecycle-p3r2p6x2.js +257 -0
- package/dist/chunks/{permission-5r4v3g9g.js → location-lifecycle-pa2zdcgf.js} +8 -8
- package/dist/chunks/{permission-g8fx0mdm.js → location-lifecycle-pdq7q66p.js} +35 -35
- package/dist/chunks/{permission-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{permission-q8bwqnhm.js → location-lifecycle-pnsjedwv.js} +5 -5
- package/dist/chunks/{permission-0ck2bssf.js → location-lifecycle-q0nrsbdj.js} +10 -10
- package/dist/chunks/{permission-2ffdfj3s.js → location-lifecycle-q12p87yz.js} +32 -32
- package/dist/chunks/{permission-2nw1929s.js → location-lifecycle-q9arkc6z.js} +4 -4
- package/dist/chunks/{permission-3f08sfd2.js → location-lifecycle-qe16ck7w.js} +20 -20
- package/dist/chunks/{permission-qnc92qwc.js → location-lifecycle-qnc92qwc.js} +1 -1
- package/dist/chunks/{permission-y700wc3r.js → location-lifecycle-qs910jka.js} +6 -6
- package/dist/chunks/{permission-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-yc1q5t7w.js → location-lifecycle-r0yrfec0.js} +1 -1
- package/dist/chunks/{permission-daz8d7a2.js → location-lifecycle-r5q76s5y.js} +7 -7
- package/dist/chunks/{permission-t084p1y5.js → location-lifecycle-r6eqserw.js} +11 -11
- package/dist/chunks/{permission-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-vz8e9wrw.js → location-lifecycle-rfzpkp7g.js} +3 -3
- package/dist/chunks/{permission-02a7j1yb.js → location-lifecycle-rhjbct0v.js} +4 -4
- package/dist/chunks/{permission-kv8tams4.js → location-lifecycle-rk5w8j3b.js} +17 -17
- package/dist/chunks/{permission-g0b58jdz.js → location-lifecycle-rsnhe065.js} +20 -20
- package/dist/chunks/{permission-re83bsct.js → location-lifecycle-rtm93tmp.js} +11 -11
- package/dist/chunks/{permission-1yz2extm.js → location-lifecycle-rw7tcjq0.js} +11 -11
- package/dist/chunks/{permission-nw38tstv.js → location-lifecycle-ry7sv2sp.js} +12 -12
- package/dist/chunks/{permission-q644qeh9.js → location-lifecycle-s0rhbd2j.js} +29 -29
- package/dist/chunks/{permission-casgqzw7.js → location-lifecycle-s4k5tj5e.js} +7 -7
- package/dist/chunks/{permission-127t0429.js → location-lifecycle-s8wsn1ke.js} +91 -91
- package/dist/chunks/{permission-fgnebgtb.js → location-lifecycle-sd0j03yg.js} +35 -35
- package/dist/chunks/{permission-8nk2jm7a.js → location-lifecycle-se6v5b7p.js} +13 -13
- package/dist/chunks/{permission-n9yej1yx.js → location-lifecycle-sfha69e5.js} +11 -11
- package/dist/chunks/{permission-v5am12g3.js → location-lifecycle-st816g4q.js} +11 -11
- package/dist/chunks/{permission-syv4x271.js → location-lifecycle-syv4x271.js} +1 -1
- package/dist/chunks/{permission-5fec3t3w.js → location-lifecycle-sz15zhhw.js} +9 -9
- package/dist/chunks/{permission-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-hyva091a.js → location-lifecycle-tbdgfpnd.js} +71 -71
- package/dist/chunks/{permission-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
- package/dist/chunks/{permission-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
- package/dist/chunks/{permission-rert0e01.js → location-lifecycle-tkb22qbm.js} +2 -2
- package/dist/chunks/{permission-tm0kqsz3.js → location-lifecycle-tm0kqsz3.js} +1 -1
- package/dist/chunks/{permission-mvggkpmg.js → location-lifecycle-tmtp1pcb.js} +24 -24
- package/dist/chunks/{permission-bg7v267m.js → location-lifecycle-tnr8qtc8.js} +11 -11
- package/dist/chunks/{permission-dmxyvhn9.js → location-lifecycle-tqzajddm.js} +22 -22
- package/dist/chunks/{permission-qb8tpnra.js → location-lifecycle-tt8gc4fv.js} +6 -6
- package/dist/chunks/{permission-2x1z1r6y.js → location-lifecycle-ttvbz5a0.js} +30 -30
- package/dist/chunks/{permission-cb8qj17s.js → location-lifecycle-tx68p9ax.js} +21 -21
- package/dist/chunks/{permission-52dd90en.js → location-lifecycle-tym65pn8.js} +18 -18
- package/dist/chunks/{permission-tyytaxap.js → location-lifecycle-tyytaxap.js} +1 -1
- package/dist/chunks/{permission-v210v162.js → location-lifecycle-v210v162.js} +2 -2
- package/dist/chunks/{permission-6z8sdx4r.js → location-lifecycle-v4qk44j4.js} +9 -9
- package/dist/chunks/{permission-2jeqkyx9.js → location-lifecycle-v5db55nh.js} +9 -9
- package/dist/chunks/{permission-nrk5vjbf.js → location-lifecycle-v6ghzfeb.js} +5 -5
- package/dist/chunks/{permission-v7p4zvkq.js → location-lifecycle-v7p4zvkq.js} +2 -2
- package/dist/chunks/{permission-m1z5ek08.js → location-lifecycle-v8cmy866.js} +5 -5
- package/dist/chunks/{permission-c5gpvg1m.js → location-lifecycle-vckptexg.js} +15 -15
- package/dist/chunks/{permission-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-wtfr3vft.js → location-lifecycle-vh8ckttc.js} +36 -36
- package/dist/chunks/{permission-a6jpkw6q.js → location-lifecycle-vq9aavz4.js} +13 -13
- package/dist/chunks/{permission-ejjd48st.js → location-lifecycle-vsfget0z.js} +16 -16
- package/dist/chunks/{permission-vzs5sf6e.js → location-lifecycle-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-3m17k9xx.js → location-lifecycle-w8edt1q4.js} +46 -46
- package/dist/chunks/{permission-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{permission-w3wt3gxt.js → location-lifecycle-wggznzgf.js} +3 -3
- package/dist/chunks/{permission-4qsc8bkd.js → location-lifecycle-wh8kvkph.js} +4 -4
- package/dist/chunks/{permission-9fmertkp.js → location-lifecycle-wjjn4kzj.js} +22 -22
- package/dist/chunks/{permission-ywt8jp22.js → location-lifecycle-wjr9rjd7.js} +6 -6
- package/dist/chunks/{permission-v4y22ka3.js → location-lifecycle-wvpm2d85.js} +21 -21
- package/dist/chunks/{permission-v9wxqb6s.js → location-lifecycle-wxeknpxm.js} +11 -11
- package/dist/chunks/{permission-64v9d8jf.js → location-lifecycle-x034mn82.js} +14 -14
- package/dist/chunks/{permission-xq4pm58y.js → location-lifecycle-x4mwvgdt.js} +25 -25
- package/dist/chunks/{permission-vewxdebe.js → location-lifecycle-xbddaxx6.js} +34 -34
- package/dist/chunks/{permission-vqfzq50h.js → location-lifecycle-xcd0eash.js} +6 -6
- package/dist/chunks/{permission-drwq78ky.js → location-lifecycle-xfkkasph.js} +4 -4
- package/dist/chunks/{permission-qjx1ax0j.js → location-lifecycle-xj1aydcy.js} +5 -5
- package/dist/chunks/{permission-9pva1erc.js → location-lifecycle-xkg3wtg9.js} +55 -55
- package/dist/chunks/{permission-fwct7erw.js → location-lifecycle-xq78qv1x.js} +30 -30
- package/dist/chunks/{permission-5cmfnc1d.js → location-lifecycle-xqz3gp2k.js} +19 -19
- package/dist/chunks/{permission-p6aczztz.js → location-lifecycle-xry37qyv.js} +35 -35
- package/dist/chunks/{permission-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-k9py4pwb.js → location-lifecycle-y3kk8hnd.js} +4 -4
- package/dist/chunks/{permission-afrtgck4.js → location-lifecycle-y6mhz57t.js} +4 -4
- package/dist/chunks/{permission-mw3zb6qd.js → location-lifecycle-y8z6zp49.js} +6 -6
- package/dist/chunks/{permission-jgx5b071.js → location-lifecycle-ybrxzqz1.js} +49 -49
- package/dist/chunks/{permission-f2n192rq.js → location-lifecycle-yp2x3t23.js} +4 -4
- package/dist/chunks/{permission-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-ew6htt3g.js → location-lifecycle-z6js6zeq.js} +15 -15
- package/dist/chunks/{permission-k5rqsxm2.js → location-lifecycle-z8a72chb.js} +11 -11
- package/dist/chunks/{permission-fg7q0mw6.js → location-lifecycle-zhdsm0ct.js} +35 -35
- package/dist/chunks/{permission-3c55w9e6.js → location-lifecycle-zkbpdh80.js} +17 -17
- package/dist/chunks/{permission-xppfe2fc.js → location-lifecycle-zq2fbahv.js} +6 -6
- package/dist/chunks/{permission-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-5dkn69vz.js → location-lifecycle-zsr4wwhv.js} +4 -4
- package/dist/chunks/{permission-c4hm07mz.js → location-lifecycle-zv7t0c96.js} +25 -25
- package/dist/chunks/{permission-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +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 +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- 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 +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +96 -96
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- 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 +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- 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 +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- 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 +12 -12
- 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 +7 -7
- 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 +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/permission-brf1jj81.js +0 -26
- package/dist/chunks/permission-d5f7yrdq.js +0 -513
- package/dist/chunks/permission-ht5y0zrb.js +0 -18
- package/dist/chunks/permission-qktm8anj.js +0 -257
- /package/dist/chunks/{permission-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2bv980vf.js → location-lifecycle-2bv980vf.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3t0ybcrp.js → location-lifecycle-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-6q2bdcd1.js → location-lifecycle-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-84wd9syh.js → location-lifecycle-84wd9syh.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hcxmzztb.js → location-lifecycle-hcxmzztb.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jze0r7bz.js → location-lifecycle-jze0r7bz.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-m18g726c.js → location-lifecycle-m18g726c.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-pkyv6v7h.js → location-lifecycle-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{permission-pyv0edze.js → location-lifecycle-pyv0edze.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-ve7vex1e.js → location-lifecycle-ve7vex1e.js} +0 -0
- /package/dist/chunks/{permission-vx3jgdek.js → location-lifecycle-vx3jgdek.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wjj7prxr.js → location-lifecycle-wjj7prxr.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z5v4ffb3.js → location-lifecycle-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service86,
|
|
9
|
+
node90
|
|
10
|
+
} from "./location-lifecycle-ry7sv2sp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service80,
|
|
13
|
+
node84
|
|
14
|
+
} from "./location-lifecycle-7e65fbvj.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-lifecycle-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service53,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node55,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service53 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service86;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID5.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service53.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node55 = makeLocationNode({
|
|
153
|
+
service: Service53,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node90, Global.node, node84]
|
|
156
156
|
});
|
|
157
|
-
var
|
|
157
|
+
var noopLayer3 = Layer.succeed(Service53, Service53.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error3({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID5, Error3, Service53, node55, noopLayer3, exports_snapshot2 };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service80
|
|
14
|
+
} from "./location-lifecycle-7e65fbvj.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-lifecycle-tx68p9ax.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin21,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin21 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service80;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin21, exports_git };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
SQLiteEffectPreparedQuery2,
|
|
3
3
|
SQLiteEffectSession2,
|
|
4
4
|
SQLiteEffectTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-f8emv4xh.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/effect-sqlite/session.ts
|
|
8
8
|
import * as Context from "effect/Context";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info10,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info10 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info15 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info10, exports_provider2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-lifecycle-7e65fbvj.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-rhjbct0v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-lifecycle-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: () => Service35,
|
|
19
|
+
node: () => node39
|
|
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 Service35 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service80;
|
|
29
|
+
return Service35.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(Service27, 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(Service27, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node39 = makeLocationNode({ service: Service35, layer, deps: [Global.node, node84] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service35, node39, exports_builtins };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node83
|
|
5
|
+
} from "./location-lifecycle-cd1hftv2.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node82
|
|
20
|
+
} from "./location-lifecycle-d2fh7std.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service67,
|
|
23
|
+
node70
|
|
24
|
+
} from "./location-lifecycle-72ejs4yy.js";
|
|
25
25
|
import {
|
|
26
26
|
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service77,
|
|
30
|
+
node81,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-lifecycle-d86m1rj0.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service66,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer25,
|
|
52
|
+
node: () => node69,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service66 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -271,12 +271,12 @@ var causeMessage = (cause) => {
|
|
|
271
271
|
};
|
|
272
272
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
273
273
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
274
|
-
var
|
|
275
|
-
const providers = yield*
|
|
276
|
-
const models = yield*
|
|
277
|
-
const integrations = yield*
|
|
274
|
+
var layer25 = Layer.effect(Service66, Effect.gen(function* () {
|
|
275
|
+
const providers = yield* Service78;
|
|
276
|
+
const models = yield* Service77;
|
|
277
|
+
const integrations = yield* Service79;
|
|
278
278
|
const npm = yield* Npm.Service;
|
|
279
|
-
const aisdk = yield*
|
|
279
|
+
const aisdk = yield* Service67;
|
|
280
280
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
281
281
|
const provider = yield* providers.get(selected.providerID);
|
|
282
282
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -306,7 +306,7 @@ var layer19 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
306
306
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
307
307
|
};
|
|
308
308
|
});
|
|
309
|
-
return
|
|
309
|
+
return Service66.of({
|
|
310
310
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
311
311
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
312
312
|
if (!selected)
|
|
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
323
323
|
const name = packageName2(packageName);
|
|
324
324
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
service:
|
|
328
|
-
layer:
|
|
329
|
-
deps: [
|
|
326
|
+
var node69 = makeLocationNode({
|
|
327
|
+
service: Service66,
|
|
328
|
+
layer: layer25,
|
|
329
|
+
deps: [node82, node81, node83, Npm.node, node70]
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
332
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service66, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer25, node69, exports_model_resolver };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer5,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer5 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer5, exports_unavailable };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info9,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-8k6988sv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service59
|
|
11
|
+
} from "./location-lifecycle-1afpt04b.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin35,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -424,20 +424,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
424
424
|
var ReportContent2 = report_default;
|
|
425
425
|
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.";
|
|
426
426
|
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.";
|
|
427
|
-
var
|
|
427
|
+
var Plugin35 = define({
|
|
428
428
|
id: "opencode.skill",
|
|
429
429
|
effect: Effect.fn(function* (ctx) {
|
|
430
430
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
431
431
|
yield* ctx.skill.transform((editor) => {
|
|
432
|
-
editor.add(
|
|
433
|
-
id:
|
|
432
|
+
editor.add(Info9.make({
|
|
433
|
+
id: ID6.make("opencode"),
|
|
434
434
|
name: Name2.make("OpenCode"),
|
|
435
435
|
description: OpencodeDescription2,
|
|
436
436
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
437
437
|
content: OpencodeContent2
|
|
438
438
|
}));
|
|
439
|
-
editor.add(
|
|
440
|
-
id:
|
|
439
|
+
editor.add(Info9.make({
|
|
440
|
+
id: ID6.make("report"),
|
|
441
441
|
name: Name2.make("Report"),
|
|
442
442
|
description: REPORT_DESCRIPTION,
|
|
443
443
|
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* Service59;
|
|
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, Plugin35, exports_skill2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
13
|
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
@@ -17,14 +17,14 @@ import { Npm } from "@opencode/util/npm";
|
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service8 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service8.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var node9 = makeGlobalNode({ service:
|
|
52
|
+
var node9 = makeGlobalNode({ service: Service8, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service8, node9, exports_update };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-pyv0edze.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-syv4x271.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|