@bernierllc/ai-provider-anthropic 1.0.0 → 1.0.1
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/CHANGELOG.md +9 -0
- package/jest.config.js +2 -2
- package/package.json +19 -15
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# @bernierllc/ai-provider-anthropic
|
|
2
|
+
|
|
3
|
+
## 1.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`24899fa`](https://github.com/bernierllc/tools/commit/24899fa4eaf80ae329f7bd74483cf97a132f5d4c)]:
|
|
8
|
+
- @bernierllc/logger@1.0.4
|
|
9
|
+
- @bernierllc/ai-provider-core@1.0.2
|
package/jest.config.js
CHANGED
|
@@ -8,7 +8,8 @@ Redistribution or use in other products or commercial offerings is not permitted
|
|
|
8
8
|
|
|
9
9
|
module.exports = {
|
|
10
10
|
preset: 'ts-jest',
|
|
11
|
-
|
|
11
|
+
// Use fixed environment to handle Node.js v25+ localStorage issue
|
|
12
|
+
testEnvironment: '<rootDir>/../../../jest-environment-node-fixed.cjs',
|
|
12
13
|
roots: ['<rootDir>/__tests__'],
|
|
13
14
|
testMatch: ['**/__tests__/**/*.test.ts'],
|
|
14
15
|
collectCoverageFrom: [
|
|
@@ -26,5 +27,4 @@ module.exports = {
|
|
|
26
27
|
},
|
|
27
28
|
coverageDirectory: 'coverage',
|
|
28
29
|
verbose: true,
|
|
29
|
-
testTimeout: 30000
|
|
30
30
|
};
|
package/package.json
CHANGED
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bernierllc/ai-provider-anthropic",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Anthropic Claude API adapter implementing the unified AI provider interface",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "tsc",
|
|
9
|
-
"test": "jest --watch",
|
|
10
|
-
"test:run": "jest",
|
|
11
|
-
"test:coverage": "jest --coverage",
|
|
12
|
-
"lint": "eslint src --ext .ts",
|
|
13
|
-
"clean": "rm -rf dist"
|
|
14
|
-
},
|
|
15
7
|
"keywords": [
|
|
16
8
|
"ai",
|
|
17
9
|
"provider",
|
|
@@ -26,12 +18,11 @@
|
|
|
26
18
|
"license": "SEE LICENSE IN LICENSE",
|
|
27
19
|
"dependencies": {
|
|
28
20
|
"@anthropic-ai/sdk": "^0.20.0",
|
|
29
|
-
"@bernierllc/ai-provider-core": "
|
|
30
|
-
"@bernierllc/retry-policy": "
|
|
31
|
-
"@bernierllc/logger": "
|
|
21
|
+
"@bernierllc/ai-provider-core": "1.0.2",
|
|
22
|
+
"@bernierllc/retry-policy": "0.1.6",
|
|
23
|
+
"@bernierllc/logger": "1.0.4"
|
|
32
24
|
},
|
|
33
25
|
"devDependencies": {
|
|
34
|
-
"@bernierllc/neverhub-adapter": "^1.0.0",
|
|
35
26
|
"@types/jest": "^29.5.0",
|
|
36
27
|
"@types/node": "^20.0.0",
|
|
37
28
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
@@ -39,7 +30,8 @@
|
|
|
39
30
|
"eslint": "^8.50.0",
|
|
40
31
|
"jest": "^29.7.0",
|
|
41
32
|
"ts-jest": "^29.1.0",
|
|
42
|
-
"typescript": "^5.3.0"
|
|
33
|
+
"typescript": "^5.3.0",
|
|
34
|
+
"@bernierllc/neverhub-adapter": "0.1.2"
|
|
43
35
|
},
|
|
44
36
|
"bernierllc": {
|
|
45
37
|
"category": "core",
|
|
@@ -55,5 +47,17 @@
|
|
|
55
47
|
"logger": "integrated",
|
|
56
48
|
"docs-suite": "ready"
|
|
57
49
|
}
|
|
50
|
+
},
|
|
51
|
+
"publishConfig": {
|
|
52
|
+
"access": "public",
|
|
53
|
+
"registry": "https://registry.npmjs.org/"
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"build": "tsc",
|
|
57
|
+
"test": "jest --watch",
|
|
58
|
+
"test:run": "jest",
|
|
59
|
+
"test:coverage": "jest --coverage",
|
|
60
|
+
"lint": "eslint src --ext .ts",
|
|
61
|
+
"clean": "rm -rf dist"
|
|
58
62
|
}
|
|
59
|
-
}
|
|
63
|
+
}
|