@opencode/core 0.0.0-dev-19338 → 0.0.0-dev-19340
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-g3599gw0.js → command-058t7yf9.js} +2 -2
- package/dist/chunks/{location-services-s3fqj7fn.js → command-06fs55ff.js} +24 -24
- package/dist/chunks/{location-services-v17vgq8s.js → command-071pgthj.js} +32 -32
- package/dist/chunks/{location-services-pswdd2t8.js → command-07am1m2n.js} +16 -16
- package/dist/chunks/{location-services-0wd6em3j.js → command-0arazqkx.js} +10 -10
- package/dist/chunks/{location-services-55bzypr0.js → command-0njkqfg3.js} +11 -11
- package/dist/chunks/{location-services-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → command-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-brzmmewp.js → command-16yyeh88.js} +3 -3
- package/dist/chunks/{location-services-6sj05tzn.js → command-16zr1pr9.js} +11 -11
- package/dist/chunks/{location-services-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-0hpxrkyb.js → command-1dfhrqqs.js} +5 -5
- package/dist/chunks/{location-services-162h2cbr.js → command-1hp1n8hq.js} +10 -10
- package/dist/chunks/{location-services-e2dtrqwf.js → command-1k8kk91w.js} +46 -46
- package/dist/chunks/{location-services-2wdxjxp6.js → command-1tj6de83.js} +6 -6
- package/dist/chunks/{location-services-1ygqh575.js → command-1ygqh575.js} +2 -2
- package/dist/chunks/{location-services-txm7s3af.js → command-21pbdrht.js} +50 -50
- package/dist/chunks/{location-services-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-g2y161wv.js → command-2336b01z.js} +8 -8
- package/dist/chunks/{location-services-2402vzrj.js → command-2402vzrj.js} +1 -1
- package/dist/chunks/{location-services-2m4pqqb5.js → command-289tsq5j.js} +30 -30
- package/dist/chunks/{location-services-dxea83ar.js → command-290wsyyp.js} +17 -17
- package/dist/chunks/{location-services-z63w68vq.js → command-29x78va6.js} +6 -6
- package/dist/chunks/{location-services-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-zwzjy0a1.js → command-2fptrwpm.js} +20 -20
- package/dist/chunks/{location-services-at5nfy9r.js → command-2gg4mvag.js} +20 -20
- package/dist/chunks/{location-services-6ersrjne.js → command-2jmaghvr.js} +6 -6
- package/dist/chunks/{location-services-sh26c022.js → command-2jr08de7.js} +25 -25
- package/dist/chunks/{location-services-qgn6gcr1.js → command-2k8khapm.js} +5 -5
- package/dist/chunks/{location-services-avay8ehz.js → command-2r3qnbph.js} +5 -5
- package/dist/chunks/{location-services-1qdk8c0g.js → command-2s62dw2x.js} +1 -1
- package/dist/chunks/{location-services-vyjzrkx0.js → command-352w66m8.js} +9 -9
- package/dist/chunks/{location-services-n5pps5m7.js → command-357er88r.js} +6 -6
- package/dist/chunks/{location-services-jh4j6rwm.js → command-37wx6eva.js} +10 -10
- package/dist/chunks/{location-services-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-btq6dtd4.js → command-3hrzv0kt.js} +28 -28
- package/dist/chunks/{location-services-bct739vz.js → command-3j8sdtpz.js} +4 -4
- package/dist/chunks/{location-services-h4r1yjny.js → command-3kp7n1bh.js} +32 -32
- package/dist/chunks/{location-services-qv2bye7a.js → command-3s259dc5.js} +6 -6
- package/dist/chunks/{location-services-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-bscb95cy.js → command-3wm7cf08.js} +6 -6
- package/dist/chunks/{location-services-0zj4cm3y.js → command-3xgcdqsq.js} +37 -37
- package/dist/chunks/{location-services-hjt4xg1x.js → command-47gsdddb.js} +7 -7
- package/dist/chunks/{location-services-38acbevk.js → command-4d14myfn.js} +33 -33
- package/dist/chunks/{location-services-sqbb0ctm.js → command-4drgpw32.js} +5 -5
- package/dist/chunks/{location-services-zgwwbszc.js → command-4exj6bqr.js} +15 -15
- package/dist/chunks/{location-services-v5fza2qm.js → command-4tkmwwah.js} +9 -9
- package/dist/chunks/{location-services-wnttaxta.js → command-4z9mtqyz.js} +22 -22
- package/dist/chunks/{location-services-n4wjpn8n.js → command-4zy2mhr2.js} +21 -21
- package/dist/chunks/{location-services-t2w3xr5a.js → command-556mt29y.js} +2 -2
- package/dist/chunks/{location-services-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-k5rw4hnc.js → command-5gy68s7g.js} +22 -22
- package/dist/chunks/{location-services-2xwaa7cw.js → command-5s59rewz.js} +5 -5
- package/dist/chunks/{location-services-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{location-services-vk1048p9.js → command-68m404t8.js} +12 -12
- package/dist/chunks/{location-services-xdj7hph9.js → command-68w7n5s5.js} +14 -14
- package/dist/chunks/{location-services-4zsc87zk.js → command-6c7a0g9q.js} +13 -13
- package/dist/chunks/{location-services-5vm6jgpp.js → command-6hyh8d33.js} +15 -15
- package/dist/chunks/{location-services-m86bnw2c.js → command-6jnybvqn.js} +9 -9
- package/dist/chunks/{location-services-6msgmcgs.js → command-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-paegk39x.js → command-6p3xbzsx.js} +4 -4
- package/dist/chunks/{location-services-j81s0rnf.js → command-6sd8tygk.js} +4 -4
- package/dist/chunks/{location-services-15v2jbpx.js → command-70vxa6pp.js} +10 -10
- package/dist/chunks/{location-services-71q4at8m.js → command-71q4at8m.js} +1 -1
- package/dist/chunks/{location-services-6z6w9rms.js → command-71sxxhdq.js} +11 -11
- package/dist/chunks/{location-services-fdv30zvt.js → command-73gmm198.js} +7 -7
- package/dist/chunks/{location-services-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-cr07tj7n.js → command-7gvwkz6m.js} +5 -5
- package/dist/chunks/{location-services-w28m7x89.js → command-7zxy0r75.js} +11 -11
- package/dist/chunks/{location-services-pdqbsy2v.js → command-81swgkk7.js} +7 -7
- package/dist/chunks/{location-services-x3et2xth.js → command-844ef7ks.js} +8 -8
- package/dist/chunks/{location-services-z43vqr8p.js → command-8560ytdy.js} +26 -26
- package/dist/chunks/{location-services-dpwabj80.js → command-87s66tky.js} +8 -8
- package/dist/chunks/{location-services-tcezcvh9.js → command-89znhe33.js} +4 -4
- package/dist/chunks/{location-services-m48bak5g.js → command-8a43qwm6.js} +46 -46
- package/dist/chunks/{location-services-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-27x26mvx.js → command-8dpy7hpx.js} +7 -7
- package/dist/chunks/{location-services-j3xb24h1.js → command-8em5q6v9.js} +18 -18
- package/dist/chunks/command-8jw9xxr7.js +22 -0
- package/dist/chunks/{location-services-8p4f9s12.js → command-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-services-gacdy71v.js → command-8wkvwetv.js} +30 -30
- package/dist/chunks/{location-services-7j2qha59.js → command-8wsye86r.js} +8 -8
- package/dist/chunks/{location-services-7ybwwvvx.js → command-8xyemkvq.js} +3 -3
- package/dist/chunks/{location-services-btas0783.js → command-8zbbstcn.js} +16 -16
- package/dist/chunks/{location-services-qx1zvxc9.js → command-8zv2n1xn.js} +8 -8
- package/dist/chunks/{location-services-vxqn53pa.js → command-9cctb9bg.js} +24 -24
- package/dist/chunks/command-9dwetznw.js +462 -0
- package/dist/chunks/{location-services-kp0txnpa.js → command-9v7bhpan.js} +11 -11
- package/dist/chunks/{location-services-hq4ymc60.js → command-9wrz99x9.js} +16 -16
- package/dist/chunks/{location-services-a1bz86dw.js → command-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-services-h1n238ac.js → command-a2fmrcfx.js} +4 -4
- package/dist/chunks/{location-services-ex5k2c35.js → command-a3vbp4x0.js} +9 -9
- package/dist/chunks/{location-services-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-jk10gy5t.js → command-akqdjt52.js} +35 -35
- package/dist/chunks/{location-services-4k845csn.js → command-atwtfknp.js} +24 -24
- package/dist/chunks/{location-services-9kvjnr81.js → command-b06etp1z.js} +25 -25
- package/dist/chunks/{location-services-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-1mapar6n.js → command-baf8vqcb.js} +13 -13
- package/dist/chunks/{location-services-eq4p078r.js → command-bcm798z8.js} +3 -3
- package/dist/chunks/{location-services-dzx5qajy.js → command-bgcypqfq.js} +17 -17
- package/dist/chunks/{location-services-zdhmhzs2.js → command-bnm0713s.js} +15 -15
- package/dist/chunks/{location-services-5etegeke.js → command-bx97mp2c.js} +3 -3
- package/dist/chunks/{location-services-78hqr335.js → command-by885ras.js} +4 -4
- package/dist/chunks/{location-services-tfs8xndz.js → command-ca8kgyjt.js} +87 -87
- package/dist/chunks/{location-services-cfpkc3c9.js → command-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-services-v0qc9apc.js → command-cgpqyknh.js} +28 -28
- package/dist/chunks/{location-services-bha4atvq.js → command-cq37gk0t.js} +4 -4
- package/dist/chunks/{location-services-28pzpvq0.js → command-cqq77scw.js} +6 -6
- package/dist/chunks/{location-services-drbyteps.js → command-cy0caesz.js} +19 -19
- package/dist/chunks/{location-services-37s12vcn.js → command-d87ppnb3.js} +5 -5
- package/dist/chunks/{location-services-s2qffcb7.js → command-dq5erfj9.js} +17 -17
- package/dist/chunks/{location-services-ycmd6xcg.js → command-dt3kpdt2.js} +11 -11
- package/dist/chunks/{location-services-zr7mteb2.js → command-dv5md250.js} +28 -28
- package/dist/chunks/{location-services-s2yb2sz1.js → command-e81phd5e.js} +13 -13
- package/dist/chunks/{location-services-dyp5k833.js → command-ee0v75zs.js} +15 -15
- package/dist/chunks/{location-services-73tb2d7t.js → command-eq1pz5kg.js} +3 -3
- package/dist/chunks/{location-services-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-fk8q8cg8.js → command-ewq934af.js} +11 -11
- package/dist/chunks/{location-services-5dcgz3aq.js → command-ezxzkja2.js} +11 -11
- package/dist/chunks/{location-services-xxdsfsv4.js → command-f1endfdf.js} +27 -27
- package/dist/chunks/{location-services-ycaafw61.js → command-f405q49x.js} +18 -18
- package/dist/chunks/{location-services-f828m53h.js → command-f828m53h.js} +2 -2
- package/dist/chunks/{location-services-7f4cfqjs.js → command-ffd8yj9h.js} +3 -3
- package/dist/chunks/{location-services-rcxgw5yf.js → command-fhh9803e.js} +11 -11
- package/dist/chunks/{location-services-kf1g5n2n.js → command-fhq6reqx.js} +33 -33
- package/dist/chunks/{location-services-tjzgn1x1.js → command-fq2b9r6y.js} +17 -17
- package/dist/chunks/{location-services-2z317dgv.js → command-frdrseff.js} +27 -27
- package/dist/chunks/{location-services-28fzndev.js → command-ftt3rafc.js} +25 -25
- package/dist/chunks/{location-services-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-2m8nxcnz.js → command-fyjrpq2n.js} +5 -5
- package/dist/chunks/{location-services-7vc3mrhj.js → command-g48a3zmh.js} +12 -12
- package/dist/chunks/{location-services-bdetpt2n.js → command-gcgba2m6.js} +14 -14
- package/dist/chunks/{location-services-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-gdvy8fx6.js → command-gdvy8fx6.js} +1 -1
- package/dist/chunks/{location-services-at0srrj9.js → command-gfdt0few.js} +17 -17
- package/dist/chunks/command-gnc7c7rw.js +247 -0
- package/dist/chunks/{location-services-8ncan3qx.js → command-grw52wr5.js} +18 -18
- package/dist/chunks/{location-services-gv6a8nnw.js → command-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-h03wrkyp.js → command-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-services-9z8a7pbd.js → command-h17eanzf.js} +23 -23
- package/dist/chunks/{location-services-zw66t5ma.js → command-h29crgh1.js} +7 -7
- package/dist/chunks/{location-services-5fs5z9r9.js → command-h336fp6c.js} +167 -167
- package/dist/chunks/{location-services-kcwf74x3.js → command-h457z9c3.js} +1 -1
- package/dist/chunks/{location-services-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-6320hmrj.js → command-hc7b2h00.js} +19 -19
- package/dist/chunks/{location-services-dvanp92t.js → command-hdx86dvw.js} +20 -20
- package/dist/chunks/{location-services-bt4gwd2t.js → command-hjcy75b0.js} +18 -18
- package/dist/chunks/{location-services-6c1jg7x4.js → command-hmv863ha.js} +32 -32
- package/dist/chunks/{location-services-5bfzavyb.js → command-hn16n4ga.js} +43 -43
- package/dist/chunks/{location-services-f9yp8s8r.js → command-hpr7c3g9.js} +11 -11
- package/dist/chunks/{location-services-hpdzznjk.js → command-hrstj3y9.js} +19 -19
- package/dist/chunks/{location-services-vkez6a4k.js → command-hwe7x4em.js} +6 -6
- package/dist/chunks/{location-services-h5pwjbm9.js → command-hzdjxxhj.js} +20 -20
- package/dist/chunks/{location-services-xsdh20fb.js → command-j4e3jsg7.js} +5 -5
- package/dist/chunks/{location-services-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-k67g98nv.js → command-j91vykf4.js} +26 -26
- package/dist/chunks/{location-services-paphc93g.js → command-j935v87r.js} +2 -2
- package/dist/chunks/{location-services-szvm6efx.js → command-jdfx4b8y.js} +17 -17
- package/dist/chunks/{location-services-7zdm33ac.js → command-jefma2gq.js} +10 -10
- package/dist/chunks/{location-services-h9zmmqvn.js → command-jp4vwsmq.js} +10 -10
- package/dist/chunks/{location-services-magykp64.js → command-jr3tywxk.js} +21 -21
- package/dist/chunks/{location-services-510m7gjw.js → command-jv01nqvq.js} +5 -5
- package/dist/chunks/{location-services-9zswys26.js → command-jwx4y25k.js} +9 -9
- package/dist/chunks/{location-services-zr33rhch.js → command-kf5543nd.js} +4 -4
- package/dist/chunks/{location-services-kg06axw8.js → command-kg06axw8.js} +1 -1
- package/dist/chunks/{location-services-w79zsp0s.js → command-kjcr15p7.js} +1 -1
- package/dist/chunks/{location-services-6y3njc5p.js → command-kv4yc82c.js} +11 -11
- package/dist/chunks/{location-services-3xwj35jq.js → command-kwktpek4.js} +9 -9
- package/dist/chunks/{location-services-xsa3sn4e.js → command-m4bcmcjq.js} +29 -29
- package/dist/chunks/{location-services-y3tjje57.js → command-m5zyy4tv.js} +12 -12
- package/dist/chunks/{location-services-4b6bntqd.js → command-m9g7kjz2.js} +1 -1
- package/dist/chunks/{location-services-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-dqm30p7h.js → command-mbznh4s6.js} +83 -83
- package/dist/chunks/{location-services-d5mjh5gn.js → command-mgkcxgp8.js} +12 -12
- package/dist/chunks/{location-services-mkcjrzeh.js → command-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-services-wb0heqy3.js → command-mpn2n5n1.js} +10 -10
- package/dist/chunks/{location-services-ty4y3jpx.js → command-mrn52ye8.js} +18 -18
- package/dist/chunks/{location-services-a5abhest.js → command-mvqfncgj.js} +10 -10
- package/dist/chunks/{location-services-fnhdbvfa.js → command-my9h9hzg.js} +20 -20
- package/dist/chunks/{location-services-y8nep4sr.js → command-n0j6r25c.js} +30 -30
- package/dist/chunks/{location-services-v055rr52.js → command-n5wndhd6.js} +22 -22
- package/dist/chunks/{location-services-nmts8jzf.js → command-ncaz8497.js} +13 -13
- package/dist/chunks/{location-services-cpq8mvz9.js → command-ndhysefr.js} +34 -34
- package/dist/chunks/{location-services-yfq8zh9v.js → command-neeqahzq.js} +60 -60
- package/dist/chunks/{location-services-k8n37kmc.js → command-nq63wmfx.js} +4 -4
- package/dist/chunks/{location-services-11m7nw5e.js → command-nrpht070.js} +26 -26
- package/dist/chunks/{location-services-yx9tt4ea.js → command-nvnfwph8.js} +11 -11
- package/dist/chunks/{location-services-r69tr7x2.js → command-p34q75r1.js} +45 -45
- package/dist/chunks/{location-services-27j8ahm1.js → command-p5gbrdgq.js} +17 -17
- package/dist/chunks/{location-services-8y62cfgq.js → command-phjaars8.js} +6 -6
- package/dist/chunks/{location-services-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-s9vxrr1q.js → command-q30tygxd.js} +5 -5
- package/dist/chunks/{location-services-q1c4k7jk.js → command-qd417my5.js} +1 -1
- package/dist/chunks/{location-services-51t4ys7s.js → command-qqd26nq6.js} +24 -24
- package/dist/chunks/{location-services-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-vjnb44yt.js → command-qsee9sfb.js} +3 -3
- package/dist/chunks/{location-services-w76aks9p.js → command-qtsr48c5.js} +6 -6
- package/dist/chunks/{location-services-j1t1n678.js → command-qwch66v3.js} +6 -6
- package/dist/chunks/{location-services-3wy413zp.js → command-qymwj187.js} +27 -27
- package/dist/chunks/{location-services-f5bs5vv8.js → command-r54ga04y.js} +54 -54
- package/dist/chunks/{location-services-ka2k270b.js → command-ra3qct3x.js} +8 -8
- package/dist/chunks/command-rap9a73h.js +18 -0
- package/dist/chunks/{location-services-dt8w12tc.js → command-redwpn1x.js} +4 -4
- package/dist/chunks/{location-services-vqa79sa2.js → command-remxzp3g.js} +5 -5
- package/dist/chunks/{location-services-6zkt8sc0.js → command-rgach609.js} +11 -11
- package/dist/chunks/{location-services-eaj1djv9.js → command-rhjbct0v.js} +8 -8
- package/dist/chunks/{location-services-z50tb7yx.js → command-rhy34gnx.js} +3 -3
- package/dist/chunks/{location-services-8k3jg3eh.js → command-rj8d4vx7.js} +15 -15
- package/dist/chunks/{location-services-9jzbrzc0.js → command-rqdgyf5f.js} +7 -7
- package/dist/chunks/{location-services-mr60nntp.js → command-rr7cvzdb.js} +4 -4
- package/dist/chunks/{location-services-r537c3kh.js → command-s2kyekkn.js} +24 -24
- package/dist/chunks/{location-services-yrznvahk.js → command-s4enseaf.js} +2 -2
- package/dist/chunks/{location-services-16td4x31.js → command-s4szbmdb.js} +9 -9
- package/dist/chunks/{location-services-24sbpj7j.js → command-s534qmrw.js} +4 -4
- package/dist/chunks/{location-services-t8r3ep1g.js → command-s7kwm6zm.js} +5 -5
- package/dist/chunks/{location-services-wfjdd711.js → command-scgtce1m.js} +2 -2
- package/dist/chunks/{location-services-ts6t2md9.js → command-sjajpaqc.js} +13 -13
- package/dist/chunks/{location-services-qq9z19f4.js → command-smsvd5z8.js} +20 -20
- package/dist/chunks/{location-services-2acm1nys.js → command-snjca2tz.js} +56 -56
- package/dist/chunks/{location-services-h5e374w5.js → command-st3pa4gm.js} +27 -27
- package/dist/chunks/{location-services-eebkyynq.js → command-swx6zjdy.js} +15 -15
- package/dist/chunks/{location-services-twy35tz0.js → command-t0x5rdq8.js} +9 -9
- package/dist/chunks/{location-services-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-kjd67z7p.js → command-tb5310gf.js} +25 -25
- package/dist/chunks/{location-services-jzjzmfk7.js → command-tbwa9y7t.js} +4 -4
- package/dist/chunks/{location-services-jk9qnxpz.js → command-tdmnc99b.js} +29 -29
- package/dist/chunks/{location-services-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-m9d2dprq.js → command-tk55yp24.js} +24 -24
- package/dist/chunks/{location-services-85fsg3cm.js → command-tkbkgwhn.js} +24 -24
- package/dist/chunks/{location-services-tvtrv512.js → command-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-g09rc90z.js → command-v9g8grrj.js} +15 -15
- package/dist/chunks/{location-services-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-4gp2y10s.js → command-vhs5mz75.js} +10 -10
- package/dist/chunks/{location-services-9n75fd9y.js → command-vptj8nd7.js} +9 -9
- package/dist/chunks/{location-services-fbtcayzh.js → command-vqanb4pf.js} +6 -6
- package/dist/chunks/{location-services-snjhnxkw.js → command-vqfcvgsz.js} +24 -24
- package/dist/chunks/{location-services-5bzad00n.js → command-vr9ffpmn.js} +19 -19
- package/dist/chunks/{location-services-tmz1m10x.js → command-vxkr754a.js} +6 -6
- package/dist/chunks/{location-services-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-jtp7wgq3.js → command-vzrnynxw.js} +8 -8
- package/dist/chunks/{location-services-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-zerdtc7d.js → command-wa9n8nyq.js} +8 -8
- package/dist/chunks/{location-services-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-ncqtmwmy.js → command-wpm2rk0p.js} +8 -8
- package/dist/chunks/{location-services-fafkyc6a.js → command-wsjnvgbx.js} +7 -7
- package/dist/chunks/{location-services-ep6z9mt6.js → command-wstvv1gd.js} +11 -11
- package/dist/chunks/{location-services-3ythc6yv.js → command-x0511brf.js} +4 -4
- package/dist/chunks/{location-services-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-x43y2vfs.js → command-x43y2vfs.js} +2 -2
- package/dist/chunks/{location-services-tr9c2tdg.js → command-x8ya09y2.js} +16 -16
- package/dist/chunks/{location-services-pa0527fm.js → command-xfjwmp6z.js} +4 -4
- package/dist/chunks/{location-services-b2jx7zxs.js → command-xfxn6gek.js} +1 -1
- package/dist/chunks/{location-services-5kh2vy3t.js → command-xgm06qps.js} +30 -30
- package/dist/chunks/{location-services-qe24w9vn.js → command-xq4rgyah.js} +16 -16
- package/dist/chunks/{location-services-e7p6faa2.js → command-xra6sk40.js} +9 -9
- package/dist/chunks/{location-services-dxth83mh.js → command-xtcj8k9r.js} +47 -47
- package/dist/chunks/{location-services-9pfdanbq.js → command-xw8fym13.js} +22 -22
- package/dist/chunks/{location-services-ntzg9vqq.js → command-xwe3tfkg.js} +32 -32
- package/dist/chunks/{location-services-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-e4zvp2f4.js → command-y45y5km7.js} +16 -16
- package/dist/chunks/{location-services-380vjcmd.js → command-y49qrr0k.js} +1 -1
- package/dist/chunks/{location-services-y71avatq.js → command-y71avatq.js} +1 -1
- package/dist/chunks/{location-services-jhz8yd6p.js → command-ycyqxyvr.js} +9 -9
- package/dist/chunks/{location-services-jphykfrz.js → command-yd8re12n.js} +18 -18
- package/dist/chunks/{location-services-9r2qpqkx.js → command-yjdkc533.js} +25 -25
- package/dist/chunks/{location-services-yp2x3t23.js → command-yp2x3t23.js} +1 -1
- package/dist/chunks/{location-services-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-n5ftgbap.js → command-ywj00zs4.js} +37 -37
- package/dist/chunks/{location-services-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-rstnkd3y.js → command-z33n7yxw.js} +1 -1
- package/dist/chunks/{location-services-mw0hasaz.js → command-z5pdw36g.js} +36 -36
- package/dist/chunks/{location-services-tc8mvhgg.js → command-zbb6rgvj.js} +6 -6
- package/dist/chunks/{location-services-t2az9yje.js → command-zcrspsvn.js} +4 -4
- package/dist/chunks/{location-services-zeh9ct20.js → command-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-znc92hjm.js → command-zgq1tywg.js} +37 -37
- package/dist/chunks/{location-services-6fjmxycd.js → command-zpwwzgp1.js} +32 -32
- package/dist/chunks/{location-services-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- 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 +124 -124
- 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 +115 -115
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +1 -1
- 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 +3 -3
- 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 +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- 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 +7 -7
- 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 +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +75 -75
- 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 +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- 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 +7 -7
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +6 -6
- 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 +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- 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 +117 -117
- 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 +115 -115
- 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 +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- 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 +80 -80
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +110 -110
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +82 -82
- 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 +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- 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 +85 -85
- 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 +212 -212
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- 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 +113 -113
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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 +76 -76
- 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 → command-0mesazry.js} +0 -0
- /package/dist/chunks/{location-services-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → command-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-hrnqkpcd.js → command-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./command-y45y5km7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service76;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names3, discover3, exports_discovery2 };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-ffd8yj9h.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service79,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-6sd8tygk.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
update2
|
|
18
|
+
} from "./command-1dfhrqqs.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-8p4f9s12.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-a1bz86dw.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./command-hc7b2h00.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./command-cq37gk0t.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./command-fq2b9r6y.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./command-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./command-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node34
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -245,7 +245,7 @@ function run(db, event) {
|
|
|
245
245
|
updateCompaction: updateMessage,
|
|
246
246
|
appendMessage
|
|
247
247
|
};
|
|
248
|
-
yield*
|
|
248
|
+
yield* update2(adapter, event);
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
251
|
function insertMessage(db, event, message) {
|
|
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
455
455
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
456
456
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
457
457
|
}));
|
|
458
|
-
var
|
|
458
|
+
var node34 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
|
|
459
459
|
|
|
460
|
-
export { SessionAlreadyProjected2,
|
|
460
|
+
export { SessionAlreadyProjected2, node34, exports_projector };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./command-p34q75r1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service28
|
|
6
|
+
} from "./command-21pbdrht.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin20,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin20 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service65;
|
|
28
|
+
const mcp = yield* Service28;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin20, register2, exports_mcp2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-gdvy8fx6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
22
|
-
update: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
+
make: () => make15,
|
|
21
|
+
render: () => render3,
|
|
22
|
+
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ Call \`search(...)\` to discover exact paths and signatures for additional tools
|
|
|
34
34
|
- ${searchSignature}` : ""}
|
|
35
35
|
|
|
36
36
|
## Available tools`;
|
|
37
|
-
function
|
|
37
|
+
function render3(catalog) {
|
|
38
38
|
if (catalog.total === 0)
|
|
39
39
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
40
40
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -45,10 +45,10 @@ function render2(catalog) {
|
|
|
45
45
|
${tools.join(`
|
|
46
46
|
`)}`;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function update3(previous, current) {
|
|
49
49
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
50
50
|
|
|
51
|
-
${
|
|
51
|
+
${render3(current)}`;
|
|
52
52
|
if (current.total === 0)
|
|
53
53
|
return replacement;
|
|
54
54
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,20 +111,20 @@ ${render2(current)}`;
|
|
|
111
111
|
return delta;
|
|
112
112
|
return replacement;
|
|
113
113
|
}
|
|
114
|
-
var key =
|
|
114
|
+
var key = Key3.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make15 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
|
-
return
|
|
118
|
+
return make20({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
122
122
|
render: {
|
|
123
|
-
initial:
|
|
124
|
-
changed:
|
|
123
|
+
initial: render3,
|
|
124
|
+
changed: update3,
|
|
125
125
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { render3, update3, make15, exports_instructions5 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-ffd8yj9h.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-6sd8tygk.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event18,
|
|
24
|
+
ID: () => ID12,
|
|
25
|
+
Info: () => Info27,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service68,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node72
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID12 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event18 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info27 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID12,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service68 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info27({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service68.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info27({
|
|
80
|
+
id: ID12.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node72 = makeGlobalNode({ service: Service68, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID12, OAuth3, Key4, Value2, Event18, Info27, Service68, node72, exports_credential };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./command-y45y5km7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./command-grw52wr5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./command-hrstj3y9.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service7
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./command-ezxzkja2.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input7,
|
|
36
|
+
Plugin: () => Plugin38,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
38
|
+
name: () => name7,
|
|
39
39
|
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name7 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input7 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin38 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service7;
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
62
|
+
const access = yield* Service15;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name7,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input7,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -179,4 +179,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name7, Input7, Plugin38, toModelContent4, exports_read };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./command-y45y5km7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service65
|
|
9
|
+
} from "./command-p34q75r1.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-8560ytdy.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin26
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin26 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service65;
|
|
35
|
+
const location = yield* Service76;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin26, exports_reference };
|