Guias por framework
React / Next.js
npm i @sentinela/loader @sentinela/reactimport { ErrorBoundary } from '@sentinela/react';
<ErrorBoundary fallback={<TelaErro />} showDialog>
<App />
</ErrorBoundary>;showDialog abre o widget de chamado ao capturar um erro de render. Next.js: use @sentinela/nextjs — cobre Server Components e Route Handlers via instrumentation.ts (servidor) e o ErrorBoundary no cliente.
Vue / Nuxt
import { SentinelaVue } from '@sentinela/vue';
app.use(SentinelaVue); // captura erros de render/lifecycleNuxt: @sentinela/nuxt — chame instalarNuxt num plugin client, com o DSN em runtimeConfig.public.
Backend Node (Express / NestJS)
Backends usam o pacote completo (não há CDN em servidor — atualizações via npm update, no seu deploy rotineiro):
import * as Sentinela from '@sentinela/node';
Sentinela.init({ dsn: process.env.SENTINELA_DSN, environment: process.env.NODE_ENV });
// Express: registre o middleware de erro por último
app.use(Sentinela.expressErrorHandler());NestJS: registre o SentinelaExceptionFilter como filter global (app.useGlobalFilters(new SentinelaExceptionFilter())).