@pinepaper.studio/mcp-server 1.6.18 → 1.6.20

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.
Files changed (127) hide show
  1. package/README.de.md +1 -1
  2. package/README.es.md +1 -1
  3. package/README.fr.md +1 -1
  4. package/README.hi.md +1 -1
  5. package/README.ja.md +1 -1
  6. package/README.ko.md +1 -1
  7. package/README.md +179 -10
  8. package/README.pt-BR.md +1 -1
  9. package/README.zh-CN.md +1 -1
  10. package/dist/agent/export-manager.js +2 -2
  11. package/dist/agent/session-manager.d.ts +8 -0
  12. package/dist/agent/session-manager.d.ts.map +1 -1
  13. package/dist/agent/session-manager.js +17 -2
  14. package/dist/agent/session-manager.js.map +1 -1
  15. package/dist/assets/asset-manager.d.ts +28 -1
  16. package/dist/assets/asset-manager.d.ts.map +1 -1
  17. package/dist/assets/asset-manager.js +65 -25
  18. package/dist/assets/asset-manager.js.map +1 -1
  19. package/dist/assets/index.d.ts +1 -3
  20. package/dist/assets/index.d.ts.map +1 -1
  21. package/dist/assets/index.js +1 -3
  22. package/dist/assets/index.js.map +1 -1
  23. package/dist/assets/repositories/iconify.js +1 -1
  24. package/dist/assets/repositories/iconify.js.map +1 -1
  25. package/dist/assets/repositories/openclipart.js +1 -1
  26. package/dist/assets/repositories/openclipart.js.map +1 -1
  27. package/dist/assets/repositories/svgrepo.js +2 -2
  28. package/dist/assets/repositories/svgrepo.js.map +1 -1
  29. package/dist/assets/types.d.ts +2 -2
  30. package/dist/assets/types.d.ts.map +1 -1
  31. package/dist/browser/puppeteer-controller.d.ts +25 -0
  32. package/dist/browser/puppeteer-controller.d.ts.map +1 -1
  33. package/dist/browser/puppeteer-controller.js +107 -1
  34. package/dist/browser/puppeteer-controller.js.map +1 -1
  35. package/dist/build-info.json +3 -3
  36. package/dist/cli.js +4 -2
  37. package/dist/cli.js.map +1 -1
  38. package/dist/design/design-systems.d.ts +2 -0
  39. package/dist/design/design-systems.d.ts.map +1 -1
  40. package/dist/design/design-systems.js +2 -0
  41. package/dist/design/design-systems.js.map +1 -1
  42. package/dist/execution/canvas-state.d.ts.map +1 -1
  43. package/dist/execution/canvas-state.js +19 -43
  44. package/dist/execution/canvas-state.js.map +1 -1
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js +27 -11
  47. package/dist/index.js.map +1 -1
  48. package/dist/ontology/design-graph.js +2 -2
  49. package/dist/ontology/design-graph.js.map +1 -1
  50. package/dist/ontology/upstream-vocabulary.d.ts +2 -2
  51. package/dist/ontology/upstream-vocabulary.js +2 -2
  52. package/dist/ontology/validator.js +1 -1
  53. package/dist/ontology/validator.js.map +1 -1
  54. package/dist/ontology/vocabulary.d.ts.map +1 -1
  55. package/dist/ontology/vocabulary.js +8 -0
  56. package/dist/ontology/vocabulary.js.map +1 -1
  57. package/dist/tools/choreograph.d.ts +64 -0
  58. package/dist/tools/choreograph.d.ts.map +1 -0
  59. package/dist/tools/choreograph.js +336 -0
  60. package/dist/tools/choreograph.js.map +1 -0
  61. package/dist/tools/compact-descriptions.d.ts.map +1 -1
  62. package/dist/tools/compact-descriptions.js +16 -15
  63. package/dist/tools/compact-descriptions.js.map +1 -1
  64. package/dist/tools/definitions.d.ts +10 -1
  65. package/dist/tools/definitions.d.ts.map +1 -1
  66. package/dist/tools/definitions.js +705 -150
  67. package/dist/tools/definitions.js.map +1 -1
  68. package/dist/tools/effect-check.d.ts +26 -0
  69. package/dist/tools/effect-check.d.ts.map +1 -0
  70. package/dist/tools/effect-check.js +129 -0
  71. package/dist/tools/effect-check.js.map +1 -0
  72. package/dist/tools/effect-class.d.ts +31 -0
  73. package/dist/tools/effect-class.d.ts.map +1 -0
  74. package/dist/tools/effect-class.js +170 -0
  75. package/dist/tools/effect-class.js.map +1 -0
  76. package/dist/tools/engine-lists.d.ts +20 -5
  77. package/dist/tools/engine-lists.d.ts.map +1 -1
  78. package/dist/tools/engine-lists.js +106 -4
  79. package/dist/tools/engine-lists.js.map +1 -1
  80. package/dist/tools/engine-methods.d.ts.map +1 -1
  81. package/dist/tools/engine-methods.js +22 -1
  82. package/dist/tools/engine-methods.js.map +1 -1
  83. package/dist/tools/engine-surface.d.ts +1 -1
  84. package/dist/tools/engine-surface.d.ts.map +1 -1
  85. package/dist/tools/engine-surface.js +232 -13
  86. package/dist/tools/engine-surface.js.map +1 -1
  87. package/dist/tools/handlers/camera.js +8 -8
  88. package/dist/tools/handlers/camera.js.map +1 -1
  89. package/dist/tools/handlers/export.d.ts.map +1 -1
  90. package/dist/tools/handlers/export.js +84 -5
  91. package/dist/tools/handlers/export.js.map +1 -1
  92. package/dist/tools/handlers/font.js +10 -10
  93. package/dist/tools/handlers/font.js.map +1 -1
  94. package/dist/tools/handlers/generate.d.ts +12 -12
  95. package/dist/tools/handlers/maps.d.ts.map +1 -1
  96. package/dist/tools/handlers/maps.js +23 -3
  97. package/dist/tools/handlers/maps.js.map +1 -1
  98. package/dist/tools/handlers.d.ts +44 -0
  99. package/dist/tools/handlers.d.ts.map +1 -1
  100. package/dist/tools/handlers.js +413 -39
  101. package/dist/tools/handlers.js.map +1 -1
  102. package/dist/tools/index.d.ts +2 -2
  103. package/dist/tools/index.d.ts.map +1 -1
  104. package/dist/tools/index.js +2 -2
  105. package/dist/tools/index.js.map +1 -1
  106. package/dist/tools/minimal-descriptions.d.ts.map +1 -1
  107. package/dist/tools/minimal-descriptions.js +39 -26
  108. package/dist/tools/minimal-descriptions.js.map +1 -1
  109. package/dist/tools/shape-params.d.ts +2 -2
  110. package/dist/tools/shape-params.d.ts.map +1 -1
  111. package/dist/tools/shape-params.js +27 -2
  112. package/dist/tools/shape-params.js.map +1 -1
  113. package/dist/tools/stick-vocabulary.d.ts +1 -1
  114. package/dist/tools/stick-vocabulary.js +1 -1
  115. package/dist/tools/toolkits.d.ts.map +1 -1
  116. package/dist/tools/toolkits.js +11 -0
  117. package/dist/tools/toolkits.js.map +1 -1
  118. package/dist/types/code-generator.d.ts +91 -3
  119. package/dist/types/code-generator.d.ts.map +1 -1
  120. package/dist/types/code-generator.js +1544 -276
  121. package/dist/types/code-generator.js.map +1 -1
  122. package/dist/types/schemas.d.ts +3203 -907
  123. package/dist/types/schemas.d.ts.map +1 -1
  124. package/dist/types/schemas.js +393 -53
  125. package/dist/types/schemas.js.map +1 -1
  126. package/manifest.json +46 -2
  127. package/package.json +4 -3
package/README.de.md CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
  Der PinePaper MCP-Server lässt KI-Assistenten über das Model Context Protocol Grafiken in [PinePaper Studio](https://pinepaper.studio) erstellen und animieren. Funktioniert mit jeder KI, die MCP-Tool-Aufrufe unterstützt (Claude, GPT, Gemini, lokale Modelle usw.).
21
21
 
22
- Der Server bietet **159 Tools**: Zeichnen, Animation, Diagramme, Karten, Typografie, Physik, Bildbearbeitung, Datenvisualisierung und Export:
22
+ Der Server bietet **170 Tools**: Zeichnen, Animation, Diagramme, Karten, Typografie, Physik, Bildbearbeitung, Datenvisualisierung und Export:
23
23
 
24
24
  - Text, Formen, Geometrie und komplexe Grafiken erstellen
25
25
  - Mit deklarativen **Relationen** animieren statt mit Keyframes
package/README.es.md CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
  El servidor MCP de PinePaper permite a los asistentes de IA crear y animar gráficos en [PinePaper Studio](https://pinepaper.studio) a través del Model Context Protocol. Funciona con cualquier IA que soporte llamadas a herramientas MCP (Claude, GPT, Gemini, modelos locales, etc.).
21
21
 
22
- Expone **159 herramientas**: dibujo, animación, diagramas, mapas, tipografía, física, edición de imágenes, visualización de datos y exportación:
22
+ Expone **170 herramientas**: dibujo, animación, diagramas, mapas, tipografía, física, edición de imágenes, visualización de datos y exportación:
23
23
 
24
24
  - Crear texto, formas, geometría y gráficos complejos
25
25
  - Animar con **relaciones** declarativas en lugar de fotogramas clave
package/README.fr.md CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
  Le serveur MCP PinePaper permet aux assistants IA de créer et d'animer des graphiques dans [PinePaper Studio](https://pinepaper.studio) via le Model Context Protocol. Compatible avec toute IA gérant les appels d'outils MCP (Claude, GPT, Gemini, modèles locaux, etc.).
21
21
 
22
- Il expose **159 outils** : dessin, animation, diagrammes, cartes, typographie, physique, retouche d'image, visualisation de données et export :
22
+ Il expose **170 outils** : dessin, animation, diagrammes, cartes, typographie, physique, retouche d'image, visualisation de données et export :
23
23
 
24
24
  - Créer du texte, des formes, de la géométrie et des graphiques complexes
25
25
  - Animer avec des **relations** déclaratives plutôt que des images clés
package/README.hi.md CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
  PinePaper MCP सर्वर AI असिस्टेंट्स को Model Context Protocol के ज़रिए [PinePaper Studio](https://pinepaper.studio) में ग्राफ़िक्स बनाने और एनिमेट करने देता है। MCP टूल कॉलिंग वाले किसी भी AI (Claude, GPT, Gemini, लोकल मॉडल आदि) के साथ काम करता है।
21
21
 
22
- सर्वर **159 टूल** देता है — ड्रॉइंग, एनिमेशन, डायग्राम, नक्शे, टाइपोग्राफ़ी, फिज़िक्स, इमेज एडिटिंग, डेटा विज़ुअलाइज़ेशन और एक्सपोर्ट:
22
+ सर्वर **170 टूल** देता है — ड्रॉइंग, एनिमेशन, डायग्राम, नक्शे, टाइपोग्राफ़ी, फिज़िक्स, इमेज एडिटिंग, डेटा विज़ुअलाइज़ेशन और एक्सपोर्ट:
23
23
 
24
24
  - टेक्स्ट, आकृतियाँ, ज्यामिति और जटिल ग्राफ़िक्स बनाना
25
25
  - कीफ़्रेम की जगह व्यवहार बताने वाले **रिलेशन** से एनिमेशन
package/README.ja.md CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
  PinePaper MCP サーバーは、MCP 経由で AI アシスタントが [PinePaper Studio](https://pinepaper.studio) 上にグラフィックを作成・アニメーションさせるためのサーバーです。MCP ツールコールに対応した AI(Claude、GPT、Gemini、ローカルモデルなど)で動作します。
21
21
 
22
- **159 個のツール**を提供 — 描画・アニメーション・図・地図・タイポグラフィ・物理・画像編集・データ可視化・エクスポート:
22
+ **170 個のツール**を提供 — 描画・アニメーション・図・地図・タイポグラフィ・物理・画像編集・データ可視化・エクスポート:
23
23
 
24
24
  - テキスト、図形、ジオメトリ、複雑なグラフィックの作成
25
25
  - キーフレームではなく、ふるまいを宣言する**リレーション**でアニメーション
package/README.ko.md CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
  PinePaper MCP 서버는 AI 어시스턴트가 MCP를 통해 [PinePaper Studio](https://pinepaper.studio)에서 그래픽을 만들고 애니메이션하게 해줍니다. MCP 툴 콜을 지원하는 모든 AI(Claude, GPT, Gemini, 로컬 모델 등)와 호환됩니다.
21
21
 
22
- **159개의 툴** 제공 — 드로잉, 애니메이션, 다이어그램, 지도, 타이포그래피, 물리, 이미지 편집, 데이터 시각화, 내보내기:
22
+ **170개의 툴** 제공 — 드로잉, 애니메이션, 다이어그램, 지도, 타이포그래피, 물리, 이미지 편집, 데이터 시각화, 내보내기:
23
23
 
24
24
  - 텍스트·도형·기하·복잡한 그래픽 생성
25
25
  - 키프레임 대신 행동을 선언하는 **릴레이션**으로 애니메이션
package/README.md CHANGED
@@ -30,7 +30,7 @@
30
30
 
31
31
  PinePaper MCP Server enables AI assistants to create and animate graphics in [PinePaper Studio](https://pinepaper.studio) via the Model Context Protocol (MCP). Works with any AI that supports MCP tool calling (Claude, GPT, Gemini, local models, etc.).
32
32
 
33
- The server exposes **159 tools** across drawing, animation, diagrams, maps, typography, physics, image editing, data visualization, and export. Using natural language, you can:
33
+ The server exposes **170 tools** across drawing, animation, diagrams, maps, typography, physics, image editing, data visualization, and export. Using natural language, you can:
34
34
 
35
35
  - Create geometric shapes, text collages, diagrams, and data charts
36
36
  - Apply 37+ character-level text effects and 28+ vertex deformation presets
@@ -41,7 +41,7 @@ The server exposes **159 tools** across drawing, animation, diagrams, maps, typo
41
41
 
42
42
  ## Running it: local or hosted
43
43
 
44
- **Local is free and complete.** Every one of the 159 tools works when you run
44
+ **Local is free and complete.** Every one of the 170 tools works when you run
45
45
  this server yourself. There is no reduced tier and nothing held back.
46
46
 
47
47
  What it needs:
@@ -246,6 +246,166 @@ If you do not want an agent executing anything, `code` mode is a first-class pat
246
246
  - Puppeteer mode launches Chrome with `--no-sandbox` and `--disable-setuid-sandbox`. That is routine for headless automation and it does weaken Chrome's own process sandbox. If that matters where you are running it, use `code` mode or put the server in a container.
247
247
  - Puppeteer itself is an **optional** peer dependency, kept out of the default tree precisely because a headless browser plus an install script is what scanners flag hardest. Install it only if you want the executing mode.
248
248
 
249
+ ## What's new in 1.6.20
250
+
251
+ ### New: make anything act
252
+
253
+ `pinepaper_choreograph` turns a list of beats into a performance for any
254
+ item: pop, drop, hop, bounce, roll, fly, peek, shake, squash, enter and exit,
255
+ each with anticipation, squash and stretch, and a settle. The item stays on
256
+ its ground line while it squashes. `sound: true` puts a sound on every pop,
257
+ launch and landing, quieter as the bounces shrink.
258
+
259
+ ### New: sounds on events
260
+
261
+ A click can play a sound (`on_event_play_sound`), an event can fire at set
262
+ times (`pinepaper_event` `at`), and a scene chain can put a sound on every
263
+ cut (`cutSound`).
264
+
265
+ ### New: looks
266
+
267
+ `pinepaper_look` restyles one item or the whole scene as a named look, such as
268
+ 8-bit, blueprint, ink sketch or print halftone. Ids, animation and relations
269
+ are kept, and it can be removed exactly. Each look carries the engine's own
270
+ grade of how convincing it is, and a weaker one is reported as an
271
+ approximation.
272
+
273
+ ### New: original characters
274
+
275
+ `pinepaper_original_character` builds a character from a base (person, robot,
276
+ cat, bird, blob) and a variant: palette, hair, eyes, accessories, proportions
277
+ and a look. It can generate a whole cast from seeds, and the characters can
278
+ look at the cursor, react to events and turn when dragged.
279
+
280
+ ### New: one element, many states
281
+
282
+ `pinepaper_morph_sequence` morphs one element through a series of shapes with
283
+ no cuts, and can move the camera and place a sound on the same timing.
284
+
285
+ ### New: a brand every beat inherits
286
+
287
+ `pinepaper_brand_kit` `set` applies a kit and makes it active: every shape
288
+ and text created afterwards takes its colours and fonts unless the call says
289
+ otherwise.
290
+
291
+ ### New: particles and drawing that survive a save
292
+
293
+ `pinepaper_emitter` makes confetti bursts and trails as a saved, frame-exact
294
+ item. `pinepaper_render_hook` adds custom per-frame drawing that a saved
295
+ scene carries. A full `pinepaper_export_scene` names anything it cannot save.
296
+
297
+ ### New: numbers that count
298
+
299
+ A text item takes a `counter`: a KPI rolling from 1.67% to 5.58%, a year
300
+ counter from 30,000 BCE to 2026, a timer. It is exact on every exported
301
+ frame, and its width stays steady while it counts.
302
+
303
+ ### New: overlays, step timing and hold keys
304
+
305
+ `create_item` and `modify_item` take `screenSpace` (an overlay that stays
306
+ fixed while the camera moves) and `stepTiming` (animate on twos).
307
+ Keyframes take `interpolation: 'hold'` for a cut with no in-between.
308
+
309
+ ### Changed: no silent success
310
+
311
+ A call that reports success but changes nothing now says so in its result,
312
+ and a call that names an item that is not on the canvas fails. The tool
313
+ descriptions point models to the highest-level tool first instead of a
314
+ background generator with simple shapes.
315
+
316
+ ### Fixed
317
+
318
+ - `pinepaper_import_mermaid` returns the canvas ids of the shapes it drew, so
319
+ `pinepaper_auto_layout` can move them.
320
+ - A refusal now carries the studio's own reason, such as a misspelt property
321
+ and the one it meant.
322
+ - `pinepaper_image_filter` documents the watercolour and painterly filters
323
+ for photos, and reports a refused filter as a failure.
324
+
325
+ ## What's new in 1.6.19
326
+
327
+ ### New: save a scene and restore it
328
+
329
+ `pinepaper_export_scene` takes `full: true`: it saves a restorable project
330
+ file (animation, relations, rigging, scene chains) and returns its path.
331
+ `pinepaper_import_scene` restores it. Both report counts of items, animated
332
+ items, keyframes and relations, so you can check nothing was lost. Without
333
+ `full`, `pinepaper_export_scene` returns a summary for inspection, and now
334
+ says that it cannot be restored.
335
+
336
+ ### New: put your UI on a screen in a photo
337
+
338
+ `pinepaper_place_on_surface` places a design onto a phone, monitor or
339
+ billboard in a photo: fitted to the screen's perspective, with a hand in front
340
+ of the screen kept in front, and a little glare and light spill. It finds the
341
+ screen itself, or takes its four corners. The result becomes part of the photo,
342
+ so zooms and camera moves carry it.
343
+
344
+ ### New: one scene, six styles
345
+
346
+ `pinepaper_styled_scene` draws a whole animated scene in one call: paper
347
+ cut-out, ink, watercolour, 1-bit dither, flowing contours or ASCII broadcast.
348
+ The composition can be changed (sky, hills, river, camera, colours), and
349
+ calling it again with another style redraws the same scene in the new look.
350
+ Export it for the length the result reports.
351
+
352
+ ### Changed: for services that run the steps later
353
+
354
+ A host that records each canvas step and runs it at render time can pass
355
+ `deferred: true`: the agent is then told the step was recorded, rather than
356
+ handed a script to paste. Whenever the server hands back code instead of
357
+ running it (deferred, or `--mode code`), the code travels in
358
+ `_meta["pinepaper.studio/code"]` for the host to record.
359
+
360
+ ### Changed: tool results report where their time went
361
+
362
+ Every result carries `_meta["pinepaper.studio/timing"]`: the whole call, and
363
+ the studio's share of it, for tracing slow requests.
364
+
365
+ ### New: light the 3D world, brush strokes, shader graphs
366
+
367
+ `pinepaper_relight` lights the 3D world layer with up to eight point and
368
+ directional lights. The lighting shows in the preview and in PNG, PDF, MP4
369
+ and WebM exports, and the reply says how much time it adds to an export.
370
+ `pinepaper_shader_graph` runs node graphs (relighting, depth of field, bloom)
371
+ over an item or the whole scene. `pinepaper_design_medium` gains
372
+ `sdf_stroke`, a smooth pressure-sensitive brush stroke from a list of points.
373
+
374
+ ### New: handwriting that writes itself on
375
+
376
+ `pinepaper_text_style` cursive takes `animate: true` and writes the words on
377
+ over `duration` seconds, with no keyframes to add. A `nib` chooses the pen:
378
+ `'broad'` for calligraphic thick and thin strokes, `'monoline'` for one even
379
+ line. Unknown cursive options are now refused rather than ignored.
380
+
381
+ ### New: ink and charcoal on what you already drew
382
+
383
+ `pinepaper_design_medium` `apply` with `medium: 'ink'` or `'charcoal'`
384
+ restyles an existing stroke, title or group in place, with a hand-drawn line
385
+ that boils. The item keeps its id, animation and relations.
386
+
387
+ ### Changed: asset search uses Iconify and Font Awesome
388
+
389
+ `pinepaper_search_assets` no longer searches SVGRepo or OpenClipart. Neither
390
+ answers automated searches any more, so they returned nothing. Asking for
391
+ either by name, or importing one of their asset ids, says so.
392
+
393
+ ### Fixed
394
+
395
+ - `pinepaper_add_filter` offers every filter the studio has, including dither,
396
+ CMYK and dot halftones, edge detection, HSL and colour tint, each with its
397
+ parameter ranges.
398
+ - Maps: a highlight takes the colour you give it, and `opacity` tints the
399
+ land. Highlight, colouring and `get_highlighted` report the regions that
400
+ were actually coloured and name any that are not on the map;
401
+ `get_at_point` returns the region under a point; `add_marker` adds the
402
+ marker it reports.
403
+ - `pinepaper_agent_start_job` fixes an unbounded canvas at the size it
404
+ reports, so a PNG export is the full canvas rather than a crop of the
405
+ artwork.
406
+ - Tool descriptions at every level quote counts and action lists that match
407
+ the tools.
408
+
249
409
  ## What's new in 1.6.18
250
410
 
251
411
  ### New: spring easings, the standard easing set, and custom curves
@@ -1362,14 +1522,14 @@ Fourteen new tools (121 → 135) and new actions across the surface — the rele
1362
1522
 
1363
1523
  ## Toolkits & Token Budget
1364
1524
 
1365
- 159 tools is a lot of context. The server ships a **toolkit** system that serves only the tools a given client needs, plus a **verbosity** system that controls how long each tool description is.
1525
+ 170 tools is a lot of context. The server ships a **toolkit** system that serves only the tools a given client needs, plus a **verbosity** system that controls how long each tool description is.
1366
1526
 
1367
1527
  **Toolkit profiles** (`PINEPAPER_TOOLKIT`):
1368
1528
 
1369
1529
  | Profile | Contents |
1370
1530
  |---------|----------|
1371
- | `full` | Every tool, no filtering (default) |
1372
- | `agent` | Broad authoring surface, minus niche/low-level groups |
1531
+ | `full` | Every tool, no filtering |
1532
+ | `agent` | Every tool except the diagnostics (`pinepaper_get_performance_metrics`, `pinepaper_diagnostic_report`) and `pinepaper_register_item`. The default for a client not listed below |
1373
1533
  | `diagram` | Canvas + diagram + query/export |
1374
1534
  | `map` | Canvas + map + query/export |
1375
1535
  | `font` | Canvas + font + letter collage + export |
@@ -1530,10 +1690,8 @@ Choropleths, region styling, and data-driven map animation via `pinepaper_map`,
1530
1690
 
1531
1691
  ### 🔍 Asset Search & Import
1532
1692
 
1533
- Search and import free SVG assets from multiple repositories:
1693
+ Search and import free SVG icons:
1534
1694
 
1535
- - **SVGRepo**: 500,000+ icons with various licenses
1536
- - **OpenClipart**: 151,000+ public domain clipart (CC0)
1537
1695
  - **Iconify**: 200,000+ icons from multiple icon sets
1538
1696
  - **Font Awesome**: 2,000+ free icons (CC BY 4.0)
1539
1697
 
@@ -1567,7 +1725,7 @@ Generate instruction/code pairs for LLM fine-tuning:
1567
1725
 
1568
1726
  ## Tools Reference
1569
1727
 
1570
- All 159 tools, grouped by the tag used for toolkit filtering.
1728
+ All 170 tools, grouped by the tag used for toolkit filtering.
1571
1729
 
1572
1730
  ### Canvas (`canvas`)
1573
1731
  | Tool | Description |
@@ -1629,6 +1787,7 @@ All 159 tools, grouped by the tag used for toolkit filtering.
1629
1787
  | `pinepaper_motion` | Generator motion engine: group and field motions |
1630
1788
  | `pinepaper_animate` | Apply a simple loop animation |
1631
1789
  | `pinepaper_keyframe_animate` | Timed keyframe animation |
1790
+ | `pinepaper_choreograph` | Acting for any item: hop, bounce, roll, fly, peek with squash and stretch |
1632
1791
  | `pinepaper_play_timeline` | Control playback, rate, progress, scroll-driven scrubbing |
1633
1792
  | `pinepaper_stagger` | Shape a delay across many items |
1634
1793
  | `pinepaper_flip` | Animate a layout change without describing the motion |
@@ -1671,9 +1830,17 @@ All 159 tools, grouped by the tag used for toolkit filtering.
1671
1830
  | `pinepaper_generate` | AI image generation in the PinePaper cloud (charged; beta, per organisation) |
1672
1831
  | `pinepaper_generate_estimate` | Free price check, and the model list |
1673
1832
  | `pinepaper_generate_status` | Collect a generation that outlived its timeout |
1833
+ | `pinepaper_styled_scene` | One composition drawn in a built-in style |
1674
1834
  | `pinepaper_apply_effect` | Apply sparkle, blast, and other effects |
1835
+ | `pinepaper_look` | Restyle an item or the whole scene as a named look, graded for fidelity |
1836
+ | `pinepaper_original_character` | Original characters from a base rig and a variant; a cast from seeds |
1837
+ | `pinepaper_morph_sequence` | One element through many states, with the camera riding the morphs |
1838
+ | `pinepaper_emitter` | Particles as a saved, deterministic item: bursts and trails |
1839
+ | `pinepaper_render_hook` | Custom per-frame drawing a saved scene carries |
1675
1840
  | `pinepaper_text_effect` | 37 character-level text animations; replaces the text with one keyframed item per character |
1676
1841
  | `pinepaper_add_filter` | Add an image filter |
1842
+ | `pinepaper_relight` | Light the 3D world with point and directional lights |
1843
+ | `pinepaper_shader_graph` | Pixel graphs (relight, depth of field, bloom) over an item or the scene |
1677
1844
 
1678
1845
  ### Editing (`selection`, `transform`, `history`)
1679
1846
  | Tool | Description |
@@ -1800,7 +1967,9 @@ All 159 tools, grouped by the tag used for toolkit filtering.
1800
1967
  | Tool | Description |
1801
1968
  |------|-------------|
1802
1969
  | `pinepaper_export_svg` | Export animated SVG |
1803
- | `pinepaper_export_scene` | Export the scene |
1970
+ | `pinepaper_export_scene` | Export the scene: a summary, or a restorable project file (`full: true`) |
1971
+ | `pinepaper_import_scene` | Restore a scene from a full export file |
1972
+ | `pinepaper_place_on_surface` | Put a UI onto a screen in a photo |
1804
1973
  | `pinepaper_export_training_data` | Export LLM training pairs |
1805
1974
  | `pinepaper_export_widget` | Export an embeddable widget |
1806
1975
  | `pinepaper_export_widget_html` | Export widget HTML |
package/README.pt-BR.md CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
  O servidor MCP do PinePaper permite que assistentes de IA criem e animem gráficos no [PinePaper Studio](https://pinepaper.studio) via Model Context Protocol. Funciona com qualquer IA que suporte chamadas de ferramenta MCP (Claude, GPT, Gemini, modelos locais etc.).
21
21
 
22
- São **159 ferramentas**: desenho, animação, diagramas, mapas, tipografia, física, edição de imagens, visualização de dados e exportação:
22
+ São **170 ferramentas**: desenho, animação, diagramas, mapas, tipografia, física, edição de imagens, visualização de dados e exportação:
23
23
 
24
24
  - Criar texto, formas, geometria e gráficos complexos
25
25
  - Animar com **relações** declarativas em vez de keyframes
package/README.zh-CN.md CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
  PinePaper MCP 服务器让 AI 助手通过 MCP 协议在 [PinePaper Studio](https://pinepaper.studio) 中创建和驱动图形动画。兼容任何支持 MCP 工具调用的 AI(Claude、GPT、Gemini、本地模型等)。
21
21
 
22
- 服务器提供 **159 个工具**,覆盖绘图、动画、图表、地图、排版、物理、图像编辑、数据可视化与导出:
22
+ 服务器提供 **170 个工具**,覆盖绘图、动画、图表、地图、排版、物理、图像编辑、数据可视化与导出:
23
23
 
24
24
  - 创建文本、形状、几何图形与复杂图稿
25
25
  - 用行为驱动的**关系(relations)**做动画,而不是逐帧关键帧
@@ -86,8 +86,8 @@ export class SmartExportManager {
86
86
  analysis.hasImages = true;
87
87
  }
88
88
 
89
- // Check for animations
90
- if (data.animationType) {
89
+ // Check for animations ('none' is a still item, gate C5)
90
+ if (data.animationType && data.animationType !== 'none') {
91
91
  analysis.hasAnimations = true;
92
92
  animationSet.add(data.animationType);
93
93
  }
@@ -57,6 +57,14 @@ export declare class AgentSessionManager {
57
57
  * Get queue size
58
58
  */
59
59
  getQueueSize(): number;
60
+ /**
61
+ * Items created by calls the server ran, counted from the governor's own
62
+ * report (report.items.created). registerItem() below was never called by
63
+ * anything, so these stats read 0 with items on the canvas (gate H3).
64
+ */
65
+ private createdOutsideIds;
66
+ private createdInJobCount;
67
+ noteItemsCreated(count: number): void;
60
68
  /**
61
69
  * Register an item created during the job
62
70
  */
@@ -1 +1 @@
1
- {"version":3,"file":"session-manager.d.ts","sourceRoot":"","sources":["../../src/agent/session-manager.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACV,SAAS,EACT,YAAY,EACZ,gBAAgB,EACjB,MAAM,YAAY,CAAC;AAWpB;;;;;;;;GAQG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,UAAU,CAA2B;IAC7C,OAAO,CAAC,UAAU,CAAmB;IAErC;;OAEG;IACH,OAAO,CAAC,aAAa;IAIrB;;OAEG;IACH,YAAY,IAAI,OAAO;IAIvB;;OAEG;IACH,aAA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ACH,QAAQ,IAAI;QACV,SAAS,EAAE,OAAO,CAAC;QACnB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;QAC5B,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;QAClC,iBAAiB,EAAE,MAAM,CAAC;QAC1B,aAAa,EAAE,MAAM,CAAC;QACtB,aAAa,EAAE,MAAM,CAAC;QACtB,iBAAiB,EAAE,MAAM,CAAC;KAC3B;CAcF;AAQD;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,mBAAmB,CAKvD;AAED;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAQ1C"}
@@ -45,6 +45,7 @@ export class AgentSessionManager {
45
45
  * Start a new agent job
46
46
  */
47
47
  startJob(options = {}) {
48
+ this.createdInJobCount = 0;
48
49
  // End any existing job first
49
50
  if (this.currentJob) {
50
51
  console.warn('[AgentSession] Ending previous job before starting new one');
@@ -163,6 +164,20 @@ ${queue.map((code, i) => `
163
164
  getQueueSize() {
164
165
  return this.currentJob?.codeQueue.length ?? 0;
165
166
  }
167
+ /**
168
+ * Items created by calls the server ran, counted from the governor's own
169
+ * report (report.items.created). registerItem() below was never called by
170
+ * anything, so these stats read 0 with items on the canvas (gate H3).
171
+ */
172
+ createdOutsideIds = 0;
173
+ createdInJobCount = 0;
174
+ noteItemsCreated(count) {
175
+ if (!(count > 0))
176
+ return;
177
+ this.createdOutsideIds += count;
178
+ if (this.currentJob)
179
+ this.createdInJobCount += count;
180
+ }
166
181
  /**
167
182
  * Register an item created during the job
168
183
  */
@@ -276,10 +291,10 @@ if (app.historyManager) {
276
291
  activeJob: this.hasActiveJob(),
277
292
  currentJobId: this.currentJob?.jobId ?? null,
278
293
  currentJobDuration: this.currentJob ? Date.now() - this.currentJob.startTime : null,
279
- itemsInCurrentJob: this.currentJob?.itemsCreated.length ?? 0,
294
+ itemsInCurrentJob: Math.max(this.currentJob?.itemsCreated.length ?? 0, this.currentJob ? this.createdInJobCount : 0),
280
295
  codeQueueSize: this.getQueueSize(),
281
296
  completedJobs,
282
- totalItemsCreated: totalItemsCreated + (this.currentJob?.itemsCreated.length ?? 0),
297
+ totalItemsCreated: Math.max(totalItemsCreated + (this.currentJob?.itemsCreated.length ?? 0), this.createdOutsideIds),
283
298
  };
284
299
  }
285
300
  }
@@ -1 +1 @@
1
- {"version":3,"file":"session-manager.js","sourceRoot":"","sources":["../../src/agent/session-manager.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAUH,sDAAsD;AACtD,SAAS,gBAAgB;IACvB,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AACrD,CAAC;AAED,gFAAgF;AAChF,wBAAwB;AACxB,gFAAgF;AAEhF;;;;;;;;GAQG;AACH,MAAM,OAAO,mBAAmB;IACtB,UAAU,GAAsB,IAAI,CAAC;IACrC,UAAU,GAAgB,EAAE,CAAC;IAErC;;OAEG;IACK,aAAa;QACnB,OAAO,OAAO,IAAI,CAAC,GAAG,EAAE,IAAI,gBAAgB,EAAE,EAAE,CAAC;IACnD,CAAC;IAED;;OAEG;IACH,YAAY;QACV,OAAO,IAAI,CAAC,UAAU,KAAK,IAAI,CAAC;IAClC,CAAC;IAED;;OAEG;IACH,aAAa;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,UAAsB,EAAE;QAC/B,6BAA6B;QAC7B,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,OAAO,CAAC,IAAI,CAAC,4DAA4D,CAAC,CAAC;YAC3E,oCAAoC;YACpC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACzB,CAAC;QAED,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;QACnC,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAEvB,IAAI,CAAC,UAAU,GAAG;YAChB,KAAK;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IAAI,CAAC;YAC5D,aAAa,EAAE,IAAI,CAAC,YAAY,EAAE;YAClC,aAAa;YACb,iBAAiB,EAAE,iBAAiB,GAAG,CAAC,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,MAAM,IAAI,CAAC,CAAC;SACnF,CAAC;IACJ,CAAC;CACF;AAED,gFAAgF;AAChF,qBAAqB;AACrB,gFAAgF;AAEhF,IAAI,sBAAsB,GAA+B,IAAI,CAAC;AAE9D;;GAEG;AACH,MAAM,UAAU,iBAAiB;IAC/B,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAC5B,sBAAsB,GAAG,IAAI,mBAAmB,EAAE,CAAC;IACrD,CAAC;IACD,OAAO,sBAAsB,CAAC;AAChC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,mBAAmB;IACjC,IAAI,sBAAsB,EAAE,CAAC;QAC3B,IAAI,sBAAsB,CAAC,YAAY,EAAE,EAAE,CAAC;YAC1C,sBAAsB,CAAC,MAAM,EAAE,CAAC;QAClC,CAAC;QACD,sBAAsB,CAAC,YAAY,EAAE,CAAC;IACxC,CAAC;IACD,sBAAsB,GAAG,IAAI,CAAC;AAChC,CAAC"}
1
+ {"version":3,"file":"session-manager.js","sourceRoot":"","sources":["../../src/agent/session-manager.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAUH,sDAAsD;AACtD,SAAS,gBAAgB;IACvB,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AACrD,CAAC;AAED,gFAAgF;AAChF,wBAAwB;AACxB,gFAAgF;AAEhF;;;;;;;;GAQG;AACH,MAAM,OAAO,mBAAmB;IACtB,UAAU,GAAsB,IAAI,CAAC;IACrC,UAAU,GAAgB,EAAE,CAAC;IAErC;;OAEG;IACK,aAAa;QACnB,OAAO,OAAO,IAAI,CAAC,GAAG,EAAE,IAAI,gBAAgB,EAAE,EAAE,CAAC;IACnD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,CAAC;CACF;AAED,gFAAgF;AAChF,qBAAqB;AACrB,gFAAgF;AAEhF,IAAI,sBAAsB,GAA+B,IAAI,CAAC;AAE9D;;GAEG;AACH,MAAM,UAAU,iBAAiB;IAC/B,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAC5B,sBAAsB,GAAG,IAAI,mBAAmB,EAAE,CAAC;IACrD,CAAC;IACD,OAAO,sBAAsB,CAAC;AAChC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,mBAAmB;IACjC,IAAI,sBAAsB,EAAE,CAAC;QAC3B,IAAI,sBAAsB,CAAC,YAAY,EAAE,EAAE,CAAC;YAC1C,sBAAsB,CAAC,MAAM,EAAE,CAAC;QAClC,CAAC;QACD,sBAAsB,CAAC,YAAY,EAAE,CAAC;IACxC,CAAC;IACD,sBAAsB,GAAG,IAAI,CAAC;AAChC,CAAC"}
@@ -4,6 +4,11 @@
4
4
  * Coordinates asset searching, downloading, and caching across multiple repositories.
5
5
  */
6
6
  import { AssetRepository, AssetResult, AssetMetadata, AssetCacheEntry } from './types.js';
7
+ /**
8
+ * How one repository's search ended. 'timeout' and 'error' sources are
9
+ * reported by name rather than silently contributing zero results.
10
+ */
11
+ export type AssetSourceStatus = 'ok' | 'timeout' | 'error';
7
12
  /**
8
13
  * Asset Manager configuration
9
14
  */
@@ -15,13 +20,20 @@ export interface AssetManagerConfig {
15
20
  /** Maximum cache size in MB (default: 100) */
16
21
  maxCacheSizeMB?: number;
17
22
  /** Repositories to enable (default: all) */
18
- repositories?: ('svgrepo' | 'openclipart' | 'iconify' | 'fontawesome')[];
23
+ repositories?: ('iconify' | 'fontawesome')[];
19
24
  }
20
25
  /**
21
26
  * Asset Manager
22
27
  *
23
28
  * Provides unified interface for searching and downloading assets from multiple repositories.
24
29
  */
30
+ /**
31
+ * Removed in 1.6.19. SVGRepo answered every request 429 (it blocks automated
32
+ * clients) and OpenClipart's search/json endpoint stopped answering, so both
33
+ * returned nothing; until 25ece7c they did it silently, as "0 results".
34
+ */
35
+ export declare const REMOVED_REPOSITORIES: readonly string[];
36
+ export declare const REMOVED_REPOSITORY_REASON = "SVGRepo and OpenClipart were removed in 1.6.19 because neither answers automated searches any more.";
25
37
  export declare class AssetManager {
26
38
  private repositories;
27
39
  private cache;
@@ -39,6 +51,21 @@ export declare class AssetManager {
39
51
  * @param limit Maximum results per repository
40
52
  */
41
53
  search(query: string, repository?: string, limit?: number): Promise<AssetResult[]>;
54
+ /**
55
+ * Search, and say how each queried repository ended.
56
+ *
57
+ * Repositories are queried in parallel, each bounded by SOURCE_TIMEOUT_MS;
58
+ * the results of the ones that answered in time are returned. A single
59
+ * named repository that times out or fails throws, as before.
60
+ */
61
+ searchWithStatus(query: string, repository?: string, limit?: number): Promise<{
62
+ results: AssetResult[];
63
+ sources: Record<string, AssetSourceStatus>;
64
+ }>;
65
+ /**
66
+ * One repository's search, bounded by SOURCE_TIMEOUT_MS. Never throws.
67
+ */
68
+ private searchOne;
42
69
  /**
43
70
  * Download asset SVG content
44
71
  *
@@ -1 +1 @@
1
- {"version":3,"file":"asset-manager.d.ts","sourceRoot":"","sources":["../../src/assets/asset-manager.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAM1F;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,yDAAyD;IACzD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,qCAAqC;IACrC,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,8CAA8C;IAC9C,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,4CAA4C;IAC5C,YAAY,CAAC,EAAE,CAAC,SAAS,GAAG,aAAa,GAAG,SAAS,GAAG,aAAa,CAAC,EAAE,CAAC;CAC1E;AAED;;;;GAIG;AACH,qBAAa,YAAY;IACvB,OAAO,CAAC,YAAY,CAA2C;IAC/D,OAAO,CAAC,KAAK,CAA2C;IACxD,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