Pantallas Nativas Personalizadas · notibuddy 0.4.0+

Convierte JSON en
UI nativa en iPhone.

Envía pantallas nativas con KPIs, checklists, formularios y diffs desde cualquier agente IA o script. Usa las 8 plantillas certificadas o arma tu propio diseño con 12 bloques nativos, manteniendo todo el contenido cifrado de extremo a extremo.

¿Usas un agente IA? Dale la referencia completa en Markdown en notibuddy.app/screens.md (Markdown sin formato, en inglés).

Pantalla nativa personalizada de NotiBuddy en iPhone con franja de KPI, checklist y botón de aprobar con Face ID.

Catálogo integrado

8 plantillas certificadas, listas para copiar

Las plantillas certificadas ya vienen firmadas en el dispositivo: solo pasa templateId, labels y data a notibuddy_notify o nb notify --screen.

Release & CI Face ID
deployment_gate

Compuerta de despliegue

Aprobación de despliegue a producción con KPIs canary, manifiesto de artefactos, checklist previo, interruptor de confirmación y Face ID.

Ideal para: Promociones de CI/CD, despliegues canary a producción y lanzamientos con agentes.
Bloques: badgealertkpiStripkeyValueListchecklistformField (toggle)
Payload de notibuddy_notify (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
db_migration_approval

Aprobación de migración de BD

Autorización de cambios de esquema con alerta, metadatos del clúster, visor de diff DDL, checklist previo y Face ID.

Ideal para: Migraciones SQL destructivas, cambios de índices y alteraciones propuestas por agentes.
Bloques: badgealertkeyValueListdiffViewerchecklist
Payload de notibuddy_notify (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
incident_triage

Triaje de incidentes

Pantalla de respuesta a incidentes con alerta crítica, KPIs en vivo, contexto, selector de prioridad, nota y rollback con Face ID.

Ideal para: Alertas de anomalías, regresiones detectadas por agentes y rollback rápido.
Bloques: badgealertkpiStripkeyValueListdividerformField (picker, text)
Payload de notibuddy_notify (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 Respuesta rápida
code_review_form

Revisión de código

Revisión de parches o PRs con resumen, metadatos, visor de diff integrado, selector de veredicto y comentario obligatorio.

Ideal para: Revisar parches de Claude Code, Codex o Cursor desde el iPhone antes de confirmar.
Bloques: badgetextkeyValueListdiffViewerformField (picker, text)
Payload de notibuddy_notify (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 Respuesta rápida
kpi_status_card

Tarjeta de KPIs

Reporte operativo con métricas principales, insignia de estado, resumen narrativo y desglose clave-valor.

Ideal para: Resúmenes nocturnos de cron, checkpoints de entrenamiento y reportes de costo.
Bloques: headingbadgekpiStripdividertextkeyValueList
Payload de notibuddy_notify (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
action_checklist

Checklist de acción

Lista de verificación paso a paso con interruptor obligatorio que desbloquea la confirmación con Face ID al marcar todo.

Ideal para: Checklists de lanzamiento, rotación de claves y scripts irreversibles.
Bloques: headingtextchecklistdividerformField (toggle)
Payload de notibuddy_notify (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
parameter_tuning_form

Ajuste de parámetros

Editor de configuración con resumen actual, contador numérico, selector de modo, interruptor de seguridad y aplicación con Face ID.

Ideal para: Ajustar concurrencia, límites de presupuesto LLM o cuotas de tráfico en vivo.
Bloques: textkeyValueListformField (stepper, picker, toggle, text)
Payload de notibuddy_notify (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
multi_choice_audit

Auditoría multiopción

Revisión de seguridad o cumplimiento con filas de evidencia, dos selectores, nota obligatoria, interruptor y firma con Face ID.

Ideal para: Aprobación de accesos, auditorías de dependencias y atestaciones firmadas.
Bloques: headingbadgetextkeyValueListformField (picker ×2, text, toggle)
Payload de notibuddy_notify (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

Bloques componibles

12 bloques nativos SwiftUI

Cada pantalla integrada o personalizada usa estos 12 bloques nativos de iOS con soporte para Dark Mode y accesibilidad.

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.

Diseños a medida

O compone tu propio diseño en línea

Pasa screen.template directo a notibuddy_notify o registra diseños con nb screen register. El servidor valida solo la estructura sin contenido; todos los textos, métricas y respuestas siguen cifrados.

Ejemplo de pantalla personalizada en línea
{
  "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 }
      ]
    }
  }
}

¿Listo para usar Pantallas Personalizadas en tu agente?

Vincula tu iPhone una vez y envía pantallas nativas desde Claude Code, Cursor, Codex, Antigravity, GitHub Actions o scripts.