Skip to content

Add workspace messages app-server API#29001

Merged
xli-oai merged 5 commits into
mainfrom
xli-codex/workspace-messages-app-server
Jun 22, 2026
Merged

Add workspace messages app-server API#29001
xli-oai merged 5 commits into
mainfrom
xli-codex/workspace-messages-app-server

Conversation

@xli-oai

@xli-oai xli-oai commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add backend-client types and fetch support for active workspace messages.
  • Add the app-server v2 account/workspaceMessages/read method, generated schemas, and README documentation.
  • Delegate workspace-message eligibility to the Codex backend feature gate; map a backend 404 to featureEnabled: false.

Testing

  • just write-app-server-schema
  • just test -p codex-backend-client
  • just test -p codex-app-server-protocol
  • just test -p codex-app-server workspace_messages
  • just fix -p codex-backend-client -p codex-app-server-protocol -p codex-app-server
  • just fmt

Stack

@xli-oai xli-oai added the oai PRs contributed by OpenAI employees label Jun 18, 2026 — with ChatGPT Codex Connector

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bc289a4e79

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread codex-rs/app-server-protocol/src/protocol/v2/account.rs Outdated
Comment thread codex-rs/backend-client/src/types.rs Outdated
Comment thread codex-rs/app-server/src/request_processors/account_processor.rs Outdated
@xli-oai

xli-oai commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 8a74ee0756

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@xl-openai

Copy link
Copy Markdown
Collaborator

One thing to confirm: should failures on this endpoint be user-visible JSON-RPC errors, or should we treat workspace messages as best-effort and return an empty response?

## Summary

- Add `workspace-headline` as a configurable TUI status-line item.
- Show the active workspace headline for eligible ChatGPT/Codex backend
sessions.
- Refresh through app-server every 10 seconds so admin headline changes
appear during the session, while omitting empty or feature-disabled
results.

## Testing

- `just test -p codex-tui workspace_headline`
- `just test -p codex-tui status_line_setup`
- `just fix -p codex-tui`
- `just fmt`

## Stack

- Depends on #29001 for the workspace-messages app-server API.
@xli-oai

xli-oai commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: 2747b96a82

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@xli-oai xli-oai merged commit 21d3629 into main Jun 22, 2026
39 checks passed
@xli-oai xli-oai deleted the xli-codex/workspace-messages-app-server branch June 22, 2026 11:25
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

oai PRs contributed by OpenAI employees

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants