@lov3kaizen/agentsea-gateway 0.5.1
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/LICENSE +21 -0
- package/README.md +298 -0
- package/dist/index.d.mts +759 -0
- package/dist/index.d.ts +759 -0
- package/dist/index.js +3592 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +3541 -0
- package/dist/index.mjs.map +1 -0
- package/dist/integrations/nestjs/index.d.mts +4 -0
- package/dist/integrations/nestjs/index.d.ts +4 -0
- package/dist/integrations/nestjs/index.js +10 -0
- package/dist/integrations/nestjs/index.js.map +1 -0
- package/dist/integrations/nestjs/index.mjs +7 -0
- package/dist/integrations/nestjs/index.mjs.map +1 -0
- package/package.json +89 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/integrations/nestjs/index.ts"],"names":[],"mappings":";;;AAUO,IAAM,aAAA,GAAgB;AACtB,IAAM,UAAA,GAAa","file":"index.js","sourcesContent":["/**\n * NestJS Integration for AgentSea Gateway\n *\n * This module will provide NestJS decorators and modules\n * for integrating the gateway into NestJS applications.\n *\n * Coming in Phase 4!\n */\n\n// Placeholder exports - will be implemented in Phase 4\nexport const GatewayModule = null;\nexport const UseGateway = null;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/integrations/nestjs/index.ts"],"names":[],"mappings":";AAUO,IAAM,aAAA,GAAgB;AACtB,IAAM,UAAA,GAAa","file":"index.mjs","sourcesContent":["/**\n * NestJS Integration for AgentSea Gateway\n *\n * This module will provide NestJS decorators and modules\n * for integrating the gateway into NestJS applications.\n *\n * Coming in Phase 4!\n */\n\n// Placeholder exports - will be implemented in Phase 4\nexport const GatewayModule = null;\nexport const UseGateway = null;\n"]}
|
package/package.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lov3kaizen/agentsea-gateway",
|
|
3
|
+
"version": "0.5.1",
|
|
4
|
+
"description": "High-performance TypeScript-native LLM gateway with unified API access, intelligent routing, semantic caching, and cost optimization",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"llm",
|
|
7
|
+
"gateway",
|
|
8
|
+
"proxy",
|
|
9
|
+
"openai",
|
|
10
|
+
"anthropic",
|
|
11
|
+
"gemini",
|
|
12
|
+
"router",
|
|
13
|
+
"caching",
|
|
14
|
+
"rate-limiting",
|
|
15
|
+
"ai",
|
|
16
|
+
"typescript"
|
|
17
|
+
],
|
|
18
|
+
"author": "LoveKaizen",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/lovekaizen/agentsea",
|
|
23
|
+
"directory": "packages/gateway"
|
|
24
|
+
},
|
|
25
|
+
"main": "./dist/index.js",
|
|
26
|
+
"module": "./dist/index.mjs",
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"require": "./dist/index.js",
|
|
32
|
+
"import": "./dist/index.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./nestjs": {
|
|
35
|
+
"types": "./dist/integrations/nestjs/index.d.ts",
|
|
36
|
+
"require": "./dist/integrations/nestjs/index.js",
|
|
37
|
+
"import": "./dist/integrations/nestjs/index.mjs"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"files": [
|
|
41
|
+
"dist",
|
|
42
|
+
"README.md"
|
|
43
|
+
],
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"hono": "^4.6.0",
|
|
46
|
+
"@hono/node-server": "^1.13.0",
|
|
47
|
+
"tiktoken": "^1.0.18",
|
|
48
|
+
"pino": "^9.5.0",
|
|
49
|
+
"pino-pretty": "^13.0.0",
|
|
50
|
+
"lru-cache": "^11.0.0",
|
|
51
|
+
"murmurhash": "^2.0.1"
|
|
52
|
+
},
|
|
53
|
+
"peerDependencies": {
|
|
54
|
+
"@lov3kaizen/agentsea-core": ">=0.5.0"
|
|
55
|
+
},
|
|
56
|
+
"peerDependenciesMeta": {
|
|
57
|
+
"@lov3kaizen/agentsea-core": {
|
|
58
|
+
"optional": true
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@types/node": "^22.9.0",
|
|
63
|
+
"tsup": "^8.3.5",
|
|
64
|
+
"typescript": "^5.6.3",
|
|
65
|
+
"vitest": "^2.1.4"
|
|
66
|
+
},
|
|
67
|
+
"optionalDependencies": {
|
|
68
|
+
"ioredis": "^5.4.0",
|
|
69
|
+
"@opentelemetry/api": "^1.9.0",
|
|
70
|
+
"@opentelemetry/sdk-node": "^0.56.0",
|
|
71
|
+
"prom-client": "^15.1.0"
|
|
72
|
+
},
|
|
73
|
+
"engines": {
|
|
74
|
+
"node": ">=20.0.0"
|
|
75
|
+
},
|
|
76
|
+
"publishConfig": {
|
|
77
|
+
"access": "public"
|
|
78
|
+
},
|
|
79
|
+
"scripts": {
|
|
80
|
+
"build": "tsup",
|
|
81
|
+
"dev": "tsup --watch",
|
|
82
|
+
"test": "vitest run",
|
|
83
|
+
"test:watch": "vitest",
|
|
84
|
+
"test:coverage": "vitest run --coverage",
|
|
85
|
+
"type-check": "tsc --noEmit",
|
|
86
|
+
"lint": "eslint src --ext .ts",
|
|
87
|
+
"clean": "rm -rf dist"
|
|
88
|
+
}
|
|
89
|
+
}
|