@my-life-buddies/cli 0.26.2 → 0.27.1-dev.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/README.md +129 -92
- package/dist/bin/buddy.js +47 -38
- package/dist/bin/buddy.js.map +2 -2
- package/dist/bin/core.js +400 -448
- package/dist/bin/core.js.map +4 -4
- package/dist/web/app.js +2 -2
- package/package.json +6 -6
- package/resources/README.md +2 -2
package/dist/web/app.js
CHANGED
|
@@ -984,9 +984,9 @@
|
|
|
984
984
|
if (!response.ok) throw new Error(value.error || "连接状态读取失败");
|
|
985
985
|
if (epoch !== connectionEpoch) return;
|
|
986
986
|
connectionChecked = true; connectionFailure = "";
|
|
987
|
-
$("#connect-command").textContent = value.command.replace(/^buddy-cli(?= )/, "buddy-cli");
|
|
987
|
+
$("#connect-command").textContent = value.command.replace(/^buddy-cli(?= )/, "buddy-cli-sit");
|
|
988
988
|
$("#copy-connect-command").disabled = false;
|
|
989
|
-
$("#stop-command").textContent = value.stopCommand?.replace(/^buddy-cli(?= )/, "buddy-cli") || "buddy-cli dev stop";
|
|
989
|
+
$("#stop-command").textContent = value.stopCommand?.replace(/^buddy-cli(?= )/, "buddy-cli-sit") || "buddy-cli-sit dev stop";
|
|
990
990
|
if (value.projectRoot) $("#project-root").textContent = value.projectRoot;
|
|
991
991
|
if (value.machineName) $("#machine-name").textContent = value.machineName;
|
|
992
992
|
if (!value.connected) { connectionInstance = value.instanceId || ""; disconnected(); return; }
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@my-life-buddies/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.1-dev.1",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "搭搭
|
|
5
|
+
"description": "搭搭 SIT 开发命令行工具",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public",
|
|
8
8
|
"registry": "https://registry.npmjs.org/",
|
|
9
|
-
"tag": "
|
|
9
|
+
"tag": "dev"
|
|
10
10
|
},
|
|
11
11
|
"engines": {
|
|
12
12
|
"node": ">=24"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"darwin"
|
|
16
16
|
],
|
|
17
17
|
"bin": {
|
|
18
|
-
"buddy-cli": "dist/bin/buddy.js"
|
|
18
|
+
"buddy-cli-sit": "dist/bin/buddy.js"
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
21
|
"dist/bin",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"acorn": "8.15.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@buddy/cli-core": "0.
|
|
46
|
-
"@buddy/preview": "0.
|
|
45
|
+
"@buddy/cli-core": "0.27.1-dev.1",
|
|
46
|
+
"@buddy/preview": "0.27.1-dev.1"
|
|
47
47
|
},
|
|
48
48
|
"repository": {
|
|
49
49
|
"type": "git",
|
package/resources/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
此目录包含工程模板和品牌资源。Creator 与 Avatar 规则、工具和参考图均由独立 npm 资源包提供,不进入 CLI 安装包。
|
|
4
4
|
|
|
5
|
-
- Creator:`@my-life-buddies/buddy-creator-skill
|
|
5
|
+
- Creator:`@my-life-buddies/buddy-creator-skill`,项目锁 `.buddy/creator/skill-lock.json`。
|
|
6
6
|
- Avatar:`@my-life-buddies/avatar-creator-skill`,项目锁 `.buddy/meta/skill-lock.json`。仅生成头像时加载;已有图片确认和上传无需该包。
|
|
7
7
|
|
|
8
|
-
`src/init/skill-package.ts`
|
|
8
|
+
`src/init/skill-package.ts` 负责两者共用的下载、完整性校验、缓存和版本锁定,各自协议由 `creator-package.ts` 与 `avatar-package.ts` 定义。安装禁用 npm 脚本,已有缓存可离线准备 Skill,平台身份操作仍需要联网。
|
|
9
9
|
|
|
10
10
|
`tests/fixtures/` 是测试输入,不参与构建。安装包验收使用独立提供的 Avatar 测试包和公共 npm Creator 包;可通过 BUDDY_AVATAR_TEST_SKILL_ROOT 指定解包后的真实头像包执行验收。
|