@o-lang/olang 1.2.38 → 1.3.0-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -106,4 +106,14 @@ async function execute(workflow, inputs, agentResolver, verbose = false) {
106
106
  return result;
107
107
  }
108
108
 
109
- module.exports = { execute, parse };
109
+ // ── Standalone PII redaction helper ──────────────────────────────────────────
110
+ // Exposes kernel redaction without running a full workflow.
111
+ // Usage: const { redacted, redactions } = redact(userInput);
112
+
113
+ function redact(text) {
114
+ const rt = new RuntimeAPI({ verbose: false });
115
+ return rt.redact(text);
116
+ }
117
+
118
+
119
+ module.exports = { execute, parse, redact };