97 Commits

Author SHA1 Message Date
Dominik Jain
ef060c4da6 Improve description of ExecuteCodeTool 2025-10-19 23:03:22 +02:00
Dominik Jain
670b0d6b07 Disallow multiple plugin instances being connected in parallel 2025-10-16 19:20:17 +02:00
Dominik Jain
e3a9771f9c ExecuteCodeTool: Remove redundant preamble for success results 2025-10-16 16:17:00 +02:00
Dominik Jain
6c6204806f ExportShapeTool: Fix SVG export 2025-10-16 16:17:00 +02:00
Dominik Jain
7463ba3eaf
Revise warning messages in README
Updated warning messages to use the new format for important information.
2025-10-16 13:45:02 +02:00
Dominik Jain
bc5936365a REPL: Reuse last input 2025-10-15 17:45:47 +02:00
Dominik Jain
6daede99b2 REPL: Improve style for output number 2025-10-15 17:31:40 +02:00
Dominik Jain
ac0290aca0 Add util functions getPageForShape and generateCss
in an attempt to circumvent restrictions of penpot.generateStyle
2025-10-15 17:30:23 +02:00
Dominik Jain
b5869d185b Reduce plugin UI size and improve colours 2025-10-11 22:56:57 +02:00
Dominik Jain
8a6848a663 Move prettier configuration to top level 2025-10-11 22:56:57 +02:00
Dominik Jain
0b9404e2a2 Remove obsolete tool: PrintTextTool 2025-10-11 22:56:57 +02:00
Dominik Jain
4cbce1e009 Remove obsolete tool: HelloWorldTool 2025-10-11 22:56:57 +02:00
Dominik Jain
5136c84534 Improve README
* Add warnings to prevent common errors
   (closing plugin UI, not fully quitting Claude Desktop)
 * Add Claude Code instructions
 * Add Claude Desktop for Linux
2025-10-08 22:25:47 +02: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
9dcbc68f09 Extend plugin permissions: Add read/write for library and comments 2025-10-08 00:10:26 +02:00
Dominik Jain
094e436d80 Make ExecuteCodeTaskHandler use async functions by default
facilitating calls to async functions (also triggered by the LLM)
2025-10-08 00:10:26 +02:00
Dominik Jain
3f7153c7e4 Update lock files 2025-10-08 00:10:26 +02:00
Dominik Jain
66df6d1d45 API docs generation: For each type, list all referencing types in the overview information 2025-10-08 00:10:26 +02:00
Dominik Jain
011e4c66c0 Add video to README 2025-10-08 00:10:26 +02:00
Dominik Jain
06accf7c45 Improve README 2025-10-08 00:10:26 +02:00
Dominik Jain
200c11bb8e Add architecture diagram and extend description 2025-10-08 00:10:26 +02:00
Dominik Jain
cbac84bab2 Restructuring, improving README structure and npm commands 2025-10-08 00:10:26 +02:00
Dominik Jain
cb5dbcfb06 Make plugin window smaller and use purple colour for successful connection 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
e5b5722ce6 Remove demo 'add text' button 2025-10-08 00:10:26 +02:00
Dominik Jain
11d67037e7 Make PenpotUtils.findShape search across all pages (i.e. globally) 2025-10-08 00:10:26 +02:00
Dominik Jain
dab0ab944e Remove obsolete template stuff from plugin 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
649506cc9e Improve ExportShapeTool
* Add support for SVG
  * Add support for shape identifiers
  * Add support for writing result to file
2025-10-08 00:10:25 +02:00
MischaPanch
eda3f855b4 Top level install/start script
Minor readme extension
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
afb00f6033 Switch WebSocket port from 8080 to 4402 2025-10-08 00:10:25 +02:00
Dominik Jain
3da2065a18 Establish proper REPL behaviour with history of inputs and outputs 2025-10-08 00:10:25 +02:00
Dominik Jain
3a1494e18c Move REPL server HTML content to a separate file 2025-10-08 00:10:25 +02:00
Dominik Jain
8552bb4183 Add REPL server 2025-10-08 00:10:25 +02:00
Dominik Jain
ad771ee92f Add ExportShapeTool 2025-10-08 00:10:25 +02:00
Dominik Jain
223d6d50b0 Improve return type definition of ExecuteCodePluginTask 2025-10-08 00:10:25 +02:00
Dominik Jain
77f4a978be Add support for image-based tool responses 2025-10-08 00:10:25 +02:00
Dominik Jain
13cb1aee0f ExecuteCodeTaskHandler: Await result if it is a Promise 2025-10-08 00:10:25 +02:00
Dominik Jain
4350f18ab3 Make TaskHandler.handle async 2025-10-08 00:10:25 +02:00
Dominik Jain
fca9298d20 Add README 2025-10-08 00:10:25 +02:00
Dominik Jain
74ff6a12df Add PenpotApiInfoTool 2025-10-08 00:10:25 +02:00
Dominik Jain
d972e1ed71 Add structured info on Penpot API types and class ApiDocs for its representation 2025-10-08 00:10:25 +02:00
Dominik Jain
f932dfb47c Improve Serena memories/prompts 2025-10-08 00:10:25 +02:00
Dominik Jain
536250410c Obtain structured information on each type, storing it in a yaml file 2025-10-08 00:10:25 +02:00
Dominik Jain
068817709e Add API docs processing script (conversion from HTML to markdown) 2025-10-08 00:10:25 +02:00
Dominik Jain
5ab14ffb9e Allow code execution to use the console, returning the full log 2025-10-08 00:10:25 +02:00
Dominik Jain
3d29e42251 Improve prompts 2025-10-08 00:10:25 +02:00