Commit c0c5429
authored
Harden stitch enable: guard, null mcp, OAuth opt-out (#17)
Match cmd_serena_enable and refuse to overwrite an existing stitch
entry. Write through the normalized mcp dict so "mcp": null fails
closed instead of raising TypeError. Set oauth: false in API-key mode
so a bad STITCH_API_KEY surfaces as an auth error rather than opening
a browser OAuth flow.
Also make the missing-release-tag test skip explicitly when v$VERSION
exists in the checkout; it previously passed in CI only because
actions/checkout does not fetch tags at fetch-depth 1.1 parent 3d32e75 commit c0c5429
3 files changed
Lines changed: 52 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1302 | 1302 | | |
1303 | 1303 | | |
1304 | 1304 | | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
1305 | 1308 | | |
1306 | 1309 | | |
1307 | 1310 | | |
| |||
1324 | 1327 | | |
1325 | 1328 | | |
1326 | 1329 | | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
1327 | 1333 | | |
1328 | 1334 | | |
1329 | 1335 | | |
| |||
1332 | 1338 | | |
1333 | 1339 | | |
1334 | 1340 | | |
1335 | | - | |
| 1341 | + | |
| 1342 | + | |
1336 | 1343 | | |
1337 | 1344 | | |
1338 | 1345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
309 | 341 | | |
310 | 342 | | |
311 | 343 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
174 | 186 | | |
175 | 187 | | |
176 | 188 | | |
| |||
0 commit comments