Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions cli/internal/plugin/codex_marketplace_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package plugin

import (
"bytes"
"encoding/json"
"image/png"
"os"
"path/filepath"
"runtime"
Expand Down Expand Up @@ -94,8 +96,10 @@ func TestCodexMarketplaceStructure(t *testing.T) {
Skills string `json:"skills"`
Hooks string `json:"hooks"`
Interface struct {
DisplayName string `json:"displayName"`
Category string `json:"category"`
DisplayName string `json:"displayName"`
Category string `json:"category"`
Logo string `json:"logo"`
ComposerIcon string `json:"composerIcon"`
} `json:"interface"`
}
require.NoError(t, json.Unmarshal(pluginRaw, &plugin), "plugin.json must parse as JSON")
Expand All @@ -113,6 +117,17 @@ func TestCodexMarketplaceStructure(t *testing.T) {
assert.Equal(t, "./hooks/hooks.json", plugin.Hooks, "hooks must point at the bundled Codex lifecycle registration")
assert.NotEmpty(t, plugin.Interface.DisplayName)
assert.NotEmpty(t, plugin.Interface.Category)
assert.Equal(t, "./assets/everme-logo.png", plugin.Interface.Logo)
assert.Equal(t, "./assets/everme-logo.png", plugin.Interface.ComposerIcon)

logoPath := filepath.Join(pluginRoot, "assets", "everme-logo.png")
logoRaw, err := os.ReadFile(logoPath)
require.NoError(t, err, "plugin logo must exist at %s", logoPath)
logoConfig, err := png.DecodeConfig(bytes.NewReader(logoRaw))
require.NoError(t, err, "plugin logo must be a valid PNG")
assert.Equal(t, logoConfig.Width, logoConfig.Height, "plugin logo must be square")
assert.GreaterOrEqual(t, logoConfig.Width, 48, "plugin logo must meet OpenAI's minimum dimensions")
assert.LessOrEqual(t, logoConfig.Width, 4096, "plugin logo must meet OpenAI's maximum dimensions")

// Native lifecycle hooks now save completed turns independently of
// whether the LLM chooses an MCP tool, so the marketplace capability
Expand Down
4 changes: 3 additions & 1 deletion plugins/everme/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "everme",
"version": "0.7.2",
"version": "0.7.3",
"description": "Persistent memory recall and lifecycle capture for Codex sessions via EverMe.",
"author": {
"name": "EverMind AI",
Expand Down Expand Up @@ -32,6 +32,8 @@
"Load my EverMe memory for this Codex session.",
"Recall what we decided about EverMe last time."
],
"logo": "./assets/everme-logo.png",
"composerIcon": "./assets/everme-logo.png",
"websiteURL": "https://everme.evermind.ai"
}
}
Binary file added plugins/everme/assets/everme-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading