{"_id":"@bernierllc/nevar-action-executor","_rev":"6-40933186d67baba831d00f4c400ae3a7","name":"@bernierllc/nevar-action-executor","dist-tags":{"latest":"0.5.0"},"versions":{"0.0.1":{"name":"@bernierllc/nevar-action-executor","version":"0.0.1","keywords":["oidc","trusted-publishing","setup"],"_id":"@bernierllc/nevar-action-executor@0.0.1","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"dist":{"shasum":"8d4a9ce468b7653feea38378582f0fe6a2eae17a","tarball":"https://registry.npmjs.org/@bernierllc/nevar-action-executor/-/nevar-action-executor-0.0.1.tgz","fileCount":2,"integrity":"sha512-8l644HTfMKuUO3rXvkcgg5w0T4Vlmoo699yF4iMB5WcefJ9sMoksAQ+5QtYQXlNLGwUoAsCo2d+xmuZXEYZjQA==","signatures":[{"sig":"MEYCIQCCCfPSYCmd0jSqd4omtceEbN/SiVJrRNqf/DCExQNjQwIhAK2v/8JJYCllcSvxpTbCl5rTmgS6KRHHMadqP2XzqnaP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2095},"_npmUser":{"name":"mkbernier","email":"mkbernier@gmail.com"},"_npmVersion":"11.11.0","description":"OIDC trusted publishing setup package for @bernierllc/nevar-action-executor","directories":{},"_nodeVersion":"25.8.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nevar-action-executor_0.0.1_1774655634539_0.8073435282048236","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@bernierllc/nevar-action-executor","version":"0.1.0","keywords":["nevar","rules-engine","action-executor","action-dispatch","retry"],"author":{"name":"Bernier LLC"},"license":"SEE LICENSE IN LICENSE","_id":"@bernierllc/nevar-action-executor@0.1.0","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"homepage":"https://github.com/bernierllc/tools#readme","bugs":{"url":"https://github.com/bernierllc/tools/issues"},"dist":{"shasum":"1bd1dfa1cef0addcaf725d9643fb88d9ee50ac0b","tarball":"https://registry.npmjs.org/@bernierllc/nevar-action-executor/-/nevar-action-executor-0.1.0.tgz","fileCount":7,"integrity":"sha512-dZmltBD3DSIW8fNXqEoF1QxMDWOcOzU/Mv+M+XwqEc9eh5gLbiXgfT3r0jK8F1wtc4pIsYELsARGhIPNrcGJtg==","signatures":[{"sig":"MEUCIHQLmH6Tke1T/0eFLoNx7S53YQS1Fvp1w8W9gFHs2SqAAiEAmIW9hnGGpALTQ//CcqxaKSdUt/bU5DY4vJELhmm03ZA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12471},"main":"dist/index.js","_from":"file:bernierllc-nevar-action-executor-0.1.0.tgz","types":"dist/index.d.ts","engines":{"node":">=16.0.0"},"scripts":{"lint":"eslint src __tests__ --ext .ts","test":"jest","build":"tsc","clean":"rimraf dist","prebuild":"npm run clean","test:run":"jest","test:coverage":"jest --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:64c59b95-4118-4c50-b757-0f59923126fe"}},"_resolved":"/home/runner/work/tools/tools/packages/core/nevar-action-executor/bernierllc-nevar-action-executor-0.1.0.tgz","_integrity":"sha512-dZmltBD3DSIW8fNXqEoF1QxMDWOcOzU/Mv+M+XwqEc9eh5gLbiXgfT3r0jK8F1wtc4pIsYELsARGhIPNrcGJtg==","repository":{"url":"git+https://github.com/bernierllc/tools.git","type":"git","directory":"packages/core/nevar-action-executor"},"_npmVersion":"11.12.1","description":"Dispatches action intents to registered handlers with retry, priorResults accumulation, and deferred trigger collection for the Nevar rules engine","directories":{},"_nodeVersion":"20.20.1","dependencies":{"@bernierllc/nevar-types":"0.1.0","@bernierllc/retry-policy":"0.3.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.1.0","typescript":"^5.0.0","@types/jest":"^29.5.0","@types/node":"^20.0.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nevar-action-executor_0.1.0_1774897699987_0.5134866227890862","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@bernierllc/nevar-action-executor","version":"0.2.0","keywords":["nevar","rules-engine","action-executor","action-dispatch","retry"],"author":{"name":"Bernier LLC"},"license":"SEE LICENSE IN LICENSE","_id":"@bernierllc/nevar-action-executor@0.2.0","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"homepage":"https://github.com/bernierllc/tools#readme","bugs":{"url":"https://github.com/bernierllc/tools/issues"},"dist":{"shasum":"1bc1756301ddac22b063a6d6761bba45380a3416","tarball":"https://registry.npmjs.org/@bernierllc/nevar-action-executor/-/nevar-action-executor-0.2.0.tgz","fileCount":7,"integrity":"sha512-EUlDUMPQlWP4awMqfffeEGk7a0ff7KXN13xnnuGIuknTLXwmyHOA/0Ndgp/wAHPICXFuxicCdViktCgEl1/iPQ==","signatures":[{"sig":"MEUCIQDhdmM0dNL+JOq1k8c4HORMFFWoC0m+8vEqpiS0U+3gxAIgRGHOygRL99wbsi4iNC7G7K9oLzxBBYo7y7mrP905JlM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12471},"main":"dist/index.js","_from":"file:bernierllc-nevar-action-executor-0.2.0.tgz","types":"dist/index.d.ts","engines":{"node":">=16.0.0"},"scripts":{"lint":"eslint src __tests__ --ext .ts","test":"jest","build":"tsc","clean":"rimraf dist","prebuild":"npm run clean","test:run":"jest","test:coverage":"jest --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:64c59b95-4118-4c50-b757-0f59923126fe"}},"_resolved":"/home/runner/work/tools/tools/packages/core/nevar-action-executor/bernierllc-nevar-action-executor-0.2.0.tgz","_integrity":"sha512-EUlDUMPQlWP4awMqfffeEGk7a0ff7KXN13xnnuGIuknTLXwmyHOA/0Ndgp/wAHPICXFuxicCdViktCgEl1/iPQ==","repository":{"url":"git+https://github.com/bernierllc/tools.git","type":"git","directory":"packages/core/nevar-action-executor"},"_npmVersion":"11.14.1","description":"Dispatches action intents to registered handlers with retry, priorResults accumulation, and deferred trigger collection for the Nevar rules engine","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@bernierllc/nevar-types":"0.2.0","@bernierllc/retry-policy":"0.4.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.1.0","typescript":"^5.0.0","@types/jest":"^29.5.0","@types/node":"^20.0.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nevar-action-executor_0.2.0_1779133510341_0.9336536110919653","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@bernierllc/nevar-action-executor","version":"0.2.1","keywords":["nevar","rules-engine","action-executor","action-dispatch","retry"],"author":{"name":"Bernier LLC"},"license":"SEE LICENSE IN LICENSE","_id":"@bernierllc/nevar-action-executor@0.2.1","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"homepage":"https://github.com/bernierllc/tools#readme","bugs":{"url":"https://github.com/bernierllc/tools/issues"},"dist":{"shasum":"9c3a53218243871a76f0ca010e038ca84ae9cacd","tarball":"https://registry.npmjs.org/@bernierllc/nevar-action-executor/-/nevar-action-executor-0.2.1.tgz","fileCount":7,"integrity":"sha512-30+z34pD/Fvvp75z7nojzxedcPIR8tLTDjbL+iMxnMQ/EA1r7ZKAmQDwft1JFkmHz7CVebLhlmuhdd5yaYffrQ==","signatures":[{"sig":"MEUCIQC3aHxx3C7H/9rpckMWQhla/bNAod86m+b/cIVKazuKCwIgPmV5viRHH8I2x5Z3T4tyDbgjkOqSD3TnD9G/NrnSlOk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12471},"main":"dist/index.js","_from":"file:bernierllc-nevar-action-executor-0.2.1.tgz","types":"dist/index.d.ts","engines":{"node":">=16.0.0"},"scripts":{"lint":"eslint src __tests__ --ext .ts","test":"jest","build":"tsc","clean":"rimraf dist","prebuild":"npm run clean","test:run":"jest","test:coverage":"jest --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:64c59b95-4118-4c50-b757-0f59923126fe"}},"_resolved":"/home/runner/work/tools/tools/packages/core/nevar-action-executor/bernierllc-nevar-action-executor-0.2.1.tgz","_integrity":"sha512-30+z34pD/Fvvp75z7nojzxedcPIR8tLTDjbL+iMxnMQ/EA1r7ZKAmQDwft1JFkmHz7CVebLhlmuhdd5yaYffrQ==","repository":{"url":"git+https://github.com/bernierllc/tools.git","type":"git","directory":"packages/core/nevar-action-executor"},"_npmVersion":"11.14.1","description":"Dispatches action intents to registered handlers with retry, priorResults accumulation, and deferred trigger collection for the Nevar rules engine","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@bernierllc/nevar-types":"0.2.0","@bernierllc/retry-policy":"0.5.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.1.0","typescript":"^5.0.0","@types/jest":"^29.5.0","@types/node":"^20.0.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nevar-action-executor_0.2.1_1779157257432_0.27126603645623004","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@bernierllc/nevar-action-executor","version":"0.4.0","keywords":["nevar","rules-engine","action-executor","action-dispatch","retry"],"author":{"name":"Bernier LLC"},"license":"SEE LICENSE IN LICENSE","_id":"@bernierllc/nevar-action-executor@0.4.0","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"homepage":"https://github.com/bernierllc/tools#readme","bugs":{"url":"https://github.com/bernierllc/tools/issues"},"dist":{"shasum":"3803e1c52a6408b0fb520d55e61ecf075174688a","tarball":"https://registry.npmjs.org/@bernierllc/nevar-action-executor/-/nevar-action-executor-0.4.0.tgz","fileCount":9,"integrity":"sha512-vn5UtEPIXTDNIBLa2vv2sKJmByWrH4PsSslu2JTmcZRKYOIpO+5KiS4x8MK/PBKOoj+fW5q9viVXv/Sa0QMsyg==","signatures":[{"sig":"MEYCIQDGIu+LPHG8Had1hIMdrxKinu7+1G85d3AcKqUdUEZ+0wIhAMDZ/QXaDWbGenSkkzdIRUbBbKcc1JwICg3nni2S3ajs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14313},"main":"dist/index.js","_from":"file:bernierllc-nevar-action-executor-0.4.0.tgz","types":"dist/index.d.ts","engines":{"node":">=16.0.0"},"scripts":{"lint":"eslint src __tests__ --ext .ts","test":"jest","build":"tsc","clean":"rimraf dist","prebuild":"npm run clean","test:run":"jest","test:coverage":"jest --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:64c59b95-4118-4c50-b757-0f59923126fe"}},"_resolved":"/home/runner/work/tools/tools/packages/core/nevar-action-executor/bernierllc-nevar-action-executor-0.4.0.tgz","_integrity":"sha512-vn5UtEPIXTDNIBLa2vv2sKJmByWrH4PsSslu2JTmcZRKYOIpO+5KiS4x8MK/PBKOoj+fW5q9viVXv/Sa0QMsyg==","repository":{"url":"git+https://github.com/bernierllc/tools.git","type":"git","directory":"packages/core/nevar-action-executor"},"_npmVersion":"11.14.1","description":"Dispatches action intents to registered handlers with retry, priorResults accumulation, and deferred trigger collection for the Nevar rules engine","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@bernierllc/nevar-types":"0.3.0","@bernierllc/retry-policy":"0.6.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.0.0","rimraf":"^5.0.0","ts-jest":"^29.1.0","typescript":"^5.0.0","@types/jest":"^29.5.0","@types/node":"^20.0.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nevar-action-executor_0.4.0_1779241241203_0.4036965430285766","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@bernierllc/nevar-action-executor","version":"0.5.0","description":"Dispatches action intents to registered handlers with retry, priorResults accumulation, and deferred trigger collection for the Nevar rules engine","main":"dist/index.js","types":"dist/index.d.ts","keywords":["nevar","rules-engine","action-executor","action-dispatch","retry"],"author":{"name":"Bernier LLC"},"license":"SEE LICENSE IN LICENSE","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"engines":{"node":">=16.0.0"},"repository":{"type":"git","url":"git+https://github.com/bernierllc/tools.git","directory":"packages/core/nevar-action-executor"},"dependencies":{"@bernierllc/nevar-types":"0.4.0","@bernierllc/retry-policy":"0.7.0"},"devDependencies":{"@types/jest":"^29.5.0","@types/node":"^20.0.0","@typescript-eslint/eslint-plugin":"^6.0.0","@typescript-eslint/parser":"^6.0.0","eslint":"^8.0.0","jest":"^29.5.0","rimraf":"^5.0.0","ts-jest":"^29.1.0","typescript":"^5.0.0"},"scripts":{"build":"tsc","prebuild":"npm run clean","clean":"rimraf dist","test":"jest","test:run":"jest","test:coverage":"jest --coverage","lint":"eslint src __tests__ --ext .ts"},"_id":"@bernierllc/nevar-action-executor@0.5.0","bugs":{"url":"https://github.com/bernierllc/tools/issues"},"homepage":"https://github.com/bernierllc/tools#readme","_integrity":"sha512-QxH+BrZWI+38DEcR93UnaDoB4H+ZTK3psukc67vXRxHLn0OQaouF+7/98YELb2f0a9a3I9eNDp7QqJ3zHFFDmw==","_resolved":"/home/runner/work/tools/tools/packages/core/nevar-action-executor/bernierllc-nevar-action-executor-0.5.0.tgz","_from":"file:bernierllc-nevar-action-executor-0.5.0.tgz","_nodeVersion":"20.20.2","_npmVersion":"11.14.1","dist":{"integrity":"sha512-QxH+BrZWI+38DEcR93UnaDoB4H+ZTK3psukc67vXRxHLn0OQaouF+7/98YELb2f0a9a3I9eNDp7QqJ3zHFFDmw==","shasum":"7ea51cde070815053cebc8fbc7d60859d138a648","tarball":"https://registry.npmjs.org/@bernierllc/nevar-action-executor/-/nevar-action-executor-0.5.0.tgz","fileCount":9,"unpackedSize":14313,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFeibHQoYT6zdHcr4zZwophANCuUiTpZThLWqBEJmjcQAiBVteHPshGnh7+9yj8uXWEv92/j8/FFXghM95rueaW2WA=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:64c59b95-4118-4c50-b757-0f59923126fe"}},"directories":{},"maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nevar-action-executor_0.5.0_1779249989298_0.729248667340052"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-27T23:53:54.452Z","modified":"2026-05-20T04:06:29.579Z","0.0.1":"2026-03-27T23:53:54.723Z","0.1.0":"2026-03-30T19:08:20.162Z","0.2.0":"2026-05-18T19:45:10.496Z","0.2.1":"2026-05-19T02:20:57.574Z","0.4.0":"2026-05-20T01:40:41.363Z","0.5.0":"2026-05-20T04:06:29.446Z"},"bugs":{"url":"https://github.com/bernierllc/tools/issues"},"author":{"name":"Bernier LLC"},"license":"SEE LICENSE IN LICENSE","homepage":"https://github.com/bernierllc/tools#readme","keywords":["nevar","rules-engine","action-executor","action-dispatch","retry"],"repository":{"type":"git","url":"git+https://github.com/bernierllc/tools.git","directory":"packages/core/nevar-action-executor"},"description":"Dispatches action intents to registered handlers with retry, priorResults accumulation, and deferred trigger collection for the Nevar rules engine","maintainers":[{"name":"alikhan410","email":"mczeyo@gmail.com"},{"name":"mkbernier","email":"mkbernier@gmail.com"}],"readme":"# @bernierllc/nevar-action-executor\n\nDispatches action intents to registered handlers for the Nevar rules engine. Manages retry logic, priorResults accumulation, and deferred trigger collection.\n\n## Installation\n\n```bash\nnpm install @bernierllc/nevar-action-executor\n```\n\n## Usage\n\n```typescript\nimport { ActionExecutor, ActionHandlerLookup } from '@bernierllc/nevar-action-executor';\n\nconst executor = new ActionExecutor(registry, 'fail-fast');\nconst result = await executor.execute(intents, context);\n// result.results - Array of ActionResult for each intent\n// result.deferredTriggers - Collected deferred triggers from action outputs\n// result.durationMs - Total execution duration\n```\n\n## API\n\n### `ActionExecutor`\n\nDispatches action intents to registered handlers sequentially. Accumulates prior results so each handler can access outputs from previous actions.\n\n**Constructor:** `new ActionExecutor(registry: ActionHandlerLookup, failureMode?: ActionFailureMode)`\n\n- `registry` - Object with `get(actionType)` and `has(actionType)` methods for looking up handlers\n- `failureMode` - `'fail-fast'` (default) stops on first error, `'continue'` executes all intents regardless of errors\n\n**Methods:**\n\n- `execute(intents, context, failureModeOverride?)` - Executes action intents sequentially. Returns an `ExecutionResult` with `results: ActionResult[]`, `deferredTriggers: DeferredTrigger[]`, and `durationMs: number`. Supports per-intent retry via `ActionRetryConfig` using `@bernierllc/retry-policy`.\n\n**Throws:** `NevarActionError` if no handler is registered for an action type.\n\n### `ActionHandlerLookup` (type)\n\nInterface for looking up action handlers. Decouples the executor from the concrete registry.\n\n- `get(actionType: string): ActionHandlerDefinition | undefined`\n- `has(actionType: string): boolean`\n\n## Integration Documentation\n\n### Logger Integration\nThis package does not integrate with `@bernierllc/logger`. As a core package, logger integration is optional and not included by default. Consumers should handle logging at the service layer.\n\n### NeverHub Integration\nThis package does not integrate with `@bernierllc/neverhub-adapter`. As a core package, NeverHub integration is not applicable. NeverHub registration should be handled by service-layer packages that compose this package.\n","readmeFilename":"README.md"}