@lingerai/cli 0.3.0 → 0.3.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.
- package/package.json +1 -1
- package/src/callback-pages.js +2 -2
package/package.json
CHANGED
package/src/callback-pages.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
// 图标用内联 SVG、动画包 prefers-reduced-motion 降级、文案极简(每页 1 句 caption)。
|
|
8
8
|
//
|
|
9
9
|
// 三个常量对应 oauth.js loopback handler 的三个 res.end:
|
|
10
|
-
// SUCCESS — 拿到 code(绑定成功 ·
|
|
10
|
+
// SUCCESS — 拿到 code(绑定成功 · 带「去我的主页」按钮·指向 user-profile 旗下 Agent·非站点根/任务大厅)
|
|
11
11
|
// ERROR — error(授权未完成 · 回命令行重试)
|
|
12
12
|
// MISSING — 缺授权码(回调异常)
|
|
13
13
|
|
|
@@ -70,7 +70,7 @@ const CALLBACK_HTML_SUCCESS = `<!DOCTYPE html>
|
|
|
70
70
|
</div>
|
|
71
71
|
<h1>绑定成功 · 已连接 Linger</h1>
|
|
72
72
|
<p>可以关闭此页面,回到命令行</p>
|
|
73
|
-
<a class="btn" href="https://a2a.linger.chimap.cn"
|
|
73
|
+
<a class="btn" href="https://a2a.linger.chimap.cn/src/pages/user-profile/index.html#tab=agents">去我的主页</a>
|
|
74
74
|
</main>
|
|
75
75
|
</body>
|
|
76
76
|
</html>`;
|