@core-workspace/infoflow-openclaw-plugin 2026.3.31 → 2026.3.33

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@core-workspace/infoflow-openclaw-plugin",
3
- "version": "2026.3.31",
3
+ "version": "2026.3.33",
4
4
  "description": "OpenClaw Infoflow (如流) channel plugin for Baidu enterprise messaging",
5
5
  "type": "module",
6
6
  "main": "index.ts",
@@ -20,15 +20,10 @@
20
20
  "url": "https://github.com/BDlxj/infoflow"
21
21
  },
22
22
  "peerDependencies": {
23
- "openclaw": ">=2026.3.2",
24
- "@core-workspace/infoflow-sdk-nodejs": "^0.1.5"
25
- },
26
- "peerDependenciesMeta": {
27
- "@core-workspace/infoflow-sdk-nodejs": {
28
- "optional": true
29
- }
23
+ "openclaw": ">=2026.3.2"
30
24
  },
31
25
  "dependencies": {
26
+ "@core-workspace/infoflow-sdk-nodejs": "^0.1.5",
32
27
  "@sinclair/typebox": "0.34.48"
33
28
  },
34
29
  "openclaw": {
@@ -1,4 +1,4 @@
1
- # @baidu/infoflow-openclaw-tools
1
+ # @core-workspace/infoflow-openclaw-tools
2
2
 
3
3
  OpenClaw 如流插件升级工具。
4
4
 
@@ -7,14 +7,14 @@ OpenClaw 如流插件升级工具。
7
7
  由于包发布在百度内部 npm registry,需要指定 registry:
8
8
 
9
9
  ```bash
10
- npm_config_registry=http://registry.npm.baidu-int.com npx -y @baidu/infoflow-openclaw-tools update
10
+ npm_config_registry=http://registry.npm.baidu-int.com npx -y @core-workspace/infoflow-openclaw-tools update
11
11
  ```
12
12
 
13
13
  或者先配置 npm registry(一次性设置):
14
14
 
15
15
  ```bash
16
16
  npm config set registry http://registry.npm.baidu-int.com
17
- npx -y @baidu/infoflow-openclaw-tools update
17
+ npx -y @core-workspace/infoflow-openclaw-tools update
18
18
  ```
19
19
 
20
20
  ## 功能
@@ -34,7 +34,7 @@ npx -y @baidu/infoflow-openclaw-tools update
34
34
  如果看到 `404 Not Found` 错误,说明 npm 使用的是公共 registry。请加上 registry 前缀:
35
35
 
36
36
  ```bash
37
- npm_config_registry=http://registry.npm.baidu-int.com npx -y @baidu/infoflow-openclaw-tools update
37
+ npm_config_registry=http://registry.npm.baidu-int.com npx -y @core-workspace/infoflow-openclaw-tools update
38
38
  ```
39
39
 
40
40
  ### 2. Native binding 错误
@@ -52,7 +52,7 @@ npm install
52
52
  如果是权限问题,可以尝试使用 sudo(macOS/Linux):
53
53
 
54
54
  ```bash
55
- sudo npm_config_registry=http://registry.npm.baidu-int.com npx -y @baidu/infoflow-openclaw-tools update
55
+ sudo npm_config_registry=http://registry.npm.baidu-int.com npx -y @core-workspace/infoflow-openclaw-tools update
56
56
  ```
57
57
 
58
58
  ## 升级失败恢复
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * Infoflow Plugin Upgrade CLI
5
- * Usage: npx -y @baidu/infoflow-openclaw-tools update
5
+ * Usage: npx -y @core-workspace/infoflow-openclaw-tools update
6
6
  */
7
7
 
8
8
  import { execSync } from 'child_process';
@@ -149,7 +149,7 @@ async function update() {
149
149
  log('', colors.reset);
150
150
  try {
151
151
  execSync(
152
- `npm_config_registry=${registry} openclaw plugins install @baidu/infoflow-openclaw-plugin`,
152
+ `npm_config_registry=${registry} openclaw plugins install @core-workspace/infoflow-openclaw-plugin`,
153
153
  { stdio: 'inherit', env: { ...process.env, npm_config_registry: registry } }
154
154
  );
155
155
  } catch (err) {
@@ -177,7 +177,7 @@ async function update() {
177
177
  log(' Try with sudo (macOS/Linux):', colors.blue);
178
178
  log(
179
179
  ' sudo npm_config_registry=${registry} openclaw plugins install ' +
180
- '@baidu/infoflow-openclaw-plugin',
180
+ '@core-workspace/infoflow-openclaw-plugin',
181
181
  colors.blue,
182
182
  );
183
183
  log('', colors.reset);
@@ -256,7 +256,7 @@ if (command === 'update' || command === 'upgrade' || process.argv.length === 2)
256
256
  log(`Unknown command: ${command}`, colors.red);
257
257
  log('', colors.reset);
258
258
  log('Usage:', colors.blue);
259
- log(' npx -y @baidu/infoflow-openclaw-tools update', colors.reset);
260
- log(' npx -y @baidu/infoflow-openclaw-tools upgrade', colors.reset);
259
+ log(' npx -y @core-workspace/infoflow-openclaw-tools update', colors.reset);
260
+ log(' npx -y @core-workspace/infoflow-openclaw-tools upgrade', colors.reset);
261
261
  process.exit(1);
262
262
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "@baidu/infoflow-openclaw-tools",
2
+ "name": "@core-workspace/infoflow-openclaw-tools",
3
3
  "version": "1.0.6",
4
4
  "description": "OpenClaw Infoflow plugin upgrade tools",
5
5
  "type": "module",
@@ -410,4 +410,4 @@ console.log('[DEBUG] imid type:', typeof reply.imid); // 应该是 st
410
410
 
411
411
  - 企业后台: https://qy.baidu-int.com/index.html
412
412
  - API完整文档: https://ku.baidu-int.com/knowledge/HFVrC7hq1Q/2tsPs8CtSd/Bu7DDg4dpB/O7gUd6RJUGn7Ix
413
- - 技术支持: 魏小伟 (weixiaowei@baidu.com)
413
+ - 技术支持: 魏小伟 (weixiaowei@core-workspace.com)