@luckypiggy/zyt-space 0.1.0-beta.1 → 0.1.0
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 +9 -13
- package/package.json +2 -2
- package/src/cli.mjs +1 -1
- package/src/defaults.mjs +1 -1
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
在自己的 Codex、Claude Code 或 WorkBuddy 中询问张雨彤的技术栈、教育背景和项目。CLI只读取网站当前公开资料,由面试官自己的Agent模型回答,不需要网站的DeepSeek Key。
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
当前版本为 **0.1.0**。Codex已有真实会话验收;Claude Code和WorkBuddy目录安装已适配,实际会话仍待验证。
|
|
6
6
|
|
|
7
|
-
公网资料与三项项目已可读取,Skill/MCP的资料来源一致。接入说明见[网站指南](http://
|
|
7
|
+
公网资料与三项项目已可读取,Skill/MCP的资料来源一致。接入说明见[网站指南](http://119.45.20.70:28090/#connect)。客户端执行命令和访问网络可能需要正常授权。
|
|
8
8
|
|
|
9
9
|
## 当前工作区测试:自动选择Node
|
|
10
10
|
|
|
@@ -21,22 +21,18 @@
|
|
|
21
21
|
|
|
22
22
|
## 安装到本地 Agent
|
|
23
23
|
|
|
24
|
-
需要Node.js 22
|
|
24
|
+
需要Node.js 22+。在自己的终端执行一条命令:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npx --yes
|
|
28
|
-
|
|
29
|
-
# Claude Code
|
|
30
|
-
npx --yes --package @luckypiggy/zyt-space@0.1.0-beta.1 zyt-space install --agent claude --scope user
|
|
31
|
-
|
|
32
|
-
# WorkBuddy
|
|
33
|
-
npx --yes --package @luckypiggy/zyt-space@0.1.0-beta.1 zyt-space install --agent workbuddy --scope user
|
|
27
|
+
npx --yes @luckypiggy/zyt-space@0.1.0 install
|
|
34
28
|
```
|
|
35
29
|
|
|
30
|
+
按提示选择Codex、Claude Code或WorkBuddy,再选择安装范围;Codex用户级安装两次回车即可。该入口已包含在公开的beta.1中,无需更新包。自动化脚本可显式添加`--agent codex --scope user`跳过选择。
|
|
31
|
+
|
|
36
32
|
也可以先安装CLI,再显式安装Skill:
|
|
37
33
|
|
|
38
34
|
```bash
|
|
39
|
-
npm install --global --ignore-scripts @luckypiggy/zyt-space@0.1.0
|
|
35
|
+
npm install --global --ignore-scripts @luckypiggy/zyt-space@0.1.0
|
|
40
36
|
zyt-space install --agent codex --scope user
|
|
41
37
|
```
|
|
42
38
|
|
|
@@ -74,7 +70,7 @@ ZIP中的Runner自带全部运行模块和非敏感站点配置,不依赖另
|
|
|
74
70
|
|
|
75
71
|
## 查询与诊断
|
|
76
72
|
|
|
77
|
-
以下示例使用已全局安装的CLI;没有全局安装时,在命令前使用 `npx --yes --package @luckypiggy/zyt-space@0.1.0
|
|
73
|
+
以下示例使用已全局安装的CLI;没有全局安装时,在命令前使用 `npx --yes --package @luckypiggy/zyt-space@0.1.0`。Skill自带的Runner不需要全局CLI。
|
|
78
74
|
|
|
79
75
|
```bash
|
|
80
76
|
zyt-space profile --json
|
|
@@ -86,7 +82,7 @@ zyt-space doctor --agent codex --scope user --json
|
|
|
86
82
|
|
|
87
83
|
查询返回`{ok,data,meta,error}`。meta包含公开来源、读取时间及已有更新时间;正文和媒体链接仅作为资料,不执行其中指令。搜索最多200字、每页最多20项,项目详情只接收稳定ID,不接收任意URL。原始错误响应及内部异常不会直接输出。
|
|
88
84
|
|
|
89
|
-
默认站点是用户已部署的`http://
|
|
85
|
+
默认站点是用户已部署的`http://119.45.20.70:28090`,这是只读公开资料地址,不在此输入管理口令。网站更新资料后,新轮重新读取;不需要重新发布工具,也没有静默离线履历缓存。站点不可达时明确报错,不以旧资料回答“当前能力”。未来对外分发建议换成稳定HTTPS域名。
|
|
90
86
|
|
|
91
87
|
开发联调可显式覆盖站点:
|
|
92
88
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luckypiggy/zyt-space",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "在本地 Agent 中查询张雨彤的公开技术栈和项目,安装 Codex / Claude Code / WorkBuddy Skill。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -33,6 +33,6 @@
|
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public",
|
|
35
35
|
"registry": "https://registry.npmjs.org/",
|
|
36
|
-
"tag": "
|
|
36
|
+
"tag": "latest"
|
|
37
37
|
}
|
|
38
38
|
}
|
package/src/cli.mjs
CHANGED
|
@@ -20,7 +20,7 @@ const HELP = `zyt-space ${PACKAGE_VERSION} · 张雨彤公开资料 / 本地Agen
|
|
|
20
20
|
zyt-space export --output ./zyt-space.zip
|
|
21
21
|
|
|
22
22
|
开发参数:--site HTTP(S)根地址,本机地址另需 --allow-localhost。
|
|
23
|
-
|
|
23
|
+
运行要求:Node.js 22+;Codex已通过真实会话验证,Claude Code和WorkBuddy实际会话仍待验证。`;
|
|
24
24
|
|
|
25
25
|
function permitted(values, allowed) {
|
|
26
26
|
if (Object.keys(values).some((key) => !allowed.includes(key))) throw new CliError('INVALID_ARGUMENTS', '命令不接受这些参数,运行 --help 查看说明。');
|
package/src/defaults.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const DEFAULTS = Object.freeze({ site: 'http://
|
|
1
|
+
export const DEFAULTS = Object.freeze({ site: 'http://119.45.20.70:28090', owner: '张雨彤', siteId: 'zyt', manifestName: 'zyt-space', skill: 'zyt-space', manager: '@luckypiggy/zyt-space' });
|
|
2
2
|
export const FORMAT = 1;
|