Skip to content

Add notify to code-mode#14842

Merged
pakrym-oai merged 12 commits intomainfrom
pakrym/add-codemode-notification-injection
Mar 18, 2026
Merged

Add notify to code-mode#14842
pakrym-oai merged 12 commits intomainfrom
pakrym/add-codemode-notification-injection

Conversation

@pakrym-oai
Copy link
Collaborator

@pakrym-oai pakrym-oai commented Mar 16, 2026

Allows model to send an out-of-band notification.

The notification is injected as another tool call output for the same call_id.

…otification-injection

# Conflicts:
#	codex-rs/core/src/tools/code_mode/runner.cjs
#	codex-rs/core/tests/suite/code_mode.rs
Introduce ResponseInputItem::Notification and ResponseItem::Notification carrying FunctionCallOutputPayload. Treat notifications like function outputs across context management, compaction, telemetry, timing, and JS REPL summaries, but do not persist them as memories. Update code mode notify to inject notification items instead of developer messages and adjust tests and documentation accordingly. Add serialization/deserialization tests for notification items.
Copy link
Contributor

@cconger cconger left a comment

Choose a reason for hiding this comment

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

One question about second channel.

…otification-injection

# Conflicts:
#	codex-rs/app-server-protocol/schema/typescript/ResponseItem.ts
#	codex-rs/protocol/src/models.rs
@pakrym-oai pakrym-oai enabled auto-merge (squash) March 18, 2026 04:28
@pakrym-oai pakrym-oai disabled auto-merge March 18, 2026 16:37
@pakrym-oai pakrym-oai merged commit 606d850 into main Mar 18, 2026
29 of 33 checks passed
@pakrym-oai pakrym-oai deleted the pakrym/add-codemode-notification-injection branch March 18, 2026 16:37
@github-actions github-actions bot locked and limited conversation to collaborators Mar 18, 2026
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.

2 participants