| name | abridge-debug-bundle |
| description | Collect Abridge debug evidence for support tickets and troubleshooting.
Use when filing Abridge support tickets, collecting diagnostic data,
or preparing evidence for escalation to Abridge engineering.
Trigger: "abridge debug bundle", "abridge support ticket",
"abridge diagnostics", "collect abridge evidence".
|
| allowed-tools | Read, Write, Edit, Bash(curl:*), Bash(node:*), Grep |
| version | 1.4.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","healthcare","ai","abridge","debugging"] |
| compatibility | Designed for Claude Code |
Abridge Debug Bundle
Overview
Collect HIPAA-safe diagnostic data for Abridge support tickets. All PHI is automatically redacted before bundle creation.
Prerequisites
- Abridge credentials configured
- Access to application logs
- Node.js or bash for running diagnostic scripts
Instructions
Step 1: Generate Debug Bundle
import fs from 'fs';
import { execSync } from 'child_process';
interface DebugBundle {
timestamp: string;
environment: Record<string, string>;
connectivity: Record<string, any>;
recentErrors: any[];
sessionDiagnostics: any[];
fhirStatus: any;
}
async function generateDebugBundle(): Promise<DebugBundle> {
const bundle: DebugBundle = {
timestamp: new Date().toISOString(),
environment: collectEnvironment(),
connectivity: await testConnectivity(),
recentErrors: (),
: (),
: (),
};
sanitized = (.(bundle, , ));
filename = ;
fs.(filename, sanitized);
.();
bundle;
}
(): <, > {
{
: process.,
: process.,
: process.. || ,
: process.. ? : ,
: process.. ? : ,
: process.. || ,
: .().().,
};
}
(): <<, >> {
: <, > = {};
endpoints = [
{ : , : },
{ : , : },
];
( ep endpoints) {
{
start = .();
res = (ep., { : .() });
results[ep.] = { : res., : .() - start };
} (err) {
results[ep.] = { : , : (err ). };
}
}
results;
}
(): {
text
.(, )
.(, )
.(, )
.(, );
}