package-desktop.mjs now refuses a versioned package when the manual has
uncommitted changes, and records the manual it actually packaged in
build-info.json as mcpAppsManual: { sha256, size } (null for versionless
builds or builds without the manual). publish-page-manual.mjs requires
the checkout's manual to match that record and rejects build-info files
from the old packager.
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
Rename the CDN prefix from plugin-pages/manual/ to mcp-apps/manual/ so
the path names the MCP Apps protocol it serves. Nothing has been
published under the old prefix.
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
Publish the manual to plugin-pages/manual/<version>/<sha256>.md so a
CDN object shows which client it belongs to, while the hash still keeps
two different manuals for the same version apart. The script now reads
version, region and release commit from the package's build-info.json,
rejects versionless/0.0.0 packages and checkouts that are not the
release commit, and uses the full manual name in the dev rules.
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
Refer to 《Cindy MCP Apps 页面生成手册》 instead of the short 《页面生成手册》 in the media/plugin dev rules and the publish script header.
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
- New locale zh-Hans-x-lzh, generated from the Traditional edition (copy kept
verbatim from zh-TW takes the zh-CN value; the rest goes through OpenCC tw2sp).
Falls back to zh-CN, then en; never chosen from the OS language.
- The language menu has a single 文言 entry. Choosing it adds a row to the same
card for script (简体 / 繁體) and AI reply style: classical prose (default),
Tang poetry, Song ci, Yuan qu, Chu ci, parallel prose, pre-Qin masters,
historian, Ming–Qing essays, or plain replies with the classical interface.
- Styles live in @cindy/maker-shared/classical-reply, grouped by literary
family so Japanese / Korean classical editions can add their own later.
- The style rides the per-turn [UI language] note next to uiLanguage; the
cached system prompt is unchanged. Desktop mirrors its choice to main over
IPC; Mobile sends its own with each turn; IM channels keep the error-language
note only.
- QA previews, glossary, docs and the installer message check cover the new
edition.
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Add a hand-selectable Classical Chinese locale (zh-Hant-x-lzh) across
Desktop, Mobile and native copy, written in Traditional characters with
Cindy's playful ancient-style voice, verse on welcome and milestone
screens, and plain wording for deletion, permission, credential and
payment prompts.
- The private-use tag keeps Intl dates, numbers and plurals on zh-Hant;
missing keys fall back to zh-TW, then English. OS languages never
resolve to it, and an app locale passed back through the main-process
resolver keeps its identity instead of folding into zh-TW.
- With this interface the per-turn UI language note also asks the model
to reply in Classical Chinese; switching languages replaces the note
and ends the style. IM channels keep the error-language-only note.
The cached system prompt is unchanged.
- Server-facing locales stay on existing values (zh-TW / zh-CN).
- Record the style guide and glossary terms; refresh login QA previews.
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Publish PAGE-GENERATION.md to plugin-pages/manual/<sha256>.md, the same
content-addressed pattern as the wallpaper assets. Clients build the URL
from the sha256 of their bundled manual, so the script runs by hand like
publish-wallpaper-videos.mjs and no longer needs build-info.json or the
external release kit. --check-cdn is the pre-release check.
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
Add scripts/publish-page-manual.mjs to upload the bundled
PAGE-GENERATION.md to {cdnBaseUrl}/plugin-pages/manual/{version}/ with a
manifest.json. Version, region and commit come from build-info.json; the
manual bytes come from the build commit, and builds without the manual
are skipped. Versioned objects are never overwritten.
The shared path helper lives in apps/desktop/src/shared/pluginPageManual.mjs
so the client runtime can build the same URL later.
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
Complete desktop and mobile catalogs and native copy for ten UI locales.
Keep Portugal and Brazil Portuguese separate, preserve service locale
contracts, and verify real desktop/iOS/Android language switching.
French catalog based on community contribution #7739 with updates
for the current source and terminology.
Co-authored-by: Digital Air Media <contact@digitalairmedia.eu>
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
git ls-files -z exceeds Node's default 1 MiB spawnSync maxBuffer, so the
child is killed and check:brand-terminology fails with exit null.
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Chris Zhang <zqchris@users.noreply.github.com>