@insta-dev01/intclaw 1.1.0 → 1.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/config.ts ADDED
@@ -0,0 +1,31 @@
1
+ /**
2
+ * IntClaw 插件全局配置
3
+ * 用于集中管理所有外部请求连接
4
+ *
5
+ * 方便开发者快速替换不同环境的连接地址
6
+ */
7
+ export const INTCLAW_CONFIG = {
8
+ /**
9
+ * IntClaw 新版 API 基础路径
10
+ * 作用:用于获取 Access Token、发送机器人消息、下载文件等核心业务
11
+ */
12
+ API_BASE_URL: 'https://api.intclaw.com',
13
+
14
+ /**
15
+ * IntClaw 旧版 OAPI 基础路径
16
+ * 作用:用于媒体文件上传、获取旧版 Token、查询用户信息等
17
+ */
18
+ OAPI_BASE_URL: 'https://oapi.intclaw.com',
19
+
20
+ /**
21
+ * WebSocket 连接地址
22
+ * 作用:建立与 IntClaw 服务端的长连接,用于实时接收消息推送
23
+ */
24
+ WS_ENDPOINT: 'wss://claw-dev.int-os.com/user-ws/',
25
+
26
+ /**
27
+ * 媒体文件下载基础路径
28
+ * 作用:拼接媒体文件的下载链接,供前端或外部查看
29
+ */
30
+ DOWNLOAD_BASE_URL: 'https://down.intclaw.com',
31
+ };
@@ -1,11 +1,11 @@
1
1
  {
2
- "id": "intclaw-connector",
2
+ "id": "intclaw",
3
3
  "name": "IntClaw Channel",
4
- "version": "0.8.1",
5
- "description": "IntClaw (IntClaw) messaging channel via Stream mode with AI Card streaming",
4
+ "version": "1.1.1",
5
+ "description": "IntClaw (IntClaw) messaging channel via Stream mode with ai market streaming",
6
6
  "author": "IntClaw Real Team",
7
7
  "main": "index.ts",
8
- "channels": ["intclaw-connector"],
8
+ "channels": ["intclaw"],
9
9
  "configSchema": {
10
10
  "type": "object",
11
11
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@insta-dev01/intclaw",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "IntClaw (IntClaw) channel connector — Stream mode with AI Card streaming",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",
7
7
  "type": "module",
8
8
  "files": [
9
9
  "index.ts",
10
+ "config.ts",
10
11
  "src/**/*",
11
12
  "openclaw.plugin.json",
12
13
  "README.md",