@huo15/dingtalk-connector-pro 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/hooks/init.js +18 -0
  2. package/package.json +4 -4
package/hooks/init.js ADDED
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const channel_1 = require('../dist/channel');
4
+ module.exports = async function(opts) {
5
+ if (opts.registerChannel) {
6
+ opts.registerChannel({
7
+ id: 'huo15-dingtalk-connector-pro',
8
+ name: 'DingTalk Pro',
9
+ description: '火一五定制版钉钉连接器',
10
+ logoUrl: 'https://cnstatic01.e.aliyuncs.com/rta/assets/favicon.ico',
11
+ factory: channel_1.DingTalkChannel,
12
+ envVars: {
13
+ DINGTALK_CLIENT_ID: { description: 'DingTalk AppKey' },
14
+ DINGTALK_CLIENT_SECRET: { description: 'DingTalk AppSecret' }
15
+ }
16
+ });
17
+ }
18
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@huo15/dingtalk-connector-pro",
3
- "version": "1.0.1",
4
- "description": "\u706b\u4e00\u4e94\u5b9a\u5236\u7248\u9489\u9489 OpenClaw \u8fde\u63a5\u5668 - \u652f\u6301\u8bb0\u5fc6\u7cfb\u7edf\u96c6\u6210\u3001\u4f1a\u8bdd\u7ba1\u7406\u3001AI Card \u6d41\u5f0f\u54cd\u5e94",
3
+ "version": "1.0.2",
4
+ "description": "火一五定制版钉钉 OpenClaw 连接器 - 支持记忆系统集成、会话管理、AI Card 流式响应",
5
5
  "main": "index.ts",
6
6
  "type": "module",
7
7
  "scripts": {
@@ -88,7 +88,7 @@
88
88
  },
89
89
  "files": [
90
90
  "dist",
91
- "./hooks",
91
+ "hooks",
92
92
  "package.json"
93
93
  ]
94
- }
94
+ }