@yuchaocheng/yusijia 0.1.0-beta.2 → 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 +8 -8
- package/package.json +2 -2
- package/skills/family-content/SKILL.md +30 -0
package/README.md
CHANGED
|
@@ -11,13 +11,12 @@ scans require `/usr/bin/unzip` and fail clearly when unavailable.
|
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
|
-
The package is `@yuchaocheng/yusijia`.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
the beta does not deploy a website or automatically switch the default site.
|
|
14
|
+
The stable package is `@yuchaocheng/yusijia`. Normal family use connects to
|
|
15
|
+
`https://yusijia.me`; development testing requires an explicitly supplied local site.
|
|
16
|
+
Installing or updating the CLI does not deploy a website or switch its default site.
|
|
18
17
|
|
|
19
18
|
```sh
|
|
20
|
-
npm install --global @yuchaocheng/yusijia
|
|
19
|
+
npm install --global @yuchaocheng/yusijia --registry=https://registry.npmjs.org/
|
|
21
20
|
yusijia --help
|
|
22
21
|
yusijia skills install
|
|
23
22
|
```
|
|
@@ -31,15 +30,16 @@ requests need only the family task and supplied material, not installation steps
|
|
|
31
30
|
First setup can be delegated to an Agent: install this public package, run
|
|
32
31
|
`yusijia skills install`, and check host discovery. Beta versions of
|
|
33
32
|
`yusijia update` stay on the `beta` tag; stable versions use `latest`. Updates never
|
|
34
|
-
fall back between channels.
|
|
35
|
-
|
|
33
|
+
fall back between channels. Existing beta installations must explicitly install
|
|
34
|
+
`@latest` to switch to stable releases. Production requires a stable CLI; beta
|
|
35
|
+
versions are for explicitly selected compatible development sites.
|
|
36
36
|
|
|
37
37
|
Build and test a local tarball (not a release):
|
|
38
38
|
|
|
39
39
|
```sh
|
|
40
40
|
pnpm -C family-cli build
|
|
41
41
|
npm pack ./family-cli --pack-destination ./family-cli
|
|
42
|
-
npm install --global /absolute/path/yuchaocheng-yusijia-0.1.0
|
|
42
|
+
npm install --global /absolute/path/yuchaocheng-yusijia-0.1.0.tgz
|
|
43
43
|
yusijia --help
|
|
44
44
|
yusijia skills install
|
|
45
45
|
```
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuchaocheng/yusijia",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Family content CLI and Agent Skill for photos, albums, timelines and diaries",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
|
-
"publishConfig": { "access": "public", "tag": "
|
|
6
|
+
"publishConfig": { "access": "public", "tag": "latest", "registry": "https://registry.npmjs.org/" },
|
|
7
7
|
"type": "module",
|
|
8
8
|
"bin": { "yusijia": "dist/cli.js" },
|
|
9
9
|
"engines": { "node": ">=20.20.2" },
|
|
@@ -118,6 +118,36 @@ Never flatten an existing rich document or remove images/tables without consent.
|
|
|
118
118
|
Unsupported edits must stop and leave the website editor as the alternative.
|
|
119
119
|
Timeline allows at most three photos. Album remove only removes associations.
|
|
120
120
|
|
|
121
|
+
## Completion
|
|
122
|
+
|
|
123
|
+
After successful writes, read back the affected objects using the site's `get`
|
|
124
|
+
commands and compare them with the confirmed content. Report any mismatch or
|
|
125
|
+
unverified result honestly; an execute success is not a visual check.
|
|
126
|
+
|
|
127
|
+
Give clickable website viewing links using the confirmed plan origin and actual
|
|
128
|
+
result/target IDs, encoding each ID as a URL path segment. These are the supported
|
|
129
|
+
viewing routes; do not guess other detail paths:
|
|
130
|
+
|
|
131
|
+
| Result | Website path |
|
|
132
|
+
| --- | --- |
|
|
133
|
+
| Album | `/photos/albums/<albumId>` |
|
|
134
|
+
| Photos without an album | `/photos` |
|
|
135
|
+
| Growth event | `/timeline` (identify the event by date and title) |
|
|
136
|
+
| Diary | `/diary/<diaryId>` |
|
|
137
|
+
|
|
138
|
+
Do not substitute signed OSS URLs, API endpoints or local progress files for
|
|
139
|
+
website viewing links. Never replace an explicit local site with the default
|
|
140
|
+
production site. Link only successful, readable results, not failed or unknown
|
|
141
|
+
items; use Recovery for partial outcomes.
|
|
142
|
+
|
|
143
|
+
Ask the user to open these links and confirm the displayed photos, dates, wording
|
|
144
|
+
and associations look right. This is a visual review, not another approval to repeat writes.
|
|
145
|
+
Do not claim browser rendering was verified unless it was actually checked.
|
|
146
|
+
Keep the final reply focused on saved content, viewing links and this invitation;
|
|
147
|
+
omit plan hashes, Skill quotations and environment notes unless needed for recovery
|
|
148
|
+
or requested by the user. User feedback requiring further writes gets a new preview
|
|
149
|
+
and confirmation, not a silent correction.
|
|
150
|
+
|
|
121
151
|
## Recovery
|
|
122
152
|
|
|
123
153
|
Partial completion is a nonzero exit, not an all-or-nothing rollback. Report each
|