@jeffusion/bungee-llms 3.2.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 +38 -0
- package/dist/adapter.d.ts +1 -0
- package/dist/core/adapter.d.ts +10 -0
- package/dist/core/conversion-service.d.ts +14 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/registry.d.ts +10 -0
- package/dist/core/types.d.ts +40 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +6597 -0
- package/dist/openai/index.d.ts +1 -0
- package/dist/openai/openai-protocol-conversion.d.ts +1 -0
- package/dist/openai-anthropic/index.d.ts +1 -0
- package/dist/openai-anthropic/openai-to-anthropic-request-conversion.d.ts +1 -0
- package/dist/plugin-api.d.ts +4 -0
- package/dist/plugin-api.js +6596 -0
- package/dist/protocol-converters/anthropic-to-gemini.converter.d.ts +62 -0
- package/dist/protocol-converters/anthropic-to-openai.converter.d.ts +105 -0
- package/dist/protocol-converters/base.d.ts +27 -0
- package/dist/protocol-converters/default-registry.d.ts +1 -0
- package/dist/protocol-converters/gemini-to-anthropic.converter.d.ts +57 -0
- package/dist/protocol-converters/gemini-to-openai.converter.d.ts +31 -0
- package/dist/protocol-converters/index.d.ts +10 -0
- package/dist/protocol-converters/openai-to-anthropic.converter.d.ts +27 -0
- package/dist/protocol-converters/openai-to-gemini.converter.d.ts +32 -0
- package/dist/protocol-converters/registry.d.ts +9 -0
- package/dist/protocol-converters/utils.d.ts +71 -0
- package/dist/providers/anthropic/anthropic-adapter.d.ts +16 -0
- package/dist/providers/anthropic/index.d.ts +1 -0
- package/dist/providers/index.d.ts +4 -0
- package/dist/providers/openai/index.d.ts +3 -0
- package/dist/providers/openai/messages-compat-normalization.d.ts +42 -0
- package/dist/providers/openai/openai-adapter.d.ts +16 -0
- package/dist/providers/openai/protocol-conversion.d.ts +27 -0
- package/dist/providers/openai-anthropic/index.d.ts +1 -0
- package/dist/providers/openai-anthropic/request-conversion.d.ts +20 -0
- package/dist/providers/provider-catalog.d.ts +26 -0
- package/dist/registry.d.ts +1 -0
- package/dist/runtime/index.d.ts +1 -0
- package/dist/runtime/llms-runtime.d.ts +30 -0
- package/dist/service.d.ts +1 -0
- package/dist/types.d.ts +1 -0
- package/package.json +76 -0
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@jeffusion/bungee-llms",
|
|
3
|
+
"version": "3.2.0",
|
|
4
|
+
"description": "Extensible LLM adapters and protocol conversion package for Bungee",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"dev": "bun --watch src/index.ts",
|
|
9
|
+
"build": "bun build src/index.ts src/plugin-api.ts --outdir dist --target bun && tsc -p tsconfig.build.json",
|
|
10
|
+
"test": "echo 'No tests for llms package yet'",
|
|
11
|
+
"prepublishOnly": "bun run build"
|
|
12
|
+
},
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"@jeffusion/bungee-types": "workspace:*"
|
|
15
|
+
},
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"bun-types": "^1.3.2",
|
|
18
|
+
"typescript": "^5.7.2"
|
|
19
|
+
},
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"default": "./dist/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./core": {
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"default": "./dist/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./providers": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"default": "./dist/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./runtime": {
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
35
|
+
"default": "./dist/index.js"
|
|
36
|
+
},
|
|
37
|
+
"./openai": {
|
|
38
|
+
"types": "./dist/index.d.ts",
|
|
39
|
+
"default": "./dist/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./openai-anthropic": {
|
|
42
|
+
"types": "./dist/index.d.ts",
|
|
43
|
+
"default": "./dist/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./types": {
|
|
46
|
+
"types": "./dist/index.d.ts",
|
|
47
|
+
"default": "./dist/index.js"
|
|
48
|
+
},
|
|
49
|
+
"./adapter": {
|
|
50
|
+
"types": "./dist/index.d.ts",
|
|
51
|
+
"default": "./dist/index.js"
|
|
52
|
+
},
|
|
53
|
+
"./registry": {
|
|
54
|
+
"types": "./dist/index.d.ts",
|
|
55
|
+
"default": "./dist/index.js"
|
|
56
|
+
},
|
|
57
|
+
"./service": {
|
|
58
|
+
"types": "./dist/index.d.ts",
|
|
59
|
+
"default": "./dist/index.js"
|
|
60
|
+
},
|
|
61
|
+
"./plugin-api": {
|
|
62
|
+
"types": "./dist/plugin-api.d.ts",
|
|
63
|
+
"default": "./dist/plugin-api.js"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"files": [
|
|
67
|
+
"dist/",
|
|
68
|
+
"README.md"
|
|
69
|
+
],
|
|
70
|
+
"repository": {
|
|
71
|
+
"type": "git",
|
|
72
|
+
"url": "https://github.com/jeffusion/bungee",
|
|
73
|
+
"directory": "packages/llms"
|
|
74
|
+
},
|
|
75
|
+
"license": "MIT"
|
|
76
|
+
}
|