@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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info26
|
|
6
|
+
} from "./file-retention-jr3tywxk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent4 = {};
|
|
13
|
+
__export(exports_agent4, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent4,
|
|
15
|
+
Info: () => Info25
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info26)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info25 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info25, exports_agent4 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-8h998g6s.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-xxmdkfzw.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service37,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node41
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service37 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service37, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service37.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service45, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node41 = makeGlobalNode({ service: Service37, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service37, node41, exports_environment };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-49ej072a.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-a1bz86dw.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load2
|
|
12
|
+
} from "./file-retention-ab3m9e4p.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-62qy00sv.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service59,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node64
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service59 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service80;
|
|
59
|
-
return
|
|
59
|
+
return Service59.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -99,7 +99,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
99
99
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
100
100
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
101
101
|
}),
|
|
102
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
102
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load2(db, sessionID, "latest")),
|
|
103
103
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
104
104
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
105
105
|
return row ? {
|
|
@@ -126,6 +126,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
126
126
|
})
|
|
127
127
|
});
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
129
|
+
var node64 = makeGlobalNode({ service: Service59, layer, deps: [node85] });
|
|
130
130
|
|
|
131
|
-
export { ListInput5,
|
|
131
|
+
export { ListInput5, Service59, node64, exports_store };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service26,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer11,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node30
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service26 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service26.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node30 = makeGlobalNode({ service: Service26, layer: layer11, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service26, makeLayer2, layer11, node30, exports_model_transport };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-1d5qcw44.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service78,
|
|
11
|
+
node83
|
|
12
|
+
} from "./file-retention-6f22aege.js";
|
|
13
13
|
import {
|
|
14
14
|
Service73,
|
|
15
15
|
node78
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-541f07s9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service48,
|
|
19
|
+
node53
|
|
20
|
+
} from "./file-retention-dfwmnba5.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID13,
|
|
23
|
+
Service70,
|
|
24
|
+
node75
|
|
25
|
+
} from "./file-retention-fpffc2t3.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-retention-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID12,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service69,
|
|
34
|
+
node74
|
|
35
|
+
} from "./file-retention-6dxcmtmc.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError3,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service33,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool2,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured4,
|
|
66
|
+
layer: () => layer14,
|
|
67
|
+
node: () => node37
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID12.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service33 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options4 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
176
|
+
var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
177
177
|
const location = yield* Service73;
|
|
178
|
-
const environment = yield*
|
|
178
|
+
const environment = yield* Service48;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service70;
|
|
181
|
+
const integration = yield* Service69;
|
|
182
|
+
const credentials = yield* Service78;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID12.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -315,7 +315,7 @@ var layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID13.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service48, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service33.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured4(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [node78,
|
|
712
|
+
service: Service33,
|
|
713
|
+
layer: layer14(options),
|
|
714
|
+
deps: [node78, node53, node84, node75, node74, node83]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node37 = configured4();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service33, Options4, layer14, configured4, node37, exports_mcp4 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-1d5qcw44.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-a8zn6wm8.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Options: () => Options5,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service46,
|
|
23
23
|
UnavailableError: () => UnavailableError3,
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
24
|
+
configured: () => configured6,
|
|
25
|
+
layer: () => layer18,
|
|
26
|
+
node: () => node51
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options5 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
40
|
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service46 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service46, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service52, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service52, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service46.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service52, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer18 = makeLayer();
|
|
259
|
+
var configured6 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service46,
|
|
261
|
+
layer: options === undefined ? layer18 : makeLayer(options),
|
|
262
262
|
deps: [node84, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node51 = configured6();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
267
|
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options5, UnavailableError3, NotFoundError6, Service46, layer18, configured6, node51, exports_persistent_pty, Handoff2 };
|