mpc-oai
a7b86b6201
Retry provider auth commands after initial failures ( #40523 )
...
## Why
A provider auth command can fail during initial credential resolution, leaving
no cached authentication. A subsequent `401` should still give the configured
provider one bounded opportunity to recover.
## What changed
- Treat configured external authentication with an empty cache as eligible for
unauthorized recovery.
- Allow authority refresh to invoke the external provider when no prior auth is
cached, while preserving the existing requirements for managers without an
external provider.
## Testing
Added unit and client coverage for a provider command that fails initially and
succeeds during `401` recovery.
GitOrigin-RevId: 7cab9a03f90ce29b412be8fbd97b297acdad4482
2026-08-25 02:38:22 +00:00
mpc-oai
0aa9931aea
[plugins] Expose marketplace source in marketplace list JSON ( #27009 )
...
## Summary
- Follow-up to #26417 and #26631
- Add `marketplaceSource` to `codex plugin marketplace list --json`
entries for configured marketplaces
- Reuse the existing `marketplaceSource` shape from `codex plugin list
--json`
- Keep human-readable marketplace list output unchanged
- Add CLI coverage for configured local and git marketplace sources
Example:
```json
{
"marketplaces": [
{
"name": "debug",
"root": "/path/to/.codex/.tmp/marketplaces/debug",
"marketplaceSource": {
"sourceType": "git",
"source": "https://example.com/acme/agent-skills.git "
}
}
]
}
```
## Validation
- `just fmt`
- `just fix -p codex-cli`
- `just test -p codex-cli marketplace_list`
- `just test -p codex-cli`
2026-06-08 13:37:55 -05:00
mpc-oai
bb7d19bc24
Add JSON output for plugin subcommands ( #26631 )
...
## Summary
- Follow-up to #25330 and #26417
- Add `--json` output for `codex plugin add` and `codex plugin remove`
- Add `--json` output for `codex plugin marketplace
add/list/upgrade/remove`
- Keep existing human-readable output unchanged
- Keep existing error handling/stderr behavior unchanged; `--json`
changes successful stdout output only
- Align marketplace add/remove JSON field names with the existing
app-server protocol shape
- Add CLI coverage for plugin and marketplace JSON outputs
## Validation
- `just fmt`
- `just fix -p codex-cli`
- `just test -p codex-cli`
2026-06-05 14:40:31 -05:00
mpc-oai
cdc1d592df
Expose configured marketplace source in plugin list JSON ( #26417 )
...
## Summary
- Follow-up to #25330
- Add `marketplaceSource` to `codex plugin list --json` entries for
configured marketplaces
- Keep the existing per-plugin `source` field unchanged; this still
reports the local plugin source path
- Include only the configured marketplace `sourceType` and `source` from
`config.toml`
- Keep human-readable output unchanged
- Add CLI coverage for configured local and git marketplace sources
Example:
```json
{
"source": {
"source": "local",
"path": "/path/to/.codex/.tmp/marketplaces/debug/plugins/sample"
},
"marketplaceSource": {
"sourceType": "git",
"source": "https://example.com/acme/agent-skills.git "
}
}
```
## Validation
- `just fmt`
- `just fix -p codex-cli`
- `just test -p codex-cli plugin_list`
2026-06-04 12:20:32 -05:00