refactor(intent): Improve intent decoder userContext structure

This commit is contained in:
2026-07-19 11:01:06 +05:30
parent 0512be647c
commit 84bff92631
6 changed files with 102 additions and 59 deletions

42
pnpm-lock.yaml generated
View File

@@ -284,6 +284,9 @@ importers:
"@types/node":
specifier: ^20.19.43
version: 20.19.43
compromise:
specifier: ^14.16.0
version: 14.16.0
dotenv:
specifier: ^17.4.2
version: 17.4.2
@@ -4716,6 +4719,13 @@ packages:
}
engines: { node: ">= 18" }
compromise@14.16.0:
resolution:
{
integrity: sha512-4DFYl/Hl7sW4XWUDfx9S5vxqyYKpZDwwqrpXsQv5acdbVP+joKceIcIaLb0lhVWUpDBV0OnExk/o/dnYUwXnhQ==,
}
engines: { node: ">=12.0.0" }
conf@10.2.0:
resolution:
{
@@ -5388,6 +5398,13 @@ packages:
integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==,
}
efrt@2.7.0:
resolution:
{
integrity: sha512-/RInbCy1d4P6Zdfa+TMVsf/ufZVotat5hCw3QXmWtjU+3pFEOvOQ7ibo3aIxyCJw2leIeAMjmPj+1SLJiCpdrQ==,
}
engines: { node: ">=12.0.0" }
electron-to-chromium@1.5.389:
resolution:
{
@@ -6114,6 +6131,13 @@ packages:
integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==,
}
grad-school@0.0.5:
resolution:
{
integrity: sha512-rXunEHF9M9EkMydTBux7+IryYXEZinRk6g8OBOGDBzo/qWJjhTxy86i5q7lQYpCLHN8Sqv1XX3OIOc7ka2gtvQ==,
}
engines: { node: ">=8.0.0" }
groq-sdk@1.3.0:
resolution:
{
@@ -8914,6 +8938,12 @@ packages:
integrity: sha512-5Z9ZpRzfuH6l/UAvCPAPUo3665Nk2wLaZU3x+TLHKVzIz33+sbJqbtrYoC3KD4/uVOr2Zp+L0LySezP9OHV9yA==,
}
suffix-thumb@5.0.2:
resolution:
{
integrity: sha512-I5PWXAFKx3FYnI9a+dQMWNqTxoRt6vdBdb0O+BJ1sxXCWtSoQCusc13E58f+9p4MYx/qCnEMkD5jac6K2j3dgA==,
}
supports-color@10.2.2:
resolution:
{
@@ -12520,6 +12550,12 @@ snapshots:
common-ancestor-path@2.0.0: {}
compromise@14.16.0:
dependencies:
efrt: 2.7.0
grad-school: 0.0.5
suffix-thumb: 5.0.2
conf@10.2.0:
dependencies:
ajv: 8.20.0
@@ -12898,6 +12934,8 @@ snapshots:
ee-first@1.1.1: {}
efrt@2.7.0: {}
electron-to-chromium@1.5.389: {}
emoji-regex@10.6.0: {}
@@ -13379,6 +13417,8 @@ snapshots:
graceful-fs@4.2.11: {}
grad-school@0.0.5: {}
groq-sdk@1.3.0: {}
h3@1.15.11:
@@ -15488,6 +15528,8 @@ snapshots:
stylis@4.4.0: {}
suffix-thumb@5.0.2: {}
supports-color@10.2.2: {}
svgo@4.0.1: