@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.
- package/hooks/init.js +18 -0
- 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.
|
|
4
|
-
"description": "
|
|
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
|
-
"
|
|
91
|
+
"hooks",
|
|
92
92
|
"package.json"
|
|
93
93
|
]
|
|
94
|
-
}
|
|
94
|
+
}
|