@cuylabs/agent-core 0.1.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.
@@ -0,0 +1,2 @@
1
+ export { M as MAX_BYTES, e as MAX_LINES, f as TRUNCATE_DIR, g as TRUNCATE_GLOB, a as Tool, j as ToolRegistry, l as ToolSpec, m as TruncateResult, n as defaultRegistry, o as defineTool, p as formatSize, t as truncateOutput } from '../index-eud06GDQ.js';
2
+ import 'zod';
@@ -0,0 +1,24 @@
1
+ import {
2
+ MAX_BYTES,
3
+ MAX_LINES,
4
+ TRUNCATE_DIR,
5
+ TRUNCATE_GLOB,
6
+ Tool,
7
+ ToolRegistry,
8
+ defaultRegistry,
9
+ defineTool,
10
+ formatSize,
11
+ truncateOutput
12
+ } from "../chunk-6VKLWNRE.js";
13
+ export {
14
+ MAX_BYTES,
15
+ MAX_LINES,
16
+ TRUNCATE_DIR,
17
+ TRUNCATE_GLOB,
18
+ Tool,
19
+ ToolRegistry,
20
+ defaultRegistry,
21
+ defineTool,
22
+ formatSize,
23
+ truncateOutput
24
+ };
package/package.json ADDED
@@ -0,0 +1,98 @@
1
+ {
2
+ "name": "@cuylabs/agent-core",
3
+ "version": "0.1.0",
4
+ "description": "Embeddable AI agent infrastructure - streaming, sessions, resilience, capabilities",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "default": "./dist/index.js"
13
+ },
14
+ "./tool": {
15
+ "types": "./dist/tool/index.d.ts",
16
+ "import": "./dist/tool/index.js",
17
+ "default": "./dist/tool/index.js"
18
+ }
19
+ },
20
+ "files": [
21
+ "dist",
22
+ "README.md"
23
+ ],
24
+ "scripts": {
25
+ "build": "tsup src/index.ts src/tool/index.ts --format esm --dts --clean",
26
+ "dev": "tsup src/index.ts src/tool/index.ts --format esm --dts --watch",
27
+ "test": "vitest run",
28
+ "test:watch": "vitest",
29
+ "typecheck": "tsc --noEmit",
30
+ "clean": "rm -rf dist"
31
+ },
32
+ "dependencies": {
33
+ "@ai-sdk/provider": "^3.0.7",
34
+ "ai": "^6.0.67",
35
+ "zod": "^3.24.0"
36
+ },
37
+ "peerDependencies": {
38
+ "@ai-sdk/anthropic": "^3.0.0",
39
+ "@ai-sdk/google": "^1.0.0",
40
+ "@ai-sdk/mcp": "^1.0.0",
41
+ "@ai-sdk/openai": "^3.0.0",
42
+ "@ai-sdk/openai-compatible": "^2.0.0",
43
+ "@modelcontextprotocol/sdk": "^1.0.0",
44
+ "dockerode": "^4.0.9"
45
+ },
46
+ "peerDependenciesMeta": {
47
+ "@ai-sdk/anthropic": {
48
+ "optional": true
49
+ },
50
+ "@ai-sdk/openai": {
51
+ "optional": true
52
+ },
53
+ "@ai-sdk/openai-compatible": {
54
+ "optional": true
55
+ },
56
+ "@ai-sdk/google": {
57
+ "optional": true
58
+ },
59
+ "@ai-sdk/mcp": {
60
+ "optional": true
61
+ },
62
+ "@modelcontextprotocol/sdk": {
63
+ "optional": true
64
+ },
65
+ "dockerode": {
66
+ "optional": true
67
+ }
68
+ },
69
+ "devDependencies": {
70
+ "@ai-sdk/anthropic": "^3.0.35",
71
+ "@ai-sdk/mcp": "^1.0.19",
72
+ "@ai-sdk/openai": "^3.0.25",
73
+ "@ai-sdk/openai-compatible": "^2.0.30",
74
+ "@ai-sdk/provider-utils": "^4.0.15",
75
+ "@modelcontextprotocol/sdk": "^1.26.0",
76
+ "@types/dockerode": "^3.3.47",
77
+ "@types/node": "^22.0.0",
78
+ "dotenv": "^17.2.3",
79
+ "tsup": "^8.0.0",
80
+ "tsx": "^4.21.0",
81
+ "typescript": "^5.7.0",
82
+ "vitest": "^4.0.18"
83
+ },
84
+ "keywords": [
85
+ "agent",
86
+ "ai",
87
+ "llm",
88
+ "vercel-ai-sdk",
89
+ "infrastructure"
90
+ ],
91
+ "author": "cuylabs",
92
+ "license": "Apache-2.0",
93
+ "repository": {
94
+ "type": "git",
95
+ "url": "https://github.com/cuylabs-ai/agents-ts.git",
96
+ "directory": "packages/agent-core"
97
+ }
98
+ }