mars-schema 0.27.0

Pure schema reader and editor for Mars agent packages
Documentation
{
  "kind": "plugin",
  "packages": [
    {
      "id": "lists",
      "provenance": {
        "translator": "{version}",
        "dialect": "claude",
        "source": {},
        "selected_items": [
          "agents/real.md",
          "skills/a/SKILL.md"
        ]
      },
      "prepared": {
        "classification": {
          "kind": "foreign",
          "dialect": "claude",
          "evidence": {
            "source": "predicted",
            "paths": [
              ".claude-plugin/plugin.json"
            ]
          }
        },
        "manifest": {
          "output_path": "mars.toml",
          "reading": {
            "frontmatter": [
              [
                "schema",
                1
              ],
              [
                "name",
                "lists"
              ]
            ],
            "fields": {
              "name": "lists",
              "version": "",
              "schema": 1
            },
            "body": null,
            "diagnostics": []
          },
          "change": {
            "kind": "generated"
          }
        },
        "definitions": [
          {
            "kind": "agent",
            "slug": "real",
            "source_path": "agents/real.md",
            "output_path": "agents/real.md",
            "reading": {
              "frontmatter": [
                [
                  "name",
                  "real"
                ],
                [
                  "description",
                  "An agent."
                ]
              ],
              "fields": {
                "name": "real",
                "description": "An agent.",
                "harness": null,
                "model": null,
                "mode": null,
                "model-invocable": true,
                "user-invocable": true,
                "approval": null,
                "sandbox": null,
                "network": null,
                "network-allow": [],
                "network-deny": [],
                "effort": null,
                "skills": {
                  "load": [],
                  "available": []
                },
                "subagents": [],
                "tools": [],
                "harness-overrides": {},
                "model-policies": []
              },
              "body": "You are an agent.\n",
              "diagnostics": []
            },
            "change": {
              "kind": "none"
            }
          },
          {
            "kind": "skill",
            "slug": "a",
            "source_path": "skills/a/SKILL.md",
            "output_path": "skills/a/SKILL.md",
            "reading": {
              "frontmatter": [
                [
                  "name",
                  "a"
                ],
                [
                  "description",
                  "A skill."
                ]
              ],
              "fields": {
                "name": "a",
                "description": "A skill.",
                "model-invocable": true,
                "user-invocable": true,
                "license": null,
                "compatibility": null,
                "metadata": null
              },
              "body": "# Body\n",
              "diagnostics": []
            },
            "change": {
              "kind": "none"
            }
          }
        ],
        "payload": [],
        "selection": {
          "definitions": [
            {
              "kind": "agent",
              "slug": "real",
              "output_path": "agents/real.md",
              "skills": []
            },
            {
              "kind": "skill",
              "slug": "a",
              "output_path": "skills/a/SKILL.md",
              "skills": []
            }
          ],
          "edges": [],
          "uses_providers": []
        },
        "diagnostics": {
          ".claude-plugin/plugin.json": [
            {
              "code": "source-manifest.path-missing",
              "severity": "warning",
              "path": [
                "skills"
              ],
              "message": "declared path `./missing` does not exist"
            },
            {
              "code": "source-manifest.path-not-file",
              "severity": "warning",
              "path": [
                "agents"
              ],
              "message": "`./agents/dir` is a directory; `agents` entries must be `.md` files"
            },
            {
              "code": "source-manifest.path-missing",
              "severity": "warning",
              "path": [
                "agents"
              ],
              "message": "declared path `./agents/gone.md` does not exist"
            },
            {
              "code": "source-manifest.path-invalid",
              "severity": "warning",
              "path": [
                "skills"
              ],
              "message": "`skills` entry \"../escape\" is not a `./` path and was left out"
            },
            {
              "code": "source-manifest.path-invalid",
              "severity": "warning",
              "path": [
                "skills"
              ],
              "message": "`skills` entry \"bare\" is not a `./` path and was left out"
            }
          ],
          "commands": [
            {
              "code": "import.commands-dropped",
              "severity": "warning",
              "path": [],
              "message": "commands are not imported (convert one to a skill): cmds/x.md"
            }
          ]
        }
      }
    }
  ],
  "diagnostics": {}
}