@cognipeer/agent-sdk 0.1.1 → 0.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/package.json CHANGED
@@ -1,64 +1,80 @@
1
1
  {
2
2
  "name": "@cognipeer/agent-sdk",
3
- "version": "0.1.1",
4
- "description": "Composable lightweight smart agent core (no LangGraph) with pluggable model adapters (LangChain optional).",
3
+ "version": "0.1.2",
4
+ "description": "Composable lightweight smart agent core (no LangGraph) with pluggable model adapters.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "main": "dist/index.cjs",
8
- "module": "dist/index.js",
8
+ "module": "dist/index.mjs",
9
9
  "types": "dist/index.d.ts",
10
10
  "exports": {
11
11
  ".": {
12
- "import": "./dist/index.js",
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.mjs",
13
14
  "require": "./dist/index.cjs"
14
15
  }
15
16
  },
16
17
  "files": [
17
- "dist"
18
+ "dist",
19
+ "README.md"
18
20
  ],
19
21
  "sideEffects": false,
22
+ "engines": {
23
+ "node": ">=18.17"
24
+ },
20
25
  "scripts": {
21
- "build": "tsup src/index.ts --format esm,cjs --dts --clean --sourcemap",
22
- "dev": "tsup src/index.ts --format esm,cjs --dts --watch",
26
+ "build": "tsup",
27
+ "dev": "tsup --watch",
23
28
  "lint": "eslint 'src/**/*.{ts,tsx}'",
24
- "prepare": "npm run build",
25
- "prepublishOnly": "npm run build"
29
+ "prepublishOnly": "npm run build",
30
+ "docs:dev": "vitepress dev docs",
31
+ "docs:build": "vitepress build docs",
32
+ "docs:preview": "vitepress preview docs"
33
+ },
34
+ "keywords": [
35
+ "agent",
36
+ "ai",
37
+ "llm",
38
+ "autonomous",
39
+ "openai",
40
+ "anthropic",
41
+ "sdk",
42
+ "typescript",
43
+ "cognipeer"
44
+ ],
45
+ "author": "cognipeer",
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "git+https://github.com/Cognipeer/agent-sdk.git"
26
49
  },
27
- "peerDependencies": {
28
- "@langchain/core": "^0.3.0"
50
+ "bugs": {
51
+ "url": "https://github.com/Cognipeer/agent-sdk/issues"
29
52
  },
53
+ "homepage": "https://github.com/Cognipeer/agent-sdk#readme",
30
54
  "peerDependenciesMeta": {
31
- "@langchain/core": {
32
- "optional": true
33
- },
34
55
  "openai": {
35
56
  "optional": true
36
57
  }
37
58
  },
38
59
  "dependencies": {
60
+ "ajv": "^8.17.1",
39
61
  "nanoid": "^3.3.11",
40
62
  "zod": "^3.23.8",
41
63
  "zod-to-json-schema": "^3.24.6"
42
64
  },
43
65
  "devDependencies": {
66
+ "@types/json-schema": "^7.0.15",
44
67
  "@types/node": "^22.5.4",
45
68
  "@typescript-eslint/eslint-plugin": "^8.5.0",
46
69
  "@typescript-eslint/parser": "^8.5.0",
47
70
  "eslint": "^9.9.0",
48
71
  "tsup": "^8.1.0",
49
72
  "tsx": "^4.16.2",
50
- "typescript": "^5.5.4"
73
+ "typescript": "^5.5.4",
74
+ "vitepress": "^1.5.0"
51
75
  },
52
76
  "directories": {
53
- "doc": "docs"
54
- },
55
- "repository": {
56
- "type": "git",
57
- "url": "git+https://github.com/Cognipeer/agent-sdk.git"
58
- },
59
- "author": "cognipeer",
60
- "bugs": {
61
- "url": "https://github.com/Cognipeer/agent-sdk/issues"
62
- },
63
- "homepage": "https://github.com/Cognipeer/agent-sdk#readme"
77
+ "doc": "docs",
78
+ "example": "examples"
79
+ }
64
80
  }