Dominik Jain
fcfa67e908
Encourage the use of flex layouts
2026-01-30 14:55:16 +01:00
Dominik Jain
0715697cac
Add information on layoutChild
2026-01-30 14:11:53 +01:00
Dominik Jain
cbb0863746
Add helper function PenpotUtils.addFlexLayout for adding a layout without changing relative child positions
...
Resolves #33
Additional changes: Improve prompts pertaining to layouts
2026-01-29 14:28:56 +01:00
Dominik Jain
9903bdf2dd
Add instructions to work around counter-intuitive child ordering #28 #32
...
This is a temporary solution until the issue can be resolved in the API
2026-01-27 23:17:46 +01:00
Dominik Jain
8480ff63e8
Improve prompts on layouts
2026-01-27 14:42:42 +01:00
Dominik Jain
669a931b07
Add information on text resizing and asynchronous property updates
2026-01-20 12:25:50 +01:00
Dominik Jain
ef37434fa4
Improve prompts on containment checks
2026-01-20 12:25:50 +01:00
Dominik Jain
b055eafd0c
Mention reverse order of children in flex layouts
2026-01-20 12:23:33 +01:00
Dominik Jain
20524a3a0d
Instruct model to copy selection immediately
2026-01-19 21:40:41 +01:00
Dominik Jain
45f8c9b1df
Add small section on revising designs, minor reordering #26
2026-01-15 18:08:44 +01:00
Dominik Jain
892098d63e
Encourage use of the storage object
2026-01-15 17:32:59 +01:00
Dominik Jain
07300fea2d
PenpotUtils.analyzeDescendants: Try more explicit args (root, shape) for evaluator #26
...
This can perhaps prevent usage errors
2026-01-15 17:30:36 +01:00
Dominik Jain
e993c74636
Improve prompt pertaining to image handling
2026-01-15 17:02:52 +01:00
Dominik Jain
d23b0dbe91
Improve prompts pertaining to hierarchy/reparenting #26
...
Remove redundant section
2026-01-15 17:02:38 +01:00
Dominik Jain
90459f0ba4
Add PenpotUtils.analyzeDescendants as a powerful utility function for validation #26
2026-01-15 16:42:47 +01:00
Dominik Jain
c4c37adb25
PenpotUtils: Add isContainedIn and setParentXY #26
2026-01-14 22:21:20 +01:00
Dominik Jain
3c1bd875d8
PenpotUtils.shapeStructure: Add essential information on layouts #26
2026-01-14 21:49:52 +01:00
Dominik Jain
4353f67322
Move 'Executing Code' section to the top
2026-01-14 21:49:52 +01:00
Dominik Jain
57c99d98f7
Initial prompt improvements inspired by design linter experiment #26
2026-01-14 21:49:42 +01:00
Dominik Jain
c51255cbe0
System prompt: Add new information on z-order handling
2026-01-12 14:01:50 +01:00
Dominik Jain
f01774ab6b
System prompt: More information on shape positioning (particularly with respect to parent shapes)
2025-11-28 16:41:22 +01:00
Dominik Jain
82737f19d4
Add information on libraries to system prompt
...
Add structure to system prompt, adding headings
2025-11-28 12:39:40 +01:00
Dominik Jain
b223bec540
Improve system prompt
...
* Regroup shape-related information
* Add info on semantics of location (x, y), z-order
* Add info on deprecation of Image and use of fills
* More uniform formatting
2025-11-14 13:45:17 +01:00
Juanfran
ca7187f81f
Improve shape and image searching prompts
2025-11-05 15:21:35 +01:00
Dominik Jain
6fe80bb99c
Apply prettier to .yml files
2025-11-05 13:46:57 +01:00
Dominik Jain
5773b6f404
Update PenpotUtils signatures in system prompt, provide full list of low-level shape types
2025-10-08 00:10:26 +02:00
Dominik Jain
36baab4a06
Change system prompt in an attempt to prevent premature logging
2025-10-08 00:10:26 +02:00
Dominik Jain
1bc309fc5a
Provide list of all API types in initial instructions
2025-10-08 00:10:26 +02:00
Dominik Jain
dacd87bbac
Add utils for Page handling, improve prompts explaining design structure
2025-10-08 00:10:26 +02:00
Dominik Jain
cf5231db66
Improve prompts
2025-10-08 00:10:25 +02:00
Dominik Jain
865606b7b0
Add PenpotUtils (utility functions the LLM can make use of)
2025-10-08 00:10:25 +02:00
Dominik Jain
74ff6a12df
Add PenpotApiInfoTool
2025-10-08 00:10:25 +02:00
Dominik Jain
3d29e42251
Improve prompts
2025-10-08 00:10:25 +02:00
Dominik Jain
bc28e116c8
Add HighLevelOverviewTool
2025-10-08 00:10:25 +02:00
Dominik Jain
e0efe2b110
Add initial instructions (loaded from yml file)
2025-10-08 00:10:25 +02:00