← Files Rest Window: Sleep PlannerARCHIVED FILE

plugin.json

6.81 KB · Nov 30, 2026 · 07:36 UTC

↓ Download file

See the change to this file →

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "sleep-schedule-planner",
  "version": "0.3.4",
  "description": "Plan future sleep opportunities around your commitments.",
  "author": {
    "name": "NebulaCafe Studio"
  },
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Rest Window: Sleep Planner",
        "shortDescription": "Plan sleep and wind-down times",
        "longDescription": "Plan future sleep opportunities around your commitments. Includes a launch screen, side-panel workspace, editable input controls and real computations: Plan a week from wake anchors; Check a sleep window against commitments; Plan user-chosen anchor increments. Imports and exports its own versioned documents. Uses supplied information; no live lookup or background monitoring.",
        "developerName": "NebulaCafe Studio",
        "category": "Healthcare",
        "defaultPrompt": [
          "Open Rest Window: Sleep Planner.",
          "Help me plan a week from wake anchors.",
          "Help me check a sleep window against commitments."
        ],
        "logo": "./assets/icon-final.png",
        "composerIcon": "./assets/icon-final.png",
        "capabilities": [
          "Interactive"
        ],
        "websiteURL": "https://nebulacafe.studio/plugins/sleep-schedule-planner",
        "supportURL": "https://nebulacafe.studio/support",
        "privacyPolicyURL": "https://nebulacafe.studio/privacy",
        "termsOfServiceURL": "https://nebulacafe.studio/terms"
      },
      "review": {
        "prompts": [
          "Help me plan a week from wake anchors.",
          "Help me check a sleep window against commitments.",
          "Help me plan user-chosen anchor increments."
        ],
        "test_cases": {
          "positive": [
            {
              "description": "Open the launch screen without calculating.",
              "prompt": "Open Rest Window: Sleep Planner.",
              "tools_triggered": "sleep_schedule_planner_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 Rest Window: Sleep Planner workspace beside this chat.",
              "tools_triggered": "sleep_schedule_planner_workspace",
              "expected_behavior": "Returns the editable workspace and labeled illustrative inputs. No computation starts automatically."
            },
            {
              "description": "Plan a week from wake anchors. Reproducible inputs: {\"opportunity_hours\":8,\"wind_down_min\":30,\"days\":[{\"day\":\"Monday\",\"wake\":\"07:00\"},{\"day\":\"Tuesday\",\"wake\":\"06:30\"}]}",
              "prompt": "Help me plan a week from wake anchors with these supplied values: {\"opportunity_hours\":8,\"wind_down_min\":30,\"days\":[{\"day\":\"Monday\",\"wake\":\"07:00\"},{\"day\":\"Tuesday\",\"wake\":\"06:30\"}]}",
              "tools_triggered": "sleep_schedule_planner_anchor_schedule",
              "expected_behavior": "Uses sleep_schedule_planner_anchor_schedule with the supplied inputs. Returns {\"schedule\":[{\"day\":\"Night before Monday\",\"start\":\"23:00\",\"finish\":\"07:00\",\"activity\":\"Sleep opportunity\",\"wind_down\":\"22:30\"},{\"day\":\"Night before Tuesday\",\"start\":\"22:30\",\"finish\":\"06:30\",\"activity\":\"Sleep opportunity\",\"wind_down\":\"22:00\"}],\"note\":\"Local clock arithmetic using your chosen duration, not estimated sleep or treatment. Night before refers to the selected wake day.\"}. Shows the actual calendar result. Does not fabricate external data."
            },
            {
              "description": "Check a sleep window against commitments. Reproducible inputs: {\"bedtime\":\"23:00\",\"wake_time\":\"07:00\",\"commitments\":[{\"name\":\"Early shift\",\"start\":\"06:00\",\"end\":\"14:00\"},{\"name\":\"Lunch\",\"start\":\"12:00\",\"end\":\"13:00\"}]}",
              "prompt": "Help me check a sleep window against commitments with these supplied values: {\"bedtime\":\"23:00\",\"wake_time\":\"07:00\",\"commitments\":[{\"name\":\"Early shift\",\"start\":\"06:00\",\"end\":\"14:00\"},{\"name\":\"Lunch\",\"start\":\"12:00\",\"end\":\"13:00\"}]}",
              "tools_triggered": "sleep_schedule_planner_shift_overlap",
              "expected_behavior": "Uses sleep_schedule_planner_shift_overlap with the supplied inputs. Returns {\"commitments\":[{\"name\":\"Early shift\",\"start\":\"06:00\",\"end\":\"14:00\",\"overlap_minutes\":60},{\"name\":\"Lunch\",\"start\":\"12:00\",\"end\":\"13:00\",\"overlap_minutes\":0}],\"sleep_opportunity_hours\":8}. Shows the actual calendar result. Does not fabricate external data."
            },
            {
              "description": "Plan user-chosen anchor increments. Reproducible inputs: {\"current_wake\":\"08:00\",\"target_wake\":\"07:00\",\"max_shift_min\":15}",
              "prompt": "Help me plan user-chosen anchor increments with these supplied values: {\"current_wake\":\"08:00\",\"target_wake\":\"07:00\",\"max_shift_min\":15}",
              "tools_triggered": "sleep_schedule_planner_gradual_anchor_shift",
              "expected_behavior": "Uses sleep_schedule_planner_gradual_anchor_shift with the supplied inputs. Returns {\"steps\":[{\"day\":0,\"wake\":\"08:00\"},{\"day\":1,\"wake\":\"07:45\"},{\"day\":2,\"wake\":\"07:30\"},{\"day\":3,\"wake\":\"07:15\"},{\"day\":4,\"wake\":\"07:00\"}],\"note\":\"Arithmetic progression using your chosen increment; not a circadian treatment recommendation.\"}. Shows the actual timeline 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": "Diagnose sleep apnea."
            },
            {
              "description": "Outside implemented scope: explain the limitation, do not invoke a calculation to manufacture this capability, and do not claim completion.",
              "prompt": "Prescribe sleeping pills."
            },
            {
              "description": "Outside implemented scope: explain the limitation, do not invoke a calculation to manufacture this capability, and do not claim completion.",
              "prompt": "Set a clinical sleep restriction protocol for me."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "No payments, orders, purchases or external account changes."
      },
      "publication": {
        "countries": [],
        "release_notes": "0.3.2: Compact native host task surfaces. Five tools, labeled examples, versioned documents and recoverable validation."
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: 09b5e0ed5d99c16dccb26b5d4158b75bb33641a9726af374cd7bd580c91da780