Skip to content

safe-bash: publish Worker-compatible optional node command runtime composition #699

Description

@kamilio

Current integration scope excludes both the safejs command and the external op integration. The node command remains requested in our Cloudflare Worker. The 79-command portable preset is usable with the bounded provider; curl is separately configured. The optional node command needs a supported Worker-compatible import/runtime path. SafeJS matters here only as its documented injected runtime implementation.

Evidence from published 0.1.491 tarballs and export maps:

Requested outcome: publish a supported Worker-compatible way to register and execute node using the intended bounded runtime, with the worker-thread Node provider restricted to an explicit host-only import. A documented composition example should use only public exports and preserve source/output/step/memory/abort limits. Exercise the supported node -e profile with filesystem read/write, cancellation, and a runaway-program refusal in actual workerd. If this command intentionally cannot be supported in Workers, please make that distinction explicit rather than requiring an application shim.

This is separate from regex executor injection: #669 alone does not currently identify the optional SafeJS runtime/export requirement. This report is based on the published module graph/export map; it does not claim a new full-runtime reproduction beyond those concrete import constraints.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions