@xqyz/xq-cli 0.3.13 → 0.3.14
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/CHANGELOG.md +10 -1
- package/package.json +1 -1
- package/src/cli.mjs +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,15 @@
|
|
|
12
12
|
|
|
13
13
|
(暂无未发布变更)
|
|
14
14
|
|
|
15
|
+
## [xq-cli 0.3.14 / WorkBuddy Plugin 0.10.33] - 2026-08-28
|
|
16
|
+
|
|
17
|
+
### 登录与配置卡体验
|
|
18
|
+
|
|
19
|
+
- CLI API Key 登录页增加直接进入 API Key 管理页的入口。
|
|
20
|
+
- WorkBuddy 未检测到登录状态时自动打开本机 API Key 登录页,并继续使用同一任务状态等待登录完成。
|
|
21
|
+
- 模板 5 自定义编号改为浏览器参考式分组布局;导出格式折叠入口、页边距和图片尺寸设置增加更清晰的视觉层次。
|
|
22
|
+
- `@xqyz/xq-cli@0.3.14` 与 `@xqyz/workbuddy-plugin-xique@0.10.33` 已发布到 npm;SkillHub `1.0.15` 仅生成上传包,需发布人手动上传。
|
|
23
|
+
|
|
15
24
|
## [xq-cli 0.3.13 / WorkBuddy Plugin 0.10.32] - 2026-08-28
|
|
16
25
|
|
|
17
26
|
### API Key-only 登录
|
|
@@ -19,7 +28,7 @@
|
|
|
19
28
|
- CLI 本机登录页只保留 API Key 输入,并继续通过 `/user/info` 使用现有校验链路。
|
|
20
29
|
- 移除 CLI 和后端旧的账号密码、浏览器授权及 CLI 一次性授权码流程。
|
|
21
30
|
- WorkBuddy 安装器只在没有 API Key 时打开本机登录页,并同步内置 CLI `0.3.13`。
|
|
22
|
-
- `@xqyz/xq-cli@0.3.13` 与 `@xqyz/workbuddy-plugin-xique@0.10.32`
|
|
31
|
+
- `@xqyz/xq-cli@0.3.13` 与 `@xqyz/workbuddy-plugin-xique@0.10.32` 已发布到 npm;SkillHub `1.0.14` 仅生成上传包,需发布人手动上传。
|
|
23
32
|
|
|
24
33
|
## [WorkBuddy Plugin 0.10.31] - 2026-08-28
|
|
25
34
|
|
package/package.json
CHANGED
package/src/cli.mjs
CHANGED
|
@@ -42,6 +42,7 @@ const DEFAULT_PARSER_WAKEUP_TIMEOUT_MS = 30_000;
|
|
|
42
42
|
const PARSER_WAKEUP_INTERVAL_MS = 2_000;
|
|
43
43
|
const DEFAULT_SOURCE_FROM = 'xique';
|
|
44
44
|
const DEFAULT_LOGIN_TIMEOUT_MS = 5 * 60 * 1000;
|
|
45
|
+
const API_KEY_MANAGEMENT_URL = 'https://xiquebiaoshu.com/account/api-keys';
|
|
45
46
|
const DEFAULT_EXPORT_TEMPLATE_INDEX = 1;
|
|
46
47
|
const DEFAULT_PAGE_SCOPE_CODE = 1;
|
|
47
48
|
const DEFAULT_BASE = '0';
|
|
@@ -4297,7 +4298,7 @@ function renderLoginPage() {
|
|
|
4297
4298
|
button{margin-top:13px;border:0;background:#536da9;color:#fff;box-shadow:0 10px 22px rgba(83,109,169,.23);} button:hover{background:#47619b;box-shadow:0 13px 26px rgba(83,109,169,.28);transform:translateY(-1px);} button:disabled{cursor:wait;opacity:.72;transform:none;}
|
|
4298
4299
|
.button-arrow{font-size:18px;line-height:1;}.divider{display:flex;align-items:center;gap:12px;color:#a1aec2;margin:23px 0 13px;font-size:12px;}.divider:before,.divider:after{content:"";height:1px;background:#e8edf4;flex:1;}
|
|
4299
4300
|
a{border:1px solid #d5dfed;color:#304364;background:#fff;} a:hover{border-color:#91a6cc;background:#f7f9fd;transform:translateY(-1px);}
|
|
4300
|
-
|
|
4301
|
+
.hint{margin:16px 0 0;color:#8390a6;font-size:12px;line-height:1.7;}.hint strong{color:#536da9;font-weight:700;}.hint a{display:inline;width:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;color:#536da9;background:transparent;font-size:inherit;font-weight:700;line-height:inherit;text-align:left;text-decoration:underline;box-shadow:none;}.hint a:hover{background:transparent;border:0;color:#304f91;transform:none;box-shadow:none;}.secure-note{display:flex;align-items:center;gap:8px;margin-top:30px;padding-top:17px;border-top:1px solid #edf0f5;color:#9aa6b7;font-size:11px;}.secure-note span{width:7px;height:7px;border-radius:50%;background:#35a779;box-shadow:0 0 0 4px rgba(53,167,121,.10);}
|
|
4301
4302
|
@media (max-width:820px){body{padding:18px;}.page-shell{grid-template-columns:1fr;max-width:520px;}.brand-panel{display:none;}.card{min-height:0;padding:32px 26px;border-radius:20px;}}
|
|
4302
4303
|
@media (max-width:420px){body{padding:12px;}.card{padding:27px 20px;}.card-heading h2{font-size:22px;}}
|
|
4303
4304
|
</style>
|
|
@@ -4328,7 +4329,7 @@ function renderLoginPage() {
|
|
|
4328
4329
|
<div class="input-wrap"><span class="field-icon" aria-hidden="true"></span><input id="api-key" name="apiKey" type="password" autocomplete="off" placeholder="xq_sk_..." required /></div>
|
|
4329
4330
|
<button type="submit"><span>使用 API Key 登录</span><span class="button-arrow">→</span></button>
|
|
4330
4331
|
</form>
|
|
4331
|
-
<p class="hint"
|
|
4332
|
+
<p class="hint">没有 API Key?<a href="${API_KEY_MANAGEMENT_URL}" target="_blank" rel="noopener noreferrer">前往 API Key 管理页获取</a>。验证成功后即可关闭页面。</p>
|
|
4332
4333
|
<div class="secure-note"><span></span>登录状态仅用于当前 CLI 工作流</div>
|
|
4333
4334
|
</main>
|
|
4334
4335
|
</div>
|