Skip to content

[DOCS]: Agents field as string in plugin manifest causes installation failure #21598

@Konadu-Akwasi-Akuoko

Description

@Konadu-Akwasi-Akuoko

Summary

The public plugin docs show agents as a string value in the example manifest schema, but using a string causes plugin installation to fail. Only an array of strings works.

Problem

The Plugin Manifest Schema docs show the following example:

{
  "agents": "./custom/agents/"
}

However, using a string for the agents field causes plugin installation to silently fail. The plugin does not load correctly and no clear error is surfaced to the user.

The only format that works is an array of strings:

{
  "agents": ["./agents/broll-manager.md"]
}

The internal manifest reference (plugins/plugin-dev/skills/plugin-structure/references/manifest-reference.md) specifies agents as String or Array of strings with default ["./agents"], but the string variant does not appear to work in practice.

Steps to Reproduce

  1. Create a plugin with plugin.json containing "agents": "./agents/"

  2. Add the plugin to the marketplace and install it from the marketplace

  3. Plugin installation fails -- agents are not loaded and no clear error is surfaced

  4. Change to "agents": ["./agents/my-agent.md"]

  5. Re-publish and reinstall from the marketplace

  6. Agents now load correctly

Expected Behavior

Either:

  • The string format ("agents": "./agents/") should work as documented, OR
  • The docs should be updated to show only the array-of-strings format that actually works

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions