{
  "format": "pinban-agent-discovery",
  "discoveryVersion": "1.0.0",
  "apiVersion": "1.0.0",
  "application": "Tenloom",
  "documentRole": "editor",
  "transport": "browser-main-world-javascript",
  "entrypoint": "window.pinban.agent",
  "bootstrap": "window.pinban.agent.describe()",
  "readyCheck": "typeof window.pinban?.agent?.describe === 'function'",
  "readyEvent": "pinban:agent-discovery-ready",
  "requiresAuthorizedBrowser": true,
  "summary": "Visual document editor. Discover here, load only needed help/schema/examples, then inspect -> validate -> apply -> measure. Reading help does not authorize edits.",
  "documentation": {
    "guidelines": {
      "call": "window.pinban.agent.help({topic:'quickstart'})",
      "href": "guidelines.json"
    },
    "requestSchema": {
      "call": "window.pinban.agent.schema({method:'apply',operation:'setStyle'})",
      "href": "request.schema.json"
    },
    "methodSchemas": {
      "call": "window.pinban.agent.schema()",
      "href": "methods.schema.json"
    },
    "examples": {
      "call": "window.pinban.agent.examples()",
      "href": "examples.json"
    },
    "errors": {
      "call": "window.pinban.agent.help({topic:'errors'})",
      "href": "errors.json"
    },
    "readableGuide": {
      "href": "guide.html",
      "inPage": "#pinban-agent-entry"
    }
  },
  "offline": "All runtime help is embedded in this HTML; no fetch or local repository access is required.",
  "noJavaScript": "Read the linked static resources. Editing still requires an authorized browser connection; no HTTP write endpoint is advertised."
}
