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
@@ -68,6 +68,10 @@ function importSkill(h: Harness, name: string, slug: string): void {
|
||||
insert into skill_revisions(id, skill_id, version_semver, manifest_json, source_type, source_ref, published_at, immutable_checksum)
|
||||
values (?, ?, '1.0.0', '{}', 'local_directory', '/tmp', ?, 'checksum')
|
||||
`).run(`skr_${slug}`, `skl_${slug}`, now);
|
||||
h.connection.db.prepare(`
|
||||
insert into skill_artifacts(id, revision_id, artifact_type, object_key, sha256, size_bytes)
|
||||
values (?, ?, 'entrypoint', ?, 'sha', 1)
|
||||
`).run(`ska_${slug}`, `skr_${slug}`, `/tmp/${slug}/SKILL.md`);
|
||||
}
|
||||
|
||||
describe("skill grants", () => {
|
||||
|
||||
Reference in new issue
Block a user