Custom Native Screens · notibuddy 0.4.0+

Aus JSON wird
native iPhone-UI.

Sende native SwiftUI-Screens mit KPI-Leisten, Checklisten, Formularen und Diffs aus jedem KI-Agenten oder Skript. Starte mit 8 zertifizierten Vorlagen oder kombiniere 12 native Blöcke — Ende-zu-Ende-verschlüsselt.

Für deinen KI-Agenten gibt es die vollständige Schema-Referenz unter notibuddy.app/screens.md (reines Markdown, Englisch).

Custom Native Screen von NotiBuddy auf dem iPhone mit KPI-Leiste, Checkliste und Face-ID-Freigabebutton.

Integrierter Katalog

8 zertifizierte Vorlagen zum Kopieren

Zertifizierte Vorlagen sind auf dem Gerät vorab signiert — übergib einfach templateId, labels und data an notibuddy_notify oder nb notify --screen.

Release & CI Face-ID-Gate
deployment_gate

Deployment-Gate

Produktionsfreigabe mit Canary-KPIs, Artefakt-Manifest, Checkliste, Bestätigungsschalter und Face-ID-Signatur.

Ideal für: CI/CD-Releases, Canary-zu-Produktion-Umstellungen und Agenten-Deployments.
Blöcke: badgealertkpiStripkeyValueListchecklistformField (toggle)
notibuddy_notify Payload (MCP / --screen JSON)
templateId: tpl_7320257f323bb157…
{
  "title": "Promote api-gateway v2.4.1 to production",
  "screen": {
    "templateId": "tpl_7320257f323bb157a27a9f3eb40ca76a06a63b7cc3a6d877884f2450b68fb75a",
    "labels": {
      "s0": "Canary status",
      "s1": "Production",
      "s2": "Canary healthy across us-east and eu-central",
      "s3": "All 128 integration checks passed with zero elevated 5xx responses.",
      "s5": "Release manifest",
      "s7": "Pre-flight sign-off",
      "s9": "I verified the rollback image is pinned",
      "s10": "Promote to production",
      "s11": "Hold canary",
      "s12": "Abort deploy"
    },
    "data": {
      "s4": [
        {
          "label": "Success",
          "value": "99.98%"
        },
        {
          "label": "Errors",
          "value": "0.02%"
        },
        {
          "label": "P95",
          "value": "41 ms"
        }
      ],
      "s6": [
        {
          "key": "Service",
          "value": "api-gateway"
        },
        {
          "key": "Version",
          "value": "v2.4.1"
        },
        {
          "key": "Commit",
          "value": "8f3c19a"
        },
        {
          "key": "Triggered by",
          "value": "GitHub Actions"
        }
      ],
      "s8": [
        "Database backup verified",
        "On-call engineer notified",
        "Zero active P1 incidents"
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen deployment-gate.json
Database Face-ID-Gate
db_migration_approval

Datenbank-Migrationsfreigabe

Schema- und Datenmigration mit Warnbanner, Ziel-Metadaten, DDL-Diff-Ansicht, Checkliste und Face-ID-Freigabe.

Ideal für: Destruktive SQL-Migrationen, Indexänderungen und agentengenerierte Schema-Updates.
Blöcke: badgealertkeyValueListdiffViewerchecklist
notibuddy_notify Payload (MCP / --screen JSON)
templateId: tpl_9a64eaa2fbf40f98…
{
  "title": "Run migration 20261123_drop_legacy_tokens.sql",
  "screen": {
    "templateId": "tpl_9a64eaa2fbf40f9821af64340dba6788893684e3c1fd39a2651850130c0cdeb3",
    "labels": {
      "s0": "Migration target",
      "s1": "Destructive DDL",
      "s2": "Table lock expected (~4 seconds)",
      "s3": "Dropping legacy_session_tokens removes 1.2M expired rows and frees 840 MB.",
      "s5": "DDL diff",
      "s7": "Safety checks",
      "s9": "Run migration",
      "s10": "Cancel"
    },
    "data": {
      "s4": [
        {
          "key": "Cluster",
          "value": "prod-postgres-primary"
        },
        {
          "key": "Migration",
          "value": "20261123_drop_legacy_tokens.sql"
        },
        {
          "key": "Estimated lock",
          "value": "4s (ACCESS EXCLUSIVE)"
        }
      ],
      "s6": {
        "filename": "migrations/20261123_drop_legacy_tokens.sql",
        "language": "sql",
        "original": "CREATE TABLE legacy_session_tokens (\n  id uuid PRIMARY KEY,\n  expires_at timestamptz NOT NULL\n);",
        "modified": "DROP TABLE IF EXISTS legacy_session_tokens;\n-- Snapshot archived to s3://db-backups/2026-11-23/"
      },
      "s8": [
        "Point-in-time snapshot completed",
        "Zero active readers on legacy_session_tokens"
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen db-migration-approval.json
Incident Response Face-ID-Gate
incident_triage

Incident-Triage

Notfall-Screen mit Gefahrenbanner, Live-KPIs, Kontextzeilen, Prioritätsauswahl, Notizfeld und Face-ID-Failover.

Ideal für: Anomalie-Alarme, automatisch erkannte Regressionen und sofortiges Rollback.
Blöcke: badgealertkpiStripkeyValueListdividerformField (picker, text)
notibuddy_notify Payload (MCP / --screen JSON)
templateId: tpl_efcaca7923b82253…
{
  "title": "P1: Elevated 502 rate on checkout-api",
  "screen": {
    "templateId": "tpl_efcaca7923b82253ed38e2b0f71950d967bc55d5085fb1d315b55b2953a65294",
    "labels": {
      "s0": "Active incident",
      "s1": "SEV-1",
      "s2": "502 spike after v2.4.1 rollout",
      "s3": "Error rate crossed 4.8% in us-east-1 for 3 consecutive minutes.",
      "s5": "Response & routing",
      "s7": "Assigned severity",
      "s9": "Action note",
      "s10": "Optional note (required for rollback)",
      "s11": "Acknowledge & investigate",
      "s12": "Rollback to v2.4.0",
      "s13": "Dismiss false positive"
    },
    "data": {
      "s4": [
        {
          "label": "502 Rate",
          "value": "4.8%"
        },
        {
          "label": "P99",
          "value": "1.9 s"
        },
        {
          "label": "Affected",
          "value": "us-east-1"
        }
      ],
      "s6": [
        {
          "key": "Service",
          "value": "checkout-api"
        },
        {
          "key": "Suspect commit",
          "value": "8f3c19a"
        },
        {
          "key": "Alert ID",
          "value": "INC-4921"
        }
      ],
      "s8": [
        "SEV-1 Critical",
        "SEV-2 High",
        "SEV-3 Moderate"
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen incident-triage.json
Code Review Ein-Tipp-Antwort
code_review_form

Code-Review-Formular

Patch- oder PR-Review mit Zusammenfassung, Metadaten, Diff-Viewer, Entscheidungs-Picker und Pflichtkommentar.

Ideal für: Patches von Claude Code, Codex oder Cursor direkt auf dem iPhone prüfen.
Blöcke: badgetextkeyValueListdiffViewerformField (picker, text)
notibuddy_notify Payload (MCP / --screen JSON)
templateId: tpl_516ea85f72e98ed5…
{
  "title": "Review patch: rate-limit retry backoff",
  "screen": {
    "templateId": "tpl_516ea85f72e98ed524aed18b1fc44b73f63e0b2a18fd1a85e5b6a64a7c0866d3",
    "labels": {
      "s0": "Patch summary",
      "s1": "Ready for review",
      "s2": "Adds capped exponential backoff with jitter when upstream returns HTTP 429.",
      "s4": "Changed file",
      "s6": "Your review",
      "s7": "Disposition",
      "s9": "Review note",
      "s10": "Explain approval or requested edits",
      "s11": "Submit review",
      "s12": "Cancel"
    },
    "data": {
      "s3": [
        {
          "key": "Repo",
          "value": "yourbit-network/notibuddy"
        },
        {
          "key": "Branch",
          "value": "fix/retry-backoff"
        },
        {
          "key": "Tests",
          "value": "42/42 passing"
        }
      ],
      "s5": {
        "filename": "src/retry.ts",
        "language": "typescript",
        "original": "const delayMs = 1000 * attempt;",
        "modified": "const base = Math.min(30_000, 500 * 2 ** attempt);\nconst delayMs = Math.round(base * (0.8 + Math.random() * 0.4));"
      },
      "s8": [
        "Approve & apply",
        "Request changes",
        "Comment only"
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen code-review-form.json
Observability Ein-Tipp-Antwort
kpi_status_card

KPI-Statuskarte

Kompakter Statusbericht mit Kennzahlen, Status-Badge, Zusammenfassung und Schlüssel-Wert-Details.

Ideal für: Nächtliche Cron-Digests, Trainings-Checkpoints und tägliche Kostenberichte.
Blöcke: headingbadgekpiStripdividertextkeyValueList
notibuddy_notify Payload (MCP / --screen JSON)
templateId: tpl_6fa3fbdf264b1048…
{
  "title": "Eval run #142 completed",
  "screen": {
    "templateId": "tpl_6fa3fbdf264b1048364bf9b4179464ccc6795a1b5c67ade9e5e2ac8a00262526",
    "labels": {
      "s0": "Evaluation summary",
      "s1": "Prompt v14 benchmark",
      "s2": "Pass +4.2%",
      "s4": "Accuracy improved on tool-calling tasks with 18% fewer output tokens than v13.",
      "s5": "Run details",
      "s7": "Promote prompt v14",
      "s8": "Keep v13"
    },
    "data": {
      "s3": [
        {
          "label": "Pass rate",
          "value": "94.6%"
        },
        {
          "label": "Median latency",
          "value": "620 ms"
        },
        {
          "label": "Cost / 1k",
          "value": "$1.84"
        }
      ],
      "s6": [
        {
          "key": "Dataset",
          "value": "agent-eval-500"
        },
        {
          "key": "Baseline",
          "value": "v13 (90.4%)"
        },
        {
          "key": "Duration",
          "value": "11m 42s"
        }
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen kpi-status-card.json
Operations Face-ID-Gate
action_checklist

Aktions-Checkliste

Schrittweise Prüf-Checkliste mit Pflicht-Bestätigungsschalter, der Face ID erst nach vollständigem Abhaken freischaltet.

Ideal für: Release-Checklisten, Schlüsselrotation und irreversible Wartungsskripte.
Blöcke: headingtextchecklistdividerformField (toggle)
notibuddy_notify Payload (MCP / --screen JSON)
templateId: tpl_ab44ab504d7cc01c…
{
  "title": "Publish notibuddy@0.4.1 to npm",
  "screen": {
    "templateId": "tpl_ab44ab504d7cc01c05bd68f23d0c31550e6f66b6dc02b30f5a5f903dd068dcaa",
    "labels": {
      "s0": "Release overview",
      "s1": "npm publish checklist",
      "s2": "Confirm all release artifacts before the agent runs npm publish and updates the Homebrew formula.",
      "s3": "Required checks",
      "s4": "Pre-publish verification",
      "s6": "I confirm the changelog and git tag match v0.4.1",
      "s7": "Publish release",
      "s8": "Abort"
    },
    "data": {
      "s5": [
        "All unit and integration tests passed",
        "Tarball contents inspected with npm pack --dry-run",
        "No secrets or local fixtures bundled"
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen action-checklist.json
Tuning Face-ID-Gate
parameter_tuning_form

Parameter-Tuning-Formular

Konfigurations-Editor mit aktuellem Stand, Zahlen-Stepper, Modus-Picker, Sicherheitsschalter und Face-ID-Übernahme.

Ideal für: Concurrency, LLM-Budgetgrenzen, Rate-Limits oder Skalierung live anpassen.
Blöcke: textkeyValueListformField (stepper, picker, toggle, text)
notibuddy_notify Payload (MCP / --screen JSON)
templateId: tpl_dd6f8732c37e9016…
{
  "title": "Adjust queue worker concurrency",
  "screen": {
    "templateId": "tpl_dd6f8732c37e901667a0c1e9d9764b36b878121a2ae5beac73bb2ad593dc4e4a",
    "labels": {
      "s0": "Current configuration",
      "s1": "Queue depth reached 4,200 jobs. Adjust concurrency and retry strategy before resuming workers.",
      "s3": "Updated parameters",
      "s4": "Max concurrent workers",
      "s5": "Routing mode",
      "s7": "Enable circuit breaker",
      "s8": "Change rationale",
      "s9": "Optional note for audit log",
      "s10": "Apply settings",
      "s11": "Keep current"
    },
    "data": {
      "s2": [
        {
          "key": "Current workers",
          "value": "10"
        },
        {
          "key": "Queue depth",
          "value": "4,200"
        },
        {
          "key": "Error budget",
          "value": "99.5%"
        }
      ],
      "s6": [
        "Balanced",
        "Throughput-first",
        "Cost-saving"
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen parameter-tuning-form.json
Compliance Face-ID-Gate
multi_choice_audit

Multi-Choice-Audit

Strukturierte Sicherheits- oder Compliance-Prüfung mit Nachweisen, zwei Pickern, Pflichtnotiz, Bestätigung und Face ID.

Ideal für: Zugriffsfreigaben, Dependency-Security-Audits und signierte Compliance-Checks.
Blöcke: headingbadgetextkeyValueListformField (picker ×2, text, toggle)
notibuddy_notify Payload (MCP / --screen JSON)
templateId: tpl_33d53edadb953581…
{
  "title": "Security audit: grant production read token",
  "screen": {
    "templateId": "tpl_33d53edadb953581c0d1dfe4c857c86c5a42d53e8dba668a4b091081057dbc99",
    "labels": {
      "s0": "Audit evidence",
      "s1": "Scoped token request",
      "s2": "Pending review",
      "s3": "Agent requested a 2-hour read-only token to inspect production billing metrics.",
      "s5": "Auditor decision",
      "s6": "Scope grant",
      "s8": "Expiration window",
      "s10": "Auditor rationale",
      "s11": "Required for approval or revocation",
      "s12": "I reviewed the requested scope and ticket",
      "s13": "Approve scoped token",
      "s14": "Revoke & alert security",
      "s15": "Deny"
    },
    "data": {
      "s4": [
        {
          "key": "Requester",
          "value": "billing-agent@mac"
        },
        {
          "key": "Ticket",
          "value": "SEC-1084"
        },
        {
          "key": "Requested scope",
          "value": "metrics:read"
        }
      ],
      "s7": [
        "metrics:read only",
        "logs:read + metrics:read"
      ],
      "s9": [
        "1 hour",
        "2 hours",
        "24 hours"
      ]
    }
  }
}
npx -y notibuddy@^0.4.0 notify --to personal --screen multi-choice-audit.json

Bausteine

12 native SwiftUI-Blöcke

Jeder integrierte oder eigene Screen entsteht aus diesen 12 nativen iOS-Blöcken mit Dark Mode und Dynamic Type.

vstack Layout

Vertical container with compact, regular, or relaxed spacing.

card Layout

Grouped native surface with an optional encrypted section header.

divider Layout

Subtle hairline separator between sections inside a card.

heading Content

Section heading at level 1, 2, or 3 with Dynamic Type scaling.

text Content

Body, caption, or monospaced text block.

badge Content

Status pill in neutral, info, success, warning, or danger tone.

alert Content

Highlighted callout banner with title, body, and severity.

kpiStrip Data

Compact horizontal metric strip of label/value KPI tiles.

keyValueList Data

Structured metadata rows for versions, targets, commits, or IDs.

diffViewer Data

Inline syntax-aware unified or before/after code and DDL diff viewer.

checklist Interactive

Interactive pre-flight items that can gate action buttons via allChecked.

formField Interactive

Native text, email, url, secret, date, toggle, stepper, or picker inputs.

Eigene Layouts

Oder eigenes Inline-Layout bauen

Übergib screen.template direkt an notibuddy_notify oder registriere Layouts mit nb screen register. Der Server prüft nur das inhaltsfreie Gerüst; alle Texte, Metriken und Antworten bleiben Ende-zu-Ende-verschlüsselt.

Beispiel für ein Inline-Layout
{
  "title": "Approve nightly model eval",
  "screen": {
    "template": {
      "root": {
        "kind": "vstack",
        "spacing": "regular",
        "children": [
          {
            "kind": "card",
            "header": "Eval summary",
            "children": [
              { "kind": "badge", "tone": "success", "label": "All checks passed" },
              {
                "kind": "kpiStrip",
                "items": [
                  { "label": "Score", "value": "96.4%" },
                  { "label": "Latency", "value": "410 ms" }
                ]
              }
            ]
          }
        ]
      },
      "actions": [
        { "id": "promote", "label": "Promote weights", "role": "primary", "requireBio": true },
        { "id": "cancel", "label": "Cancel", "role": "decline", "requireBio": false }
      ]
    }
  }
}

Bereit für Custom Screens in deinem Agenten?

Kopple dein iPhone einmal und sende native Screens aus Claude Code, Cursor, Codex, Antigravity, GitHub Actions oder Shell-Skripten.