TypeScript executor
Default isolated-process TypeScript/JavaScript executor. Trusted local code with timeout and cancellation.
TypeScript executor#
The default JavaScript/TypeScript execution adapter. An executor is selected by a node/trigger definition; it is not placed on the graph or connected with data sockets.
Wrapper contract#
This wrapper returns await execute(code, inputs, config, context). Here code is the selected node's async function body, inputs/config are its resolved values, and context supplies run identity, input, logging-related APIs, routes, state and secrets. The helper transpiles TypeScript and runs the body; it returns the body's output object unchanged. This asset declares no sockets or asset-specific configuration schema.
Example#
Select this executor when publishing a transformation whose body is return {result: inputs.value * 2};. Declare the transformation's own number input/output there. ONF pins the executor dependency version into that published transformation. Publishing a later executor version does not rewrite already published dependent assets or existing graph pins.
Runtime boundaries#
Execution uses a child Node process with timeout and cancellation. The configured per-attempt timeout covers the wrapper and original body together. It runs with the hosting user's filesystem/network permissions and available runtime; this is not a hostile-code security sandbox, Python provider, container or separate remote identity.
The wrapper adds no logs, state writes, external calls or error interception of its own. Body failures propagate for the workflow engine's configured retries/error-route handling. Node outputs and routes are validated by the engine after execution. Executor test-bench runs instead exercise a supplied sample body and do not have a downstream graph or declared node-socket validation.
Catalog identity#
| Field | Value |
|---|---|
| Source key | app.core.executor.javascript |
| Kind | executor |
| Family | app-core |
| Pack | See library discovery |
Integration guide · Browse the catalog
Configuration schema#
{}Source and installed versions#
This reference describes the maintained source catalog snapshot, not a live export of your installation. Published definitions use immutable versions; installed graphs retain their exact pins. Discover and read the installed definition and selected version before wiring it. See versioning, connections and integration setup.
Source provenance
Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.
../OpenNodeFlow-Library/work/catalog-all.mjs../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjsshared/seed.tsshared/storage-library.tsshared/variable-library.tsshared/control-flow.tsshared/remote-routes.tsserver/runtime-library.tsshared/error-library.tsshared/storage-model.tsshared/builtin-documentation.ts