@mcp-abap-adt/llm-agent-server 12.0.0 → 12.0.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.
Files changed (2) hide show
  1. package/README.md +11 -2
  2. package/package.json +6 -24
package/README.md CHANGED
@@ -1,8 +1,17 @@
1
1
  # @mcp-abap-adt/llm-agent-server
2
2
 
3
- Default SmartAgent implementation plus LLM providers, MCP client, HTTP server, and CLI. Depends on `@mcp-abap-adt/llm-agent` (core).
3
+ Runnable distribution of SmartAgent (CLI + HTTP server). **Binary-only.**
4
4
 
5
- Install this package when you want the out-of-the-box agent without writing your own pipeline. Install only `@mcp-abap-adt/llm-agent` when you're writing a custom agent on our interfaces.
5
+ ## Library imports are not supported
6
+
7
+ Importing from `@mcp-abap-adt/llm-agent-server` as a library is not supported as of 12.0.1. Composition surface lives elsewhere:
8
+
9
+ - `@mcp-abap-adt/llm-agent-libs` — `SmartAgentBuilder`, `SessionManager`, `makeLlm`, `InMemoryMetrics`, etc.
10
+ - `@mcp-abap-adt/llm-agent-mcp` — `MCPClientWrapper`, `McpClientAdapter`, connection strategies.
11
+ - `@mcp-abap-adt/llm-agent-rag` — `makeRag`, `resolveEmbedder`, prefetch helpers.
12
+ - `@mcp-abap-adt/llm-agent` — interfaces and DTOs (`IMetrics`, `IRag`, `Message`, etc.).
13
+
14
+ (... existing binary documentation continues below ...)
6
15
 
7
16
  ## CLIs shipped
8
17
 
package/package.json CHANGED
@@ -1,36 +1,15 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/llm-agent-server",
3
- "version": "12.0.0",
3
+ "version": "12.0.2",
4
4
  "description": "Default SmartAgent implementation with LLM providers, MCP client, HTTP server, and CLI.",
5
5
  "type": "module",
6
- "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
8
6
  "bin": {
9
7
  "llm-agent": "bin/llm-agent",
10
8
  "llm-agent-check": "bin/llm-agent-check",
11
9
  "claude-via-agent": "tools/claude-via-agent.sh"
12
10
  },
13
11
  "exports": {
14
- ".": {
15
- "types": "./dist/index.d.ts",
16
- "import": "./dist/index.js",
17
- "default": "./dist/index.js"
18
- },
19
- "./testing": {
20
- "types": "./dist/smart-agent/testing/index.d.ts",
21
- "import": "./dist/smart-agent/testing/index.js",
22
- "default": "./dist/smart-agent/testing/index.js"
23
- },
24
- "./smart-server": {
25
- "types": "./dist/smart-agent/smart-server.d.ts",
26
- "import": "./dist/smart-agent/smart-server.js",
27
- "default": "./dist/smart-agent/smart-server.js"
28
- },
29
- "./otel": {
30
- "types": "./dist/smart-agent/otel/index.d.ts",
31
- "import": "./dist/smart-agent/otel/index.js",
32
- "default": "./dist/smart-agent/otel/index.js"
33
- }
12
+ "./package.json": "./package.json"
34
13
  },
35
14
  "files": [
36
15
  "dist",
@@ -44,7 +23,7 @@
44
23
  "build": "tsc -p tsconfig.json",
45
24
  "clean": "tsc -p tsconfig.json --clean",
46
25
  "test": "node --import tsx/esm --test --test-reporter=spec 'src/**/*.test.ts'",
47
- "test:adapters": "node --import tsx/esm --test --test-reporter=spec src/smart-agent/adapters/__tests__/llm-adapter.test.ts src/smart-agent/adapters/__tests__/mcp-client-adapter.test.ts",
26
+ "test:adapters": "node --import tsx/esm --test --test-reporter=spec src/smart-agent/adapters/__tests__/llm-adapter.test.ts",
48
27
  "test:server": "node --import tsx/esm --test --test-reporter=spec src/smart-agent/__tests__/server.test.ts",
49
28
  "smoke:adapters": "tsx src/smoke-adapters.ts",
50
29
  "start": "node dist/smart-agent/cli.js",
@@ -55,6 +34,9 @@
55
34
  },
56
35
  "dependencies": {
57
36
  "@mcp-abap-adt/llm-agent": "*",
37
+ "@mcp-abap-adt/llm-agent-libs": "*",
38
+ "@mcp-abap-adt/llm-agent-mcp": "*",
39
+ "@mcp-abap-adt/llm-agent-rag": "*",
58
40
  "@modelcontextprotocol/sdk": "^1.28.0",
59
41
  "dotenv": "^17.3.1",
60
42
  "yaml": "^2.8.3",