Language-aware house style and a resizable chat split
House style now follows the app language: Chinese UI forces the new bundled humanizer-zh skill into every run, English forces humanizer - one variant per run, picked by preference with cross-language fallback so an older catalogue never silently loses house style. Both variants are protected from grant/revoke, list_skills labels each with its language, the bundle guard requires both, and startup sync imports the new skill into existing orgs on next launch. Covered by a unit test that flips app_state.language and asserts which humanizer compiles. The chat split is now adjustable: drag the conversation list's right edge (200-480px, persisted in localStorage) and the composer textarea grew a native vertical resize grip capped at 40vh.
This commit is contained in:
1 parent
c027508b97
commit
eaaf36f859
16 files changed
+931
-45
No files matched your search
@@ -17,6 +17,7 @@ describe("bundled skill catalogue", () => {
|
||||
const staged = stageBuiltinSkillsLibrary(resolve(process.cwd(), "built-in skills"), libraryRoot);
|
||||
expect(staged.length).toBeGreaterThan(200);
|
||||
expect(staged.some((unit) => unit.slug === "humanizer")).toBe(true);
|
||||
expect(staged.some((unit) => unit.slug === "humanizer-zh")).toBe(true);
|
||||
const withDescription = staged.filter((unit) => unit.manifest.description).length;
|
||||
expect(withDescription / staged.length).toBeGreaterThan(0.9);
|
||||
} finally {
|
||||
|
||||
Reference in new issue
Block a user