@opencode/core 0.0.0-dev-19338 → 0.0.0-dev-19342
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{location-services-6fjmxycd.js → file-retention-0bzed8qe.js} +30 -30
- package/dist/chunks/{location-services-fbtcayzh.js → file-retention-0djgsxfa.js} +9 -9
- package/dist/chunks/{location-services-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-drbyteps.js → file-retention-0sdp51s0.js} +13 -13
- package/dist/chunks/{location-services-vyjzrkx0.js → file-retention-0vqy458c.js} +9 -9
- package/dist/chunks/{location-services-qv2bye7a.js → file-retention-1d0fhjp0.js} +7 -7
- package/dist/chunks/{location-services-j81s0rnf.js → file-retention-1d5qcw44.js} +4 -4
- package/dist/chunks/{location-services-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-0hpxrkyb.js → file-retention-1dfhrqqs.js} +5 -5
- package/dist/chunks/{location-services-2m8nxcnz.js → file-retention-1emffesh.js} +5 -5
- package/dist/chunks/{location-services-szvm6efx.js → file-retention-1p35s36r.js} +17 -17
- package/dist/chunks/{location-services-sqbb0ctm.js → file-retention-1q5awywt.js} +5 -5
- package/dist/chunks/{location-services-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
- package/dist/chunks/{location-services-dvanp92t.js → file-retention-283c8amn.js} +20 -20
- package/dist/chunks/{location-services-z63w68vq.js → file-retention-29x78va6.js} +6 -6
- package/dist/chunks/{location-services-g2y161wv.js → file-retention-2a4f6v5q.js} +8 -8
- package/dist/chunks/{location-services-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-7vc3mrhj.js → file-retention-2a9489x0.js} +12 -12
- package/dist/chunks/{location-services-2acm1nys.js → file-retention-2dhvjk9m.js} +53 -53
- package/dist/chunks/{location-services-kjd67z7p.js → file-retention-2wddc2mm.js} +24 -24
- package/dist/chunks/{location-services-g09rc90z.js → file-retention-2wmkh6wf.js} +11 -11
- package/dist/chunks/{location-services-28fzndev.js → file-retention-35etrq90.js} +22 -22
- package/dist/chunks/{location-services-jhz8yd6p.js → file-retention-35gx5fr5.js} +10 -10
- package/dist/chunks/{location-services-tfs8xndz.js → file-retention-3bfh1azg.js} +85 -85
- package/dist/chunks/{location-services-6sj05tzn.js → file-retention-3cqavhax.js} +11 -11
- package/dist/chunks/{location-services-at5nfy9r.js → file-retention-3eqpb9zq.js} +16 -16
- package/dist/chunks/{location-services-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-27j8ahm1.js → file-retention-3tc1r0mp.js} +20 -20
- package/dist/chunks/{location-services-ycaafw61.js → file-retention-3tf484fr.js} +14 -14
- package/dist/chunks/{location-services-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-zr7mteb2.js → file-retention-42fa2mq1.js} +25 -25
- package/dist/chunks/{location-services-ex5k2c35.js → file-retention-457xx6wr.js} +9 -9
- package/dist/chunks/{location-services-z43vqr8p.js → file-retention-45ax9jcn.js} +26 -26
- package/dist/chunks/{location-services-hjt4xg1x.js → file-retention-47gsdddb.js} +7 -7
- package/dist/chunks/{location-services-vk1048p9.js → file-retention-495xzanh.js} +15 -15
- package/dist/chunks/{location-services-7f4cfqjs.js → file-retention-49ej072a.js} +3 -3
- package/dist/chunks/{location-services-d5mjh5gn.js → file-retention-4c9pdqrn.js} +16 -16
- package/dist/chunks/{location-services-6c1jg7x4.js → file-retention-4hqfr28c.js} +30 -30
- package/dist/chunks/{location-services-hpdzznjk.js → file-retention-4ram32jk.js} +16 -16
- package/dist/chunks/{location-services-ka2k270b.js → file-retention-50mx3fww.js} +8 -8
- package/dist/chunks/{location-services-e2dtrqwf.js → file-retention-51pqj4sw.js} +46 -46
- package/dist/chunks/{location-services-xdj7hph9.js → file-retention-53b5596a.js} +14 -14
- package/dist/chunks/{location-services-e4zvp2f4.js → file-retention-541f07s9.js} +6 -6
- package/dist/chunks/{location-services-1ygqh575.js → file-retention-56gdpj1q.js} +9 -9
- package/dist/chunks/{location-services-85fsg3cm.js → file-retention-585pw9ae.js} +24 -24
- package/dist/chunks/{location-services-ntzg9vqq.js → file-retention-5c9mjg6a.js} +32 -32
- package/dist/chunks/{location-services-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-rcxgw5yf.js → file-retention-5qng0t1j.js} +11 -11
- package/dist/chunks/{location-services-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-tmz1m10x.js → file-retention-629h1w84.js} +6 -6
- package/dist/chunks/{location-services-t2w3xr5a.js → file-retention-62qy00sv.js} +2 -2
- package/dist/chunks/{location-services-paegk39x.js → file-retention-64kphnzf.js} +4 -4
- package/dist/chunks/{location-services-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{location-services-9jzbrzc0.js → file-retention-68vz8m4p.js} +14 -14
- package/dist/chunks/{location-services-gacdy71v.js → file-retention-69ycz7qv.js} +28 -28
- package/dist/chunks/{location-services-9z8a7pbd.js → file-retention-6bdbvcy9.js} +20 -20
- package/dist/chunks/{location-services-v0qc9apc.js → file-retention-6dxcmtmc.js} +28 -28
- package/dist/chunks/{location-services-y8nep4sr.js → file-retention-6f22aege.js} +30 -30
- package/dist/chunks/{location-services-m86bnw2c.js → file-retention-6jnybvqn.js} +9 -9
- package/dist/chunks/{location-services-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-h5pwjbm9.js → file-retention-6ppfrw8p.js} +23 -23
- package/dist/chunks/{location-services-28pzpvq0.js → file-retention-6tkx0wew.js} +6 -6
- package/dist/chunks/{location-services-zwzjy0a1.js → file-retention-6vfxs2dk.js} +17 -17
- package/dist/chunks/{location-services-w28m7x89.js → file-retention-6xfzx76p.js} +11 -11
- package/dist/chunks/{location-services-a5abhest.js → file-retention-6zagmew0.js} +13 -13
- package/dist/chunks/{location-services-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
- package/dist/chunks/{location-services-73tb2d7t.js → file-retention-73tb2d7t.js} +1 -1
- package/dist/chunks/file-retention-79fjvhba.js +247 -0
- package/dist/chunks/{location-services-m48bak5g.js → file-retention-7b6kgw3h.js} +45 -45
- package/dist/chunks/{location-services-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-qgn6gcr1.js → file-retention-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-services-16td4x31.js → file-retention-7eagj9kf.js} +9 -9
- package/dist/chunks/{location-services-6ersrjne.js → file-retention-7ebn0nc0.js} +4 -4
- package/dist/chunks/{location-services-h9zmmqvn.js → file-retention-7zypnq1v.js} +10 -10
- package/dist/chunks/{location-services-x3et2xth.js → file-retention-844ef7ks.js} +8 -8
- package/dist/chunks/{location-services-vqa79sa2.js → file-retention-84e78dg0.js} +5 -5
- package/dist/chunks/{location-services-mw0hasaz.js → file-retention-89xjw27r.js} +36 -36
- package/dist/chunks/{location-services-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-1qdk8c0g.js → file-retention-8h998g6s.js} +1 -1
- package/dist/chunks/{location-services-8p4f9s12.js → file-retention-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-services-9pfdanbq.js → file-retention-8pak98y4.js} +20 -20
- package/dist/chunks/{location-services-ep6z9mt6.js → file-retention-8qbgjw8c.js} +11 -11
- package/dist/chunks/{location-services-eq4p078r.js → file-retention-8vg9ss2j.js} +5 -5
- package/dist/chunks/{location-services-7j2qha59.js → file-retention-8wsye86r.js} +8 -8
- package/dist/chunks/{location-services-pswdd2t8.js → file-retention-8yc64hpa.js} +14 -14
- package/dist/chunks/{location-services-kp0txnpa.js → file-retention-95fjfv4d.js} +11 -11
- package/dist/chunks/{location-services-kcwf74x3.js → file-retention-96yt6zt0.js} +1 -1
- package/dist/chunks/{location-services-txm7s3af.js → file-retention-9a0n252a.js} +44 -44
- package/dist/chunks/{location-services-xxdsfsv4.js → file-retention-9p2ve8w2.js} +22 -22
- package/dist/chunks/{location-services-s3fqj7fn.js → file-retention-9pgqtxcp.js} +24 -24
- package/dist/chunks/{location-services-5dcgz3aq.js → file-retention-9pyf0cwy.js} +15 -15
- package/dist/chunks/file-retention-9sh4wc5j.js +18 -0
- package/dist/chunks/{location-services-e7p6faa2.js → file-retention-9t1jp5yp.js} +9 -9
- package/dist/chunks/{location-services-avay8ehz.js → file-retention-9wnjnk6r.js} +5 -5
- package/dist/chunks/{location-services-a1bz86dw.js → file-retention-a1bz86dw.js} +3 -3
- package/dist/chunks/file-retention-a4qn8ft9.js +462 -0
- package/dist/chunks/{location-services-jzjzmfk7.js → file-retention-a6x36d81.js} +4 -4
- package/dist/chunks/{location-services-s2qffcb7.js → file-retention-a8zn6wm8.js} +17 -17
- package/dist/chunks/{location-services-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-f9yp8s8r.js → file-retention-ab3m9e4p.js} +11 -11
- package/dist/chunks/{location-services-at0srrj9.js → file-retention-agj0b0se.js} +11 -11
- package/dist/chunks/{location-services-78hqr335.js → file-retention-aj8kkpvr.js} +4 -4
- package/dist/chunks/{location-services-5vm6jgpp.js → file-retention-anhfpk2y.js} +13 -13
- package/dist/chunks/{location-services-r69tr7x2.js → file-retention-aqhnkr3e.js} +40 -40
- package/dist/chunks/{location-services-znc92hjm.js → file-retention-asqsdy15.js} +41 -41
- package/dist/chunks/{location-services-nmts8jzf.js → file-retention-aywpdfxt.js} +11 -11
- package/dist/chunks/{location-services-w76aks9p.js → file-retention-b0p6ev8e.js} +6 -6
- package/dist/chunks/{location-services-0zj4cm3y.js → file-retention-b65ks73n.js} +33 -33
- package/dist/chunks/{location-services-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-pa0527fm.js → file-retention-baeg8a9n.js} +4 -4
- package/dist/chunks/{location-services-g3599gw0.js → file-retention-bcnz578n.js} +2 -2
- package/dist/chunks/{location-services-tjzgn1x1.js → file-retention-bd1zqjbj.js} +13 -13
- package/dist/chunks/{location-services-bct739vz.js → file-retention-bf0ztrs3.js} +4 -4
- package/dist/chunks/{location-services-j3xb24h1.js → file-retention-bs7hmeg3.js} +12 -12
- package/dist/chunks/{location-services-6y3njc5p.js → file-retention-ccmdxyv2.js} +11 -11
- package/dist/chunks/{location-services-cfpkc3c9.js → file-retention-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-services-6zkt8sc0.js → file-retention-cne0g9zz.js} +11 -11
- package/dist/chunks/{location-services-5fs5z9r9.js → file-retention-cvmpta01.js} +167 -167
- package/dist/chunks/{location-services-ts6t2md9.js → file-retention-cyymmyy1.js} +13 -13
- package/dist/chunks/{location-services-n5pps5m7.js → file-retention-cz0cqjej.js} +8 -8
- package/dist/chunks/{location-services-2wdxjxp6.js → file-retention-d0zk2jym.js} +6 -6
- package/dist/chunks/{location-services-pdqbsy2v.js → file-retention-d67aqa6n.js} +7 -7
- package/dist/chunks/{location-services-fnhdbvfa.js → file-retention-d8s0zgrq.js} +15 -15
- package/dist/chunks/{location-services-9kvjnr81.js → file-retention-dcm7ab38.js} +29 -29
- package/dist/chunks/{location-services-2z317dgv.js → file-retention-dfdxrv27.js} +29 -29
- package/dist/chunks/{location-services-4k845csn.js → file-retention-dfwmnba5.js} +21 -21
- package/dist/chunks/{location-services-zdhmhzs2.js → file-retention-dn5dwck5.js} +13 -13
- package/dist/chunks/{location-services-vkez6a4k.js → file-retention-dn7xhbn4.js} +6 -6
- package/dist/chunks/{location-services-y71avatq.js → file-retention-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-services-8k3jg3eh.js → file-retention-dy2q6f9r.js} +17 -17
- package/dist/chunks/{location-services-8y62cfgq.js → file-retention-e2nxat5d.js} +6 -6
- package/dist/chunks/{location-services-4zsc87zk.js → file-retention-e59w6ff2.js} +13 -13
- package/dist/chunks/{location-services-bscb95cy.js → file-retention-e6d6pdps.js} +4 -4
- package/dist/chunks/{location-services-8ncan3qx.js → file-retention-e7058pvs.js} +15 -15
- package/dist/chunks/{location-services-3ythc6yv.js → file-retention-ec8389mk.js} +4 -4
- package/dist/chunks/{location-services-5etegeke.js → file-retention-eksy8cvr.js} +3 -3
- package/dist/chunks/{location-services-fafkyc6a.js → file-retention-emc1bwfy.js} +10 -10
- package/dist/chunks/{location-services-hq4ymc60.js → file-retention-ep52dk3v.js} +18 -18
- package/dist/chunks/{location-services-v055rr52.js → file-retention-epfxrcc1.js} +25 -25
- package/dist/chunks/{location-services-dqm30p7h.js → file-retention-ephtsj6m.js} +75 -75
- package/dist/chunks/{location-services-h1n238ac.js → file-retention-er56z9m3.js} +4 -4
- package/dist/chunks/{location-services-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-9zswys26.js → file-retention-f7ehr2sm.js} +9 -9
- package/dist/chunks/{location-services-f828m53h.js → file-retention-f828m53h.js} +2 -2
- package/dist/chunks/{location-services-11m7nw5e.js → file-retention-f8hk6r9n.js} +24 -24
- package/dist/chunks/{location-services-380vjcmd.js → file-retention-f8q7mv7a.js} +1 -1
- package/dist/chunks/{location-services-k67g98nv.js → file-retention-fcnx6kxm.js} +26 -26
- package/dist/chunks/{location-services-4b6bntqd.js → file-retention-fgh0kbhd.js} +1 -1
- package/dist/chunks/{location-services-zgwwbszc.js → file-retention-fpasx09t.js} +15 -15
- package/dist/chunks/{location-services-n4wjpn8n.js → file-retention-fpffc2t3.js} +26 -26
- package/dist/chunks/{location-services-5bzad00n.js → file-retention-fs0qk05d.js} +18 -18
- package/dist/chunks/{location-services-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-7ybwwvvx.js → file-retention-fygdb7h7.js} +3 -3
- package/dist/chunks/{location-services-0wd6em3j.js → file-retention-g7kcqsv9.js} +7 -7
- package/dist/chunks/{location-services-dzx5qajy.js → file-retention-g917tkp4.js} +13 -13
- package/dist/chunks/{location-services-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-gdvy8fx6.js → file-retention-gdvy8fx6.js} +1 -1
- package/dist/chunks/{location-services-dpwabj80.js → file-retention-gexddpvz.js} +8 -8
- package/dist/chunks/{location-services-bdetpt2n.js → file-retention-gnv2jnak.js} +14 -14
- package/dist/chunks/{location-services-jh4j6rwm.js → file-retention-gpa4jt68.js} +10 -10
- package/dist/chunks/{location-services-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-w79zsp0s.js → file-retention-gx1zhcta.js} +1 -1
- package/dist/chunks/{location-services-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-services-dxth83mh.js → file-retention-h66ky8mw.js} +39 -39
- package/dist/chunks/{location-services-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-m9d2dprq.js → file-retention-havkms48.js} +24 -24
- package/dist/chunks/{location-services-bha4atvq.js → file-retention-hfdr1yjj.js} +4 -4
- package/dist/chunks/{location-services-k5rw4hnc.js → file-retention-hgdkda7v.js} +22 -22
- package/dist/chunks/{location-services-2m4pqqb5.js → file-retention-hp4rcpke.js} +34 -34
- package/dist/chunks/{location-services-btq6dtd4.js → file-retention-hs0jw6ga.js} +28 -28
- package/dist/chunks/{location-services-7zdm33ac.js → file-retention-j26kwb45.js} +10 -10
- package/dist/chunks/{location-services-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-ycmd6xcg.js → file-retention-j62zf0j4.js} +11 -11
- package/dist/chunks/{location-services-paphc93g.js → file-retention-j935v87r.js} +2 -2
- package/dist/chunks/{location-services-2xwaa7cw.js → file-retention-jdzbt2xe.js} +5 -5
- package/dist/chunks/{location-services-btas0783.js → file-retention-jf9e43jb.js} +25 -25
- package/dist/chunks/{location-services-n5ftgbap.js → file-retention-jfcgv9fx.js} +33 -33
- package/dist/chunks/{location-services-kf1g5n2n.js → file-retention-jkg5sjyj.js} +30 -30
- package/dist/chunks/{location-services-magykp64.js → file-retention-jr3tywxk.js} +21 -21
- package/dist/chunks/{location-services-24sbpj7j.js → file-retention-jwjk52g2.js} +4 -4
- package/dist/chunks/{location-services-b2jx7zxs.js → file-retention-k16ay38w.js} +1 -1
- package/dist/chunks/{location-services-55bzypr0.js → file-retention-k2fzxap7.js} +11 -11
- package/dist/chunks/{location-services-3xwj35jq.js → file-retention-k3aec3va.js} +7 -7
- package/dist/chunks/{location-services-t2az9yje.js → file-retention-k76fn4kw.js} +4 -4
- package/dist/chunks/{location-services-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
- package/dist/chunks/{location-services-1mapar6n.js → file-retention-kntggcm2.js} +10 -10
- package/dist/chunks/{location-services-q1c4k7jk.js → file-retention-ksz0h0wp.js} +1 -1
- package/dist/chunks/{location-services-vxqn53pa.js → file-retention-ktd0ny7h.js} +24 -24
- package/dist/chunks/{location-services-h4r1yjny.js → file-retention-kty5e6rg.js} +30 -30
- package/dist/chunks/{location-services-jtp7wgq3.js → file-retention-m27pyyd3.js} +8 -8
- package/dist/chunks/{location-services-eebkyynq.js → file-retention-m7a7ecn8.js} +16 -16
- package/dist/chunks/{location-services-xsa3sn4e.js → file-retention-m7ckg0ge.js} +41 -41
- package/dist/chunks/{location-services-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-dt8w12tc.js → file-retention-mas5vrzc.js} +4 -4
- package/dist/chunks/{location-services-mkcjrzeh.js → file-retention-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-services-ty4y3jpx.js → file-retention-mry8kks8.js} +18 -18
- package/dist/chunks/{location-services-cr07tj7n.js → file-retention-mtft99cd.js} +5 -5
- package/dist/chunks/{location-services-j1t1n678.js → file-retention-mwsqdqh0.js} +6 -6
- package/dist/chunks/{location-services-9r2qpqkx.js → file-retention-mwxv72xg.js} +25 -25
- package/dist/chunks/{location-services-xsdh20fb.js → file-retention-n76fdqym.js} +5 -5
- package/dist/chunks/{location-services-jk10gy5t.js → file-retention-nd0e9ps3.js} +38 -38
- package/dist/chunks/{location-services-dyp5k833.js → file-retention-ng32y6cj.js} +18 -18
- package/dist/chunks/{location-services-y3tjje57.js → file-retention-np25b77a.js} +16 -16
- package/dist/chunks/{location-services-5kh2vy3t.js → file-retention-nqk5w1a0.js} +28 -28
- package/dist/chunks/{location-services-f5bs5vv8.js → file-retention-nqvtjg2n.js} +50 -50
- package/dist/chunks/{location-services-vjnb44yt.js → file-retention-nvxqht09.js} +3 -3
- package/dist/chunks/{location-services-jk9qnxpz.js → file-retention-p1tnmtrd.js} +31 -31
- package/dist/chunks/{location-services-cpq8mvz9.js → file-retention-p5gjast5.js} +34 -34
- package/dist/chunks/{location-services-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-dxea83ar.js → file-retention-pmhn6z4y.js} +15 -15
- package/dist/chunks/{location-services-s9vxrr1q.js → file-retention-pnean495.js} +5 -5
- package/dist/chunks/{location-services-sh26c022.js → file-retention-pqfk32hy.js} +26 -26
- package/dist/chunks/{location-services-s2yb2sz1.js → file-retention-qb679xd1.js} +13 -13
- package/dist/chunks/{location-services-v17vgq8s.js → file-retention-qqnpzgrv.js} +25 -25
- package/dist/chunks/{location-services-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-510m7gjw.js → file-retention-qte5z7bc.js} +5 -5
- package/dist/chunks/{location-services-wb0heqy3.js → file-retention-qz85fsjb.js} +3 -3
- package/dist/chunks/{location-services-tr9c2tdg.js → file-retention-qzf7gp6y.js} +16 -16
- package/dist/chunks/{location-services-z50tb7yx.js → file-retention-qzg4pp06.js} +6 -6
- package/dist/chunks/{location-services-yp2x3t23.js → file-retention-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-services-rstnkd3y.js → file-retention-r9babyk8.js} +1 -1
- package/dist/chunks/{location-services-4gp2y10s.js → file-retention-rajee5vh.js} +10 -10
- package/dist/chunks/{location-services-6z6w9rms.js → file-retention-rm1xb6h6.js} +11 -11
- package/dist/chunks/{location-services-r537c3kh.js → file-retention-rmmwd74s.js} +24 -24
- package/dist/chunks/{location-services-h5e374w5.js → file-retention-rpd6j9rw.js} +25 -25
- package/dist/chunks/{location-services-27x26mvx.js → file-retention-rr6hv98y.js} +7 -7
- package/dist/chunks/{location-services-qq9z19f4.js → file-retention-rv7h995b.js} +20 -20
- package/dist/chunks/{location-services-k8n37kmc.js → file-retention-s1jhc5dh.js} +7 -7
- package/dist/chunks/{location-services-yrznvahk.js → file-retention-s4enseaf.js} +2 -2
- package/dist/chunks/{location-services-eaj1djv9.js → file-retention-s8d7rejh.js} +6 -6
- package/dist/chunks/file-retention-sb5atwea.js +22 -0
- package/dist/chunks/{location-services-tc8mvhgg.js → file-retention-szbk6at4.js} +6 -6
- package/dist/chunks/{location-services-twy35tz0.js → file-retention-t0x5rdq8.js} +9 -9
- package/dist/chunks/{location-services-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-162h2cbr.js → file-retention-tk4atcvg.js} +10 -10
- package/dist/chunks/{location-services-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-51t4ys7s.js → file-retention-v0pw5p58.js} +24 -24
- package/dist/chunks/{location-services-yx9tt4ea.js → file-retention-v98h3e24.js} +11 -11
- package/dist/chunks/{location-services-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-zr33rhch.js → file-retention-vmcy0e8f.js} +4 -4
- package/dist/chunks/{location-services-yfq8zh9v.js → file-retention-vt377krn.js} +63 -63
- package/dist/chunks/{location-services-15v2jbpx.js → file-retention-vvv3thrh.js} +12 -12
- package/dist/chunks/{location-services-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-wfjdd711.js → file-retention-w9s5j4xj.js} +2 -2
- package/dist/chunks/{location-services-zerdtc7d.js → file-retention-wa9n8nyq.js} +8 -8
- package/dist/chunks/{location-services-qe24w9vn.js → file-retention-wac04bcv.js} +16 -16
- package/dist/chunks/{location-services-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-9n75fd9y.js → file-retention-wznsaygs.js} +9 -9
- package/dist/chunks/{location-services-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-x43y2vfs.js → file-retention-x43y2vfs.js} +2 -2
- package/dist/chunks/{location-services-wnttaxta.js → file-retention-xg28p7zb.js} +20 -20
- package/dist/chunks/{location-services-fk8q8cg8.js → file-retention-xhpvdsvw.js} +12 -12
- package/dist/chunks/{location-services-5bfzavyb.js → file-retention-xmqphtg9.js} +43 -43
- package/dist/chunks/{location-services-ncqtmwmy.js → file-retention-xxk5ry2v.js} +8 -8
- package/dist/chunks/{location-services-brzmmewp.js → file-retention-xxmdkfzw.js} +6 -6
- package/dist/chunks/{location-services-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-3wy413zp.js → file-retention-y7xpfv66.js} +20 -20
- package/dist/chunks/{location-services-qx1zvxc9.js → file-retention-y9btvcpe.js} +10 -10
- package/dist/chunks/{location-services-snjhnxkw.js → file-retention-ya188s48.js} +26 -26
- package/dist/chunks/{location-services-zw66t5ma.js → file-retention-yeyn4dnq.js} +7 -7
- package/dist/chunks/{location-services-38acbevk.js → file-retention-ymbwjezv.js} +33 -33
- package/dist/chunks/{location-services-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-jphykfrz.js → file-retention-yy1nq4n5.js} +18 -18
- package/dist/chunks/{location-services-v5fza2qm.js → file-retention-yz6s7xzz.js} +7 -7
- package/dist/chunks/{location-services-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-37s12vcn.js → file-retention-z3pw5915.js} +5 -5
- package/dist/chunks/{location-services-t8r3ep1g.js → file-retention-z69s9t6b.js} +5 -5
- package/dist/chunks/{location-services-6320hmrj.js → file-retention-z8jx6s5t.js} +24 -24
- package/dist/chunks/{location-services-mr60nntp.js → file-retention-zcxgbk88.js} +4 -4
- package/dist/chunks/{location-services-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-fdv30zvt.js → file-retention-zv0544jz.js} +7 -7
- package/dist/chunks/{location-services-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-bt4gwd2t.js → file-retention-zzyk28zh.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- 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 +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +82 -82
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- 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 +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- 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 +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +209 -209
- 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 +13 -13
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/location-services-4v7qdvcn.js +0 -18
- package/dist/chunks/location-services-6753kygg.js +0 -22
- package/dist/chunks/location-services-8rfyvjw4.js +0 -462
- package/dist/chunks/location-services-nzxgkcr5.js +0 -247
- /package/dist/chunks/{location-services-0mesazry.js → file-retention-0mesazry.js} +0 -0
- /package/dist/chunks/{location-services-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → file-retention-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a1tpkmh4.js → file-retention-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-49ej072a.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-1d5qcw44.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service55,
|
|
11
|
+
node60
|
|
12
|
+
} from "./file-retention-dy2q6f9r.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service54,
|
|
15
|
+
node59
|
|
16
|
+
} from "./file-retention-dn7xhbn4.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make18
|
|
22
|
+
} from "./file-retention-r8xr0va3.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service51
|
|
26
|
+
} from "./file-retention-k76fn4kw.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-retention-k3aec3va.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service59,
|
|
32
|
+
node64
|
|
33
|
+
} from "./file-retention-8yc64hpa.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-retention-mas5vrzc.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./file-retention-z8jx6s5t.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service50,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer19,
|
|
50
|
+
node: () => node56,
|
|
51
|
+
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service50 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer19 = Layer.effect(Service50, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service59;
|
|
70
|
+
const instances = yield* Service54;
|
|
71
71
|
const bus = yield* Service79;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service55;
|
|
73
73
|
const db = (yield* Service80).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,13 +82,13 @@ var layer14 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service51.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable)
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
|
-
const coordinator = yield*
|
|
91
|
+
const coordinator = yield* make18({
|
|
92
92
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
93
93
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
94
94
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -109,7 +109,7 @@ var layer14 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
109
109
|
}, releaseOnCommit(sessionID));
|
|
110
110
|
}))
|
|
111
111
|
});
|
|
112
|
-
return
|
|
112
|
+
return Service50.of({
|
|
113
113
|
active: coordinator.active,
|
|
114
114
|
isActive: coordinator.isActive,
|
|
115
115
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -128,12 +128,12 @@ var layer14 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
128
128
|
awaitIdle: coordinator.awaitIdle
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
133
|
-
layer:
|
|
134
|
-
deps: [
|
|
131
|
+
var node56 = makeGlobalNode({
|
|
132
|
+
service: Service50,
|
|
133
|
+
layer: layer19,
|
|
134
|
+
deps: [node64, node59, node84, node85, node60]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
136
|
+
var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
137
137
|
active: Effect.succeed(new Set),
|
|
138
138
|
isActive: () => Effect.succeed(false),
|
|
139
139
|
resume: () => Effect.void,
|
|
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
|
142
142
|
awaitIdle: () => Effect.void
|
|
143
143
|
}));
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { Service50, terminal2, layer19, node56, noopLayer3, exports_execution };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info8,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-ktd0ny7h.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service71
|
|
11
|
+
} from "./file-retention-aqhnkr3e.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin42,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
422
422
|
var ReportContent2 = report_default;
|
|
423
423
|
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.";
|
|
424
424
|
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.";
|
|
425
|
-
var
|
|
425
|
+
var Plugin42 = define({
|
|
426
426
|
id: "opencode.skill",
|
|
427
427
|
effect: Effect.fn(function* (ctx) {
|
|
428
428
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
429
429
|
yield* ctx.skill.transform((editor) => {
|
|
430
|
-
editor.add(
|
|
431
|
-
id:
|
|
430
|
+
editor.add(Info8.make({
|
|
431
|
+
id: ID5.make("opencode"),
|
|
432
432
|
name: Name2.make("OpenCode"),
|
|
433
433
|
description: OpencodeDescription2,
|
|
434
434
|
location: AbsolutePath2.make("/builtin/opencode.md"),
|
|
435
435
|
content: OpencodeContent2
|
|
436
436
|
}));
|
|
437
|
-
editor.add(
|
|
438
|
-
id:
|
|
437
|
+
editor.add(Info8.make({
|
|
438
|
+
id: ID5.make("report"),
|
|
439
439
|
name: Name2.make("Report"),
|
|
440
440
|
description: REPORT_DESCRIPTION,
|
|
441
441
|
slash: true,
|
|
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
464
464
|
`);
|
|
465
465
|
});
|
|
466
466
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
467
|
-
const config = yield*
|
|
467
|
+
const config = yield* Service71;
|
|
468
468
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
469
469
|
});
|
|
470
470
|
function terminal() {
|
|
@@ -478,4 +478,4 @@ function shell() {
|
|
|
478
478
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
481
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin42, exports_skill3 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-49ej072a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./file-retention-dn7xhbn4.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9sh4wc5j.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-64kphnzf.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-ab3m9e4p.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-0bzed8qe.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service24
|
|
21
|
+
} from "./file-retention-3bfh1azg.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate3
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service54;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service24;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate3,
|
|
74
|
+
export { generate3, exports_generate };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-m27pyyd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID16
|
|
8
|
+
} from "./file-retention-vvv3thrh.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-1d5qcw44.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event20
|
|
15
|
+
} from "./file-retention-6f22aege.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID12,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-6dxcmtmc.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service68
|
|
22
|
+
} from "./file-retention-mwxv72xg.js";
|
|
23
23
|
import {
|
|
24
24
|
get2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-retention-agj0b0se.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-retention-k2fzxap7.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID12.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
158
|
+
const catalog = yield* Service68;
|
|
159
159
|
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID18.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID18.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
176
|
try: () => get2(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID18.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID16.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID16.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID16.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID18.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID18.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-49ej072a.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-1d5qcw44.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node59
|
|
12
|
+
} from "./file-retention-dn7xhbn4.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service74,
|
|
19
19
|
node79
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-p1tnmtrd.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Ref3
|
|
23
|
+
} from "./file-retention-541f07s9.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service56,
|
|
26
|
+
node61
|
|
27
|
+
} from "./file-retention-y9btvcpe.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-gftt206x.js";
|
|
31
31
|
import {
|
|
32
32
|
NotFoundError8
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-k3aec3va.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-retention-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service51
|
|
39
|
+
} from "./file-retention-k76fn4kw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service59,
|
|
42
|
+
node64
|
|
43
|
+
} from "./file-retention-8yc64hpa.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service53,
|
|
48
|
+
node58,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./file-retention-z8jx6s5t.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service50,
|
|
53
|
+
node56
|
|
54
|
+
} from "./file-retention-nd0e9ps3.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node32
|
|
57
|
+
} from "./file-retention-mry8kks8.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service27,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node31
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,17 +83,17 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service27 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
91
|
const projects = yield* Service74;
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
92
|
+
const locations = yield* Service56;
|
|
93
|
+
const store = yield* Service59;
|
|
94
|
+
const execution = yield* Service50;
|
|
95
|
+
const instances = yield* Service54;
|
|
96
|
+
const admission = yield* Service53;
|
|
97
97
|
const database = yield* Service80;
|
|
98
98
|
const bus = yield* Service79;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
115
115
|
return yield* new DestinationNotDirectoryError2({ directory });
|
|
116
116
|
const project = yield* projects.resolve(directory);
|
|
117
117
|
const destination = {
|
|
118
|
-
location:
|
|
118
|
+
location: Ref3.make({ directory, workspaceID: input.workspaceID }),
|
|
119
119
|
projectID: project.id,
|
|
120
120
|
subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
|
|
121
121
|
};
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service51.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service27.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node31 = makeGlobalNode({
|
|
167
|
+
service: Service27,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
172
|
node79,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
173
|
+
node61,
|
|
174
|
+
node64,
|
|
175
|
+
node56,
|
|
176
|
+
node59,
|
|
177
|
+
node58,
|
|
178
178
|
node85,
|
|
179
179
|
node84,
|
|
180
|
-
|
|
180
|
+
node32
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service27, node31, exports_move };
|
|
@@ -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 ID9 = Session.ID;
|
|
5
|
+
var Info13 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID9, Info13, SessionSchema2 };
|