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
|
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 |
|