926 B
926 B
2026-02-26 Session Notes
Signetai NPM Installation Compatibility
Started implementing a plan to enable npm installation of signetai via npm install -g signetai or npx signetai. The main issue was the postinstall script using ESM, which can be flaky in some npm environments.
The plan involved three key changes:
- Convert
packages/signetai/bin/postinstall.jsfrom ESM to CommonJS (rename to.cjs) - Update the postinstall reference in package.json from
.jsto.cjs - Improve postinstall messaging to clarify that CLI commands work with just Node.js, but daemon startup requires Bun
- Update README requirements section for clarity
Begun by reading the current postinstall.js file, which uses import { execSync } and includes terminal color codes. The script checks for Bun availability and displays installation instructions.
No implementation completed in this session — work was just initiated.