Repository navigation
docs: promote email and SMS in the Codex listing prompts - #68
Merged
Merged
Conversation
Change the second banner prompt to an email example. Add email and SMS examples to the "Try prompts like" list, and order the list as email, SMS, then push. Many users do not know that OneSignal supports email and SMS, and the listing copy now shows all 3 channels.
sherwinski
force-pushed
the
sherwin/omnichannel-listing-prompts
branch
from
October 12, 2026 23:11
c25c69d to
a5a2989
Compare
The Codex manifest has no dark variant of composerIcon, so Codex ignored composerIconDark and showed the dark logomark on dark cards. The composer icon now points to logomark-mono.svg, which fills with currentColor and follows the text color of the theme. Drop the unsupported field from the manifest and from the packager's optional asset list.
Codex shows composerIcon as an image with no container, so currentColor falls back to black and the icon stays dim on a dark card. The icon is now the logomark on a white disc, which matches the header logo and reads on both themes.
nan-li
self-requested a review
October 12, 2026 23:50
nan-li
approved these changes
Oct 12, 2026
5 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One Line Summary
Add email and SMS examples to the Codex listing copy in
.codex-plugin/plugin.json, and fix the composer icon in dark mode.Motivation
The listing prompts only showed push examples. OneSignal also sends email and SMS, and the listing copy now shows all 3 channels.
Scope
defaultPrompt: the second banner prompt is now an email example, "Send an email to promote our new product." The prompt is short enough to fit on 1 line in the banner card.longDescription: the "Try prompts like" list has 2 email examples and 2 SMS examples, in the order email, SMS, then push. The 4 push prompts did not change.composerIcon: now points toassets/composer-icon.svg, the media-kit logomark on a white disc. The Codex manifest has no dark variant ofcomposerIcon(seecodex-rs/plugin/src/manifest.rs), so Codex ignoredcomposerIconDarkand showed the navy logomark on dark cards. Codex shows the composer icon as an image with no container, so acurrentColorSVG did not help either; the icon needs its own background, the same approach the CircleCI, Notion, and Linear plugins use. The unsupported field is removed from the manifest and fromOPTIONAL_BRAND_ASSET_FIELDSinscripts/package_directory_bundle.py.AGENT.md: the assets row and the bundle note now describe the 3 supported asset fields.mainalready moved past the last release.Testing
python3 -m json.tool .codex-plugin/plugin.jsonparsed with no errors.python3 -m py_compile scripts/*.pypassed.python3 scripts/package_directory_bundle.py --checkprintedbundle check passed (version 1.1.1; nothing written).python3 scripts/package_directory_bundle.py --self-testpassed.python3 scripts/package_directory_bundle.py --outbuilt a bundle that contains the composer icon and the 3 asset fields.codex plugin remove onesignal@onesignalandcodex plugin add onesignal@onesignal. The card icons read correctly in the Codex app in dark mode.Affected code
Checklist