duojie-helper 0.2.8 → 0.2.9

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/cli.js +2 -4
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -41,10 +41,9 @@ program
41
41
  // 步骤 1: 输入 API Key
42
42
  const result = await inquirer.prompt([
43
43
  {
44
- type: 'password',
44
+ type: 'input',
45
45
  name: 'apiKey',
46
46
  message: '请输入你的 Duojie API Key (Ctrl+C 退出):',
47
- mask: '*',
48
47
  validate: (input) => {
49
48
  if (!input || input.trim().length < 10) {
50
49
  return 'API Key 不能为空且长度至少 10 位';
@@ -211,10 +210,9 @@ program
211
210
  if (!apiKey) {
212
211
  const answer = await inquirer.prompt([
213
212
  {
214
- type: 'password',
213
+ type: 'input',
215
214
  name: 'apiKey',
216
215
  message: '请输入你的 Duojie API Key:',
217
- mask: '*',
218
216
  }
219
217
  ]);
220
218
  apiKey = answer.apiKey;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "duojie-helper",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "Duojie API 一键配置助手 - 支持 Claude Code, Droid, OpenClaw, Cursor, Cline 等主流 AI 编程工具",
5
5
  "type": "module",
6
6
  "bin": {