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
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "https://www.schemastore.org/claude-code-plugin-manifest.json",
"name": "example-plugin",
"userConfig": {
"tone": {
"default": "neutral",
"description": "Voice for generated replies",
"options": ["neutral", ""],
"title": "Tone",
"type": "string"
}
}
}
18 changes: 18 additions & 0 deletions src/schemas/json/claude-code-plugin-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,15 @@
}
]
},
"options": {
"description": "For string type: the values the field accepts, shown as a picker. Not allowed with multiple or sensitive. Requires Claude Code v2.1.271 or later",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"multiple": {
"description": "For string type: allow an array of strings",
"type": "boolean"
Expand Down Expand Up @@ -1698,6 +1707,15 @@
}
]
},
"options": {
"description": "For string type: the values the field accepts, shown as a picker. Not allowed with multiple or sensitive. Requires Claude Code v2.1.271 or later",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"multiple": {
"description": "For string type: allow an array of strings",
"type": "boolean"
Expand Down
13 changes: 13 additions & 0 deletions src/test/claude-code-plugin-manifest/user-config-options.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "https://www.schemastore.org/claude-code-plugin-manifest.json",
"name": "example-plugin",
"userConfig": {
"tone": {
"default": "neutral",
"description": "Voice for generated replies",
"options": ["neutral", "warm", "formal"],
"title": "Tone",
"type": "string"
}
}
}
Loading