@pinepaper.studio/mcp-server 1.6.17 → 1.6.19
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/README.de.md +1 -1
- package/README.es.md +1 -1
- package/README.fr.md +1 -1
- package/README.hi.md +1 -1
- package/README.ja.md +1 -1
- package/README.ko.md +1 -1
- package/README.md +189 -10
- package/README.pt-BR.md +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/agent/export-manager.js +2 -2
- package/dist/agent/session-manager.d.ts +8 -0
- package/dist/agent/session-manager.d.ts.map +1 -1
- package/dist/agent/session-manager.js +17 -2
- package/dist/agent/session-manager.js.map +1 -1
- package/dist/assets/asset-manager.d.ts +28 -1
- package/dist/assets/asset-manager.d.ts.map +1 -1
- package/dist/assets/asset-manager.js +65 -25
- package/dist/assets/asset-manager.js.map +1 -1
- package/dist/assets/index.d.ts +1 -3
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +1 -3
- package/dist/assets/index.js.map +1 -1
- package/dist/assets/repositories/iconify.js +1 -1
- package/dist/assets/repositories/iconify.js.map +1 -1
- package/dist/assets/repositories/openclipart.js +1 -1
- package/dist/assets/repositories/openclipart.js.map +1 -1
- package/dist/assets/repositories/svgrepo.js +2 -2
- package/dist/assets/repositories/svgrepo.js.map +1 -1
- package/dist/assets/types.d.ts +2 -2
- package/dist/assets/types.d.ts.map +1 -1
- package/dist/browser/puppeteer-controller.d.ts +86 -1
- package/dist/browser/puppeteer-controller.d.ts.map +1 -1
- package/dist/browser/puppeteer-controller.js +274 -6
- package/dist/browser/puppeteer-controller.js.map +1 -1
- package/dist/build-info.json +2 -2
- package/dist/cli.js +4 -2
- package/dist/cli.js.map +1 -1
- package/dist/design/design-systems.d.ts +2 -0
- package/dist/design/design-systems.d.ts.map +1 -1
- package/dist/design/design-systems.js +2 -0
- package/dist/design/design-systems.js.map +1 -1
- package/dist/execution/canvas-state.d.ts.map +1 -1
- package/dist/execution/canvas-state.js +19 -43
- package/dist/execution/canvas-state.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +94 -16
- package/dist/index.js.map +1 -1
- package/dist/ontology/design-graph.js +2 -2
- package/dist/ontology/design-graph.js.map +1 -1
- package/dist/ontology/ontology-validator.d.ts.map +1 -1
- package/dist/ontology/ontology-validator.js +9 -5
- package/dist/ontology/ontology-validator.js.map +1 -1
- package/dist/ontology/upstream-vocabulary.d.ts +2 -2
- package/dist/ontology/upstream-vocabulary.js +2 -2
- package/dist/ontology/validator.js +1 -1
- package/dist/ontology/validator.js.map +1 -1
- package/dist/tools/compact-descriptions.d.ts.map +1 -1
- package/dist/tools/compact-descriptions.js +15 -14
- package/dist/tools/compact-descriptions.js.map +1 -1
- package/dist/tools/definitions.d.ts +1 -1
- package/dist/tools/definitions.d.ts.map +1 -1
- package/dist/tools/definitions.js +556 -157
- package/dist/tools/definitions.js.map +1 -1
- package/dist/tools/engine-lists.d.ts +35 -0
- package/dist/tools/engine-lists.d.ts.map +1 -0
- package/dist/tools/engine-lists.js +186 -0
- package/dist/tools/engine-lists.js.map +1 -0
- package/dist/tools/engine-methods.d.ts.map +1 -1
- package/dist/tools/engine-methods.js +18 -1
- package/dist/tools/engine-methods.js.map +1 -1
- package/dist/tools/engine-surface.d.ts +1 -1
- package/dist/tools/engine-surface.d.ts.map +1 -1
- package/dist/tools/engine-surface.js +66 -9
- package/dist/tools/engine-surface.js.map +1 -1
- package/dist/tools/handlers/brand-intake.d.ts +95 -0
- package/dist/tools/handlers/brand-intake.d.ts.map +1 -0
- package/dist/tools/handlers/brand-intake.js +242 -0
- package/dist/tools/handlers/brand-intake.js.map +1 -0
- package/dist/tools/handlers/camera.js +8 -8
- package/dist/tools/handlers/camera.js.map +1 -1
- package/dist/tools/handlers/export.d.ts.map +1 -1
- package/dist/tools/handlers/export.js +77 -5
- package/dist/tools/handlers/export.js.map +1 -1
- package/dist/tools/handlers/font.js +10 -10
- package/dist/tools/handlers/font.js.map +1 -1
- package/dist/tools/handlers/generate.d.ts +12 -12
- package/dist/tools/handlers/maps.d.ts.map +1 -1
- package/dist/tools/handlers/maps.js +23 -3
- package/dist/tools/handlers/maps.js.map +1 -1
- package/dist/tools/handlers.d.ts +44 -11
- package/dist/tools/handlers.d.ts.map +1 -1
- package/dist/tools/handlers.js +462 -43
- package/dist/tools/handlers.js.map +1 -1
- package/dist/tools/minimal-descriptions.d.ts.map +1 -1
- package/dist/tools/minimal-descriptions.js +36 -29
- package/dist/tools/minimal-descriptions.js.map +1 -1
- package/dist/tools/shape-params.d.ts +2 -2
- package/dist/tools/shape-params.d.ts.map +1 -1
- package/dist/tools/shape-params.js +5 -2
- package/dist/tools/shape-params.js.map +1 -1
- package/dist/tools/stick-vocabulary.d.ts +1 -1
- package/dist/tools/stick-vocabulary.js +1 -1
- package/dist/tools/toolkits.d.ts.map +1 -1
- package/dist/tools/toolkits.js +5 -0
- package/dist/tools/toolkits.js.map +1 -1
- package/dist/types/code-generator.d.ts +96 -4
- package/dist/types/code-generator.d.ts.map +1 -1
- package/dist/types/code-generator.js +1265 -277
- package/dist/types/code-generator.js.map +1 -1
- package/dist/types/schemas.d.ts +4181 -1757
- package/dist/types/schemas.d.ts.map +1 -1
- package/dist/types/schemas.js +378 -84
- package/dist/types/schemas.js.map +1 -1
- package/dist/utils/mcp-log.d.ts +16 -0
- package/dist/utils/mcp-log.d.ts.map +1 -0
- package/dist/utils/mcp-log.js +10 -0
- package/dist/utils/mcp-log.js.map +1 -0
- package/dist/utils/progress.d.ts +28 -0
- package/dist/utils/progress.d.ts.map +1 -0
- package/dist/utils/progress.js +24 -0
- package/dist/utils/progress.js.map +1 -0
- package/dist/vendor/design/design-style.js +1 -1
- package/manifest.json +22 -2
- package/package.json +7 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"minimal-descriptions.d.ts","sourceRoot":"","sources":["../../src/tools/minimal-descriptions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"minimal-descriptions.d.ts","sourceRoot":"","sources":["../../src/tools/minimal-descriptions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAqBH,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAoOvD,CAAC"}
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ItemTypeSchema, RelationTypeSchema } from '../types/schemas.js';
|
|
13
13
|
import { DIAGRAM_SHAPE_MAP } from '../ontology/vocabulary.js';
|
|
14
|
+
import { STYLED_SCENE_STYLES } from './engine-lists.js';
|
|
15
|
+
import { COMPOSABLE_STYLE_COUNT } from '../design/design-systems.js';
|
|
14
16
|
/** Joins a vocabulary list; truncates to `maxShown` with a pointer to the ontology query tool. */
|
|
15
17
|
function shortList(items, maxShown) {
|
|
16
18
|
if (items.length <= maxShown)
|
|
@@ -41,7 +43,7 @@ export const MINIMAL_DESCRIPTIONS = {
|
|
|
41
43
|
pinepaper_import_svg: "Import SVG markup or a URL. source:'figma' normalises Figma Copy-as-SVG first (root fill=none makes everything invisible; missing viewBox; global ids like clip0 collide across imports).",
|
|
42
44
|
pinepaper_import_mermaid: 'Import a Mermaid diagram (flowchart|graph|stateDiagram|sequenceDiagram|erDiagram|classDiagram). mermaidText, autoLayout, clearExisting.',
|
|
43
45
|
pinepaper_import_image: 'Import a raster image (PNG/JPG/WebP) onto the canvas.',
|
|
44
|
-
pinepaper_search_assets: 'Search
|
|
46
|
+
pinepaper_search_assets: 'Search SVG icons (Iconify, Font Awesome); sources says which answered.',
|
|
45
47
|
pinepaper_import_asset: 'Place a search result asset onto the canvas.',
|
|
46
48
|
pinepaper_batch_create: 'Create multiple items in one call with single history save.',
|
|
47
49
|
pinepaper_batch_modify: 'Modify multiple items in one call with single history save.',
|
|
@@ -51,37 +53,37 @@ export const MINIMAL_DESCRIPTIONS = {
|
|
|
51
53
|
pinepaper_event: "Event channel for scene chains (S11). action:'create' {name}→eventId, or 'pulse' {eventId}. Wire beats with on_event_fire_after/add_relation/set_color relations (event as sourceId).",
|
|
52
54
|
pinepaper_construction_sequence: 'Reveal a figure step by step on the timeline (build/play/clear/list). {action, steps?, stepDuration?}',
|
|
53
55
|
pinepaper_group: 'Group a composite object\'s parts into ONE entity, ungroup, or break_apart an imported SVG into movable parts. {action: group|ungroup|break_apart, itemIds?, itemId?, groupName?, groupId?}',
|
|
54
|
-
pinepaper_generate: 'Cloud AI images, charged
|
|
55
|
-
pinepaper_generate_estimate: 'Free: price a generation, or listModels: true for models, prices
|
|
56
|
+
pinepaper_generate: 'Cloud AI images/video, charged. Plan + estimate the whole timeline first; video lengths from listModels, re-time not crop. {model|useCase, input:{prompt, aspect, n, seconds?}, place?}',
|
|
57
|
+
pinepaper_generate_estimate: 'Free: price a generation (estimate the whole plan before generating), or listModels: true for models, prices, lengths. {model|useCase, input} | {listModels: true}',
|
|
56
58
|
pinepaper_generate_status: 'Collect a generation that outlived its timeout. {jobId, place?}',
|
|
57
59
|
pinepaper_render_batch: 'One creative per data row: apply each row (item changes / template params), then export. Rows do not reset. {rows:[{id?, changes?:{itemId:{…}}, template?}], export:{…agent_export}, estimateOnly?}',
|
|
58
60
|
pinepaper_camera_director: 'Cinematic camera walkthrough from a shot list (auto: one shot per item, or explicit shots). Compiles to one camera_animates track. {action: auto|shots, shots?, order?, establishing?, loop?}',
|
|
59
61
|
pinepaper_detect_objects: 'On-device image detection: DETR 80-class, or queries:[…] open-vocabulary (OWL-ViT). asNodes:true → image-anchored design nodes. {itemId?, threshold?, asNodes?, queries?}',
|
|
60
62
|
pinepaper_extract_object: 'Detect + crop the best-matching object out of an imported image into a new item. {label?, itemId?, x?, y?, threshold?}',
|
|
61
63
|
pinepaper_arrange: 'Change an item\'s z-order (stacking). {itemId, action: front|back|forward|backward}',
|
|
62
|
-
pinepaper_design_system:
|
|
64
|
+
pinepaper_design_system: `DTCG design systems + ${COMPOSABLE_STYLE_COUNT} composable aesthetic styles. {action: list_systems|get_system|list_easings|list_motion|list_styles|compose, systemId, style, title}`,
|
|
63
65
|
pinepaper_stick: 'Stick-figure kit. {action: figure|set, pose, walk, travel, prop, garment, hair, at, scale}',
|
|
64
66
|
pinepaper_story: 'Prose to scene. {action: distill|from_text|apply_spec|plan_book, text, spec, images}',
|
|
65
|
-
pinepaper_interchange: 'Lottie / dotLottie / GLB / BVH / PNG-sequence import and export.
|
|
66
|
-
pinepaper_sound: 'Synthesis: tones, chords, percussion, SFX, sound-from-text, and a two-way bridge between a sound and a drawn path.
|
|
67
|
+
pinepaper_interchange: 'Lottie / dotLottie / GLB / BVH / PNG-sequence import and export. action: export_lottie|export_dotlottie|import_lottie|export_glb|export_bvh|export_png_sequence. {options, data, skeletonId}',
|
|
68
|
+
pinepaper_sound: 'Synthesis: tones, chords, percussion, SFX, sound-from-text, and a two-way bridge between a sound and a drawn path. action: list_instruments|play_tone|play_chord|… {note|root|name|text|itemId}',
|
|
67
69
|
pinepaper_motion: 'Generator motion engine for a group. {action: list|apply, itemId|itemIds, motion, speed, intensity, waveform, origin}',
|
|
68
70
|
pinepaper_path: 'Destructive path ops. {action: boolean|simplify|outline_stroke|toggle_closed|pattern|get_geometry|set_locked|unlock_all, itemId|itemIds, op, kind}',
|
|
69
71
|
pinepaper_validate_scene: 'Audit the live canvas (dangling refs, unknown types/props, keyframes, cycles) → structured diagnostics. Optional ops[] to pre-validate proposed mutations.',
|
|
70
|
-
pinepaper_capture_frames: 'Deterministic
|
|
72
|
+
pinepaper_capture_frames: 'Deterministic frames at given times: per-frame hashes, or sheet: one tiled image file + critique rubric. {times?, seed?, sheet?: {every+duration|strip|loopSeam, tileWidth?}}',
|
|
71
73
|
pinepaper_instantiate_ontology: 'Compile a pp: JSON-LD graph (typed nodes + structural edges like on_top_of) into a scene — roots placed, rest positioned by relations. {doc, canvas?, defaultGeometry?} → {itemIds, diagnostics}.',
|
|
72
74
|
pinepaper_lint_scene: 'Read-only relational-density audit of the live scene → {density, suggestions}. Flags coordinate-driven scenes and proposes structural relations for unrelated items already in position. {eps?, cap?}',
|
|
73
|
-
pinepaper_media: "Video/audio + editing. action: upload_video|upload_audio|list|remove|set_playback_rate|set_clip|set_time_remap|speed_ramp|match_cut|apply_track_matte|stop_live_matte
|
|
74
|
-
pinepaper_world3d: "3D world under the canvas: create (forest|snowMountain|field|jungle)|describe (engine schema)|configure|add_actor (live sprites)|set_actor_pose|set_camera (follow|fixed|orbit)|objects|remove_world
|
|
75
|
+
pinepaper_media: "Video/audio + editing. action: upload_video|upload_audio|list|remove|set_playback_rate|set_clip|set_time_remap|speed_ramp|match_cut|apply_track_matte|stop_live_matte|…",
|
|
76
|
+
pinepaper_world3d: "3D world under the canvas: create (forest|snowMountain|field|jungle)|describe (engine schema)|configure|add_actor (live sprites)|set_actor_pose|set_camera (follow|fixed|orbit)|objects|remove_world|…",
|
|
75
77
|
pinepaper_game: "Game logic: pathfind (A* world-coords waypoints for moves_along_path)|create_tilemap (board data + grid + merged collision rects). Pure data, draws nothing.",
|
|
76
78
|
pinepaper_shatter_image: "Split a raster into a grid of tiles (inert until animated). Group adopts the original id. {itemId, pieces?|rows?+cols?, keepSource?}",
|
|
77
|
-
pinepaper_import_layered_character: "Import decomposer output (layer manifest + images) as role-bound parts; blink/smile work immediately. CHECK rolesWired>0. {info, images}",
|
|
78
|
-
pinepaper_text_style: "Display text styles + variable fonts. action: apply_style (stacked-layer title, adopts the text id)|set_font_axes (weight/width/slant, animatable)|list_styles.",
|
|
79
|
-
pinepaper_text_effect: "
|
|
79
|
+
pinepaper_import_layered_character: "Import decomposer output (layer manifest + images) as role-bound parts; blink/smile work immediately. CHECK rolesWired>0; skipped names images that did not land. {info, images}",
|
|
80
|
+
pinepaper_text_style: "Display text styles + variable fonts. action: apply_style (stacked-layer title, adopts the text id)|set_font_axes (weight/width/slant, animatable)|list_styles|list|cursive|wrap|unwrap|to_collage.",
|
|
81
|
+
pinepaper_text_effect: "Character-level text animations (list for the keys). action: list|apply {itemId, effect}. REPLACES the text with one keyframed item per character (source id dies; keepSource:true to keep it).",
|
|
80
82
|
pinepaper_crop_image: 'One-shot crop of an image item to a canvas-coords rect (clamped; keeps the registry id). {itemId, rect: {x,y,width,height}, aspectRatio?}',
|
|
81
83
|
pinepaper_chroma_key: "One-shot green-screen background removal on an image item (keeps the registry id). Omit threshold/smoothing to auto-estimate. {itemId, color?, threshold?, smoothing?}",
|
|
82
84
|
pinepaper_character: "Place a character from the graph and direct it. {concept, at, height, beats:[{at, channel, until?, value?}]}. The concept declares its channels — blink, say, headTurn, bob.",
|
|
83
|
-
pinepaper_rigging: "Skeletal rigging + animation. action: create_skeleton, add_bone, attach_item, create_ik_chain, save/load/list/interpolate poses, play + stitch_poses, auto_walk|idle|jump, move_root, bake_animation
|
|
84
|
-
pinepaper_design_medium: "What makes the marks. action: list_media|resolve (refuses what it cannot
|
|
85
|
+
pinepaper_rigging: "Skeletal rigging + animation. action: create_skeleton, add_bone, attach_item, create_ik_chain, save/load/list/interpolate poses, play + stitch_poses, auto_walk|idle|jump, move_root, bake_animation, …",
|
|
86
|
+
pinepaper_design_medium: "What makes the marks. action: list_media|resolve (refuses what it cannot render)|list_stitches|apply_thread|apply_hatch|list_flow_fields|list_hatch_options|apply|sdf_stroke (brush stroke).",
|
|
85
87
|
// --- Relations ---
|
|
86
88
|
pinepaper_add_relation: `Add relation. sourceId, targetId, type: ${RELATION_TYPES}. params: {speed, ...}.`,
|
|
87
89
|
pinepaper_remove_relation: 'Remove relation. sourceId, targetId, type.',
|
|
@@ -90,9 +92,9 @@ export const MINIMAL_DESCRIPTIONS = {
|
|
|
90
92
|
// --- Custom code ---
|
|
91
93
|
pinepaper_execute_custom_code: 'Execute arbitrary JavaScript in the PinePaper browser context.',
|
|
92
94
|
// --- Animation ---
|
|
93
|
-
pinepaper_animate: 'Animate item. itemId, type: pulse|rotate|bounce|fade|wobble|
|
|
95
|
+
pinepaper_animate: 'Animate item. itemId, type: pulse|rotate|bounce|fade|wobble|slideLeftRight|slideUpDown|typewriter. speed, amplitude optional.',
|
|
94
96
|
pinepaper_keyframe_animate: 'Keyframe animate. itemId, keyframes: [{time, properties:{opacity,scale,x,y,rotation,...}, easing}], duration. Clip window: timeOffset, clipInPoint, clipOutPoint.',
|
|
95
|
-
pinepaper_play_timeline: 'Playback. action: play|pause|stop|seek|
|
|
97
|
+
pinepaper_play_timeline: 'Playback. action: play|pause|stop|seek|set_time_scale|get_time_scale|get_progress|set_progress|bind_scroll|unbind_scroll|list_scrub_anchors. rate 0 freezes, <0 reverses; progress 0..1.',
|
|
96
98
|
// --- Masks ---
|
|
97
99
|
pinepaper_apply_animated_mask: 'Apply mask. itemId, preset: wipeLeft|wipeRight|iris|irisOut|star|heart|curtainH|curtainV|cinematic|diagonalWipe|revealUp|revealDown.',
|
|
98
100
|
pinepaper_apply_custom_mask: 'Apply a custom mask shape to an item.',
|
|
@@ -113,7 +115,7 @@ export const MINIMAL_DESCRIPTIONS = {
|
|
|
113
115
|
pinepaper_stagger: 'Delay across items. action: apply|preview|list_origins. itemIds (in order), count, opts:{each|amount, from: start|end|center|edges|random, grid:[r,c], axis, ease, seed}.',
|
|
114
116
|
pinepaper_flip: 'Animate a layout change without describing it. action: record (before the change) | apply (after). itemIds, duration, easing, enter, stagger. Writes keyframes.',
|
|
115
117
|
pinepaper_scene_graph: 'Interactive story/quiz scene graph. action: create|validate. graph: {start, nodes:[{id, prompt?, text?, kind?, answers?, next?, duration?, outcome?}]}, opts: {style?, scoreItemId?, subject?}.',
|
|
116
|
-
pinepaper_apply_template: 'Apply pre-built template (templateId), or list available (listOnly:true).
|
|
118
|
+
pinepaper_apply_template: 'Apply pre-built template (templateId), or list available (listOnly:true). DESTRUCTIVE: replaces canvas.',
|
|
117
119
|
// --- Diagrams ---
|
|
118
120
|
pinepaper_create_diagram_shape: `Create diagram shape. shapeType: ${DIAGRAM_SHAPES}. position: {x,y}. text: string.`,
|
|
119
121
|
pinepaper_connect: 'Connect items. sourceId, targetId. style: arrow|line. routing: orthogonal|straight|curved.',
|
|
@@ -123,15 +125,15 @@ export const MINIMAL_DESCRIPTIONS = {
|
|
|
123
125
|
pinepaper_get_diagram_shapes: 'List available diagram shape types.',
|
|
124
126
|
pinepaper_update_connector: 'Update connector style, label, or routing.',
|
|
125
127
|
pinepaper_remove_connector: 'Remove a connector.',
|
|
126
|
-
pinepaper_diagram_mode: 'Toggle diagram editing mode.',
|
|
128
|
+
pinepaper_diagram_mode: 'Toggle diagram editing mode. action: activate|deactivate|toggle|setMode.',
|
|
127
129
|
// --- Maps ---
|
|
128
|
-
pinepaper_map: 'Map load
|
|
130
|
+
pinepaper_map: 'Map load. action: load|export_config|import_custom (pan/zoom refuse: frame with a camera animation + export framing:camera). mapId: usa|world|worldHighRes|<custom>.',
|
|
129
131
|
pinepaper_map_regions: 'Map region styling/selection. action: highlight|unhighlight|apply_colors|add_marker|add_labels|get_at_point|select|deselect|get_highlighted.',
|
|
130
132
|
pinepaper_map_animation: 'Map region animation. action: animate_regions|animate_wave|stop|get_animated. duration, loop.',
|
|
131
133
|
pinepaper_map_data: 'Map import/export. action: export_csv|import_csv|export_geojson|export_original_geojson|source_info.',
|
|
132
|
-
pinepaper_globe: 'Globe mode + world tour. action: enable|rotate_to|spin|world_tour|stop_tour|pin_item|tour_item. world_tour needs regions or coords.',
|
|
134
|
+
pinepaper_globe: 'Globe mode + world tour. action: enable|disable|rotate_to|spin|world_tour|stop_tour|pin_item|tour_item. world_tour needs regions or coords.',
|
|
133
135
|
// --- Fonts ---
|
|
134
|
-
pinepaper_font: 'Font Studio. action: show_studio|set_name|create_glyph|create_space|remove_glyph|set_metrics|export|cleanup_path|… (
|
|
136
|
+
pinepaper_font: 'Font Studio. action: show_studio|set_name|create_glyph|create_space|remove_glyph|set_metrics|export|cleanup_path|… (the rest are in the action enum; see pinepaper_tool_guide).',
|
|
135
137
|
// --- Letter Collage ---
|
|
136
138
|
pinepaper_create_letter_collage: 'Create stylized text with per-letter customization (Wordle, magazine, gradient).',
|
|
137
139
|
pinepaper_animate_letter_collage: 'Animate letter collage with staggered effects.',
|
|
@@ -147,7 +149,12 @@ export const MINIMAL_DESCRIPTIONS = {
|
|
|
147
149
|
// --- Export ---
|
|
148
150
|
pinepaper_export_svg: 'Export canvas as animated SVG.',
|
|
149
151
|
pinepaper_export_training_data: 'Export instruction/code pairs for LLM training.',
|
|
150
|
-
pinepaper_export_scene: '
|
|
152
|
+
pinepaper_export_scene: 'Scene summary for inspection; full: true saves a restorable project document to a file. {full?, name?}',
|
|
153
|
+
pinepaper_relight: 'Light the 3D world with point/directional lights (post pass; PNG/PDF/MP4/WebM, ~0.4 s per 1080p frame; not saved). action: set|get|clear|list_lights.',
|
|
154
|
+
pinepaper_shader_graph: "Pixel graphs (normals, relight, depth of field, bloom) over an item or 'scene'. action: node_types|validate|create|get|list|remove|apply.",
|
|
155
|
+
pinepaper_styled_scene: `One composition in a built-in style (${STYLED_SCENE_STYLES.join('|')}) as one item; export for its returned duration. {style, duration, id, spec}`,
|
|
156
|
+
pinepaper_place_on_surface: 'Put a UI onto a screen in a photo (corner-pinned, hand stays in front), baked into the photo. {photoId, sourceId, quad?, slot?}',
|
|
157
|
+
pinepaper_import_scene: 'Restore a scene from a full export file (replaces the scene); returns counts to compare. {path, strict?}',
|
|
151
158
|
// --- Browser ---
|
|
152
159
|
pinepaper_browser_connect: 'Connect to PinePaper Studio browser instance.',
|
|
153
160
|
pinepaper_browser_disconnect: 'Disconnect from browser.',
|
|
@@ -161,7 +168,7 @@ export const MINIMAL_DESCRIPTIONS = {
|
|
|
161
168
|
pinepaper_agent_end_job: 'End job and get summary with screenshot.',
|
|
162
169
|
pinepaper_agent_reset: 'Quick canvas reset without page refresh.',
|
|
163
170
|
pinepaper_agent_batch_execute: 'ALL ops in one call. Pattern: set_canvas_size → set_background/execute_generator → create → animate/keyframe_animate EACH item ("$0","$1") → play_timeline (REQUIRED).',
|
|
164
|
-
pinepaper_agent_export: 'Export
|
|
171
|
+
pinepaper_agent_export: 'Export video, stills, apng, ads, captions or wav (format enum). platform: instagram|tiktok|youtube|twitter. framing: canvas|camera. scale 0.1-1. Fail: export_store list.',
|
|
165
172
|
pinepaper_export_store: 'Recover a held export. action: list|save|release; save/release need exportId. Page bytes to a file instead of re-rendering — re-rendering evicts older held exports.',
|
|
166
173
|
pinepaper_agent_analyze: 'Analyze canvas content for export recommendations.',
|
|
167
174
|
// --- Misc ---
|
|
@@ -171,7 +178,7 @@ export const MINIMAL_DESCRIPTIONS = {
|
|
|
171
178
|
pinepaper_get_canvas_ontology: 'Capture live canvas as compact pp: triples + item summary. Prefer over get_items for composition reasoning. maxItems, maxChildren, includeViewport.',
|
|
172
179
|
pinepaper_analyze_design: 'Analyze template definition → typed graph, patterns, math functions, semantics, fingerprint, JSON-LD.',
|
|
173
180
|
pinepaper_validate_design: 'Validate + score template definition. 5-dimension quality scoring: completeness, animation, semantics, composition, structure.',
|
|
174
|
-
pinepaper_beat_cuts: 'Cut points on the music
|
|
181
|
+
pinepaper_beat_cuts: 'Cut points on the music (beats/bars), optionally splitting a clip at each. The song is the backbone: cut picture to it. {source|beats, every?: beat|bar|N, range?, clipId?}',
|
|
175
182
|
pinepaper_query_mutations: "A property's keyframe series over time (t, frame, value, easing). {itemId, property?, range?: [from, to]}",
|
|
176
183
|
pinepaper_accessibility_check: 'Text contrast (WCAG 1.4.3 AA) and flashing (2.3.1, >3/sec) check of the live scene; heuristic. {checks?: [contrast, flash], duration?, fps?}',
|
|
177
184
|
pinepaper_validate: "Semantic validation of the live scene/op → structured diagnostics {code, severity, message, fix}. mode:'scene'|'op'. Catches missing targets (+did-you-mean), bad params, cycles.",
|
|
@@ -184,8 +191,8 @@ export const MINIMAL_DESCRIPTIONS = {
|
|
|
184
191
|
pinepaper_history: 'Undo/redo. action: undo|redo|get_state.',
|
|
185
192
|
// "Wires relations, not coordinates" earns its place even at this tier: it is
|
|
186
193
|
// what stops a model positioning the images itself and getting a dead layout.
|
|
187
|
-
pinepaper_compose: 'Named collage layout + camera. action: list_patterns (
|
|
188
|
-
pinepaper_brand_kit: 'Apply brand colours by role. action: plan (dry run + contrast audit)|apply. kit: {name, colors:{primary,secondary?,accent?,background?,text?}, fonts?}. Only name+colors.primary required.',
|
|
194
|
+
pinepaper_compose: 'Named collage layout + camera. action: list_patterns (first: fixed slot counts)|apply {pattern, itemIds in slot order}|list_treatments|set_treatment|list_reveals|list_styles. Wires relations.',
|
|
195
|
+
pinepaper_brand_kit: 'Apply brand colours by role. action: plan (dry run + contrast audit)|apply|from_url. kit: {name, colors:{primary,secondary?,accent?,background?,text?}, fonts?}. Only name+colors.primary required.',
|
|
189
196
|
pinepaper_component: 'Reusable master + instances, per-instance overrides. action: define|list|instantiate|set_override|sync|update_from_instance|detach. {itemIds?, componentId?, instanceId?, componentKey?, prop?, value?}',
|
|
190
197
|
pinepaper_artboard: 'Resize the artboard and control reflow. action: list_presets|set|set_constraints. {preset? | width+height, itemId?, horizontal?, vertical?}',
|
|
191
198
|
pinepaper_comment: 'Notes pinned to an item, a point and/or a time. action: add|list|resolve|delete. add needs text + at least one anchor. {text?, itemId?, x?, y?, time?, id?}',
|
|
@@ -194,15 +201,15 @@ export const MINIMAL_DESCRIPTIONS = {
|
|
|
194
201
|
pinepaper_template_params: 'Templates with typed inputs. action: get {templateId} (discover params) | apply {templateId, params}. Values are coerced + range-checked.',
|
|
195
202
|
pinepaper_scene_diff: 'What changed between two scene states. action: history {indexA,indexB}|version {versionId}. Use it to verify a batch produced the scene you intended.',
|
|
196
203
|
// --- Image Processing ---
|
|
197
|
-
pinepaper_image_filter: 'GPU image filters. action: apply|chain. itemId, filterName, params, filters[].',
|
|
198
|
-
pinepaper_lasso: 'Lasso selection. action: activate|apply. itemId.',
|
|
204
|
+
pinepaper_image_filter: 'GPU image filters. action: apply|chain|analyze_palette|recolor_palette. itemId, filterName, params, filters[].',
|
|
205
|
+
pinepaper_lasso: 'Lasso selection. action: activate|apply|cut. itemId.',
|
|
199
206
|
pinepaper_cutout_style: 'Style cutouts. action: apply|list. itemId, preset, options.',
|
|
200
207
|
// --- Composition & View ---
|
|
201
208
|
pinepaper_precomp: 'Nested compositions. action: create|add|remove. itemIds, name, precompId, itemId.',
|
|
202
209
|
pinepaper_background: 'Background. action: set|clear|get. mode: color|pattern|generator.',
|
|
203
210
|
// --- Canvas Query ---
|
|
204
211
|
pinepaper_query: 'Canvas queries. action: get_by_id|hit_test|is_empty. itemId, x, y, tolerance.',
|
|
205
|
-
pinepaper_query_capabilities: 'Query and recommend capabilities across text styles, text effects, generators, deforms, and relations. action: list|choose|coverage|find. kind, mood, subject, seed, key, warm.',
|
|
212
|
+
pinepaper_query_capabilities: 'Query and recommend capabilities across text styles, text effects, generators, deforms, and relations. action: list|choose|coverage|find|catalogue|studio. kind, mood, subject, seed, key, warm.',
|
|
206
213
|
// --- Deformation, Sprite Sheets, Interaction ---
|
|
207
214
|
pinepaper_deform: 'Vertex deformation. action: apply|trigger|remove. itemId, preset: fold|squeeze|squash|twist|ripple|wave|breathe|wobble..., phase, amplitude.',
|
|
208
215
|
pinepaper_sprite_sheet: 'Sprite sheets. action: generate|play|export. skeletonId, spriteSheetId, poses, animations, format.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"minimal-descriptions.js","sourceRoot":"","sources":["../../src/tools/minimal-descriptions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"minimal-descriptions.js","sourceRoot":"","sources":["../../src/tools/minimal-descriptions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OA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ACrI,CAAC"}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* What each registry-backed shape reads, and how a caller reaches it.
|
|
5
5
|
*
|
|
6
|
-
* Source: FxTool origin/main
|
|
6
|
+
* Source: FxTool origin/main 8e4a795a5c06dcd94e21a28acd13ec217aa97449
|
|
7
7
|
* js/PinePaper.js + 5 shape modules
|
|
8
|
-
* sha256:
|
|
8
|
+
* sha256: 2b685a5f0689075f
|
|
9
9
|
*
|
|
10
10
|
* A shape's `create` receives a `config`, never the caller's `params`.
|
|
11
11
|
* PinePaper.js's registryConfig literal is the only bridge between the two, so
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shape-params.d.ts","sourceRoot":"","sources":["../../src/tools/shape-params.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oFAAoF;AACpF,eAAO,MAAM,sBAAsB,EAAE,SAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"shape-params.d.ts","sourceRoot":"","sources":["../../src/tools/shape-params.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oFAAoF;AACpF,eAAO,MAAM,sBAAsB,EAAE,SAAS,MAAM,EAqFlD,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAoBjD,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,SAAS,MAAM,EAuD/C,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAezE,CAAC;AAEH,oEAAoE;AACpE,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAmCzE,CAAC;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAAyC,CAAC"}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* What each registry-backed shape reads, and how a caller reaches it.
|
|
5
5
|
*
|
|
6
|
-
* Source: FxTool origin/main
|
|
6
|
+
* Source: FxTool origin/main 8e4a795a5c06dcd94e21a28acd13ec217aa97449
|
|
7
7
|
* js/PinePaper.js + 5 shape modules
|
|
8
|
-
* sha256:
|
|
8
|
+
* sha256: 2b685a5f0689075f
|
|
9
9
|
*
|
|
10
10
|
* A shape's `create` receives a `config`, never the caller's `params`.
|
|
11
11
|
* PinePaper.js's registryConfig literal is the only bridge between the two, so
|
|
@@ -29,6 +29,7 @@ export const ACCEPTED_CREATE_PARAMS = Object.freeze([
|
|
|
29
29
|
'area',
|
|
30
30
|
'blendMode',
|
|
31
31
|
'bornAt',
|
|
32
|
+
'calligraphic',
|
|
32
33
|
'closed',
|
|
33
34
|
'color',
|
|
34
35
|
'content',
|
|
@@ -54,7 +55,9 @@ export const ACCEPTED_CREATE_PARAMS = Object.freeze([
|
|
|
54
55
|
'label',
|
|
55
56
|
'labelPosition',
|
|
56
57
|
'layer',
|
|
58
|
+
'monoline',
|
|
57
59
|
'name',
|
|
60
|
+
'nib',
|
|
58
61
|
'opacity',
|
|
59
62
|
'origin',
|
|
60
63
|
'pathData',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shape-params.js","sourceRoot":"","sources":["../../src/tools/shape-params.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oFAAoF;AACpF,MAAM,CAAC,MAAM,sBAAsB,GAAsB,MAAM,CAAC,MAAM,CAAC;IACrE,aAAa;IACb,WAAW;IACX,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,gBAAgB;IAChB,mBAAmB;IACnB,iBAAiB;IACjB,oBAAoB;IACpB,gBAAgB;IAChB,eAAe;IACf,MAAM;IACN,WAAW;IACX,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,SAAS;IACT,cAAc;IACd,aA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,OAAO,CAAC,CAAC;IAClF,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,CAAC,CAAC;IACxF,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;CACtF,CAAC,CAAC;AAEH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAsB,MAAM,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* across five lists is exactly the shape that drifts, and every enum this repo
|
|
10
10
|
* hand-maintained against FxTool drifted silently.
|
|
11
11
|
*
|
|
12
|
-
* Source: FxTool origin/main
|
|
12
|
+
* Source: FxTool origin/main 8e4a795a5c06dcd94e21a28acd13ec217aa97449
|
|
13
13
|
* js/vendor/stick/figure-rigged.js
|
|
14
14
|
* sha256: bb2faa1ff5f0f83a
|
|
15
15
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* across five lists is exactly the shape that drifts, and every enum this repo
|
|
10
10
|
* hand-maintained against FxTool drifted silently.
|
|
11
11
|
*
|
|
12
|
-
* Source: FxTool origin/main
|
|
12
|
+
* Source: FxTool origin/main 8e4a795a5c06dcd94e21a28acd13ec217aa97449
|
|
13
13
|
* js/vendor/stick/figure-rigged.js
|
|
14
14
|
* sha256: bb2faa1ff5f0f83a
|
|
15
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolkits.d.ts","sourceRoot":"","sources":["../../src/tools/toolkits.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC;AAEvF,eAAO,MAAM,qBAAqB,EAAE,cAAc,EAA2D,CAAC;AAM9G,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"toolkits.d.ts","sourceRoot":"","sources":["../../src/tools/toolkits.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC;AAEvF,eAAO,MAAM,qBAAqB,EAAE,cAAc,EAA2D,CAAC;AAM9G,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAiS9C,CAAC;AAMF,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,CAsD7D,CAAC;AAMF,UAAU,IAAI;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,cAAc,GAAG,CAAC,EAAE,CAsB3F;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,IAAI,cAAc,CAM7D;AAED,+EAA+E;AAC/E,wBAAgB,sBAAsB,IAAI,OAAO,CAGhD;AAMD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAItD;;;;GAIG;AACH,wBAAgB,8BAA8B,IAAI,aAAa,CAM9D;AAED,0FAA0F;AAC1F,wBAAgB,wBAAwB,IAAI,OAAO,CAGlD;AAMD,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,cAAc,CAAC;IACxB,SAAS,EAAE,aAAa,CAAC;CAC1B;AAcD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI,CASzE"}
|
package/dist/tools/toolkits.js
CHANGED
|
@@ -53,6 +53,7 @@ export const TOOL_TAGS = {
|
|
|
53
53
|
import: [
|
|
54
54
|
'pinepaper_import_svg',
|
|
55
55
|
'pinepaper_import_image',
|
|
56
|
+
'pinepaper_place_on_surface',
|
|
56
57
|
'pinepaper_detect_objects',
|
|
57
58
|
'pinepaper_extract_object',
|
|
58
59
|
],
|
|
@@ -122,6 +123,7 @@ export const TOOL_TAGS = {
|
|
|
122
123
|
'pinepaper_generate',
|
|
123
124
|
'pinepaper_generate_estimate',
|
|
124
125
|
'pinepaper_generate_status',
|
|
126
|
+
'pinepaper_styled_scene',
|
|
125
127
|
],
|
|
126
128
|
effects: [
|
|
127
129
|
'pinepaper_apply_effect',
|
|
@@ -129,6 +131,8 @@ export const TOOL_TAGS = {
|
|
|
129
131
|
],
|
|
130
132
|
filters: [
|
|
131
133
|
'pinepaper_add_filter',
|
|
134
|
+
'pinepaper_relight',
|
|
135
|
+
'pinepaper_shader_graph',
|
|
132
136
|
],
|
|
133
137
|
// --- Compositions ---
|
|
134
138
|
scene: [
|
|
@@ -217,6 +221,7 @@ export const TOOL_TAGS = {
|
|
|
217
221
|
'pinepaper_export_svg',
|
|
218
222
|
'pinepaper_export_training_data',
|
|
219
223
|
'pinepaper_export_scene',
|
|
224
|
+
'pinepaper_import_scene',
|
|
220
225
|
'pinepaper_export_widget',
|
|
221
226
|
'pinepaper_export_widget_html',
|
|
222
227
|
'pinepaper_capture_frames',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolkits.js","sourceRoot":"","sources":["../../src/tools/toolkits.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,MAAM,CAAC,MAAM,qBAAqB,GAAqB,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC;AAE9G,gFAAgF;AAChF,sDAAsD;AACtD,gFAAgF;AAEhF,MAAM,CAAC,MAAM,SAAS,GAA6B;IACjD,0DAA0D;IAC1D,KAAK,EAAE;QACL,2BAA2B;QAC3B,yBAAyB;QACzB,uBAAuB;QACvB,+BAA+B;QAC/B,wBAAwB;QACxB,wBAAwB;QACxB,uBAAuB;QACvB,yBAAyB;KAC1B;IACD,OAAO,EAAE;QACP,2BAA2B;QAC3B,8BAA8B;QAC9B,8BAA8B;QAC9B,0BAA0B;KAC3B;IACD,MAAM,EAAE;QACN,gCAAgC;QAChC,2BAA2B;QAC3B,2BAA2B;QAC3B,wBAAwB;QACxB,wBAAwB;QACxB,sBAAsB;KACvB;IAED,uCAAuC;IACvC,IAAI,EAAE;QACJ,uBAAuB;QACvB,uBAAuB;QACvB,uBAAuB;QACvB,gCAAgC;QAChC,mCAAmC;QACnC,uBAAuB;QACvB,oBAAoB;QACpB,iBAAiB;QACjB,mBAAmB;QACnB,gBAAgB;KACjB;IACD,MAAM,EAAE;QACN,sBAAsB;QACtB,wBAAwB;QACxB,0BAA0B;QAC1B,0BAA0B;KAC3B;IACD,KAAK,EAAE;QACL,iBAAiB;QACjB,wEAAwE;QACxE,2CAA2C;QAC3C,uBAAuB;KACxB;IACD,OAAO,EAAE;QACP,mBAAmB;QACnB,oCAAoC;QACpC,0EAA0E;QAC1E,qEAAqE;QACrE,4BAA4B;QAC5B,qBAAqB;QACrB,yBAAyB;QACzB,iBAAiB;QACjB,iBAAiB;KAClB;IACD,MAAM,EAAE;QACN,yBAAyB;QACzB,wBAAwB;KACzB;IACD,KAAK,EAAE;QACL,wBAAwB;QACxB,wBAAwB;KACzB;IAED,gCAAgC;IAChC,SAAS,EAAE;QACT,wBAAwB;QACxB,2BAA2B;QAC3B,2BAA2B;QAC3B,oCAAoC;KACrC;IACD,SAAS,EAAE;QACT,mBAAmB;QACnB,gBAAgB;QAChB,mBAAmB;QACnB,kBAAkB;QAClB,iBAAiB;QACjB,iCAAiC;QACjC,4BAA4B;QAC5B,yBAAyB;QACzB,qCAAqC;QACrC,iCAAiC;QACjC,iCAAiC;QACjC,2BAA2B;QAC3B,qBAAqB;KACtB;IACD,KAAK,EAAE;QACL,+BAA+B;QAC/B,6BAA6B;QAC7B,uBAAuB;QACvB,0BAA0B;QAC1B,+BAA+B;KAChC;IACD,MAAM,EAAE;QACN,0BAA0B;QAC1B,kBAAkB;QAClB,2BAA2B;KAC5B;IAED,+BAA+B;IAC/B,UAAU,EAAE;QACV,6BAA6B;QAC7B,2BAA2B;QAC3B,oBAAoB;QACpB,6BAA6B;QAC7B,2BAA2B;
|
|
1
|
+
{"version":3,"file":"toolkits.js","sourceRoot":"","sources":["../../src/tools/toolkits.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,MAAM,CAAC,MAAM,qBAAqB,GAAqB,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC;AAE9G,gFAAgF;AAChF,sDAAsD;AACtD,gFAAgF;AAEhF,MAAM,CAAC,MAAM,SAAS,GAA6B;IACjD,0DAA0D;IAC1D,KAAK,EAAE;QACL,2BAA2B;QAC3B,yBAAyB;QACzB,uBAAuB;QACvB,+BAA+B;QAC/B,wBAAwB;QACxB,wBAAwB;QACxB,uBAAuB;QACvB,yBAAyB;KAC1B;IACD,OAAO,EAAE;QACP,2BAA2B;QAC3B,8BAA8B;QAC9B,8BAA8B;QAC9B,0BAA0B;KAC3B;IACD,MAAM,EAAE;QACN,gCAAgC;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
|
* Converts MCP tool inputs to executable PinePaper JavaScript code.
|
|
5
5
|
* This code is designed to run in the browser context where window.PinePaper is available.
|
|
6
6
|
*/
|
|
7
|
-
import {
|
|
7
|
+
import { WORLD3D_COLOR_PATHS } from '../tools/engine-lists.js';
|
|
8
|
+
import { ItemType, RelationType, CreateItemInputSchema, ImportMotionCaptureInputSchema, ModifyItemInputSchema, AddRelationInputSchema, AnimateItemInputSchema, KeyframeAnimateInputSchema, ExecuteGeneratorInputSchema, ApplyEffectInputSchema, SetBackgroundColorInputSchema, SetCanvasSizeInputSchema, CreateGlossySphereInputSchema, CreateDiagonalStripesInputSchema, BatchCreateInputSchema, BatchModifyInputSchema, CreateGridInputSchema, CreateSceneInput, CreateDiagramShapeInput, ConnectInput, ConnectPortsInput, AddPortsInput, AutoLayoutInput, GetDiagramShapesInput, UpdateConnectorInput, RemoveConnectorInput, DiagramModeInput, AgentStartJobInput, AgentEndJobInput, AgentResetInput, AgentBatchExecuteInput, AgentExportInput, AgentAnalyzeInput, CreateLetterCollageInput, AnimateLetterCollageInput, LoadMapInput, HighlightRegionsInput, UnhighlightRegionsInput, ApplyDataColorsInput, ApplyTemplateInput, AddMarkerInput, AddMapLabelsInput, PanMapInput, ZoomMapInput, ImportCustomMapInput, GetRegionAtPointInput, AnimateMapRegionsInput, AnimateMapWaveInput, StopMapAnimationsInput, ExportMapRegionCSVInput, ImportMapRegionCSVInput, SelectMapRegionsInput, DeselectMapRegionsInput, GlobeEnableInput, GlobeRotateToInput, GlobeSpinInput, WorldTourInput, StopWorldTourInput, PinToGlobeInput, TourItemInput, RegisterCustomRelationInput, ExecuteCustomCodeInput, ApplyAnimatedMaskInput, ApplyCustomMaskInput, RemoveMaskInput, ImportImageInput, ManageScenesInput, ScenePlaybackInput, SceneGraphInput, SequenceInput, StaggerInput, FlipInput, SelectionInput, TransformInput, BrandKitInput, ComponentInput, ArtboardInput, CommentInput, ProvenanceInput, SceneDiffInput, AudioBeatsInput, TemplateParamsInput, ComposeInput, HistoryInput, ImageFilterInput, LassoInput, CutoutStyleInput, PrecompInput, BackgroundInput, QueryInput, QueryCapabilitiesInput, DeformInput, SpriteSheetInput, InteractionInput, ExportWidgetInput, ExportWidgetHtmlInput, CreateChartInput, MagicInput, PhysicsInput, MeasurementInput, GeometryInput, EquationPathInput, EventInput, ConstructionSequenceInput, ValidateSceneInput, CaptureFramesInput, CaptureSheet, PlaceOnSurfaceInputSchema, AccessibilityCheckInput, InstantiateOntologyInput, LintSceneInput, MediaInput, TextStyleInput, TextEffectInput, DesignMediumInput, RelightInput, ShaderGraphInput, ShatterImageInput, ImportLayeredCharacterInput, GameInput, World3DInput, CropImageInput, PathOpInput, MotionInput, SoundInput, InterchangeInput, StickInput, StoryInput, ChromaKeyInput, RiggingInput, GroupInput, CameraDirectorInput, DetectObjectsInput, ExtractObjectInput, ArrangeInput, StyledSceneInput } from './schemas.js';
|
|
8
9
|
import { z } from 'zod';
|
|
9
10
|
/**
|
|
10
11
|
* Load a font family before text is drawn with it, and say if it still is not there.
|
|
@@ -22,6 +23,12 @@ import { z } from 'zod';
|
|
|
22
23
|
* so an available font adds nothing to the result. Needs an async context.
|
|
23
24
|
*/
|
|
24
25
|
export declare function emitEnsureFont(family: string): string;
|
|
26
|
+
/**
|
|
27
|
+
* cursiveOptions as createCursiveText reads them. The engine takes `nib` as a
|
|
28
|
+
* boolean or a tuning object; the tool also takes the words 'monoline' and
|
|
29
|
+
* 'broad', which the engine would read as truthy (= broad) both times.
|
|
30
|
+
*/
|
|
31
|
+
export declare function cursiveEngineOptions(o: TextStyleInput['cursiveOptions']): Record<string, unknown>;
|
|
25
32
|
/**
|
|
26
33
|
* Template for timeline control
|
|
27
34
|
*/
|
|
@@ -95,6 +102,37 @@ export declare function canvasPresetFor(platform: string): string;
|
|
|
95
102
|
* inside the encode.
|
|
96
103
|
*/
|
|
97
104
|
export declare const INLINE_MAX_BYTES: number;
|
|
105
|
+
/**
|
|
106
|
+
* The world spec's colour fields: GENERATED from FxTool WORLD_SCHEMA's kind
|
|
107
|
+
* 'color' entries (scripts/sync-engine-lists.mjs). None of them is named
|
|
108
|
+
* `color`, so world3dColors never touched them and a hex `env.zenith` reached
|
|
109
|
+
* the engine as a string, where the validator refused it.
|
|
110
|
+
*/
|
|
111
|
+
export { WORLD3D_COLOR_PATHS };
|
|
112
|
+
/** A hex colour to [r, g, b] 0..1; anything else unchanged (arrays too: light colours may exceed 1). */
|
|
113
|
+
export declare function world3dHex(value: unknown): unknown;
|
|
114
|
+
/** Convert hex strings at the world spec's colour paths (configure / create). */
|
|
115
|
+
export declare function world3dSpecColors<T>(spec: T): T;
|
|
116
|
+
/** At most this many tiles in one contact sheet: past it, the tiles are too small to judge. */
|
|
117
|
+
export declare const SHEET_MAX_TILES = 48;
|
|
118
|
+
/**
|
|
119
|
+
* The times a contact sheet captures, and a label for each. Pure, so the
|
|
120
|
+
* modes are testable without a browser. Explicit `times` win; otherwise
|
|
121
|
+
* every / strip / loopSeam. Rounded to the millisecond, clamped at 0.
|
|
122
|
+
*/
|
|
123
|
+
export declare function sheetTimes(times: number[] | undefined, sheet: CaptureSheet): {
|
|
124
|
+
times: number[];
|
|
125
|
+
labels: string[];
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* The critique an agent applies to a contact sheet. One scale, the same every
|
|
129
|
+
* time, so two passes over one film can be compared.
|
|
130
|
+
*/
|
|
131
|
+
export declare const SHEET_RUBRIC: {
|
|
132
|
+
scale: string;
|
|
133
|
+
criteria: string[];
|
|
134
|
+
checklist: string[];
|
|
135
|
+
};
|
|
98
136
|
export declare class PinePaperCodeGenerator {
|
|
99
137
|
/**
|
|
100
138
|
* Generate code for creating an item
|
|
@@ -111,7 +149,7 @@ export declare class PinePaperCodeGenerator {
|
|
|
111
149
|
/**
|
|
112
150
|
* Generate code for adding a relation
|
|
113
151
|
*/
|
|
114
|
-
generateAddRelation(input: z.infer<typeof AddRelationInputSchema
|
|
152
|
+
generateAddRelation(input: z.infer<typeof AddRelationInputSchema>, customName?: boolean): string;
|
|
115
153
|
/**
|
|
116
154
|
* Generate code for removing a relation
|
|
117
155
|
*/
|
|
@@ -361,6 +399,18 @@ export declare class PinePaperCodeGenerator {
|
|
|
361
399
|
* Generate code to load a geographic map
|
|
362
400
|
*/
|
|
363
401
|
generateLoadMap(input: LoadMapInput): string;
|
|
402
|
+
/**
|
|
403
|
+
* Emitted helpers for reading a map's region colours back.
|
|
404
|
+
*
|
|
405
|
+
* highlightRegions and applyDataColors both write ONE channel — a colour
|
|
406
|
+
* override keyed on the feature's _mapId — and log a console.warn for an id
|
|
407
|
+
* they cannot resolve, which production strips. getHighlightedRegions reads
|
|
408
|
+
* path.data.highlighted over regionPaths, which a rasterised map leaves
|
|
409
|
+
* empty, so it saw nothing either tool did (gate D51). The override, read
|
|
410
|
+
* through the public getRegionOverride, is the record the engine leaves.
|
|
411
|
+
* Ids resolve the way the engine resolves them: exact, then lower-case.
|
|
412
|
+
*/
|
|
413
|
+
private mapRegionReadbackJs;
|
|
364
414
|
/**
|
|
365
415
|
* Generate code to highlight map regions
|
|
366
416
|
*/
|
|
@@ -468,6 +518,22 @@ export declare class PinePaperCodeGenerator {
|
|
|
468
518
|
/**
|
|
469
519
|
* Generate code to export the complete scene state
|
|
470
520
|
*/
|
|
521
|
+
/**
|
|
522
|
+
* pinepaper_place_on_surface (FxTool #56): app.placeOnSurface corner-pins
|
|
523
|
+
* the UI into the photo's screen, mattes it so a hand stays in front, and
|
|
524
|
+
* BAKES it into the photo's pixels. Async. Only plain fields come back.
|
|
525
|
+
*/
|
|
526
|
+
generatePlaceOnSurface(input: z.infer<typeof PlaceOnSurfaceInputSchema>): string;
|
|
527
|
+
/**
|
|
528
|
+
* A RESTORABLE project document (D28): app.captureProjectDocument, the
|
|
529
|
+
* engine's own durable format (core/ProjectDocument.js), which carries
|
|
530
|
+
* relations, rigging, connectors, scene chains and animation config.
|
|
531
|
+
* NOT exportProjectJSON: the engine documents that one as a bare Paper tree
|
|
532
|
+
* that drops roughly half of a non-trivial scene.
|
|
533
|
+
*/
|
|
534
|
+
generateCaptureProject(name?: string): string;
|
|
535
|
+
/** Load a staged project document (window.__ppStage.projectDoc), replacing the scene. */
|
|
536
|
+
generateLoadProject(strict: boolean): string;
|
|
471
537
|
generateExportScene(): string;
|
|
472
538
|
/**
|
|
473
539
|
* Generate code to export map as GeoJSON with current styling
|
|
@@ -585,6 +651,13 @@ export declare class PinePaperCodeGenerator {
|
|
|
585
651
|
* Extract the best-matching detected region from an image as a NEW item (FxTool
|
|
586
652
|
* ImageWorkflow.extractObject). Async (runs detection first).
|
|
587
653
|
*/
|
|
654
|
+
/**
|
|
655
|
+
* pinepaper_styled_scene (FxTool K2). app.styledScene answers {ok:false,
|
|
656
|
+
* error} rather than rejecting, so the verdict is read, not assumed. The
|
|
657
|
+
* result carries the duration to export for: the scene item lives that long,
|
|
658
|
+
* and an export left at its own default would cut it short or pad it.
|
|
659
|
+
*/
|
|
660
|
+
generateStyledScene(input: StyledSceneInput): string;
|
|
588
661
|
generateExtractObject(input: ExtractObjectInput): string;
|
|
589
662
|
/**
|
|
590
663
|
* Camera director (FxTool DirectorCompiler): compile a shot list into ONE
|
|
@@ -625,6 +698,13 @@ export declare class PinePaperCodeGenerator {
|
|
|
625
698
|
*/
|
|
626
699
|
generateAccessibilityCheck(input: AccessibilityCheckInput): string;
|
|
627
700
|
generateCaptureFrames(input: CaptureFramesInput): string;
|
|
701
|
+
/**
|
|
702
|
+
* A contact sheet (G3): capture at the planned times and tile them into one
|
|
703
|
+
* image in the page. On a studio with sized capture (FxTool #42:
|
|
704
|
+
* captureFramesAt(times, { width, format })) the engine renders each frame
|
|
705
|
+
* small; on an older one the full frame is scaled while tiling.
|
|
706
|
+
*/
|
|
707
|
+
generateCaptureSheet(input: CaptureFramesInput): string;
|
|
628
708
|
/**
|
|
629
709
|
* Ontology→scene compiler (S12-E3). Compiles the JSON-LD design graph SERVER-SIDE
|
|
630
710
|
* (deterministic, unit-tested) into create/addRelation ops, then emits code that
|
|
@@ -660,6 +740,19 @@ export declare class PinePaperCodeGenerator {
|
|
|
660
740
|
* only ids/count/duration are forwarded. `ids` is the whole handle set the
|
|
661
741
|
* caller now has, since the source item is gone.
|
|
662
742
|
*/
|
|
743
|
+
/**
|
|
744
|
+
* pinepaper_relight — FxTool D5's relight post pass over the 3D world layer.
|
|
745
|
+
* The rig is not saved with the project, GIF / APNG are not relit, and it
|
|
746
|
+
* costs ~0.42 s per 1080p frame on the CPU, so a set says what an export
|
|
747
|
+
* will pay.
|
|
748
|
+
*/
|
|
749
|
+
generateRelight(input: RelightInput): string;
|
|
750
|
+
/**
|
|
751
|
+
* pinepaper_shader_graph — FxTool D5's JSON pixel graphs. Applying to an
|
|
752
|
+
* item makes a NEW image item and hides the source (one undo step);
|
|
753
|
+
* applying to 'scene' returns the processed frame and changes nothing.
|
|
754
|
+
*/
|
|
755
|
+
generateShaderGraph(input: ShaderGraphInput): string;
|
|
663
756
|
/**
|
|
664
757
|
* The medium axis. `list_media` and `resolve` are READS — they exist so an
|
|
665
758
|
* agent can find out what this build can honestly make before it promises a
|
|
@@ -705,7 +798,7 @@ export declare class PinePaperCodeGenerator {
|
|
|
705
798
|
width: number;
|
|
706
799
|
height: number;
|
|
707
800
|
backgroundHex?: string;
|
|
708
|
-
}, ops: Array<Record<string, unknown>>, style: string): string;
|
|
801
|
+
}, ops: Array<Record<string, unknown>>, style: string, sizeWarning?: string): string;
|
|
709
802
|
/**
|
|
710
803
|
* pinepaper_stick — the vendored stick-figure kit.
|
|
711
804
|
*
|
|
@@ -838,5 +931,4 @@ export declare function generateAutoKeyCode(itemId: string, props: Record<string
|
|
|
838
931
|
* history of who changed what — the result says so.
|
|
839
932
|
*/
|
|
840
933
|
export declare function generateQueryMutationsCode(itemId: string, property?: string, range?: [number, number], fps?: number): string;
|
|
841
|
-
export {};
|
|
842
934
|
//# sourceMappingURL=code-generator.d.ts.map
|