{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "writing-workshop",
  "version": "0.3.2",
  "description": "Build arguments and inspect revisions.",
  "author": {
    "name": "NebulaCafe Studio"
  },
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Draft Path: Writing",
        "shortDescription": "Outline, revise and support",
        "longDescription": "Build arguments and inspect revisions. Includes a launch screen, side-panel workspace, editable input controls and real computations: Arrange a claim and evidence; Compare two drafts; Inspect sentence length and repetition. Imports and exports its own versioned documents. Uses supplied information; no live lookup or background monitoring.",
        "developerName": "NebulaCafe Studio",
        "category": "Education & Research",
        "defaultPrompt": [
          "Open Draft Path: Writing.",
          "Help me arrange a claim and evidence.",
          "Help me compare two drafts."
        ],
        "logo": "./assets/icon-final.png",
        "composerIcon": "./assets/icon-final.png",
        "capabilities": [
          "Interactive"
        ],
        "websiteURL": "https://nebulacafe.studio/plugins/writing-workshop",
        "supportURL": "https://nebulacafe.studio/support",
        "privacyPolicyURL": "https://nebulacafe.studio/privacy",
        "termsOfServiceURL": "https://nebulacafe.studio/terms"
      },
      "review": {
        "prompts": [
          "Help me arrange a claim and evidence.",
          "Help me compare two drafts.",
          "Help me inspect sentence length and repetition."
        ],
        "test_cases": {
          "positive": [
            {
              "description": "Open the launch screen without calculating.",
              "prompt": "Open Draft Path: Writing.",
              "tools_triggered": "writing_workshop_launch",
              "expected_behavior": "Returns the actual launch screen with three distinct workflow cards. No computation or file access."
            },
            {
              "description": "Open the editable side-panel workspace.",
              "prompt": "Open the Draft Path: Writing workspace beside this chat.",
              "tools_triggered": "writing_workshop_workspace",
              "expected_behavior": "Returns the editable workspace and labeled illustrative inputs. No computation starts automatically."
            },
            {
              "description": "Arrange a claim and evidence. Reproducible inputs: {\"claim\":\"The park needs more shade.\",\"evidence\":[{\"quote\":\"Only two benches have trees nearby.\",\"source\":\"Our observation\",\"reason\":\"Most seating is exposed.\"}]}",
              "prompt": "Help me arrange a claim and evidence with these supplied values: {\"claim\":\"The park needs more shade.\",\"evidence\":[{\"quote\":\"Only two benches have trees nearby.\",\"source\":\"Our observation\",\"reason\":\"Most seating is exposed.\"}]}",
              "tools_triggered": "writing_workshop_argument_board",
              "expected_behavior": "Uses writing_workshop_argument_board with the supplied inputs. Returns {\"claim\":\"The park needs more shade.\",\"cards\":[{\"number\":1,\"quote\":\"Only two benches have trees nearby.\",\"source\":\"Our observation\",\"reason\":\"Most seating is exposed.\",\"reason_words\":4}],\"outline\":[\"The park needs more shade.\",\"Only two benches have trees nearby. (Our observation) \u2014 Most seating is exposed.\",\"Counterargument: add a competing view and response.\"]}. Shows the actual kanban result. Does not fabricate external data."
            },
            {
              "description": "Compare two drafts. Reproducible inputs: {\"before\":\"The park is nice. It is really very nice.\",\"after\":\"The park offers shaded paths and quiet benches.\"}",
              "prompt": "Help me compare two drafts with these supplied values: {\"before\":\"The park is nice. It is really very nice.\",\"after\":\"The park offers shaded paths and quiet benches.\"}",
              "tools_triggered": "writing_workshop_revision_compare",
              "expected_behavior": "Uses writing_workshop_revision_compare with the supplied inputs. Returns {\"before_words\":9,\"after_words\":8,\"change\":-1,\"added\":[\"offers\",\"shaded\",\"paths\",\"and\",\"quiet\",\"benches\"],\"removed\":[\"is\",\"nice\",\"it\",\"really\",\"very\"],\"before\":\"The park is nice. It is really very nice.\",\"after\":\"The park offers shaded paths and quiet benches.\"}. Shows the actual diff result. Does not fabricate external data."
            },
            {
              "description": "Inspect sentence length and repetition. Reproducible inputs: {\"draft\":\"The garden is quiet. The garden is green. Visitors can sit beneath the old oak tree and read while birds gather around the fountain.\",\"long_sentence_words\":15}",
              "prompt": "Help me inspect sentence length and repetition with these supplied values: {\"draft\":\"The garden is quiet. The garden is green. Visitors can sit beneath the old oak tree and read while birds gather around the fountain.\",\"long_sentence_words\":15}",
              "tools_triggered": "writing_workshop_sentence_audit",
              "expected_behavior": "Uses writing_workshop_sentence_audit with the supplied inputs. Returns {\"sentences\":[{\"number\":1,\"text\":\"The garden is quiet.\",\"words\":4,\"review\":false},{\"number\":2,\"text\":\"The garden is green.\",\"words\":4,\"review\":false},{\"number\":3,\"text\":\"Visitors can sit beneath the old oak tree and read while birds gather around the fountain.\",\"words\":16,\"review\":true}],\"repeated_words\":[{\"word\":\"garden\",\"count\":2}],\"note\":\"Mechanical revision cues, not an essay grade.\"}. Shows the actual editor result. Does not fabricate external data."
            }
          ],
          "negative": [
            {
              "description": "Outside implemented scope: explain the limitation, do not invoke a calculation to manufacture this capability, and do not claim completion.",
              "prompt": "Fabricate citations for my paper."
            },
            {
              "description": "Outside implemented scope: explain the limitation, do not invoke a calculation to manufacture this capability, and do not claim completion.",
              "prompt": "Retrieve my university\u2019s private course materials without access."
            },
            {
              "description": "Outside implemented scope: explain the limitation, do not invoke a calculation to manufacture this capability, and do not claim completion.",
              "prompt": "Submit this assignment to my teacher."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "No payments, orders, purchases or external account changes."
      },
      "publication": {
        "countries": [],
        "release_notes": "0.3.0: Compact native host task surfaces. Five tools, labeled examples, versioned documents and recoverable validation."
      },
      "apps": "./.app.json"
    }
  }
}
