avantgate 1.0.0 → 1.1.0
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.
- package/README.md +384 -287
- package/dist/chunk-CO26LNFD.mjs +521 -0
- package/dist/finance/index.d.mts +76 -0
- package/dist/finance/index.d.ts +76 -0
- package/dist/finance/index.js +536 -0
- package/dist/finance/index.mjs +20 -0
- package/dist/index.d.mts +127 -3
- package/dist/index.d.ts +127 -3
- package/dist/index.js +929 -13
- package/dist/index.mjs +460 -48
- package/dist/strategy.interface-CB4_ZAuk.d.mts +16 -0
- package/dist/strategy.interface-CB4_ZAuk.d.ts +16 -0
- package/package.json +67 -55
package/package.json
CHANGED
|
@@ -1,55 +1,67 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "avantgate",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Zero-infrastructure, in-process LLM control plane: real-time cost control, token budgets, PII redaction, prompt guardrails, and multi-model failover without hosting servers.",
|
|
5
|
-
"author": "Antigravity & LexTalk Team",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"keywords": [
|
|
8
|
-
"avantgate",
|
|
9
|
-
"llm",
|
|
10
|
-
"ai",
|
|
11
|
-
"cost-control",
|
|
12
|
-
"token-budget",
|
|
13
|
-
"guardrails",
|
|
14
|
-
"langfuse-alternative",
|
|
15
|
-
"failover",
|
|
16
|
-
"pii-redaction",
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "avantgate",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "Zero-infrastructure, in-process LLM control plane: real-time cost control, token budgets, PII redaction, prompt guardrails, and multi-model failover without hosting servers.",
|
|
5
|
+
"author": "Antigravity & LexTalk Team",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"avantgate",
|
|
9
|
+
"llm",
|
|
10
|
+
"ai",
|
|
11
|
+
"cost-control",
|
|
12
|
+
"token-budget",
|
|
13
|
+
"guardrails",
|
|
14
|
+
"langfuse-alternative",
|
|
15
|
+
"failover",
|
|
16
|
+
"pii-redaction",
|
|
17
|
+
"finance",
|
|
18
|
+
"accounting",
|
|
19
|
+
"prompt-builder",
|
|
20
|
+
"prompt-template",
|
|
21
|
+
"deepseek",
|
|
22
|
+
"mistral",
|
|
23
|
+
"openai",
|
|
24
|
+
"zod"
|
|
25
|
+
],
|
|
26
|
+
"main": "./dist/index.js",
|
|
27
|
+
"module": "./dist/index.mjs",
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"import": "./dist/index.mjs",
|
|
33
|
+
"require": "./dist/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./finance": {
|
|
36
|
+
"types": "./dist/finance/index.d.ts",
|
|
37
|
+
"import": "./dist/finance/index.mjs",
|
|
38
|
+
"require": "./dist/finance/index.js"
|
|
39
|
+
},
|
|
40
|
+
"./package.json": "./package.json"
|
|
41
|
+
},
|
|
42
|
+
"files": [
|
|
43
|
+
"dist",
|
|
44
|
+
"README.md",
|
|
45
|
+
"LICENSE"
|
|
46
|
+
],
|
|
47
|
+
"scripts": {
|
|
48
|
+
"build": "tsup src/index.ts src/finance/index.ts --format cjs --format esm --dts --clean",
|
|
49
|
+
"test": "tsx tests/avantgate.test.ts && tsx tests/financial-normalizer.test.ts && tsx tests/prompt-builder.test.ts && tsx tests/pii-extended.test.ts",
|
|
50
|
+
"test:finance": "tsx tests/financial-normalizer.test.ts",
|
|
51
|
+
"test:prompts": "tsx tests/prompt-builder.test.ts",
|
|
52
|
+
"test:pii": "tsx tests/pii-extended.test.ts",
|
|
53
|
+
"lint": "tsc --noEmit",
|
|
54
|
+
"prepublishOnly": "npm run build && npm test"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"zod": "^3.23.0 || ^4.0.0"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"tsup": "^8.3.5",
|
|
61
|
+
"tsx": "^4.19.0",
|
|
62
|
+
"typescript": "^5.4.0"
|
|
63
|
+
},
|
|
64
|
+
"publishConfig": {
|
|
65
|
+
"access": "public"
|
|
66
|
+
}
|
|
67
|
+
}
|