Development and tests
Install dependencies, run the offline and live suites, and build an executable.
The source is TypeScript and requires Node.js 22.12 or newer.
Local checks
npm install
npm run check
npm test
npm run test:packageThe offline suite covers authentication, schemas, pagination, provider
fixtures, encryption paths, mutations, attachments, and failure behavior. The
package test installs the generated tarball in isolation and exercises its
dmbridge executable.
Live read-only checks
With explicit approval and noncritical X and Instagram accounts configured in the dmbridge home, run:
npm run test:liveThe live suite reads account, conversation, and message data. It does not call mutation endpoints or open message-request inboxes that may have delivery side effects.
Build an executable
npm run package:executableDeno is used only as the release compiler. The source, tests, and npm package remain Node-based. See the release checklist for the complete packaging and publishing checks.