kerfjs 5.0.0-beta.128 → 5.0.0-beta.129
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/CHANGELOG.md +4 -0
- package/ai/manifest.json +1 -1
- package/package.json +2 -2
- package/setup/index.mjs +29 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **Editor Library resize (KF-EQRNAR).** Bottom-edge pointer and keyboard resizing now remembers the chosen size without pinning the Library. Header movement still pins it; transient panels keep light dismissal and restore their size after reopening or reload.
|
|
12
|
+
|
|
9
13
|
### Removed
|
|
10
14
|
|
|
11
15
|
- **`@kerfjs/ui/view` generator internals (KF-V5DPD1).** `printDoc` and `moduleSpecifier` are no longer exported by the public view subpath; repository tests import them from the generator module. The view subpath has only shipped in the 5.0.0 beta line.
|
package/ai/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kerfjs",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.129",
|
|
4
4
|
"description": "Tiny reactive UI framework — fine-grained signals + DOM morphing + JSX. Apply the smallest possible cut to update your DOM.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"typecheck": "node node_modules/typescript7/bin/tsc --noEmit",
|
|
146
146
|
"check": "node scripts/check-guidance-integrity.mjs --record-pass -- node scripts/run-check-steps.mjs check:core",
|
|
147
147
|
"push": "node scripts/push.mjs",
|
|
148
|
-
"check:core": "npm run lint && npm run typecheck && node scripts/check-doc-test-inventory.mjs && node scripts/check-doc-api-coverage.mjs && node scripts/check-doc-ui-api-coverage.mjs && node scripts/check-doc-ui-subpaths.mjs && node scripts/check-doc-site-tickets.mjs && node scripts/check-cdn-versions.mjs && node scripts/check-dev-warn-docs.mjs && node scripts/check-skill-freshness.mjs && node scripts/check-design-rule-5.mjs && node scripts/check-feature-coverage.mjs && node scripts/sync-lockstep-versions.mjs --check && node scripts/sync-scaffold-catalog-schema.mjs --check && node scripts/check-ai-bundle.mjs && npm test && npm run build && node scripts/check-bundle-size.mjs && node scripts/check-doc-api-signatures.mjs && vitest run --config vitest.config.dist.ts && vitest run --config vitest.config.dist-full.ts && node node_modules/typescript7/bin/tsc -p tests/dist/jsx-typing/tsconfig.json && node scripts/check-packed-jsx-typing.mjs && node node_modules/typescript7/bin/tsc -p site/src/examples/complete/tsconfig.json && node node_modules/typescript7/bin/tsc -p tests/dist/scaffold-typing/tsconfig.json && node scripts/check-docs-examples.mjs && node scripts/check-package-gates.mjs",
|
|
148
|
+
"check:core": "npm run lint && npm run typecheck && node scripts/check-doc-test-inventory.mjs && node scripts/check-doc-api-coverage.mjs && node scripts/check-doc-ui-api-coverage.mjs && node scripts/check-doc-ui-subpaths.mjs && node scripts/check-doc-site-tickets.mjs && node scripts/check-cdn-versions.mjs && node scripts/check-dev-warn-docs.mjs && node scripts/check-skill-freshness.mjs && node scripts/check-design-rule-5.mjs && node scripts/check-feature-coverage.mjs && node scripts/sync-lockstep-versions.mjs --check && node scripts/sync-scaffold-catalog-schema.mjs --check && node scripts/check-ai-bundle.mjs && node --test scripts/verified-worktree-cleanup.test.mjs && npm test && npm run build && node scripts/check-bundle-size.mjs && node scripts/check-doc-api-signatures.mjs && vitest run --config vitest.config.dist.ts && vitest run --config vitest.config.dist-full.ts && node node_modules/typescript7/bin/tsc -p tests/dist/jsx-typing/tsconfig.json && node scripts/check-packed-jsx-typing.mjs && node node_modules/typescript7/bin/tsc -p site/src/examples/complete/tsconfig.json && node node_modules/typescript7/bin/tsc -p tests/dist/scaffold-typing/tsconfig.json && node scripts/check-docs-examples.mjs && node scripts/check-package-gates.mjs",
|
|
149
149
|
"check:docs:examples": "node scripts/check-docs-examples.mjs",
|
|
150
150
|
"check:full": "npm run check && npm run --silent check:audit && playwright test",
|
|
151
151
|
"check:ui": "npm --prefix ui run check",
|
package/setup/index.mjs
CHANGED
|
@@ -499,6 +499,32 @@ async function planAiFiles(plan, aiManifest, guidanceSource) {
|
|
|
499
499
|
};
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
+
if (mode === 'ui') {
|
|
503
|
+
const content = `---\nname: kerf-ui-design-mock\ndescription: Plan and review rendered Kerf UI screen concepts before implementation, using the installed package's design-mock workflow.\n---\n\nRead the selected project's installed \`node_modules/@kerfjs/ui/ai/design-mock/SKILL.md\` and follow it. Resolve that path from the selected package in a workspace. Read the same installed package's \`llms.txt\` and \`ai/skill.md\` as directed there so the design uses its actual component version.\n`;
|
|
504
|
+
for (const provider of ['.claude', '.agents']) {
|
|
505
|
+
const path = `${provider}/skills/kerf-ui-design-mock/SKILL.md`;
|
|
506
|
+
const destination = resolve(root, path);
|
|
507
|
+
const current = await readText(destination);
|
|
508
|
+
plan.knownResolutionIds.add(path);
|
|
509
|
+
if (current !== null && current !== content && !resolutions[path]) {
|
|
510
|
+
plan.activeConflictIds.add(path);
|
|
511
|
+
plan.conflicts.push({
|
|
512
|
+
id: path,
|
|
513
|
+
message:
|
|
514
|
+
'design-mock skill entry differs from installed guidance pointer',
|
|
515
|
+
});
|
|
516
|
+
} else if (
|
|
517
|
+
current === null ||
|
|
518
|
+
current === content ||
|
|
519
|
+
resolutions[path] === 'kerf'
|
|
520
|
+
) {
|
|
521
|
+
await plan.addAction(destination, content, 'canonical');
|
|
522
|
+
managedAfter[path] = { sha256: sha256(content) };
|
|
523
|
+
} else {
|
|
524
|
+
plan.activeConflictIds.add(path);
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
}
|
|
502
528
|
}
|
|
503
529
|
|
|
504
530
|
/**
|
|
@@ -1186,6 +1212,9 @@ export function formatSetupPlan(plan) {
|
|
|
1186
1212
|
lines.push('AI guidance: .claude/skills/kerf-app/SKILL.md');
|
|
1187
1213
|
if (plan.mode === 'ui') {
|
|
1188
1214
|
lines.push('AI UI guidance: .claude/skills/kerf-ui/SKILL.md');
|
|
1215
|
+
lines.push(
|
|
1216
|
+
'AI design mocks: .claude/skills/kerf-ui-design-mock/SKILL.md and .agents/skills/kerf-ui-design-mock/SKILL.md',
|
|
1217
|
+
);
|
|
1189
1218
|
lines.push(
|
|
1190
1219
|
`Read first: ${portable(plan.root, resolve(plan.packageRoot, 'node_modules/@kerfjs/ui/llms.txt'))}`,
|
|
1191
1220
|
);
|