mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-22 18:35:21 -06:00
c3887db7c1
* feat: add xAI Responses compact endpoint * docs: explain xAI server-side compaction * refactor: persist server compaction via session manager * refactor: simplify server compaction results * fix: preserve server compaction result kind * test: satisfy server compaction CI contracts * fix(xai): prepare server compaction requests * refactor(ai): extract prepared compaction request * fix(xai): preserve compaction fallback semantics * test(xai): use the stream function type owner * fix(xai): enable compact endpoint for provider alias
129 lines
3.6 KiB
JSON
129 lines
3.6 KiB
JSON
{
|
|
"name": "@openclaw/ai",
|
|
"version": "2026.8.1",
|
|
"description": "Reusable model provider adapters and streaming runtime from OpenClaw",
|
|
"keywords": [
|
|
"ai",
|
|
"anthropic",
|
|
"google",
|
|
"llm",
|
|
"mistral",
|
|
"openai",
|
|
"streaming"
|
|
],
|
|
"homepage": "https://github.com/openclaw/openclaw#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/openclaw/openclaw/issues"
|
|
},
|
|
"license": "MIT",
|
|
"author": "OpenClaw Foundation (https://openclaw.org)",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/openclaw/openclaw.git",
|
|
"directory": "packages/ai"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"LICENSE",
|
|
"README.md"
|
|
],
|
|
"type": "module",
|
|
"main": "./dist/index.mjs",
|
|
"types": "./dist/index.d.mts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"import": "./dist/index.mjs",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./providers": {
|
|
"types": "./dist/providers.d.mts",
|
|
"import": "./dist/providers.mjs",
|
|
"default": "./dist/providers.mjs"
|
|
},
|
|
"./transports": {
|
|
"types": "./dist/transports.d.mts",
|
|
"import": "./dist/transports.mjs",
|
|
"default": "./dist/transports.mjs"
|
|
},
|
|
"./diagnostics": {
|
|
"types": "./dist/diagnostics.d.mts",
|
|
"import": "./dist/diagnostics.mjs",
|
|
"default": "./dist/diagnostics.mjs"
|
|
},
|
|
"./event-stream": {
|
|
"types": "./dist/event-stream.d.mts",
|
|
"import": "./dist/event-stream.mjs",
|
|
"default": "./dist/event-stream.mjs"
|
|
},
|
|
"./types": {
|
|
"types": "./dist/types.d.mts",
|
|
"import": "./dist/types.mjs",
|
|
"default": "./dist/types.mjs"
|
|
},
|
|
"./provider-types": {
|
|
"types": "./dist/provider-types.d.mts",
|
|
"import": "./dist/provider-types.mjs",
|
|
"default": "./dist/provider-types.mjs"
|
|
},
|
|
"./validation": {
|
|
"types": "./dist/validation.d.mts",
|
|
"import": "./dist/validation.mjs",
|
|
"default": "./dist/validation.mjs"
|
|
},
|
|
"./internal/anthropic": {
|
|
"types": "./dist/internal/anthropic.d.mts",
|
|
"import": "./dist/internal/anthropic.mjs",
|
|
"default": "./dist/internal/anthropic.mjs"
|
|
},
|
|
"./internal/openai": {
|
|
"types": "./dist/internal/openai.d.mts",
|
|
"import": "./dist/internal/openai.mjs",
|
|
"default": "./dist/internal/openai.mjs"
|
|
},
|
|
"./internal/openai-responses-payload-policy": {
|
|
"types": "./dist/internal/openai-responses-payload-policy.d.mts",
|
|
"import": "./dist/internal/openai-responses-payload-policy.mjs",
|
|
"default": "./dist/internal/openai-responses-payload-policy.mjs"
|
|
},
|
|
"./internal/retry-after": {
|
|
"types": "./dist/internal/retry-after.d.mts",
|
|
"import": "./dist/internal/retry-after.mjs",
|
|
"default": "./dist/internal/retry-after.mjs"
|
|
},
|
|
"./internal/runtime": {
|
|
"types": "./dist/internal/runtime.d.mts",
|
|
"import": "./dist/internal/runtime.mjs",
|
|
"default": "./dist/internal/runtime.mjs"
|
|
},
|
|
"./internal/shared": {
|
|
"types": "./dist/internal/shared.d.mts",
|
|
"import": "./dist/internal/shared.mjs",
|
|
"default": "./dist/internal/shared.mjs"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "0.115.0",
|
|
"@google/genai": "2.13.0",
|
|
"@mistralai/mistralai": "2.5.0",
|
|
"openai": "6.49.0",
|
|
"partial-json": "0.1.7",
|
|
"typebox": "1.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@openclaw/model-catalog-core": "workspace:*",
|
|
"@openclaw/normalization-core": "workspace:*"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.19.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"openclaw": {
|
|
"release": {
|
|
"publishToNpm": true
|
|
}
|
|
}
|
|
}
|