@x12i/ai-gateway 9.3.5 → 9.4.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 +151 -4147
- package/dist/activity-manager.d.ts +6 -1
- package/dist/activity-manager.js +39 -48
- package/dist/ai-tools-client.js +4 -12
- package/dist/gateway-config.js +12 -1
- package/dist/gateway-utils.d.ts +22 -2
- package/dist/gateway-utils.js +148 -27
- package/dist/gateway.js +12 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.js +3 -19
- package/dist/types.d.ts +36 -2
- package/dist-cjs/activity-manager.cjs +39 -48
- package/dist-cjs/activity-manager.d.ts +6 -1
- package/dist-cjs/ai-tools-client.cjs +4 -12
- package/dist-cjs/gateway-config.cjs +12 -1
- package/dist-cjs/gateway-utils.cjs +148 -27
- package/dist-cjs/gateway-utils.d.ts +22 -2
- package/dist-cjs/gateway.cjs +12 -1
- package/dist-cjs/index.cjs +3 -19
- package/dist-cjs/index.d.ts +4 -3
- package/dist-cjs/types.d.ts +36 -2
- package/package.json +9 -36
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x12i/ai-gateway",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.4.0",
|
|
4
4
|
"description": "AI Gateway - Unified interface for LLM provider routing and management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -19,39 +19,16 @@
|
|
|
19
19
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
20
20
|
"rename:cjs": "node scripts/rename-cjs.cjs",
|
|
21
21
|
"verify:cjs": "node scripts/verify-cjs-deps.cjs",
|
|
22
|
-
"copy:defaults": "node -
|
|
22
|
+
"copy:defaults": "node scripts/copy-defaults.cjs",
|
|
23
23
|
"prepublishOnly": "rimraf dist dist-cjs && npm run build",
|
|
24
24
|
"prepack": "rimraf dist dist-cjs && npm run build",
|
|
25
25
|
"test": "node .tests/run-all.js",
|
|
26
|
-
"test:
|
|
27
|
-
"test:
|
|
28
|
-
"test:memory": "node .tests/working-memory.test.js",
|
|
29
|
-
"test:types": "node .tests/generic-types.test.js",
|
|
30
|
-
"test:compile": "tsc -p tsconfig.test.json",
|
|
31
|
-
"test:object-types": "npm run test:compile && node .tests-compiled/.tests/object-types.test.js",
|
|
32
|
-
"test:real": "npm run test:compile && node .tests-compiled/.tests/test.js",
|
|
33
|
-
"test:real:comprehensive": "npm run test:real && npm test",
|
|
34
|
-
"test:custom-instructions": "npm run test:compile && node .tests-compiled/.tests/test-custom-instructions-only.js",
|
|
35
|
-
"test:diagnostic": "tsc -p tsconfig.test.json && node .tests-compiled/.tests/diagnostic-test.js",
|
|
36
|
-
"test:config": "node .tests/config-overrides.test.js",
|
|
37
|
-
"test:multi": "node .tests/multi-provider.test.js",
|
|
38
|
-
"test:activities": "node .tests/ai-activities.test.js",
|
|
39
|
-
"test:activities:standalone": "node .tests/test-activities-standalone.js",
|
|
40
|
-
"test:focused": "npm run test:compile && node .tests-compiled/.tests/focused-scenarios.test.js",
|
|
41
|
-
"test:compile:db": "npx tsc .tests/database-verification.test.ts --outDir .tests-compiled --module commonjs --target ES2020 --esModuleInterop --skipLibCheck --resolveJsonModule",
|
|
42
|
-
"test:db-verification": "npm run test:compile:db && cross-env ACTIVITY_TRACKING_ENABLE_LOGGING=true node .tests-compiled/database-verification.test.js",
|
|
43
|
-
"test:template-parsing": "npm run test:compile && node .tests-compiled/template-parsing-full.test.js",
|
|
44
|
-
"test:template-features": "npm run test:compile && node .tests-compiled/template-parsing-features.test.js",
|
|
45
|
-
"test:schema-format": "npm run test:compile && node .tests-compiled/simple-schema-format.test.js",
|
|
46
|
-
"test:object-enrichment": "npm run test:compile && node .tests-compiled/object-types-enrichment.test.js",
|
|
47
|
-
"test:erc": "npm run test:compile && node .tests-compiled/.tests/erc-compliance.test.js",
|
|
26
|
+
"test:ai-tools": "tsx .tests/ai-tools-gateway.test.ts",
|
|
27
|
+
"test:ai-tools:live": "tsx .tests/ai-tools-live.test.ts",
|
|
48
28
|
"test:flex-md-parsing": "tsx .tests/flex-md-parsing-scenarios.test.ts",
|
|
49
29
|
"test:flex-md-esm-regression": "npm run build:esm && node .tests/flex-md-esm-regression.test.mjs",
|
|
50
|
-
"test:
|
|
51
|
-
"test:
|
|
52
|
-
"test:ai-tools:live": "tsx .tests/ai-tools-live.test.ts",
|
|
53
|
-
"test:live": "npm run test:ai-tools:live && npm run test:openai",
|
|
54
|
-
"test:prepublish": "npm run build && npm test && npm run test:ai-tools && npm run test:live",
|
|
30
|
+
"test:live": "npm run test:ai-tools:live",
|
|
31
|
+
"test:prepublish": "npm run build && npm test",
|
|
55
32
|
"deps:latest": "npx npm-check-updates -u && npm install"
|
|
56
33
|
},
|
|
57
34
|
"keywords": [
|
|
@@ -64,12 +41,9 @@
|
|
|
64
41
|
"author": "x12i",
|
|
65
42
|
"license": "mit",
|
|
66
43
|
"dependencies": {
|
|
67
|
-
"@
|
|
68
|
-
"@x12i/activix": "^7.1.2",
|
|
44
|
+
"@x12i/activix": "^7.2.0",
|
|
69
45
|
"@x12i/ai-providers-router": "^4.8.0",
|
|
70
|
-
"@x12i/ai-tools": "^
|
|
71
|
-
"@x12i/catalox": "^4.2.0",
|
|
72
|
-
"@x12i/env": "^4.0.1",
|
|
46
|
+
"@x12i/ai-tools": "^2.0.0",
|
|
73
47
|
"@x12i/flex-md": "^4.8.0",
|
|
74
48
|
"@x12i/logxer": "^4.3.5",
|
|
75
49
|
"@x12i/rendrix": "^4.3.0"
|
|
@@ -87,8 +61,7 @@
|
|
|
87
61
|
"dist",
|
|
88
62
|
"dist-cjs",
|
|
89
63
|
"config.defaults.json",
|
|
90
|
-
"README.md"
|
|
91
|
-
"CONTENT_RESOLVER_UPSTREAM_GUIDE.md"
|
|
64
|
+
"README.md"
|
|
92
65
|
],
|
|
93
66
|
"repository": {
|
|
94
67
|
"type": "git",
|