@zhin.js/plugin-group-suite 1.0.0 → 1.1.0
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/README.md +42 -58
- package/agent/tools/group_announce.ts +12 -0
- package/commands/checkin.js +11 -0
- package/commands/checkin.ts +12 -0
- package/commands/forget.js +10 -0
- package/commands/forget.ts +12 -0
- package/commands/keyword-add/[keyword].js +16 -0
- package/commands/keyword-add/[keyword].ts +16 -0
- package/commands/keyword-list.js +14 -0
- package/commands/keyword-list.ts +14 -0
- package/commands/keyword-remove/[keyword].js +16 -0
- package/commands/keyword-remove/[keyword].ts +15 -0
- package/commands/mypoints.js +10 -0
- package/commands/mypoints.ts +12 -0
- package/commands/mystats.js +10 -0
- package/commands/mystats.ts +12 -0
- package/commands/rank.js +11 -0
- package/commands/rank.ts +12 -0
- package/commands/stats-rank.js +13 -0
- package/commands/stats-rank.ts +20 -0
- package/commands/stats-week.js +13 -0
- package/commands/stats-week.ts +20 -0
- package/commands/stats.js +14 -0
- package/commands/stats.ts +21 -0
- package/commands/teach-list/[[page]].js +13 -0
- package/commands/teach-list/[[page]].ts +14 -0
- package/commands/teach-regex.js +11 -0
- package/commands/teach-regex.ts +12 -0
- package/commands/teach.js +11 -0
- package/commands/teach.ts +12 -0
- package/lib/analysis.d.ts +1 -1
- package/lib/analysis.d.ts.map +1 -1
- package/lib/checkin-lib.d.ts +27 -0
- package/lib/checkin-lib.d.ts.map +1 -0
- package/lib/checkin-lib.js +134 -0
- package/lib/checkin-lib.js.map +1 -0
- package/lib/config.d.ts +4 -57
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +18 -40
- package/lib/config.js.map +1 -1
- package/lib/db-store.d.ts +12 -0
- package/lib/db-store.d.ts.map +1 -0
- package/lib/db-store.js +38 -0
- package/lib/db-store.js.map +1 -0
- package/lib/index.d.ts +9 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +7 -29
- package/lib/index.js.map +1 -1
- package/lib/keyword-store.d.ts +6 -0
- package/lib/keyword-store.d.ts.map +1 -0
- package/lib/keyword-store.js +21 -0
- package/lib/keyword-store.js.map +1 -0
- package/lib/memory-store.d.ts +31 -0
- package/lib/memory-store.d.ts.map +1 -0
- package/lib/memory-store.js +63 -0
- package/lib/memory-store.js.map +1 -0
- package/lib/runtime-state.d.ts +25 -0
- package/lib/runtime-state.d.ts.map +1 -0
- package/lib/runtime-state.js +21 -0
- package/lib/runtime-state.js.map +1 -0
- package/lib/shared-runtime.d.ts +26 -0
- package/lib/shared-runtime.d.ts.map +1 -0
- package/lib/shared-runtime.js +34 -0
- package/lib/shared-runtime.js.map +1 -0
- package/lib/stats-lib.d.ts +41 -0
- package/lib/stats-lib.d.ts.map +1 -0
- package/lib/stats-lib.js +177 -0
- package/lib/stats-lib.js.map +1 -0
- package/lib/tables.d.ts +4 -0
- package/lib/tables.d.ts.map +1 -0
- package/lib/tables.js +40 -0
- package/lib/tables.js.map +1 -0
- package/lib/teach-lib.d.ts +25 -0
- package/lib/teach-lib.d.ts.map +1 -0
- package/lib/teach-lib.js +233 -0
- package/lib/teach-lib.js.map +1 -0
- package/middlewares/keyword-reply.js +36 -0
- package/middlewares/keyword-reply.ts +37 -0
- package/middlewares/stats-count.js +20 -0
- package/middlewares/stats-count.ts +22 -0
- package/middlewares/teach-reply.js +21 -0
- package/middlewares/teach-reply.ts +22 -0
- package/package.json +53 -14
- package/plugin.js +40 -0
- package/schema.json +17 -0
- package/src/analysis.ts +1 -1
- package/src/checkin-lib.ts +165 -0
- package/src/config.ts +23 -57
- package/src/db-store.ts +51 -0
- package/src/index.ts +47 -33
- package/src/keyword-store.ts +24 -0
- package/src/memory-store.ts +90 -0
- package/src/runtime-state.ts +44 -0
- package/src/shared-runtime.ts +44 -0
- package/src/stats-lib.ts +205 -0
- package/src/tables.ts +46 -0
- package/src/teach-lib.ts +301 -0
- package/tools/checkin-query/handler.js +22 -0
- package/tools/checkin-query/handler.ts +2 -2
- package/tools/checkin-rank/handler.js +15 -0
- package/tools/checkin-rank/handler.ts +1 -1
- package/tools/stats-query/handler.js +28 -0
- package/tools/stats-query/handler.ts +2 -2
- package/tools/stats-user/handler.js +29 -0
- package/tools/stats-user/handler.ts +3 -2
- package/lib/admin.d.ts +0 -4
- package/lib/admin.d.ts.map +0 -1
- package/lib/admin.js +0 -123
- package/lib/admin.js.map +0 -1
- package/lib/checkin.d.ts +0 -5
- package/lib/checkin.d.ts.map +0 -1
- package/lib/checkin.js +0 -168
- package/lib/checkin.js.map +0 -1
- package/lib/daily-analysis.d.ts +0 -7
- package/lib/daily-analysis.d.ts.map +0 -1
- package/lib/daily-analysis.js +0 -334
- package/lib/daily-analysis.js.map +0 -1
- package/lib/shared.d.ts +0 -25
- package/lib/shared.d.ts.map +0 -1
- package/lib/shared.js +0 -40
- package/lib/shared.js.map +0 -1
- package/lib/stats.d.ts +0 -12
- package/lib/stats.d.ts.map +0 -1
- package/lib/stats.js +0 -256
- package/lib/stats.js.map +0 -1
- package/lib/teach.d.ts +0 -4
- package/lib/teach.d.ts.map +0 -1
- package/lib/teach.js +0 -294
- package/lib/teach.js.map +0 -1
- package/plugin.yml +0 -3
- package/src/admin.ts +0 -145
- package/src/checkin.ts +0 -196
- package/src/daily-analysis.ts +0 -458
- package/src/shared.ts +0 -51
- package/src/stats.ts +0 -297
- package/src/teach.ts +0 -307
- /package/{skills/checkin/SKILL.md → agent/skills/checkin.md} +0 -0
- /package/{skills/group-daily-analysis/SKILL.md → agent/skills/group-daily-analysis.md} +0 -0
package/README.md
CHANGED
|
@@ -1,80 +1,64 @@
|
|
|
1
1
|
# @zhin.js/plugin-group-suite
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Plugin Runtime 群运营能力包,提供签到积分、消息统计、关键词回复与群问答。所有能力
|
|
4
|
+
由 `commands/`、`middlewares/` 和 `agent/` 约定目录发现,不注册 legacy Plugin 回调。
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
- `@zhin.js/plugin-checkin`
|
|
7
|
-
- `@zhin.js/plugin-stats`
|
|
8
|
-
- `@zhin.js/plugin-group-daily-analysis`
|
|
9
|
-
- `@zhin.js/plugin-teach`
|
|
10
|
-
|
|
11
|
-
## 安装
|
|
6
|
+
## 安装与拓扑
|
|
12
7
|
|
|
13
8
|
```bash
|
|
14
9
|
pnpm add @zhin.js/plugin-group-suite
|
|
15
10
|
```
|
|
16
11
|
|
|
17
|
-
|
|
12
|
+
父插件在 `package.json#zhin.plugins` 中声明子插件:
|
|
18
13
|
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
```json
|
|
15
|
+
{
|
|
16
|
+
"package": "@zhin.js/plugin-group-suite",
|
|
17
|
+
"instanceKey": "group-suite"
|
|
18
|
+
}
|
|
22
19
|
```
|
|
23
20
|
|
|
24
|
-
|
|
21
|
+
配置位于该实例的层级节点:
|
|
25
22
|
|
|
26
23
|
```yaml
|
|
27
24
|
plugins:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
# 可整段省略,使用默认值
|
|
40
|
-
groupSuite:
|
|
41
|
-
noticeAdapters: [icqq]
|
|
42
|
-
autoAnalysisEnabled: true
|
|
43
|
-
autoAnalysisCron: "0 9 * * *"
|
|
25
|
+
group-suite:
|
|
26
|
+
keywordReply: false
|
|
27
|
+
basePointsMin: 10
|
|
28
|
+
basePointsMax: 30
|
|
29
|
+
streakBonus: 5
|
|
30
|
+
streakCap: 50
|
|
31
|
+
rankSize: 10
|
|
32
|
+
teachMaxPerGroup: 200
|
|
33
|
+
teachCooldownMs: 3000
|
|
34
|
+
teachAllowRegex: true
|
|
35
|
+
teachPageSize: 10
|
|
44
36
|
```
|
|
45
37
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
| 字段 | 默认 | 说明 |
|
|
49
|
-
|------|------|------|
|
|
50
|
-
| `welcome` | 欢迎新成员… | 入群欢迎语 |
|
|
51
|
-
| `recallNotify` | `true` | 撤回提示 |
|
|
52
|
-
| `keywordReply` | `false` | 内置关键词(建议用 teach) |
|
|
53
|
-
| `noticeAdapters` | `[icqq]` | 处理 notice 的适配器 |
|
|
54
|
-
| `basePointsMin` / `basePointsMax` | 10 / 30 | 签到积分 |
|
|
55
|
-
| `rankSize` | 10 | 签到与统计排行人数 |
|
|
56
|
-
| `statsRetentionDays` | 90 | 统计保留天数 |
|
|
57
|
-
| `analysisDays` | 1 | 群分析天数 |
|
|
58
|
-
| `analysisGroups` | `[]` | 日报白名单(空=不限制) |
|
|
59
|
-
| `analysisGroupsBlock` | `[]` | 日报黑名单 |
|
|
60
|
-
| `teachMaxPerGroup` | 200 | 每群问答上限 |
|
|
61
|
-
| `teachCooldownMs` | 3000 | 问答冷却(毫秒) |
|
|
38
|
+
完整约束以 [`schema.json`](./schema.json) 为 SSOT。数据优先写入 Runtime
|
|
39
|
+
`DatabaseHost`;未配置数据库时使用插件实例私有的内存存储,适合测试。
|
|
62
40
|
|
|
63
|
-
|
|
41
|
+
数据库、关键词、教学冷却和消息统计缓冲统一封装为 owner-scoped
|
|
42
|
+
`GroupSuiteRuntime`。commands/middlewares 只通过 Capability Context 解析该资源;因此同一
|
|
43
|
+
进程中的多个实例、HMR 新旧 generation 不会共享可变状态。
|
|
64
44
|
|
|
65
|
-
|
|
45
|
+
## 能力
|
|
66
46
|
|
|
67
|
-
|
|
68
|
-
|
|
47
|
+
| 路径 | 说明 |
|
|
48
|
+
|---|---|
|
|
49
|
+
| `checkin` / `mypoints` / `rank` | 签到、积分与排行 |
|
|
50
|
+
| `stats` / `stats-week` / `stats-rank` / `mystats` | 消息统计 |
|
|
51
|
+
| `teach` / `teach-regex` / `teach-list` / `forget` | 群问答管理 |
|
|
52
|
+
| `keyword-add` / `keyword-list` / `keyword-remove` | 关键词回复管理 |
|
|
53
|
+
| `middlewares/*` | 入站统计、关键词和问答匹配 |
|
|
54
|
+
| `agent/tools/group_announce.ts` | 可选 Agent 群公告工具 |
|
|
69
55
|
|
|
70
|
-
|
|
56
|
+
本 major 不包含 Adapter side-event 欢迎/撤回、AI 群日报或 HTML 报表。这些旧能力
|
|
57
|
+
需要独立的事件与渲染 Feature,已从 schema 移除,避免出现“可配置但不生效”的字段。
|
|
71
58
|
|
|
72
|
-
##
|
|
59
|
+
## 验证
|
|
73
60
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
| `群分析` / `分析设置` | 日报 |
|
|
79
|
-
| `teach` / `teach-regex` / `forget` / `teach-list` | 问答(`teach 问题 回答` 或 `teach 问题\|答案`) |
|
|
80
|
-
| `添加关键词` … | 仅 `keywordReply: true` |
|
|
61
|
+
```bash
|
|
62
|
+
pnpm --filter @zhin.js/plugin-group-suite build
|
|
63
|
+
pnpm --filter @zhin.js/plugin-group-suite test
|
|
64
|
+
```
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { defineAgentTool } from '@zhin.js/agent/tools';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
|
|
4
|
+
export default defineAgentTool<{ message: string }>({
|
|
5
|
+
description: '向群聊发送公告/通知消息',
|
|
6
|
+
inputSchema: z.object({ message: z.string().min(1) }),
|
|
7
|
+
keywords: ['群公告', '通知', 'announce'],
|
|
8
|
+
async execute({ message }) {
|
|
9
|
+
if (!message?.trim()) return '公告内容不能为空';
|
|
10
|
+
return `📢 群公告:\n${message}`;
|
|
11
|
+
},
|
|
12
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
|
+
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
|
+
import { doCheckin } from "../lib/checkin-lib.js";
|
|
5
|
+
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
6
|
+
export default defineCommand({
|
|
7
|
+
description: '每日签到获得积分',
|
|
8
|
+
execute({ config, input, owner, use }) {
|
|
9
|
+
return doCheckin(input ?? {}, resolveGroupSuiteConfig(config), resolveGroupSuiteRuntime({ owner, use }));
|
|
10
|
+
},
|
|
11
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
|
+
import type { Message } from '@zhin.js/core/runtime';
|
|
3
|
+
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
|
+
import { doCheckin } from '../src/checkin-lib.js';
|
|
5
|
+
import { resolveGroupSuiteRuntime } from '../src/runtime-state.js';
|
|
6
|
+
|
|
7
|
+
export default defineCommand<GroupSuiteConfig, string, Message>({
|
|
8
|
+
description: '每日签到获得积分',
|
|
9
|
+
execute({ config, input, owner, use }) {
|
|
10
|
+
return doCheckin(input ?? {}, resolveGroupSuiteConfig(config), resolveGroupSuiteRuntime({ owner, use }));
|
|
11
|
+
},
|
|
12
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
|
+
import { teachForget } from "../lib/teach-lib.js";
|
|
4
|
+
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
5
|
+
export default defineCommand({
|
|
6
|
+
description: '忘记问答(删除问答对)',
|
|
7
|
+
execute({ input, args, owner, use }) {
|
|
8
|
+
return teachForget(input ?? {}, args.join(' '), resolveGroupSuiteRuntime({ owner, use }));
|
|
9
|
+
},
|
|
10
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
|
+
import type { Message } from '@zhin.js/core/runtime';
|
|
3
|
+
import type { GroupSuiteConfig } from '../src/config.js';
|
|
4
|
+
import { teachForget } from '../src/teach-lib.js';
|
|
5
|
+
import { resolveGroupSuiteRuntime } from '../src/runtime-state.js';
|
|
6
|
+
|
|
7
|
+
export default defineCommand<GroupSuiteConfig, string, Message>({
|
|
8
|
+
description: '忘记问答(删除问答对)',
|
|
9
|
+
execute({ input, args, owner, use }) {
|
|
10
|
+
return teachForget(input ?? {}, args.join(' '), resolveGroupSuiteRuntime({ owner, use }));
|
|
11
|
+
},
|
|
12
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
|
+
import { addKeyword } from "../../lib/keyword-store.js";
|
|
4
|
+
import { resolveGroupSuiteRuntime } from "../../lib/runtime-state.js";
|
|
5
|
+
export default defineCommand({
|
|
6
|
+
description: '添加关键词自动回复',
|
|
7
|
+
params: { keyword: { type: 'string' } },
|
|
8
|
+
execute({ params, args, owner, use }) {
|
|
9
|
+
const keyword = String(params.keyword ?? '');
|
|
10
|
+
const reply = args.join(' ').trim();
|
|
11
|
+
if (!keyword || !reply)
|
|
12
|
+
return '请提供关键词和回复内容';
|
|
13
|
+
addKeyword(keyword, reply, resolveGroupSuiteRuntime({ owner, use })?.keywords);
|
|
14
|
+
return `已添加关键词「${keyword}」→「${reply}」`;
|
|
15
|
+
},
|
|
16
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
|
+
import { addKeyword } from '../../src/keyword-store.js';
|
|
3
|
+
import type { GroupSuiteConfig } from '../../src/config.js';
|
|
4
|
+
import { resolveGroupSuiteRuntime } from '../../src/runtime-state.js';
|
|
5
|
+
|
|
6
|
+
export default defineCommand<GroupSuiteConfig>({
|
|
7
|
+
description: '添加关键词自动回复',
|
|
8
|
+
params: { keyword: { type: 'string' } },
|
|
9
|
+
execute({ params, args, owner, use }) {
|
|
10
|
+
const keyword = String(params.keyword ?? '');
|
|
11
|
+
const reply = args.join(' ').trim();
|
|
12
|
+
if (!keyword || !reply) return '请提供关键词和回复内容';
|
|
13
|
+
addKeyword(keyword, reply, resolveGroupSuiteRuntime({ owner, use })?.keywords);
|
|
14
|
+
return `已添加关键词「${keyword}」→「${reply}」`;
|
|
15
|
+
},
|
|
16
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
|
+
import { listKeywords } from "../lib/keyword-store.js";
|
|
4
|
+
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
5
|
+
export default defineCommand({
|
|
6
|
+
description: '查看所有关键词回复对',
|
|
7
|
+
execute({ owner, use }) {
|
|
8
|
+
const entries = listKeywords(resolveGroupSuiteRuntime({ owner, use })?.keywords);
|
|
9
|
+
if (entries.length === 0)
|
|
10
|
+
return '当前没有设置任何关键词';
|
|
11
|
+
const lines = entries.map(([k, v], i) => `${i + 1}. 「${k}」→「${v}」`);
|
|
12
|
+
return `关键词列表(共 ${entries.length} 条):\n${lines.join('\n')}`;
|
|
13
|
+
},
|
|
14
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
|
+
import { listKeywords } from '../src/keyword-store.js';
|
|
3
|
+
import type { GroupSuiteConfig } from '../src/config.js';
|
|
4
|
+
import { resolveGroupSuiteRuntime } from '../src/runtime-state.js';
|
|
5
|
+
|
|
6
|
+
export default defineCommand<GroupSuiteConfig>({
|
|
7
|
+
description: '查看所有关键词回复对',
|
|
8
|
+
execute({ owner, use }) {
|
|
9
|
+
const entries = listKeywords(resolveGroupSuiteRuntime({ owner, use })?.keywords);
|
|
10
|
+
if (entries.length === 0) return '当前没有设置任何关键词';
|
|
11
|
+
const lines = entries.map(([k, v], i) => `${i + 1}. 「${k}」→「${v}」`);
|
|
12
|
+
return `关键词列表(共 ${entries.length} 条):\n${lines.join('\n')}`;
|
|
13
|
+
},
|
|
14
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
|
+
import { removeKeyword } from "../../lib/keyword-store.js";
|
|
4
|
+
import { resolveGroupSuiteRuntime } from "../../lib/runtime-state.js";
|
|
5
|
+
export default defineCommand({
|
|
6
|
+
description: '删除关键词自动回复',
|
|
7
|
+
params: { keyword: { type: 'string' } },
|
|
8
|
+
execute({ params, owner, use }) {
|
|
9
|
+
const keyword = String(params.keyword ?? '');
|
|
10
|
+
if (!keyword)
|
|
11
|
+
return '请提供要删除的关键词';
|
|
12
|
+
if (!removeKeyword(keyword, resolveGroupSuiteRuntime({ owner, use })?.keywords))
|
|
13
|
+
return `关键词「${keyword}」不存在`;
|
|
14
|
+
return `已删除关键词「${keyword}」`;
|
|
15
|
+
},
|
|
16
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
|
+
import { removeKeyword } from '../../src/keyword-store.js';
|
|
3
|
+
import type { GroupSuiteConfig } from '../../src/config.js';
|
|
4
|
+
import { resolveGroupSuiteRuntime } from '../../src/runtime-state.js';
|
|
5
|
+
|
|
6
|
+
export default defineCommand<GroupSuiteConfig>({
|
|
7
|
+
description: '删除关键词自动回复',
|
|
8
|
+
params: { keyword: { type: 'string' } },
|
|
9
|
+
execute({ params, owner, use }) {
|
|
10
|
+
const keyword = String(params.keyword ?? '');
|
|
11
|
+
if (!keyword) return '请提供要删除的关键词';
|
|
12
|
+
if (!removeKeyword(keyword, resolveGroupSuiteRuntime({ owner, use })?.keywords)) return `关键词「${keyword}」不存在`;
|
|
13
|
+
return `已删除关键词「${keyword}」`;
|
|
14
|
+
},
|
|
15
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
|
+
import { myPoints } from "../lib/checkin-lib.js";
|
|
4
|
+
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
5
|
+
export default defineCommand({
|
|
6
|
+
description: '查看个人积分与签到信息',
|
|
7
|
+
execute({ input, owner, use }) {
|
|
8
|
+
return myPoints(input ?? {}, resolveGroupSuiteRuntime({ owner, use }));
|
|
9
|
+
},
|
|
10
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
|
+
import type { Message } from '@zhin.js/core/runtime';
|
|
3
|
+
import type { GroupSuiteConfig } from '../src/config.js';
|
|
4
|
+
import { myPoints } from '../src/checkin-lib.js';
|
|
5
|
+
import { resolveGroupSuiteRuntime } from '../src/runtime-state.js';
|
|
6
|
+
|
|
7
|
+
export default defineCommand<GroupSuiteConfig, string, Message>({
|
|
8
|
+
description: '查看个人积分与签到信息',
|
|
9
|
+
execute({ input, owner, use }) {
|
|
10
|
+
return myPoints(input ?? {}, resolveGroupSuiteRuntime({ owner, use }));
|
|
11
|
+
},
|
|
12
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
|
+
import { myStatsText } from "../lib/stats-lib.js";
|
|
4
|
+
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
5
|
+
export default defineCommand({
|
|
6
|
+
description: '查看个人消息统计',
|
|
7
|
+
execute({ input, owner, use }) {
|
|
8
|
+
return myStatsText(input ?? {}, resolveGroupSuiteRuntime({ owner, use }));
|
|
9
|
+
},
|
|
10
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
|
+
import type { Message } from '@zhin.js/core/runtime';
|
|
3
|
+
import type { GroupSuiteConfig } from '../src/config.js';
|
|
4
|
+
import { myStatsText } from '../src/stats-lib.js';
|
|
5
|
+
import { resolveGroupSuiteRuntime } from '../src/runtime-state.js';
|
|
6
|
+
|
|
7
|
+
export default defineCommand<GroupSuiteConfig, string, Message>({
|
|
8
|
+
description: '查看个人消息统计',
|
|
9
|
+
execute({ input, owner, use }) {
|
|
10
|
+
return myStatsText(input ?? {}, resolveGroupSuiteRuntime({ owner, use }));
|
|
11
|
+
},
|
|
12
|
+
});
|
package/commands/rank.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
|
+
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
|
+
import { pointsRank } from "../lib/checkin-lib.js";
|
|
5
|
+
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
6
|
+
export default defineCommand({
|
|
7
|
+
description: '查看积分排行榜',
|
|
8
|
+
execute({ config, input, owner, use }) {
|
|
9
|
+
return pointsRank(input ?? {}, resolveGroupSuiteConfig(config), resolveGroupSuiteRuntime({ owner, use }));
|
|
10
|
+
},
|
|
11
|
+
});
|
package/commands/rank.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
|
+
import type { Message } from '@zhin.js/core/runtime';
|
|
3
|
+
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
|
+
import { pointsRank } from '../src/checkin-lib.js';
|
|
5
|
+
import { resolveGroupSuiteRuntime } from '../src/runtime-state.js';
|
|
6
|
+
|
|
7
|
+
export default defineCommand<GroupSuiteConfig, string, Message>({
|
|
8
|
+
description: '查看积分排行榜',
|
|
9
|
+
execute({ config, input, owner, use }) {
|
|
10
|
+
return pointsRank(input ?? {}, resolveGroupSuiteConfig(config), resolveGroupSuiteRuntime({ owner, use }));
|
|
11
|
+
},
|
|
12
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
|
+
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
|
+
import { monthStartStr, resolveGroupId, statsRankText } from "../lib/stats-lib.js";
|
|
5
|
+
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
6
|
+
export default defineCommand({
|
|
7
|
+
description: '查看本月话唠排行',
|
|
8
|
+
execute({ config, input, owner, use }) {
|
|
9
|
+
const groupId = resolveGroupId(input ?? {});
|
|
10
|
+
const title = groupId ? '本月话唠排行' : '全局话唠排行';
|
|
11
|
+
return statsRankText(input ?? {}, resolveGroupSuiteConfig(config), monthStartStr(), title, resolveGroupSuiteRuntime({ owner, use }));
|
|
12
|
+
},
|
|
13
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
|
+
import type { Message } from '@zhin.js/core/runtime';
|
|
3
|
+
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
|
+
import { monthStartStr, resolveGroupId, statsRankText } from '../src/stats-lib.js';
|
|
5
|
+
import { resolveGroupSuiteRuntime } from '../src/runtime-state.js';
|
|
6
|
+
|
|
7
|
+
export default defineCommand<GroupSuiteConfig, string, Message>({
|
|
8
|
+
description: '查看本月话唠排行',
|
|
9
|
+
execute({ config, input, owner, use }) {
|
|
10
|
+
const groupId = resolveGroupId(input ?? {});
|
|
11
|
+
const title = groupId ? '本月话唠排行' : '全局话唠排行';
|
|
12
|
+
return statsRankText(
|
|
13
|
+
input ?? {},
|
|
14
|
+
resolveGroupSuiteConfig(config),
|
|
15
|
+
monthStartStr(),
|
|
16
|
+
title,
|
|
17
|
+
resolveGroupSuiteRuntime({ owner, use }),
|
|
18
|
+
);
|
|
19
|
+
},
|
|
20
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
|
+
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
|
+
import { resolveGroupId, statsRankText, weekStartStr } from "../lib/stats-lib.js";
|
|
5
|
+
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
6
|
+
export default defineCommand({
|
|
7
|
+
description: '查看本周消息统计',
|
|
8
|
+
execute({ config, input, owner, use }) {
|
|
9
|
+
const groupId = resolveGroupId(input ?? {});
|
|
10
|
+
const title = groupId ? '本周本群消息统计' : '本周全局消息统计';
|
|
11
|
+
return statsRankText(input ?? {}, resolveGroupSuiteConfig(config), weekStartStr(), title, resolveGroupSuiteRuntime({ owner, use }));
|
|
12
|
+
},
|
|
13
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
|
+
import type { Message } from '@zhin.js/core/runtime';
|
|
3
|
+
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
|
+
import { resolveGroupId, statsRankText, weekStartStr } from '../src/stats-lib.js';
|
|
5
|
+
import { resolveGroupSuiteRuntime } from '../src/runtime-state.js';
|
|
6
|
+
|
|
7
|
+
export default defineCommand<GroupSuiteConfig, string, Message>({
|
|
8
|
+
description: '查看本周消息统计',
|
|
9
|
+
execute({ config, input, owner, use }) {
|
|
10
|
+
const groupId = resolveGroupId(input ?? {});
|
|
11
|
+
const title = groupId ? '本周本群消息统计' : '本周全局消息统计';
|
|
12
|
+
return statsRankText(
|
|
13
|
+
input ?? {},
|
|
14
|
+
resolveGroupSuiteConfig(config),
|
|
15
|
+
weekStartStr(),
|
|
16
|
+
title,
|
|
17
|
+
resolveGroupSuiteRuntime({ owner, use }),
|
|
18
|
+
);
|
|
19
|
+
},
|
|
20
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
|
+
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
|
+
import { todayStr } from "../lib/shared-runtime.js";
|
|
5
|
+
import { resolveGroupId, statsRankText } from "../lib/stats-lib.js";
|
|
6
|
+
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
7
|
+
export default defineCommand({
|
|
8
|
+
description: '查看今日消息统计',
|
|
9
|
+
execute({ config, input, owner, use }) {
|
|
10
|
+
const groupId = resolveGroupId(input ?? {});
|
|
11
|
+
const title = groupId ? '今日本群消息统计' : '今日全局消息统计';
|
|
12
|
+
return statsRankText(input ?? {}, resolveGroupSuiteConfig(config), todayStr(), title, resolveGroupSuiteRuntime({ owner, use }));
|
|
13
|
+
},
|
|
14
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
|
+
import type { Message } from '@zhin.js/core/runtime';
|
|
3
|
+
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
|
+
import { todayStr } from '../src/shared-runtime.js';
|
|
5
|
+
import { resolveGroupId, statsRankText } from '../src/stats-lib.js';
|
|
6
|
+
import { resolveGroupSuiteRuntime } from '../src/runtime-state.js';
|
|
7
|
+
|
|
8
|
+
export default defineCommand<GroupSuiteConfig, string, Message>({
|
|
9
|
+
description: '查看今日消息统计',
|
|
10
|
+
execute({ config, input, owner, use }) {
|
|
11
|
+
const groupId = resolveGroupId(input ?? {});
|
|
12
|
+
const title = groupId ? '今日本群消息统计' : '今日全局消息统计';
|
|
13
|
+
return statsRankText(
|
|
14
|
+
input ?? {},
|
|
15
|
+
resolveGroupSuiteConfig(config),
|
|
16
|
+
todayStr(),
|
|
17
|
+
title,
|
|
18
|
+
resolveGroupSuiteRuntime({ owner, use }),
|
|
19
|
+
);
|
|
20
|
+
},
|
|
21
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
|
+
import { resolveGroupSuiteConfig } from "../../lib/config.js";
|
|
4
|
+
import { teachList } from "../../lib/teach-lib.js";
|
|
5
|
+
import { resolveGroupSuiteRuntime } from "../../lib/runtime-state.js";
|
|
6
|
+
export default defineCommand({
|
|
7
|
+
description: '查看问答列表',
|
|
8
|
+
params: { page: { type: 'number', default: 1 } },
|
|
9
|
+
execute({ config, input, params, owner, use }) {
|
|
10
|
+
const page = Number(params.page ?? 1);
|
|
11
|
+
return teachList(input ?? {}, resolveGroupSuiteConfig(config), page, resolveGroupSuiteRuntime({ owner, use }));
|
|
12
|
+
},
|
|
13
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
|
+
import type { Message } from '@zhin.js/core/runtime';
|
|
3
|
+
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../../src/config.js';
|
|
4
|
+
import { teachList } from '../../src/teach-lib.js';
|
|
5
|
+
import { resolveGroupSuiteRuntime } from '../../src/runtime-state.js';
|
|
6
|
+
|
|
7
|
+
export default defineCommand<GroupSuiteConfig, string, Message>({
|
|
8
|
+
description: '查看问答列表',
|
|
9
|
+
params: { page: { type: 'number', default: 1 } },
|
|
10
|
+
execute({ config, input, params, owner, use }) {
|
|
11
|
+
const page = Number(params.page ?? 1);
|
|
12
|
+
return teachList(input ?? {}, resolveGroupSuiteConfig(config), page, resolveGroupSuiteRuntime({ owner, use }));
|
|
13
|
+
},
|
|
14
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
|
+
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
|
+
import { teachAdd } from "../lib/teach-lib.js";
|
|
5
|
+
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
6
|
+
export default defineCommand({
|
|
7
|
+
description: '教我正则问答',
|
|
8
|
+
execute({ config, input, args, owner, use }) {
|
|
9
|
+
return teachAdd(input ?? {}, resolveGroupSuiteConfig(config), args.join(' '), true, resolveGroupSuiteRuntime({ owner, use }));
|
|
10
|
+
},
|
|
11
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
|
+
import type { Message } from '@zhin.js/core/runtime';
|
|
3
|
+
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
|
+
import { teachAdd } from '../src/teach-lib.js';
|
|
5
|
+
import { resolveGroupSuiteRuntime } from '../src/runtime-state.js';
|
|
6
|
+
|
|
7
|
+
export default defineCommand<GroupSuiteConfig, string, Message>({
|
|
8
|
+
description: '教我正则问答',
|
|
9
|
+
execute({ config, input, args, owner, use }) {
|
|
10
|
+
return teachAdd(input ?? {}, resolveGroupSuiteConfig(config), args.join(' '), true, resolveGroupSuiteRuntime({ owner, use }));
|
|
11
|
+
},
|
|
12
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
|
+
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
|
+
import { teachAdd } from "../lib/teach-lib.js";
|
|
5
|
+
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
6
|
+
export default defineCommand({
|
|
7
|
+
description: '教我问答(teach 问题 回答 或 问题|答案)',
|
|
8
|
+
execute({ config, input, args, owner, use }) {
|
|
9
|
+
return teachAdd(input ?? {}, resolveGroupSuiteConfig(config), args.join(' '), false, resolveGroupSuiteRuntime({ owner, use }));
|
|
10
|
+
},
|
|
11
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
|
+
import type { Message } from '@zhin.js/core/runtime';
|
|
3
|
+
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
|
+
import { teachAdd } from '../src/teach-lib.js';
|
|
5
|
+
import { resolveGroupSuiteRuntime } from '../src/runtime-state.js';
|
|
6
|
+
|
|
7
|
+
export default defineCommand<GroupSuiteConfig, string, Message>({
|
|
8
|
+
description: '教我问答(teach 问题 回答 或 问题|答案)',
|
|
9
|
+
execute({ config, input, args, owner, use }) {
|
|
10
|
+
return teachAdd(input ?? {}, resolveGroupSuiteConfig(config), args.join(' '), false, resolveGroupSuiteRuntime({ owner, use }));
|
|
11
|
+
},
|
|
12
|
+
});
|
package/lib/analysis.d.ts
CHANGED
package/lib/analysis.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analysis.d.ts","sourceRoot":"","sources":["../src/analysis.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,
|
|
1
|
+
{"version":3,"file":"analysis.d.ts","sourceRoot":"","sources":["../src/analysis.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,kCAAkC;IAClC,GAAG,EAAE,OAAO,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,UAAU;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC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AEG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,eAAe,EAAE,GAAG,UAAU,CA+BrE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,UAAU,EACjB,OAAO,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAClF,MAAM,CAqBR;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,WAAW,GAAG,MAAM,CAuB5E;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAiCzD"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { GroupSuiteConfig } from './config.js';
|
|
2
|
+
import type { GroupSuiteRuntime } from './runtime-state.js';
|
|
3
|
+
export declare function doCheckin(input: {
|
|
4
|
+
sender?: {
|
|
5
|
+
readonly id: string;
|
|
6
|
+
readonly name?: string;
|
|
7
|
+
};
|
|
8
|
+
target?: string;
|
|
9
|
+
metadata?: Readonly<Record<string, unknown>>;
|
|
10
|
+
}, cfg: GroupSuiteConfig, runtime?: GroupSuiteRuntime): Promise<string>;
|
|
11
|
+
export declare function myPoints(input: {
|
|
12
|
+
sender?: {
|
|
13
|
+
readonly id: string;
|
|
14
|
+
readonly name?: string;
|
|
15
|
+
};
|
|
16
|
+
target?: string;
|
|
17
|
+
metadata?: Readonly<Record<string, unknown>>;
|
|
18
|
+
}, runtime?: GroupSuiteRuntime): Promise<string>;
|
|
19
|
+
export declare function pointsRank(input: {
|
|
20
|
+
sender?: {
|
|
21
|
+
readonly id: string;
|
|
22
|
+
readonly name?: string;
|
|
23
|
+
};
|
|
24
|
+
target?: string;
|
|
25
|
+
metadata?: Readonly<Record<string, unknown>>;
|
|
26
|
+
}, cfg: GroupSuiteConfig, runtime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