Skip to content

Commit 215c7ae

Browse files
committed
Merge remote-tracking branch 'origin/master' into claude/clever-goodall-mbhd82
2 parents 5d6d4c1 + 1166d7c commit 215c7ae

59 files changed

Lines changed: 20508 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎CHANGELOG.md‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
## Unreleased
2+
3+
- `AppIdentity`: a project's identity as a web app and a mobile app (name,
4+
short name, title template with per-page overrides, description, keywords,
5+
canonical URL, favicon/icon sources, theme and background colors, social
6+
card, PWA manifest, splash, language, robots, mobile display name, adaptive
7+
icon, status bar). Hand-written lenient JSON with migrations from legacy
8+
flat shapes, `merge` for patches, `checklist()` for the pre-publish
9+
warnings, `toWebManifest()`, and `IdentityAssets`, the list of every
10+
generated favicon, icon, splash and social image size.
11+
- New `package:codelessly_api/genscreen.dart`: screens generated from a
12+
one-line prompt and a DESIGN.md design kit (see the editor's
13+
`docs/design_md_spec.md`).
14+
- DESIGN.md parser and writer (`DesignMdParser`, `DesignMdWriter`,
15+
`DesignKit`), with line-numbered issues, WCAG contrast checks and a
16+
content fingerprint for cache keys.
17+
- Kit bridge: `kitThemeTokens`, `kitStyles` (styles for `styles.add`),
18+
`kitComponentLibrary`, and `exportDesignKit` (a kit read back from a
19+
project's styles and nodes).
20+
- Screen plans: `ScreenPlanValidator`, `screenPlanJsonSchema`,
21+
`normalizePlan` (runtime-name clashes, type aliases).
22+
- `ScreenCompiler`: responsive trees (mobile, tablet, desktop) with
23+
content, skeleton loading, empty and error states, built only from kit
24+
tokens; components include a swipeable, flippable `deck`.
25+
- `checkOnBrand`, `ScreenPrompt` (system, user, fix and review prompts),
26+
`screenCacheKey`, `extractPlanJson`.
27+
- `tool/genscreen.dart`: prompt, validate, compile and kit checks from the
28+
command line.
29+
130
## 9.0.3
231

332
- An icon's click reactions run when it is tapped, and an icon with one

‎lib/genscreen.dart‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/// Screens generated from a one-line prompt and a DESIGN.md design kit:
2+
/// the kit format (parser, writer, exporter, Codelessly theme bridge), the
3+
/// screen plan an LLM writes, its validator, and the compiler that turns a
4+
/// plan into responsive Codelessly node trees.
5+
///
6+
/// See `CodelesslyEditor/docs/design_md_spec.md`.
7+
library;
8+
9+
export 'src/genscreen/design_kit.dart';
10+
export 'src/genscreen/design_md_parser.dart';
11+
export 'src/genscreen/design_md_writer.dart';
12+
export 'src/genscreen/icon_vocabulary.dart';
13+
export 'src/genscreen/screen_compiler.dart';
14+
export 'src/genscreen/screen_plan.dart';
15+
export 'src/genscreen/screen_prompt.dart';
16+
export 'src/genscreen/screen_checks.dart';
17+
export 'src/genscreen/kit_bridge.dart';

0 commit comments

Comments
 (0)