@openclaw/ai 0.0.0 → 2026.7.1-2
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 +27 -3
- package/dist/anthropic-B5gZQM5X.mjs +1383 -0
- package/dist/api-registry-BXYnCOIR.d.mts +33 -0
- package/dist/azure-openai-responses-DNoSk8Uy.mjs +141 -0
- package/dist/azure-openai-responses-client-compat-a_O_GVQV.mjs +41 -0
- package/dist/diagnostics-BaTA9eVl.d.mts +25 -0
- package/dist/diagnostics-COpOtRwq.mjs +36 -0
- package/dist/diagnostics.d.mts +2 -0
- package/dist/diagnostics.mjs +2 -0
- package/dist/env-api-keys-CtMlqaQ4.mjs +171 -0
- package/dist/event-stream-0nZeBKl2.d.mts +26 -0
- package/dist/event-stream-ReMmOTzX.mjs +65 -0
- package/dist/event-stream.d.mts +2 -0
- package/dist/event-stream.mjs +2 -0
- package/dist/github-copilot-headers-BsH5cqGj.mjs +48 -0
- package/dist/google-D6sIQ1bL.mjs +55 -0
- package/dist/google-shared-ZPSl2qTi.mjs +548 -0
- package/dist/google-vertex-rDGwkoZK.mjs +111 -0
- package/dist/hash-CHgqbJmD.mjs +16 -0
- package/dist/headers-B_e4-1J0.mjs +9 -0
- package/dist/host-4t713IeR.mjs +37 -0
- package/dist/index-BoTnz8cv.d.mts +74 -0
- package/dist/index.d.mts +69 -0
- package/dist/index.mjs +7 -0
- package/dist/internal/anthropic.d.mts +234 -0
- package/dist/internal/anthropic.mjs +4 -0
- package/dist/internal/openai.d.mts +244 -0
- package/dist/internal/openai.mjs +7 -0
- package/dist/internal/runtime.d.mts +245 -0
- package/dist/internal/runtime.mjs +176 -0
- package/dist/internal/shared.d.mts +48 -0
- package/dist/internal/shared.mjs +3 -0
- package/dist/json-parse-DzNSIQBq.mjs +134 -0
- package/dist/llm-request-activity-CehVkZP-.mjs +35 -0
- package/dist/mistral-CePVNdws.mjs +563 -0
- package/dist/model-utils-DgmOla96.mjs +69 -0
- package/dist/openai-chatgpt-jwt-DhAAzLkj.mjs +39 -0
- package/dist/openai-chatgpt-responses-DVC4Bk_A.mjs +1068 -0
- package/dist/openai-completions-B9QLIq2U.mjs +844 -0
- package/dist/openai-responses-B6LylGxM.mjs +136 -0
- package/dist/openai-responses-shared-sj2YUPYc.mjs +1944 -0
- package/dist/openai-tool-projection-BknoV11q.mjs +195 -0
- package/dist/providers.d.mts +11 -0
- package/dist/providers.mjs +109 -0
- package/dist/reasoning-tag-text-partitioner-axhAdUwg.mjs +394 -0
- package/dist/sanitize-unicode-BZiVbGwK.d.mts +24 -0
- package/dist/sanitize-unicode-DT5o51ur.mjs +26 -0
- package/dist/src-CZ503MYJ.mjs +99 -0
- package/dist/stream-CREqxHgU.mjs +74 -0
- package/dist/stream-first-event-timeout-RjWszj8c.mjs +106 -0
- package/dist/streaming-byte-guard-BrbkbwUu.mjs +46 -0
- package/dist/tool-schema-json-projection-BXtBc_mD.mjs +74 -0
- package/dist/transform-messages-BhGF_fF4.mjs +507 -0
- package/dist/types-BVVgDSdq.d.mts +1 -0
- package/dist/types-DRgdPqaZ.d.mts +587 -0
- package/dist/types.d.mts +6 -0
- package/dist/types.mjs +5 -0
- package/dist/validation-BDMWOr8d.d.mts +9 -0
- package/dist/validation-FrchoOlv.mjs +199 -0
- package/dist/validation.d.mts +2 -0
- package/dist/validation.mjs +2 -0
- package/npm-shrinkwrap.json +645 -0
- package/package.json +74 -2
package/package.json
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/ai",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2026.7.1-2",
|
|
4
|
+
"description": "Reusable model provider adapters and streaming runtime from OpenClaw",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ai",
|
|
7
|
+
"anthropic",
|
|
8
|
+
"google",
|
|
9
|
+
"llm",
|
|
10
|
+
"mistral",
|
|
11
|
+
"openai",
|
|
12
|
+
"streaming"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://github.com/openclaw/openclaw#readme",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/openclaw/openclaw/issues"
|
|
17
|
+
},
|
|
5
18
|
"license": "MIT",
|
|
6
19
|
"repository": {
|
|
7
20
|
"type": "git",
|
|
@@ -9,9 +22,68 @@
|
|
|
9
22
|
"directory": "packages/ai"
|
|
10
23
|
},
|
|
11
24
|
"files": [
|
|
25
|
+
"dist",
|
|
26
|
+
"npm-shrinkwrap.json",
|
|
27
|
+
"LICENSE",
|
|
12
28
|
"README.md"
|
|
13
29
|
],
|
|
30
|
+
"type": "module",
|
|
31
|
+
"main": "./dist/index.mjs",
|
|
32
|
+
"types": "./dist/index.d.mts",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./dist/index.d.mts",
|
|
36
|
+
"import": "./dist/index.mjs",
|
|
37
|
+
"default": "./dist/index.mjs"
|
|
38
|
+
},
|
|
39
|
+
"./providers": {
|
|
40
|
+
"types": "./dist/providers.d.mts",
|
|
41
|
+
"import": "./dist/providers.mjs",
|
|
42
|
+
"default": "./dist/providers.mjs"
|
|
43
|
+
},
|
|
44
|
+
"./diagnostics": {
|
|
45
|
+
"types": "./dist/diagnostics.d.mts",
|
|
46
|
+
"import": "./dist/diagnostics.mjs",
|
|
47
|
+
"default": "./dist/diagnostics.mjs"
|
|
48
|
+
},
|
|
49
|
+
"./event-stream": {
|
|
50
|
+
"types": "./dist/event-stream.d.mts",
|
|
51
|
+
"import": "./dist/event-stream.mjs",
|
|
52
|
+
"default": "./dist/event-stream.mjs"
|
|
53
|
+
},
|
|
54
|
+
"./types": {
|
|
55
|
+
"types": "./dist/types.d.mts",
|
|
56
|
+
"import": "./dist/types.mjs",
|
|
57
|
+
"default": "./dist/types.mjs"
|
|
58
|
+
},
|
|
59
|
+
"./validation": {
|
|
60
|
+
"types": "./dist/validation.d.mts",
|
|
61
|
+
"import": "./dist/validation.mjs",
|
|
62
|
+
"default": "./dist/validation.mjs"
|
|
63
|
+
},
|
|
64
|
+
"./internal/*": {
|
|
65
|
+
"types": "./dist/internal/*.d.mts",
|
|
66
|
+
"import": "./dist/internal/*.mjs",
|
|
67
|
+
"default": "./dist/internal/*.mjs"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"@anthropic-ai/sdk": "0.109.1",
|
|
72
|
+
"@google/genai": "2.10.0",
|
|
73
|
+
"@mistralai/mistralai": "2.4.0",
|
|
74
|
+
"openai": "6.45.0",
|
|
75
|
+
"partial-json": "0.1.7",
|
|
76
|
+
"typebox": "1.3.3"
|
|
77
|
+
},
|
|
78
|
+
"engines": {
|
|
79
|
+
"node": ">=22.19.0"
|
|
80
|
+
},
|
|
14
81
|
"publishConfig": {
|
|
15
82
|
"access": "public"
|
|
83
|
+
},
|
|
84
|
+
"openclaw": {
|
|
85
|
+
"release": {
|
|
86
|
+
"publishToNpm": true
|
|
87
|
+
}
|
|
16
88
|
}
|
|
17
89
|
}
|