@artinet/cruiser 0.1.3 → 0.1.5
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/dist/corsair.d.ts +3 -3
- package/dist/corsair.js +1 -1
- package/package.json +25 -25
package/dist/corsair.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* ## Naming Convention
|
|
11
11
|
*
|
|
12
12
|
* - **Dock**: The adapter function that transforms a framework-specific agent
|
|
13
|
-
* into an {@link sdk.Agent
|
|
13
|
+
* into an {@link sdk.Agent}
|
|
14
14
|
* - **Corsair**: The module containing the core type definitions (cruiser's helm)
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
@@ -30,7 +30,7 @@ import type * as sdk from "@artinet/sdk";
|
|
|
30
30
|
*
|
|
31
31
|
* All Cruiser adapters implement this interface to ensure consistent behavior
|
|
32
32
|
* across different agent frameworks. The dock function transforms a framework-
|
|
33
|
-
* specific agent into an {@link sdk.Agent
|
|
33
|
+
* specific agent into an {@link sdk.Agent} that can be deployed on Artinet.
|
|
34
34
|
*
|
|
35
35
|
* @typeParam TAgent - The framework-specific agent type (e.g., {@link OpenAIAgent}, {@link MastraAgent})
|
|
36
36
|
* @typeParam TOptions - Optional configuration type for the adapter (defaults to unknown)
|
|
@@ -72,7 +72,7 @@ export type Dock<TAgent, TOptions = unknown> = (agent: TAgent, card?: sdk.A2A.Ag
|
|
|
72
72
|
*
|
|
73
73
|
* All Cruiser adapters implement this interface to ensure consistent behavior
|
|
74
74
|
* across different agent frameworks. The dock function transforms a framework-
|
|
75
|
-
* specific agent into an {@link sdk.Agent
|
|
75
|
+
* specific agent into an {@link sdk.Agent} that can be deployed on Artinet.
|
|
76
76
|
*
|
|
77
77
|
* @typeParam TAgent - The framework-specific agent type (e.g., {@link OpenAIAgent}, {@link MastraAgent})
|
|
78
78
|
* @typeParam TOptions - Optional configuration type for the adapter (defaults to unknown)
|
package/dist/corsair.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* ## Naming Convention
|
|
11
11
|
*
|
|
12
12
|
* - **Dock**: The adapter function that transforms a framework-specific agent
|
|
13
|
-
* into an {@link sdk.Agent
|
|
13
|
+
* into an {@link sdk.Agent}
|
|
14
14
|
* - **Corsair**: The module containing the core type definitions (cruiser's helm)
|
|
15
15
|
*
|
|
16
16
|
* @example
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artinet/cruiser",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "A library for building A2A enabled runtime Agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"rebuild": "rimraf dist node_modules/ package-lock.json && npm i && npm run build",
|
|
52
52
|
"lint": "eslint src --ext .ts",
|
|
53
53
|
"package-test": "npm run build && npm pack && sync && sleep 1 && docker build -f ./deployment/test.dockerfile -t cruiser-test . && docker run --env-file .env --rm cruiser-test && rm artinet-cruiser-*.tgz",
|
|
54
|
-
"prepublishOnly": "
|
|
54
|
+
"prepublishOnly": "rimraf dist && npm run build && npm run lint && npm test",
|
|
55
55
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
56
56
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
|
|
57
57
|
"test:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage"
|
|
@@ -81,20 +81,20 @@
|
|
|
81
81
|
"homepage": "https://artinet.io",
|
|
82
82
|
"dependencies": {
|
|
83
83
|
"@artinet/sdk": "^0.6.4",
|
|
84
|
-
"@artinet/types": "^0.
|
|
84
|
+
"@artinet/types": "^0.1.4",
|
|
85
85
|
"uuid": "^13.0.0"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
88
|
"@a2a-js/sdk": "^0.3.7",
|
|
89
|
-
"
|
|
90
|
-
"@
|
|
91
|
-
"openai": "^6.15.0",
|
|
92
|
-
"langchain": "^1.2.7",
|
|
89
|
+
"@anthropic-ai/claude-agent-sdk": "^0.2.2",
|
|
90
|
+
"@anthropic-ai/sdk": "^0.71.2",
|
|
93
91
|
"@mastra/core": "^0.24.9",
|
|
94
92
|
"@mastra/server": "^0.24.9",
|
|
93
|
+
"@modelcontextprotocol/sdk": "^1.24.3",
|
|
95
94
|
"@strands-agents/sdk": "^0.1.4",
|
|
96
|
-
"
|
|
97
|
-
"
|
|
95
|
+
"express": "^5.1.0",
|
|
96
|
+
"langchain": "^1.2.7",
|
|
97
|
+
"openai": "^6.15.0"
|
|
98
98
|
},
|
|
99
99
|
"peerDependenciesMeta": {
|
|
100
100
|
"@a2a-js/sdk": {
|
|
@@ -108,33 +108,33 @@
|
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
|
+
"@openrouter/ai-sdk-provider": "^1.5.4",
|
|
111
112
|
"@a2a-js/sdk": "^0.3.7",
|
|
112
|
-
"@ai-sdk/openai": "^2.0.53",
|
|
113
113
|
"@anthropic-ai/claude-agent-sdk": "^0.2.2",
|
|
114
114
|
"@anthropic-ai/sdk": "^0.71.2",
|
|
115
|
-
"@eslint/js": "^9.
|
|
115
|
+
"@eslint/js": "^9.39.2",
|
|
116
116
|
"@langchain/openai": "^1.2.1",
|
|
117
117
|
"@mastra/core": "^0.24.9",
|
|
118
|
-
"@mastra/server": "^0.
|
|
118
|
+
"@mastra/server": "^2.0.4",
|
|
119
119
|
"@openai/agents": "^0.3.7",
|
|
120
120
|
"@strands-agents/sdk": "^0.1.4",
|
|
121
|
-
"@types/jest": "^
|
|
122
|
-
"@types/node": "^25.0.
|
|
123
|
-
"@types/uuid": "^
|
|
124
|
-
"ai": "^
|
|
125
|
-
"eslint": "^9.
|
|
121
|
+
"@types/jest": "^29.5.14",
|
|
122
|
+
"@types/node": "^25.0.9",
|
|
123
|
+
"@types/uuid": "^10.0.0",
|
|
124
|
+
"ai": "^5.0.10",
|
|
125
|
+
"eslint": "^9.39.2",
|
|
126
126
|
"globals": "^17.0.0",
|
|
127
|
-
"jest": "
|
|
128
|
-
"langchain": "^1.2.
|
|
127
|
+
"jest": "29.7.0",
|
|
128
|
+
"langchain": "^1.2.10",
|
|
129
129
|
"rimraf": "^6.1.2",
|
|
130
|
-
"ts-jest": "^29.
|
|
131
|
-
"ts-node": "^10.9.
|
|
132
|
-
"tsx": "^4.
|
|
133
|
-
"typescript": "^5.
|
|
134
|
-
"typescript-eslint": "^8.
|
|
130
|
+
"ts-jest": "^29.4.6",
|
|
131
|
+
"ts-node": "^10.9.2",
|
|
132
|
+
"tsx": "^4.21.0",
|
|
133
|
+
"typescript": "^5.9.3",
|
|
134
|
+
"typescript-eslint": "^8.53.0"
|
|
135
135
|
},
|
|
136
136
|
"engines": {
|
|
137
|
-
"node": ">=
|
|
137
|
+
"node": ">=20.0.0"
|
|
138
138
|
},
|
|
139
139
|
"directories": {
|
|
140
140
|
"test": "tests"
|