Commit Graph
6 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN 126ca22dfc fix(package): include assets/ directory in npm package
The dashboard requires `assets/` (favicon.svg, logo.svg) to be present.
Previously, `package.json`'s `files` array excluded `assets/`, causing missing images in the installed package.
This commit adds `assets/` to the whitelist.

Tested by packing and installing in a clean environment.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:53:50 +00:00
google-labs-jules[bot]andPR0M3TH3AN 35092b3d5a Refactor torch-lock into an installable NPM library and CLI
- Rename `src/nostr-lock.mjs` to `src/lib.mjs` and export core functions.
- Create `bin/torch-lock.mjs` as the CLI entry point.
- Implement `dashboard` command in `src/lib.mjs` to serve the dashboard using Node.js.
- Update `package.json` to configure `bin`, `main`, and `files` for NPM packaging.
- Create `torch-config.example.json` as a template for consumers.
- Update tests and README.md to reflect the new structure.
- Exclude task-specific artifacts (logs, context) from the package while retaining prompts and docs.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:41:49 +00:00
google-labs-jules[bot]andPR0M3TH3AN 6e1bb58f4f feat: add missing audit scripts and lint configuration
Implemented the missing scripts required by the audit-agent:
- `scripts/check-file-size.mjs`: Checks for files exceeding 300 lines.
- `scripts/check-innerhtml.mjs`: Checks for `innerHTML` usage.
- Added `npm run lint` script using ESLint with a basic configuration.
- Added `eslint` and related dependencies.

This unblocks the audit-agent daily schedule.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:21:09 +00:00
google-labs-jules[bot]andPR0M3TH3AN 44919f2ca3 chore(scheduler): run daily test-audit-agent
- Added test script and initial smoke tests
- Generated daily audit report
- Updated scheduler log

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 04:59:15 +00:00
google-labs-jules[bot]andPR0M3TH3AN 2b0118d518 Fix 4everland deployment by adding build script
- Added `build.mjs` to bundle `landing`, `dashboard`, and `docs` into a `dist/` directory.
- Updated `package.json` with a `build` script (`node build.mjs`).
- Updated `.gitignore` to ignore the `dist/` directory.
- Patched `landing/index.html` paths in the build output to correctly reference resources when deployed from `dist/` root.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 04:19:58 +00:00
thePR0M3TH3AN 67c8a17a03 updated with files 2026-02-13 20:35:03 -05:00