@syengup/fridaynext-claude-code-channel 0.1.0-beta.2 → 0.1.0-beta.3
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 +10 -8
- package/installer-ui.mjs +7 -7
- package/onboarding.mjs +2 -4
- package/package.json +1 -1
- package/plugin.tgz +0 -0
- package/release.json +5 -5
package/README.md
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
# FridayNext Claude Code 插件 · Beta
|
|
1
|
+
# FridayNext Claude Code 插件 · Beta 3
|
|
2
2
|
|
|
3
3
|
在要连接的项目目录打开终端,执行:
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
npx -y @syengup/fridaynext-claude-code-channel@0.1.0-beta.
|
|
6
|
+
npx -y @syengup/fridaynext-claude-code-channel@0.1.0-beta.3
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
安装器依次安装官方标准插件、配置连接、启动网关、校验网关并显示二维码。用 Friday Next 扫码即可配对,无需另开终端运行 start 或 pair,也无需手工设置监听和LAN环境变量。关闭安装终端后服务继续运行;电脑重启后重新执行同一命令。
|
|
10
10
|
|
|
11
11
|
## 准备
|
|
12
12
|
|
|
13
|
-
- 当前验证 macOS、Node.js ≥22.13、Claude Code **2.1.312**,以及兼容插件0.1.
|
|
13
|
+
- 当前验证 macOS、Node.js ≥22.13、Claude Code **2.1.312**,以及兼容插件0.1.29的 Friday iOS 版本。
|
|
14
14
|
- 先在电脑端安装、登录并配置 Claude Code。固定CLI不在PATH时设置 `FN_CLAUDE_BINARY=/绝对路径/claude`;安装器不安装或替换宿主版本,不复制模型认证。
|
|
15
15
|
- 手机和电脑先连接同一局域网。安装器自动选择实际私网IPv4;多网卡或从个人主目录启动时会询问地址或项目目录。项目范围取运行命令的目录,不自动授权整个HOME。
|
|
16
16
|
|
|
17
17
|
也可以显式选择:
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
|
-
npx -y @syengup/fridaynext-claude-code-channel@0.1.0-beta.
|
|
20
|
+
npx -y @syengup/fridaynext-claude-code-channel@0.1.0-beta.3 --workspace /绝对路径/项目 --lan-host 192.168.1.10
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## 服务与数据
|
|
@@ -31,11 +31,13 @@ npx -y @syengup/fridaynext-claude-code-channel@0.1.0-beta.2 --workspace /绝对
|
|
|
31
31
|
## 常用操作
|
|
32
32
|
|
|
33
33
|
```sh
|
|
34
|
-
npx -y @syengup/fridaynext-claude-code-channel@0.1.0-beta.
|
|
35
|
-
npx -y @syengup/fridaynext-claude-code-channel@0.1.0-beta.
|
|
36
|
-
npx -y @syengup/fridaynext-claude-code-channel@0.1.0-beta.
|
|
34
|
+
npx -y @syengup/fridaynext-claude-code-channel@0.1.0-beta.3 status
|
|
35
|
+
npx -y @syengup/fridaynext-claude-code-channel@0.1.0-beta.3 pair --qr
|
|
36
|
+
npx -y @syengup/fridaynext-claude-code-channel@0.1.0-beta.3 stop
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
stop正常关闭控制器并保留会话和数据,不把关闭连接当作取消模型。重新运行默认命令恢复。二维码为十分钟一次券,重出作废旧券,已配对手机不受影响;不要公开配对资料。自动化只安装不启动时用 `install --only --json`;原start前台方式及doctor/recover仍可用。卸载使用官方 `claude plugin uninstall fridaynext-claude-code@fridaynext-claude-beta --scope user`,先正常停止自有服务,不删除私有数据。
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
本包内置适配器 0.1.29,依赖精确 registry Kit 0.2.0-beta.9。本版提供工作目录的持久卷身份、队列删除、语音输入及会话完全访问选项。外部运行中的原生会话仍按既有权限处理。安装只创建连接所需状态,首次模型请求由用户发起。
|
|
42
|
+
|
|
43
|
+
从较早的 beta 升级时,安装器会校验原代码来源。不同运行版本共用同一代码目录会返回 `INSTALL_VERSION_CONFLICT`。请先使用原版的 stop 停止该安装器管理的服务,执行上面的卸载命令,再用 `claude plugin marketplace remove fridaynext-claude-beta --scope user` 移除旧市场登记。将原插件代码目录移作备份,再执行新版安装。保留原数据目录、工作目录及配置以继续使用原有身份和历史。
|
package/installer-ui.mjs
CHANGED
|
@@ -44,7 +44,7 @@ export function createInstallerUI(opts = {}) {
|
|
|
44
44
|
|
|
45
45
|
let timer = null;
|
|
46
46
|
let frame = 0;
|
|
47
|
-
|
|
47
|
+
|
|
48
48
|
let running = null;
|
|
49
49
|
|
|
50
50
|
const stepLine = (mark, label, detail) => ` ${mark} ${label}${detail ? " " + dim(detail) : ""}`;
|
|
@@ -64,14 +64,14 @@ export function createInstallerUI(opts = {}) {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
return {
|
|
67
|
-
|
|
67
|
+
|
|
68
68
|
header(subtitle) {
|
|
69
69
|
write("\n " + paint(ANSI.bold, "Friday Next"));
|
|
70
70
|
if (subtitle) write(dim(" " + subtitle));
|
|
71
71
|
write("\n\n");
|
|
72
72
|
},
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
|
|
75
75
|
step(label) {
|
|
76
76
|
running = { label, detail: "" };
|
|
77
77
|
if (isTTY) {
|
|
@@ -109,12 +109,12 @@ export function createInstallerUI(opts = {}) {
|
|
|
109
109
|
};
|
|
110
110
|
},
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
|
|
113
113
|
note(text) {
|
|
114
114
|
write(stepLine(paint(ANSI.yellow, "!"), dim(text), "") + "\n");
|
|
115
115
|
},
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
|
|
118
118
|
result({ qr, hint, hintMuted = false, fields = [] }) {
|
|
119
119
|
if (hint) {
|
|
120
120
|
write(
|
|
@@ -144,7 +144,7 @@ export function createInstallerUI(opts = {}) {
|
|
|
144
144
|
write("\n");
|
|
145
145
|
},
|
|
146
146
|
|
|
147
|
-
|
|
147
|
+
|
|
148
148
|
fatal(lines) {
|
|
149
149
|
write("\n");
|
|
150
150
|
for (const [i, line] of lines.entries()) {
|
|
@@ -153,7 +153,7 @@ export function createInstallerUI(opts = {}) {
|
|
|
153
153
|
write("\n");
|
|
154
154
|
},
|
|
155
155
|
|
|
156
|
-
|
|
156
|
+
|
|
157
157
|
cleanup() {
|
|
158
158
|
stopSpinner();
|
|
159
159
|
running = null;
|
package/onboarding.mjs
CHANGED
|
@@ -48,13 +48,11 @@ export function claudeOnboarding({ root, binary, options = {} }) {
|
|
|
48
48
|
async pair() {
|
|
49
49
|
const result = await jsonCommand(cli, ['pair'], env());
|
|
50
50
|
if (!result.lanUrl || /https?:\/\/(127\.|localhost|\[::1\])/.test(result.lanUrl)) throw failure('EXISTING_SERVICE_LAN_UNAVAILABLE');
|
|
51
|
-
|
|
52
|
-
const { encodePairingCode } = await runtimeModule(path.join(root, 'plugin'), '@syengup/fridaynext-channel-kit');
|
|
53
|
-
return { code: encodePairingCode(payload, { format: 'json' }) };
|
|
51
|
+
return { code: result.code };
|
|
54
52
|
},
|
|
55
53
|
async render(code) {
|
|
56
54
|
const { default: QRCode } = await runtimeModule(path.join(root, 'plugin'), 'qrcode');
|
|
57
|
-
return QRCode.toString(code, { type: process.stdout.isTTY ? 'terminal' : 'utf8', small: true, margin: 4 });
|
|
55
|
+
return QRCode.toString(code, { type: process.stdout.isTTY ? 'terminal' : 'utf8', small: true, margin: 4, errorCorrectionLevel: 'L' });
|
|
58
56
|
},
|
|
59
57
|
async cleanup() { await worker?.stop(); },
|
|
60
58
|
};
|
package/package.json
CHANGED
package/plugin.tgz
CHANGED
|
Binary file
|
package/release.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"distributionVersion": "0.1.0-beta.
|
|
4
|
-
"adapterVersion": "0.1.
|
|
3
|
+
"distributionVersion": "0.1.0-beta.3",
|
|
4
|
+
"adapterVersion": "0.1.29",
|
|
5
5
|
"host": "2.1.312",
|
|
6
6
|
"sdk": "0.3.312",
|
|
7
|
-
"kit": "0.2.0-beta.
|
|
8
|
-
"sourceDigest": "
|
|
9
|
-
"payloadSHA256": "
|
|
7
|
+
"kit": "0.2.0-beta.9",
|
|
8
|
+
"sourceDigest": "3ef924e9cbf41e8be87fa860e131581af049cac80d49fd62f83f54c58539a005",
|
|
9
|
+
"payloadSHA256": "646e252beb5fabbf1fa10bdd3951358ce30f64a840a11439de43db9c1b16ca0d"
|
|
10
10
|
}
|