Allow plugin starter prompts up to 512 characters (#60048)

## What changed

Raise the per-entry limit for plugin `interface.defaultPrompt` from 128 to 512 characters, retaining the maximum of three prompts. Update the protocol documentation and generated schemas and bindings to reflect the new limit.

## Testing

Update manifest coverage to accept a 512-character Unicode prompt and reject an over-limit prompt. Adjust the discovery warning test to use a 513-character prompt.

GitOrigin-RevId: 0ba3ceb253edf22a583f774492934b7c9b5ac231
This commit is contained in:
karenwong-openai
2026-11-07 03:08:46 +00:00
committed by copyberry
parent b7d2321ef7
commit 358e464528
13 changed files with 14 additions and 13 deletions
@@ -3376,7 +3376,7 @@ class PluginInterface(BaseModel):
list[str] | None,
Field(
alias="defaultPrompt",
description="Starter prompts for the plugin. Capped at 3 entries with a maximum of 128 characters per entry.",
description="Starter prompts for the plugin. Capped at 3 entries with a maximum of 512 characters per entry.",
),
] = None
developer_name: Annotated[str | None, Field(alias="developerName")] = None