Skip to content

fix(plugin): add required type/title to userConfig schema#152

Merged
thebtf merged 1 commit into
mainfrom
fix/plugin-schema-validation
Apr 14, 2026
Merged

fix(plugin): add required type/title to userConfig schema#152
thebtf merged 1 commit into
mainfrom
fix/plugin-schema-validation

Conversation

@thebtf
Copy link
Copy Markdown
Owner

@thebtf thebtf commented Apr 14, 2026

CC validates userConfig entries and requires type + title fields.
Without them: Invalid option: expected one of string|number|boolean|directory|file.

Also bumps plugin version to 4.0.3.

Summary by CodeRabbit

Примечания к выпуску

  • Chores
    • Обновлена версия плагина с 4.0.2 на 4.0.3
    • Улучшена схема конфигурации с добавлением явных типов и названий для параметров конфигурации

Claude Code validates userConfig entries against a schema that requires
type (one of string|number|boolean|directory|file) and title (string).
Without these fields, plugin manifest validation fails with:
  userConfig.server_url.type: Invalid option
  userConfig.server_url.title: expected string, received undefined

Also bumps plugin version to 4.0.3.
@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 14, 2026

Caution

Review failed

Pull request was closed or merged during review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4f50dfb2-7875-4055-966a-bfa69e4b08c9

📥 Commits

Reviewing files that changed from the base of the PR and between 653fabb and 7cf3a71.

📒 Files selected for processing (1)
  • plugin/engram/.claude-plugin/plugin.json

Обзор

Обновлена версия манифеста плагина с 4.0.2 на 4.0.3. Добавлены поля title и явные объявления type: "string" для записей userConfigserver_url и api_token — без изменения существующих значений description, required и sensitive.

Изменения

Когорта / Файл(ы) Описание
Обновление манифеста плагина
plugin/engram/.claude-plugin/plugin.json
Увеличена версия с 4.0.2 на 4.0.3. Добавлены поля title и явные типы string для параметров конфигурации server_url и api_token.

Возможно связанные PR

  • chore: bump plugin version to 3.7.7 #144: Оба PR изменяют версию манифеста в plugin/engram/.claude-plugin/plugin.json; основной PR дополнительно обновляет поля схемы userConfig.

Оценка усилий для проверки кода

🎯 1 (Тривиально) | ⏱️ ~2 минуты

Стихотворение

🐰✨ Версия взлетела с 4.0.2 на 4.0.3,
Теперь title и type — всё на месте,
Манифест сияет как морковь с росой,
Плагин готов служить с чистой душой! 🥕

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding required type and title fields to the userConfig schema in the plugin manifest.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/plugin-schema-validation

Comment @coderabbitai help to get the list of available commands and usage tips.

@thebtf thebtf merged commit 88fb82f into main Apr 14, 2026
0 of 2 checks passed
@thebtf thebtf deleted the fix/plugin-schema-validation branch April 14, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant