@exagent/agent 0.1.0 → 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/dist/index.mjs CHANGED
@@ -3,14 +3,21 @@ import {
3
3
  AgentRuntime,
4
4
  AnthropicAdapter,
5
5
  BaseLLMAdapter,
6
+ DeepSeekAdapter,
7
+ GoogleAdapter,
8
+ GroqAdapter,
6
9
  LLMConfigSchema,
7
10
  LLMProviderSchema,
8
11
  MarketDataService,
12
+ MistralAdapter,
9
13
  OllamaAdapter,
10
14
  OpenAIAdapter,
15
+ RelayClient,
16
+ RelayConfigSchema,
11
17
  RiskManager,
12
18
  RiskUniverseSchema,
13
19
  STRATEGY_TEMPLATES,
20
+ TogetherAdapter,
14
21
  TradeExecutor,
15
22
  TradingConfigSchema,
16
23
  VaultConfigSchema,
@@ -18,26 +25,36 @@ import {
18
25
  VaultPolicySchema,
19
26
  createLLMAdapter,
20
27
  createSampleConfig,
28
+ decryptEnvFile,
29
+ encryptEnvFile,
21
30
  getAllStrategyTemplates,
22
31
  getStrategyTemplate,
23
32
  loadConfig,
33
+ loadSecureEnv,
24
34
  loadStrategy,
25
35
  validateConfig,
26
36
  validateStrategy
27
- } from "./chunk-JS7RJORF.mjs";
37
+ } from "./chunk-KJJGA46E.mjs";
28
38
  export {
29
39
  AgentConfigSchema,
30
40
  AgentRuntime,
31
41
  AnthropicAdapter,
32
42
  BaseLLMAdapter,
43
+ DeepSeekAdapter,
44
+ GoogleAdapter,
45
+ GroqAdapter,
33
46
  LLMConfigSchema,
34
47
  LLMProviderSchema,
35
48
  MarketDataService,
49
+ MistralAdapter,
36
50
  OllamaAdapter,
37
51
  OpenAIAdapter,
52
+ RelayClient,
53
+ RelayConfigSchema,
38
54
  RiskManager,
39
55
  RiskUniverseSchema,
40
56
  STRATEGY_TEMPLATES,
57
+ TogetherAdapter,
41
58
  TradeExecutor,
42
59
  TradingConfigSchema,
43
60
  VaultConfigSchema,
@@ -45,9 +62,12 @@ export {
45
62
  VaultPolicySchema,
46
63
  createLLMAdapter,
47
64
  createSampleConfig,
65
+ decryptEnvFile,
66
+ encryptEnvFile,
48
67
  getAllStrategyTemplates,
49
68
  getStrategyTemplate,
50
69
  loadConfig,
70
+ loadSecureEnv,
51
71
  loadStrategy,
52
72
  validateConfig,
53
73
  validateStrategy
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exagent/agent",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Autonomous trading agent runtime for Exagent",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -20,6 +20,7 @@
20
20
  "templates"
21
21
  ],
22
22
  "scripts": {
23
+ "prepublishOnly": "node -e \"const p=require('./package.json'); const deps=JSON.stringify({...p.dependencies,...p.devDependencies}); if(deps.includes('workspace:')) { console.error('ERROR: workspace: protocol found'); process.exit(1); }\"",
23
24
  "build": "tsup src/index.ts src/cli.ts --format cjs,esm --dts",
24
25
  "dev": "tsup src/index.ts src/cli.ts --format cjs,esm --dts --watch",
25
26
  "start": "node dist/cli.js",
@@ -28,17 +29,19 @@
28
29
  "clean": "rm -rf dist"
29
30
  },
30
31
  "dependencies": {
31
- "@exagent/sdk": "workspace:*",
32
+ "@exagent/sdk": "^0.1.0",
32
33
  "chalk": "^5.3.0",
33
34
  "commander": "^12.0.0",
34
35
  "dotenv": "^16.4.0",
35
36
  "openai": "^4.0.0",
36
37
  "tsx": "^4.7.0",
37
38
  "viem": "^2.21.0",
39
+ "ws": "^8.16.0",
38
40
  "zod": "^3.22.0"
39
41
  },
40
42
  "devDependencies": {
41
43
  "@types/node": "^20.0.0",
44
+ "@types/ws": "^8.5.0",
42
45
  "tsup": "^8.0.0",
43
46
  "typescript": "^5.3.0",
44
47
  "vitest": "^2.0.0"