diff options
| author | Drew Ritter <drew@primeradiant.com> | 2026-06-01 14:53:46 -0700 |
|---|---|---|
| committer | Drew Ritter <drew@primeradiant.com> | 2026-06-16 10:09:44 -0700 |
| commit | f61300eac8d85d055eb9afed870051ccdfb62f31 (patch) | |
| tree | 6e3bf6465d215f4bc27e903cc9aa8b19957ec257 /tests/codex-plugin-sync | |
| parent | e15d4ecd88f4e9dae5c12488189438ab95c1d770 (diff) | |
fix: wire Kimi plugin into release metadata
Diffstat (limited to 'tests/codex-plugin-sync')
| -rwxr-xr-x | tests/codex-plugin-sync/test-sync-to-codex-plugin.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/codex-plugin-sync/test-sync-to-codex-plugin.sh b/tests/codex-plugin-sync/test-sync-to-codex-plugin.sh index a94cdec..60af21a 100755 --- a/tests/codex-plugin-sync/test-sync-to-codex-plugin.sh +++ b/tests/codex-plugin-sync/test-sync-to-codex-plugin.sh @@ -175,6 +175,7 @@ write_upstream_fixture() { mkdir -p \ "$repo/.codex-plugin" \ + "$repo/.kimi-plugin" \ "$repo/.private-journal" \ "$repo/assets" \ "$repo/evals/drill" \ @@ -212,6 +213,13 @@ EOF } EOF + cat > "$repo/.kimi-plugin/plugin.json" <<EOF +{ + "name": "superpowers", + "version": "$MANIFEST_VERSION" +} +EOF + cat > "$repo/assets/superpowers-small.svg" <<'EOF' <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1"></svg> EOF @@ -267,6 +275,7 @@ EOF git -C "$repo" add \ .codex-plugin/plugin.json \ + .kimi-plugin/plugin.json \ .gitignore \ assets/app-icon.png \ assets/superpowers-small.svg \ @@ -618,6 +627,7 @@ main() { assert_contains "$preview_output" "Version: $MANIFEST_VERSION" "Preview uses manifest version" assert_not_contains "$preview_output" "Version: $PACKAGE_VERSION" "Preview does not use package.json version" assert_contains "$preview_section" ".codex-plugin/plugin.json" "Preview includes manifest path" + assert_not_contains "$preview_section" ".kimi-plugin/plugin.json" "Preview excludes Kimi manifest from Codex sync" assert_contains "$preview_section" "assets/superpowers-small.svg" "Preview includes SVG asset" assert_contains "$preview_section" "assets/app-icon.png" "Preview includes PNG asset" assert_contains "$preview_section" "hooks/hooks-codex.json" "Preview includes Codex hook manifest" |
