Skip to content

Enhance lively.context to leverage nw.js + node:inspect - #1806

Open
merryman wants to merge 25 commits into
mainfrom
robin/lively-context-node-inspect
Open

Enhance lively.context to leverage nw.js + node:inspect#1806
merryman wants to merge 25 commits into
mainfrom
robin/lively-context-node-inspect

Conversation

@merryman

@merryman merryman commented Jun 4, 2026

Copy link
Copy Markdown
Member

No description provided.

merryman added 17 commits June 4, 2026 12:30
Ensure the inspector runtime is installed before paused-frame capture, collect real frame arguments through CDP, and surface this/arguments/exception in LivelyDebugger.

Restore legacy lively.ast and lively.lang helper surfaces used by the continuation backend on Node 25, and allow the class runtime to wrap user-defined new-only superclasses.
Strip top-level recorder references before stack reification rewrites captured function source, preserve primitive receivers in interpreted function forwarding wrappers, and parse the redeclaration rewriter test as script source.
@merryman merryman changed the title Robin/lively context node inspect Enhance lively.context to leverage nw.js + node:inspect Jun 12, 2026
merryman and others added 8 commits June 12, 2026 10:37
A server-only module (e.g. lively.shell/server-command.js) becoming
statically reachable from a freezer entry graph silently emits bare
`path`/`util`/`os`/`child_process` deps into the System bundle. These
404 at runtime (SystemJS fetches them under the page URL, e.g.
/dashboard/path), aborting boot of the landing page / loading screen.

Add assert-no-node-builtins.mjs, which scans the written System chunks
for Node built-ins in `register([...])` dependency arrays (ignoring
guarded runtime `require()` strings), and wire it into the unified and
single-entry freezer builds so the leak fails the build loudly instead
of shipping a bundle that breaks on boot.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant