Skip to content

Expose available access programs in model discovery - #44893

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/b3ef5805c1c61b8d64b9b896c9c0a79120143667
Sep 11, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/b3ef5805c1c61b8d64b9b896c9c0a79120143667

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Expose available access programs in model discovery

What changed

Carry optional available_access_programs metadata through model information, presets, caches, and the TUI, and expose it as availableAccessPrograms in app-server model/list responses. Update the generated JSON schemas, TypeScript types, and Python models.

Preserve the distinction between missing metadata and an empty cyber list. Ignore unknown cyber program names when reading the catalog so new server programs do not prevent older clients from loading it. Discovery metadata does not grant access; inference still enforces authorization.

Testing

Add coverage for absent, null, empty, and populated metadata, unknown program names, and app-server serialization. Extend cache tests and verify that online refreshes persist changed access metadata even when the catalog ETag stays unchanged.

## What changed

Carry optional `available_access_programs` metadata through model information, presets, caches, and the TUI, and expose it as `availableAccessPrograms` in app-server `model/list` responses. Update the generated JSON schemas, TypeScript types, and Python models.

Preserve the distinction between missing metadata and an empty `cyber` list. Ignore unknown cyber program names when reading the catalog so new server programs do not prevent older clients from loading it. Discovery metadata does not grant access; inference still enforces authorization.

## Testing

Add coverage for absent, null, empty, and populated metadata, unknown program names, and app-server serialization. Extend cache tests and verify that online refreshes persist changed access metadata even when the catalog ETag stays unchanged.

GitOrigin-RevId: b3ef5805c1c61b8d64b9b896c9c0a79120143667
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/b3ef5805c1c61b8d64b9b896c9c0a79120143667 branch from aa7f4d3 to e3a52b8 Compare September 11, 2026 19:13
@copyberry
copyberry Bot merged commit e3a52b8 into main Sep 11, 2026
1 check failed
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/b3ef5805c1c61b8d64b9b896c9c0a79120143667 branch September 11, 2026 19:13
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 11, 2026
@sahapols
sahapols deployed to issue-triage September 11, 2026 19:24 — with GitHub Actions Active
@sahapols
sahapols deployed to issue-triage September 11, 2026 19:24 — with GitHub Actions Active
@sahapols
sahapols deployed to issue-triage September 11, 2026 19:24 — with GitHub Actions Active
@slouda
slouda deployed to issue-triage September 11, 2026 19:51 — with GitHub Actions Active
@slouda
slouda deployed to issue-triage September 11, 2026 19:51 — with GitHub Actions Active
@slouda
slouda deployed to issue-triage September 11, 2026 19:51 — with GitHub Actions Active
@slouda
slouda deployed to issue-triage September 11, 2026 19:52 — with GitHub Actions Active
@sding3
sding3 deployed to issue-triage September 11, 2026 19:55 — with GitHub Actions Active
@sding3
sding3 deployed to issue-triage September 11, 2026 19:55 — with GitHub Actions Active
@sding3
sding3 deployed to issue-triage September 11, 2026 19:55 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — e3a52b87 Deployed Sep 11, 2026 by sding3 via Translate non-English issue #12743
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants