@ha7ch/mee7 0.1.0 → 0.1.1

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/bin.js +22 -3
  2. package/package.json +1 -1
package/bin.js CHANGED
@@ -82,10 +82,16 @@ const HELP = `mee7 — AI bouncer 活动平台的主办方操作台(报名不
82
82
  open <event_id> 开放报名(status=open)
83
83
  close <event_id> 结束活动(status=closed)
84
84
  profiles 列出门规(跨活动复用的筛选配置)
85
- profile --name <门规名> [--profile-id 更新已有] [--brand 品牌名]
86
- [--lexicon "1,词2,..."] [--note 一句话描述内行] [--opening 开场题]
87
- [--strictness lenient|standard|strict] [--flags-off "investor,..."] [--flags-on "..."]
85
+ profile --name <门规名> [--mode holistic|custom-dims|ha7ch-builder|none]
86
+ [--dims "维度1,维度2"] [--profile-id 更新已有] [--brand 品牌名]
87
+ [--lexicon "词1,词2"] [--note 一句话描述内行] [--opening 开场题]
88
+ [--questions "想了解的事1;想了解的事2"]
89
+ [--strictness lenient|standard|strict] [--factions true|false]
90
+ [--flags-off "investor,..."] [--flags-on "..."]
88
91
  创建/更新门规;再 update <event_id> --profile-id <id> 绑到活动
92
+ (holistic=一个0-100契合分,默认; custom-dims 配 --dims;
93
+ ha7ch-builder=四维+派系; none=不打分全交人工;
94
+ --questions 配主办想了解的清单,聊完即收尾不硬撑轮次)
89
95
  test <event_id> <说的话> [--session id]
90
96
  试聊 bouncer(draft 也能聊;续聊带 --session)
91
97
  apps [--event id] [--stage 状态] [--review]
@@ -171,6 +177,19 @@ async function main() {
171
177
  if (flags.note) args.insider_note = String(flags.note);
172
178
  if (flags.strictness) args.strictness = String(flags.strictness);
173
179
  if (flags.opening) args.opening_question = String(flags.opening);
180
+ if (flags.mode) args.rubric_mode = String(flags.mode);
181
+ if (flags.dims)
182
+ args.dimensions = String(flags.dims)
183
+ .split(/[,,]/)
184
+ .map((s) => s.trim())
185
+ .filter(Boolean);
186
+ // 问题本身常含逗号,分隔符用分号/竖线。
187
+ if (flags.questions)
188
+ args.key_questions = String(flags.questions)
189
+ .split(/[;;|]/)
190
+ .map((s) => s.trim())
191
+ .filter(Boolean);
192
+ if (flags.factions !== undefined) args.factions_enabled = flags.factions === true || flags.factions === "true";
174
193
  const redFlags = {};
175
194
  for (const k of String(flags["flags-off"] || "").split(/[,,]/).map((s) => s.trim()).filter(Boolean))
176
195
  redFlags[k] = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ha7ch/mee7",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "mee7 CLI — AI bouncer活动平台的主办方操作台。报名不是填表,是说服 bouncer 。",
5
5
  "bin": { "mee7": "./bin.js" },
6
6
  "type": "module",