@theoremjs/agents 0.3.4-next.823.ga9dd146 → 0.3.4-next.827.gdc3858d

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.
@@ -7,8 +7,8 @@ const SSN = /\b\d{3}-\d{2}-\d{4}\b/g;
7
7
  const SSN_CONTEXTUAL = /(?:SSN|social\s*security(?:\s*number)?)[:\s]+\d(?:[-\s]*\d){8}/gi;
8
8
  const ITIN = /\b9\d{2}-\d{2}-\d{4}\b/g;
9
9
  const EIN = /\b\d{2}-\d{7}\b/g;
10
- /** An SSN, ITIN, or EIN in any 9-digit form, right after a field name that says which. */
11
- const ID_KEYED = /(?<!\p{L})(?:ssn|social[\s_-]*security(?:[\s_-]*number)?|tax[\s_-]*(?:payer[\s_-]*)?id(?:entification)?(?:[\s_-]*(?:number|no))?|taxpayer[\s_-]*id(?:entification)?(?:[\s_-]*number)?|itin|tin|ein|employer[\s_-]*identification[\s_-]*number)[\s"'\x60*:=>#\\]{0,10}(?:\d{3}[- ]?\d{2}[- ]?\d{4}|\d{2}-?\d{7})(?!\d)/giu;
10
+ /** An SSN, ITIN, or EIN in any 9-digit form, after a field name that says which and up to three words. */
11
+ const ID_KEYED = /(?<!\p{L})(?:ssn|social[\s_-]*security(?:[\s_-]*number)?|tax[\s_-]*(?:payer[\s_-]*)?id(?:entification)?(?:[\s_-]*(?:number|no))?|taxpayer[\s_-]*id(?:entification)?(?:[\s_-]*number)?|itin|tin|ein|employer[\s_-]*identification[\s_-]*number)[\s"'\x60*:=>#\\.]{0,10}(?:[a-z]{1,12}[\s"'\x60*:=>#\\.]{1,4}){0,3}(?:\d{3}[- ]?\d{2}[- ]?\d{4}|\d{2}-?\d{7})(?!\d)/giu;
12
12
  /** An IBAN written as one run, or in the printed groups of four. */
13
13
  const IBAN = /\b[A-Z]{2}\d{2}(?:[A-Z0-9]{11,30}|(?: [A-Z0-9]{4}){2,7}(?: [A-Z0-9]{1,4})?)\b/g;
14
14
  const IPV4 = /\b(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\b/g;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theoremjs/agents",
3
- "version": "0.3.4-next.823.ga9dd146",
3
+ "version": "0.3.4-next.827.gdc3858d",
4
4
  "description": "A flat TypeScript agent kernel for typed profiles, deterministic turn execution, registered tools, provider adapters, guardrails, and host-injected traces.",
5
5
  "keywords": [
6
6
  "agent",