- Co-Authored-By
- Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Make ACP discovery only report actually-installed agents.
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
Not deployed through the forge lane
No push, promotion, build, or deploy receipt references this commit (receipts are scanned over a bounded recent window). Changes shipped by full node replacement carry their proof in the release gate receipt instead.
Changed files
-
modified
crates/coder-lite/src/acp.rs
Diff
1 file changed, +80 -5
crates/coder-lite/src/acp.rs modified +80 -5
@@ -35,6 +35,10 @@ pub async fn find_agents() -> Result<Vec<Agent>, Box<dyn std::error::Error>> {
| 35 | 35 |
|
| 36 | 36 |
|
| 37 | 37 |
|
| 38 |
|
|
| 39 |
|
|
| 40 |
|
|
| 41 |
|
|
| 38 | 42 |
|
| 39 | 43 |
|
| 40 | 44 |
|
@@ -52,7 +56,7 @@ pub async fn find_agents() -> Result<Vec<Agent>, Box<dyn std::error::Error>> {
| 52 | 56 |
|
| 53 | 57 |
|
| 54 | 58 |
|
| 55 |
|
|
| 59 |
|
|
| 56 | 60 |
|
| 57 | 61 |
|
| 58 | 62 |
|
@@ -102,11 +106,12 @@ struct NpxUvx {
| 102 | 106 |
|
| 103 | 107 |
|
| 104 | 108 |
|
| 105 |
|
|
| 109 |
|
|
| 106 | 110 |
|
| 107 | 111 |
|
| 108 | 112 |
|
| 109 | 113 |
|
| 114 |
|
|
| 110 | 115 |
|
| 111 | 116 |
|
| 112 | 117 |
|
@@ -120,12 +125,23 @@ async fn is_available(agent: &RegistryAgent) -> bool {
| 120 | 125 |
|
| 121 | 126 |
|
| 122 | 127 |
|
| 123 |
|
|
| 128 |
|
|
| 129 |
|
|
| 124 | 130 |
|
| 125 | 131 |
|
| 126 | 132 |
|
| 127 |
|
|
| 128 |
|
|
| 133 |
|
|
| 134 |
|
|
| 135 |
|
|
| 136 |
|
|
| 137 |
|
|
| 138 |
|
|
| 139 |
|
|
| 140 |
|
|
| 141 |
|
|
| 142 |
|
|
| 143 |
|
|
| 144 |
|
|
| 129 | 145 |
|
| 130 | 146 |
|
| 131 | 147 |
|
@@ -159,6 +175,65 @@ async fn has_command(name: &str) -> bool {
| 159 | 175 |
|
| 160 | 176 |
|
| 161 | 177 |
|
| 178 |
|
|
| 179 |
|
|
| 180 |
|
|
| 181 |
|
|
| 182 |
|
|
| 183 |
|
|
| 184 |
|
|
| 185 |
|
|
| 186 |
|
|
| 187 |
|
|
| 188 |
|
|
| 189 |
|
|
| 190 |
|
|
| 191 |
|
|
| 192 |
|
|
| 193 |
|
|
| 194 |
|
|
| 195 |
|
|
| 196 |
|
|
| 197 |
|
|
| 198 |
|
|
| 199 |
|
|
| 200 |
|
|
| 201 |
|
|
| 202 |
|
|
| 203 |
|
|
| 204 |
|
|
| 205 |
|
|
| 206 |
|
|
| 207 |
|
|
| 208 |
|
|
| 209 |
|
|
| 210 |
|
|
| 211 |
|
|
| 212 |
|
|
| 213 |
|
|
| 214 |
|
|
| 215 |
|
|
| 216 |
|
|
| 217 |
|
|
| 218 |
|
|
| 219 |
|
|
| 220 |
|
|
| 221 |
|
|
| 222 |
|
|
| 223 |
|
|
| 224 |
|
|
| 225 |
|
|
| 226 |
|
|
| 227 |
|
|
| 228 |
|
|
| 229 |
|
|
| 230 |
|
|
| 231 |
|
|
| 232 |
|
|
| 233 |
|
|
| 234 |
|
|
| 235 |
|
|
| 236 |
|
|
| 162 | 237 |
|
| 163 | 238 |
|
| 164 | 239 |
|