nextclaw 0.2.6 → 0.2.8

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.js CHANGED
@@ -1,88 +1,2 @@
1
- import {
2
- AgentDefaultsSchema,
3
- AgentLoop,
4
- AgentsConfigSchema,
5
- ChannelsConfigSchema,
6
- ConfigSchema,
7
- DingTalkConfigSchema,
8
- DiscordConfigSchema,
9
- EmailConfigSchema,
10
- ExecToolConfigSchema,
11
- FeishuConfigSchema,
12
- GatewayConfigSchema,
13
- LLMProvider,
14
- LiteLLMProvider,
15
- MochatConfigSchema,
16
- MochatGroupRuleSchema,
17
- MochatMentionSchema,
18
- PROVIDERS,
19
- ProviderConfigSchema,
20
- ProvidersConfigSchema,
21
- QQConfigSchema,
22
- SlackConfigSchema,
23
- SlackDMSchema,
24
- TelegramConfigSchema,
25
- ToolsConfigSchema,
26
- UiConfigSchema,
27
- WebSearchConfigSchema,
28
- WebToolsConfigSchema,
29
- WhatsAppConfigSchema,
30
- findGateway,
31
- findProviderByModel,
32
- findProviderByName,
33
- getApiBase,
34
- getApiKey,
35
- getConfigPath,
36
- getDataDir,
37
- getProvider,
38
- getProviderName,
39
- getWorkspacePathFromConfig,
40
- loadConfig,
41
- matchProvider,
42
- providerLabel,
43
- saveConfig
44
- } from "./chunk-HXRBJNWA.js";
45
- export {
46
- AgentDefaultsSchema,
47
- AgentLoop,
48
- AgentsConfigSchema,
49
- ChannelsConfigSchema,
50
- ConfigSchema,
51
- DingTalkConfigSchema,
52
- DiscordConfigSchema,
53
- EmailConfigSchema,
54
- ExecToolConfigSchema,
55
- FeishuConfigSchema,
56
- GatewayConfigSchema,
57
- LLMProvider,
58
- LiteLLMProvider,
59
- MochatConfigSchema,
60
- MochatGroupRuleSchema,
61
- MochatMentionSchema,
62
- PROVIDERS,
63
- ProviderConfigSchema,
64
- ProvidersConfigSchema,
65
- QQConfigSchema,
66
- SlackConfigSchema,
67
- SlackDMSchema,
68
- TelegramConfigSchema,
69
- ToolsConfigSchema,
70
- UiConfigSchema,
71
- WebSearchConfigSchema,
72
- WebToolsConfigSchema,
73
- WhatsAppConfigSchema,
74
- findGateway,
75
- findProviderByModel,
76
- findProviderByName,
77
- getApiBase,
78
- getApiKey,
79
- getConfigPath,
80
- getDataDir,
81
- getProvider,
82
- getProviderName,
83
- getWorkspacePathFromConfig,
84
- loadConfig,
85
- matchProvider,
86
- providerLabel,
87
- saveConfig
88
- };
1
+ // src/index.ts
2
+ export * from "nextclaw-core";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextclaw",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "description": "Lightweight personal AI assistant with CLI, multi-provider routing, and channel integrations.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -34,36 +34,22 @@
34
34
  "bridge",
35
35
  "ui-dist"
36
36
  ],
37
+ "scripts": {
38
+ "dev": "pnpm -C ../nextclaw-core build && pnpm -C ../nextclaw-server build && tsx src/cli/index.ts",
39
+ "build": "pnpm -C ../nextclaw-core build && pnpm -C ../nextclaw-server build && tsup src/index.ts src/cli/index.ts --format esm --dts --out-dir dist && node scripts/copy-ui-dist.mjs",
40
+ "start": "node dist/cli.js",
41
+ "lint": "eslint .",
42
+ "tsc": "tsc -p tsconfig.json",
43
+ "test": "vitest"
44
+ },
37
45
  "dependencies": {
38
- "@hono/node-server": "^1.13.3",
39
- "@larksuiteoapi/node-sdk": "^1.58.0",
40
- "@slack/socket-mode": "^1.3.3",
41
- "@slack/web-api": "^7.6.0",
46
+ "chokidar": "^3.6.0",
42
47
  "commander": "^12.1.0",
43
- "cron-parser": "^4.9.0",
44
- "dingtalk-stream": "^2.1.4",
45
- "dotenv": "^16.4.5",
46
- "discord.js": "^14.16.3",
47
- "hono": "^4.6.2",
48
- "imapflow": "^1.0.214",
49
- "mailparser": "^3.7.1",
50
- "node-telegram-bot-api": "^0.66.0",
51
- "nodemailer": "^6.9.15",
52
- "openai": "^4.74.0",
53
- "pino": "^9.4.0",
54
- "qq-bot-sdk": "^1.9.1",
55
- "socket.io-client": "^4.7.5",
56
- "socket.io-msgpack-parser": "^3.0.2",
57
- "undici": "^6.21.0",
58
- "ws": "^8.18.0",
59
- "zod": "^3.23.8"
48
+ "nextclaw-core": "^0.2.8",
49
+ "nextclaw-server": "^0.2.8"
60
50
  },
61
51
  "devDependencies": {
62
52
  "@types/node": "^20.17.6",
63
- "@types/mailparser": "^3.4.6",
64
- "@types/node-telegram-bot-api": "^0.64.8",
65
- "@types/nodemailer": "^6.4.17",
66
- "@types/ws": "^8.5.14",
67
53
  "@typescript-eslint/eslint-plugin": "^7.18.0",
68
54
  "@typescript-eslint/parser": "^7.18.0",
69
55
  "eslint": "^8.57.1",
@@ -73,13 +59,5 @@
73
59
  "tsx": "^4.19.2",
74
60
  "typescript": "^5.6.3",
75
61
  "vitest": "^2.1.2"
76
- },
77
- "scripts": {
78
- "dev": "tsx src/cli/index.ts",
79
- "build": "tsup src/index.ts src/cli/index.ts --format esm --dts --out-dir dist && node scripts/copy-ui-dist.mjs",
80
- "start": "node dist/cli.js",
81
- "lint": "eslint .",
82
- "tsc": "tsc -p tsconfig.json",
83
- "test": "vitest"
84
62
  }
85
- }
63
+ }