@pinepaper.studio/mcp-server 1.4.3 → 1.5.1
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.md +89 -0
- package/dist/__tests__/fixtures/mock-generators.d.ts +147 -0
- package/dist/__tests__/fixtures/mock-generators.d.ts.map +1 -1
- package/dist/__tests__/fixtures/mock-generators.js +85 -0
- package/dist/__tests__/fixtures/mock-generators.js.map +1 -1
- package/dist/agent/export-manager.d.ts +77 -0
- package/dist/agent/export-manager.d.ts.map +1 -0
- package/dist/agent/export-manager.js +465 -0
- package/dist/agent/export-manager.js.map +1 -0
- package/dist/agent/index.d.ts +9 -0
- package/dist/agent/index.d.ts.map +1 -0
- package/dist/agent/index.js +12 -0
- package/dist/agent/index.js.map +1 -0
- package/dist/agent/session-manager.d.ts +109 -0
- package/dist/agent/session-manager.d.ts.map +1 -0
- package/dist/agent/session-manager.js +311 -0
- package/dist/agent/session-manager.js.map +1 -0
- package/dist/agent/types.d.ts +385 -0
- package/dist/agent/types.d.ts.map +1 -0
- package/dist/agent/types.js +141 -0
- package/dist/agent/types.js.map +1 -0
- package/dist/browser/index.d.ts +1 -1
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/puppeteer-controller.d.ts +89 -5
- package/dist/browser/puppeteer-controller.d.ts.map +1 -1
- package/dist/browser/puppeteer-controller.js +412 -11
- package/dist/browser/puppeteer-controller.js.map +1 -1
- package/dist/cli.js +61 -65
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2769 -150
- package/dist/index.js.map +1 -1
- package/dist/metrics/types.d.ts +3 -1
- package/dist/metrics/types.d.ts.map +1 -1
- package/dist/prompts/index.d.ts +30 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +163 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/tools/compact-descriptions.d.ts +9 -0
- package/dist/tools/compact-descriptions.d.ts.map +1 -0
- package/dist/tools/compact-descriptions.js +291 -0
- package/dist/tools/compact-descriptions.js.map +1 -0
- package/dist/tools/definitions.d.ts +14 -0
- package/dist/tools/definitions.d.ts.map +1 -1
- package/dist/tools/definitions.js +4954 -1552
- package/dist/tools/definitions.js.map +1 -1
- package/dist/tools/handlers.d.ts.map +1 -1
- package/dist/tools/handlers.js +1302 -19
- package/dist/tools/handlers.js.map +1 -1
- package/dist/tools/index.d.ts +4 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +2 -1
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/minimal-descriptions.d.ts +9 -0
- package/dist/tools/minimal-descriptions.d.ts.map +1 -0
- package/dist/tools/minimal-descriptions.js +158 -0
- package/dist/tools/minimal-descriptions.js.map +1 -0
- package/dist/tools/toolkits.d.ts +51 -0
- package/dist/tools/toolkits.d.ts.map +1 -0
- package/dist/tools/toolkits.js +336 -0
- package/dist/tools/toolkits.js.map +1 -0
- package/dist/types/code-generator.d.ts +193 -1
- package/dist/types/code-generator.d.ts.map +1 -1
- package/dist/types/code-generator.js +2167 -26
- package/dist/types/code-generator.js.map +1 -1
- package/dist/types/schemas.d.ts +5278 -1141
- package/dist/types/schemas.d.ts.map +1 -1
- package/dist/types/schemas.js +863 -5
- package/dist/types/schemas.js.map +1 -1
- package/manifest.json +94 -2
- package/package.json +1 -1
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toolkit Profiles — Workflow-based tool filtering
|
|
3
|
+
*
|
|
4
|
+
* Controls which tools are exposed via tools/list based on the PINEPAPER_TOOLKIT env var.
|
|
5
|
+
* Reduces token usage for smaller-context models (e.g., Haiku) by only showing relevant tools.
|
|
6
|
+
*
|
|
7
|
+
* Profiles are composed from reusable tag groups (categories of tools).
|
|
8
|
+
* Handler dispatch is NOT filtered — hidden tools still execute if called directly.
|
|
9
|
+
*/
|
|
10
|
+
export const TOOLKIT_PROFILES_LIST = ['full', 'agent', 'diagram', 'map', 'font', 'minimal'];
|
|
11
|
+
// =============================================================================
|
|
12
|
+
// TAG GROUPS — each maps a category to its tool names
|
|
13
|
+
// =============================================================================
|
|
14
|
+
export const TOOL_TAGS = {
|
|
15
|
+
// --- Core infrastructure (included in most profiles) ---
|
|
16
|
+
agent: [
|
|
17
|
+
'pinepaper_agent_start_job',
|
|
18
|
+
'pinepaper_agent_end_job',
|
|
19
|
+
'pinepaper_agent_reset',
|
|
20
|
+
'pinepaper_agent_batch_execute',
|
|
21
|
+
'pinepaper_agent_export',
|
|
22
|
+
'pinepaper_agent_analyze',
|
|
23
|
+
],
|
|
24
|
+
browser: [
|
|
25
|
+
'pinepaper_browser_connect',
|
|
26
|
+
'pinepaper_browser_disconnect',
|
|
27
|
+
'pinepaper_browser_screenshot',
|
|
28
|
+
'pinepaper_browser_status',
|
|
29
|
+
],
|
|
30
|
+
canvas: [
|
|
31
|
+
'pinepaper_set_background_color',
|
|
32
|
+
'pinepaper_set_canvas_size',
|
|
33
|
+
'pinepaper_get_canvas_size',
|
|
34
|
+
'pinepaper_clear_canvas',
|
|
35
|
+
'pinepaper_refresh_page',
|
|
36
|
+
'pinepaper_get_canvas_presets',
|
|
37
|
+
],
|
|
38
|
+
// --- Item creation & modification ---
|
|
39
|
+
core: [
|
|
40
|
+
'pinepaper_create_item',
|
|
41
|
+
'pinepaper_modify_item',
|
|
42
|
+
'pinepaper_delete_item',
|
|
43
|
+
'pinepaper_create_glossy_sphere',
|
|
44
|
+
'pinepaper_create_diagonal_stripes',
|
|
45
|
+
'pinepaper_create_grid',
|
|
46
|
+
],
|
|
47
|
+
import: [
|
|
48
|
+
'pinepaper_import_svg',
|
|
49
|
+
'pinepaper_import_image',
|
|
50
|
+
],
|
|
51
|
+
assets: [
|
|
52
|
+
'pinepaper_search_assets',
|
|
53
|
+
'pinepaper_import_asset',
|
|
54
|
+
],
|
|
55
|
+
batch: [
|
|
56
|
+
'pinepaper_batch_create',
|
|
57
|
+
'pinepaper_batch_modify',
|
|
58
|
+
],
|
|
59
|
+
// --- Relations & animation ---
|
|
60
|
+
relations: [
|
|
61
|
+
'pinepaper_add_relation',
|
|
62
|
+
'pinepaper_remove_relation',
|
|
63
|
+
'pinepaper_query_relations',
|
|
64
|
+
'pinepaper_register_custom_relation',
|
|
65
|
+
],
|
|
66
|
+
animation: [
|
|
67
|
+
'pinepaper_animate',
|
|
68
|
+
'pinepaper_keyframe_animate',
|
|
69
|
+
'pinepaper_play_timeline',
|
|
70
|
+
'pinepaper_get_animatable_properties',
|
|
71
|
+
'pinepaper_get_available_easings',
|
|
72
|
+
],
|
|
73
|
+
masks: [
|
|
74
|
+
'pinepaper_apply_animated_mask',
|
|
75
|
+
'pinepaper_apply_custom_mask',
|
|
76
|
+
'pinepaper_remove_mask',
|
|
77
|
+
'pinepaper_get_mask_types',
|
|
78
|
+
'pinepaper_get_mask_animations',
|
|
79
|
+
],
|
|
80
|
+
camera: [
|
|
81
|
+
'pinepaper_camera_animate',
|
|
82
|
+
'pinepaper_camera_zoom',
|
|
83
|
+
'pinepaper_camera_pan',
|
|
84
|
+
'pinepaper_camera_move_to',
|
|
85
|
+
'pinepaper_camera_reset',
|
|
86
|
+
'pinepaper_camera_stop',
|
|
87
|
+
'pinepaper_camera_state',
|
|
88
|
+
],
|
|
89
|
+
// --- Generators & effects ---
|
|
90
|
+
generators: [
|
|
91
|
+
'pinepaper_execute_generator',
|
|
92
|
+
'pinepaper_list_generators',
|
|
93
|
+
],
|
|
94
|
+
effects: [
|
|
95
|
+
'pinepaper_apply_effect',
|
|
96
|
+
],
|
|
97
|
+
filters: [
|
|
98
|
+
'pinepaper_add_filter',
|
|
99
|
+
],
|
|
100
|
+
// --- Compositions ---
|
|
101
|
+
scene: [
|
|
102
|
+
'pinepaper_create_scene',
|
|
103
|
+
],
|
|
104
|
+
template: [
|
|
105
|
+
'pinepaper_apply_template',
|
|
106
|
+
],
|
|
107
|
+
// --- Query & export ---
|
|
108
|
+
query: [
|
|
109
|
+
'pinepaper_get_items',
|
|
110
|
+
'pinepaper_get_relation_stats',
|
|
111
|
+
],
|
|
112
|
+
export: [
|
|
113
|
+
'pinepaper_export_svg',
|
|
114
|
+
'pinepaper_export_training_data',
|
|
115
|
+
'pinepaper_export_scene',
|
|
116
|
+
],
|
|
117
|
+
// --- Domain: Diagrams ---
|
|
118
|
+
diagram: [
|
|
119
|
+
'pinepaper_create_diagram_shape',
|
|
120
|
+
'pinepaper_connect',
|
|
121
|
+
'pinepaper_connect_ports',
|
|
122
|
+
'pinepaper_add_ports',
|
|
123
|
+
'pinepaper_auto_layout',
|
|
124
|
+
'pinepaper_get_diagram_shapes',
|
|
125
|
+
'pinepaper_update_connector',
|
|
126
|
+
'pinepaper_remove_connector',
|
|
127
|
+
'pinepaper_diagram_mode',
|
|
128
|
+
],
|
|
129
|
+
// --- Domain: Maps ---
|
|
130
|
+
map: [
|
|
131
|
+
'pinepaper_load_map',
|
|
132
|
+
'pinepaper_highlight_regions',
|
|
133
|
+
'pinepaper_unhighlight_regions',
|
|
134
|
+
'pinepaper_apply_data_colors',
|
|
135
|
+
'pinepaper_add_marker',
|
|
136
|
+
'pinepaper_add_map_labels',
|
|
137
|
+
'pinepaper_pan_map',
|
|
138
|
+
'pinepaper_zoom_map',
|
|
139
|
+
'pinepaper_export_map',
|
|
140
|
+
'pinepaper_import_custom_map',
|
|
141
|
+
'pinepaper_get_region_at_point',
|
|
142
|
+
'pinepaper_animate_map_regions',
|
|
143
|
+
'pinepaper_animate_map_wave',
|
|
144
|
+
'pinepaper_stop_map_animations',
|
|
145
|
+
'pinepaper_get_animated_map_regions',
|
|
146
|
+
'pinepaper_export_map_region_csv',
|
|
147
|
+
'pinepaper_import_map_region_csv',
|
|
148
|
+
'pinepaper_select_map_regions',
|
|
149
|
+
'pinepaper_deselect_map_regions',
|
|
150
|
+
'pinepaper_get_highlighted_map_regions',
|
|
151
|
+
'pinepaper_export_map_geojson',
|
|
152
|
+
'pinepaper_export_original_map_geojson',
|
|
153
|
+
'pinepaper_get_map_source_info',
|
|
154
|
+
],
|
|
155
|
+
// --- Domain: Fonts ---
|
|
156
|
+
font: [
|
|
157
|
+
'pinepaper_font_show_studio',
|
|
158
|
+
'pinepaper_font_set_name',
|
|
159
|
+
'pinepaper_font_get_required_chars',
|
|
160
|
+
'pinepaper_font_get_status',
|
|
161
|
+
'pinepaper_font_create_glyph',
|
|
162
|
+
'pinepaper_font_create_space',
|
|
163
|
+
'pinepaper_font_remove_glyph',
|
|
164
|
+
'pinepaper_font_set_metrics',
|
|
165
|
+
'pinepaper_font_export',
|
|
166
|
+
'pinepaper_font_load_into_document',
|
|
167
|
+
'pinepaper_font_export_data',
|
|
168
|
+
'pinepaper_font_import_data',
|
|
169
|
+
'pinepaper_font_clear',
|
|
170
|
+
'pinepaper_font_remove_overlap',
|
|
171
|
+
'pinepaper_font_correct_direction',
|
|
172
|
+
'pinepaper_font_cleanup_path',
|
|
173
|
+
],
|
|
174
|
+
// --- Domain: Letter Collage ---
|
|
175
|
+
letter_collage: [
|
|
176
|
+
'pinepaper_create_letter_collage',
|
|
177
|
+
'pinepaper_animate_letter_collage',
|
|
178
|
+
'pinepaper_get_letter_collage_options',
|
|
179
|
+
],
|
|
180
|
+
// --- Domain: Interactive ---
|
|
181
|
+
triggers: [
|
|
182
|
+
'pinepaper_add_trigger',
|
|
183
|
+
'pinepaper_remove_trigger',
|
|
184
|
+
'pinepaper_query_triggers',
|
|
185
|
+
],
|
|
186
|
+
quiz: [
|
|
187
|
+
'pinepaper_create_quiz',
|
|
188
|
+
'pinepaper_get_quiz_state',
|
|
189
|
+
'pinepaper_reset_quiz',
|
|
190
|
+
],
|
|
191
|
+
// --- Advanced ---
|
|
192
|
+
performance: [
|
|
193
|
+
'pinepaper_get_performance_metrics',
|
|
194
|
+
'pinepaper_diagnostic_report',
|
|
195
|
+
],
|
|
196
|
+
custom_code: [
|
|
197
|
+
'pinepaper_execute_custom_code',
|
|
198
|
+
],
|
|
199
|
+
p5: [
|
|
200
|
+
'pinepaper_p5_draw',
|
|
201
|
+
],
|
|
202
|
+
register: [
|
|
203
|
+
'pinepaper_register_item',
|
|
204
|
+
],
|
|
205
|
+
// --- On-demand guide & runtime config (included in ALL profiles) ---
|
|
206
|
+
guide: [
|
|
207
|
+
'pinepaper_tool_guide',
|
|
208
|
+
'pinepaper_set_toolkit',
|
|
209
|
+
],
|
|
210
|
+
};
|
|
211
|
+
// =============================================================================
|
|
212
|
+
// PROFILES — each is a list of tag names to include
|
|
213
|
+
// =============================================================================
|
|
214
|
+
export const TOOLKIT_PROFILES = {
|
|
215
|
+
full: [], // Empty = no filtering, return all tools
|
|
216
|
+
agent: [
|
|
217
|
+
'agent', 'browser', 'canvas',
|
|
218
|
+
'core', 'import', 'assets', 'batch',
|
|
219
|
+
'relations', 'animation', 'masks',
|
|
220
|
+
'generators', 'effects',
|
|
221
|
+
'scene',
|
|
222
|
+
'query', 'export',
|
|
223
|
+
'p5', 'guide',
|
|
224
|
+
],
|
|
225
|
+
diagram: [
|
|
226
|
+
'agent', 'browser', 'canvas',
|
|
227
|
+
'core',
|
|
228
|
+
'diagram',
|
|
229
|
+
'query', 'export',
|
|
230
|
+
'guide',
|
|
231
|
+
],
|
|
232
|
+
map: [
|
|
233
|
+
'agent', 'browser', 'canvas',
|
|
234
|
+
'map',
|
|
235
|
+
'query', 'export',
|
|
236
|
+
'guide',
|
|
237
|
+
],
|
|
238
|
+
font: [
|
|
239
|
+
'agent', 'browser', 'canvas',
|
|
240
|
+
'core',
|
|
241
|
+
'font', 'letter_collage',
|
|
242
|
+
'export',
|
|
243
|
+
'guide',
|
|
244
|
+
],
|
|
245
|
+
minimal: [
|
|
246
|
+
'agent', 'browser', 'canvas',
|
|
247
|
+
'guide',
|
|
248
|
+
],
|
|
249
|
+
};
|
|
250
|
+
/**
|
|
251
|
+
* Filter tools based on a toolkit profile.
|
|
252
|
+
* Returns only the tools whose names appear in the selected profile's tag groups.
|
|
253
|
+
* The 'full' profile returns all tools unchanged (no filtering).
|
|
254
|
+
*/
|
|
255
|
+
export function getToolsForToolkit(tools, profile) {
|
|
256
|
+
if (profile === 'full') {
|
|
257
|
+
return tools;
|
|
258
|
+
}
|
|
259
|
+
const tags = TOOLKIT_PROFILES[profile];
|
|
260
|
+
if (!tags) {
|
|
261
|
+
return tools; // Unknown profile = no filtering
|
|
262
|
+
}
|
|
263
|
+
// Build set of allowed tool names from all tags in this profile
|
|
264
|
+
const allowed = new Set();
|
|
265
|
+
for (const tag of tags) {
|
|
266
|
+
const toolNames = TOOL_TAGS[tag];
|
|
267
|
+
if (toolNames) {
|
|
268
|
+
for (const name of toolNames) {
|
|
269
|
+
allowed.add(name);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
return tools.filter(tool => allowed.has(tool.name));
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Detect toolkit profile from PINEPAPER_TOOLKIT environment variable.
|
|
277
|
+
* Returns 'agent' if not set or invalid.
|
|
278
|
+
*/
|
|
279
|
+
export function detectToolkitFromEnvironment() {
|
|
280
|
+
const value = process.env.PINEPAPER_TOOLKIT;
|
|
281
|
+
if (value && TOOLKIT_PROFILES_LIST.includes(value)) {
|
|
282
|
+
return value;
|
|
283
|
+
}
|
|
284
|
+
return 'agent';
|
|
285
|
+
}
|
|
286
|
+
/** Returns true if PINEPAPER_TOOLKIT was explicitly set in the environment. */
|
|
287
|
+
export function isToolkitExplicitlySet() {
|
|
288
|
+
const value = process.env.PINEPAPER_TOOLKIT;
|
|
289
|
+
return !!value && TOOLKIT_PROFILES_LIST.includes(value);
|
|
290
|
+
}
|
|
291
|
+
const VALID_VERBOSITIES = ['verbose', 'compact', 'minimal'];
|
|
292
|
+
/**
|
|
293
|
+
* Detect tool description verbosity from environment.
|
|
294
|
+
* Reads PINEPAPER_VERBOSITY first, falls back to PINEPAPER_TOOL_VERBOSITY for backward compat.
|
|
295
|
+
* Returns 'compact' if not set or invalid.
|
|
296
|
+
*/
|
|
297
|
+
export function detectVerbosityFromEnvironment() {
|
|
298
|
+
const value = process.env.PINEPAPER_VERBOSITY || process.env.PINEPAPER_TOOL_VERBOSITY;
|
|
299
|
+
if (value && VALID_VERBOSITIES.includes(value)) {
|
|
300
|
+
return value;
|
|
301
|
+
}
|
|
302
|
+
return 'compact';
|
|
303
|
+
}
|
|
304
|
+
/** Returns true if PINEPAPER_VERBOSITY or PINEPAPER_TOOL_VERBOSITY was explicitly set. */
|
|
305
|
+
export function isVerbosityExplicitlySet() {
|
|
306
|
+
const value = process.env.PINEPAPER_VERBOSITY || process.env.PINEPAPER_TOOL_VERBOSITY;
|
|
307
|
+
return !!value && VALID_VERBOSITIES.includes(value);
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* Known client profiles for auto-detection via MCP initialize handshake.
|
|
311
|
+
* Applied only when env vars are NOT explicitly set.
|
|
312
|
+
*/
|
|
313
|
+
const CLIENT_PROFILES = {
|
|
314
|
+
'claude-ai': { toolkit: 'minimal', verbosity: 'compact' },
|
|
315
|
+
'claude-desktop': { toolkit: 'full', verbosity: 'compact' },
|
|
316
|
+
'claude-code': { toolkit: 'agent', verbosity: 'compact' },
|
|
317
|
+
cursor: { toolkit: 'full', verbosity: 'compact' },
|
|
318
|
+
windsurf: { toolkit: 'full', verbosity: 'compact' },
|
|
319
|
+
};
|
|
320
|
+
/**
|
|
321
|
+
* Get client profile by name. Exact match first, then prefix match, case-insensitive.
|
|
322
|
+
* Returns null for unknown clients.
|
|
323
|
+
*/
|
|
324
|
+
export function getClientProfile(clientName) {
|
|
325
|
+
const lower = clientName.toLowerCase();
|
|
326
|
+
// Exact match
|
|
327
|
+
if (CLIENT_PROFILES[lower])
|
|
328
|
+
return CLIENT_PROFILES[lower];
|
|
329
|
+
// Prefix match
|
|
330
|
+
for (const [key, profile] of Object.entries(CLIENT_PROFILES)) {
|
|
331
|
+
if (lower.startsWith(key))
|
|
332
|
+
return profile;
|
|
333
|
+
}
|
|
334
|
+
return null;
|
|
335
|
+
}
|
|
336
|
+
//# sourceMappingURL=toolkits.js.map
|
|
@@ -0,0 +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,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,8BAA8B;KAC/B;IAED,uCAAuC;IACvC,IAAI,EAAE;QACJ,uBAAuB;QACvB,uBAAuB;QACvB,uBAAuB;QACvB,gCAAgC;QAChC,mCAAmC;QACnC,uBAAuB;KACxB;IACD,MAAM,EAAE;QACN,sBAAsB;QACtB,wBAAwB;KACzB;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,4BAA4B;QAC5B,yBAAyB;QACzB,qCAAqC;QACrC,iCAAiC;KAClC;IACD,KAAK,EAA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AC,UAAkB;IACjD,MAAM,KAAK,GAAG,UAAU,CAAC,WAAW,EAAE,CAAC;IACvC,cAAc;IACd,IAAI,eAAe,CAAC,KAAK,CAAC;QAAE,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;IAC1D,eAAe;IACf,KAAK,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE,CAAC;QAC7D,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC;YAAE,OAAO,OAAO,CAAC;IAC5C,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* 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 { ItemType, RelationType, CreateItemInputSchema, ModifyItemInputSchema, AddRelationInputSchema, AnimateItemInputSchema, KeyframeAnimateInputSchema, ExecuteGeneratorInputSchema, ApplyEffectInputSchema, SetBackgroundColorInputSchema, SetCanvasSizeInputSchema, CreateGlossySphereInputSchema, CreateDiagonalStripesInputSchema, BatchCreateInputSchema, BatchModifyInputSchema, CreateGridInputSchema, CreateSceneInput, CreateDiagramShapeInput, ConnectInput, ConnectPortsInput, AddPortsInput, AutoLayoutInput, GetDiagramShapesInput, UpdateConnectorInput, RemoveConnectorInput, DiagramModeInput } from './schemas.js';
|
|
7
|
+
import { ItemType, RelationType, CreateItemInputSchema, 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, AddTriggerInput, RemoveTriggerInput, QueryTriggersInput, CreateQuizInput, GetQuizStateInput, ResetQuizInput, CreateLetterCollageInput, AnimateLetterCollageInput, LoadMapInput, HighlightRegionsInput, UnhighlightRegionsInput, ApplyDataColorsInput, AddMarkerInput, AddMapLabelsInput, PanMapInput, ZoomMapInput, ImportCustomMapInput, GetRegionAtPointInput, AnimateMapRegionsInput, AnimateMapWaveInput, StopMapAnimationsInput, ExportMapRegionCSVInput, ImportMapRegionCSVInput, SelectMapRegionsInput, DeselectMapRegionsInput, RegisterCustomRelationInput, ExecuteCustomCodeInput, ApplyAnimatedMaskInput, ApplyCustomMaskInput, RemoveMaskInput, ApplyTemplateInput, ImportImageInput } from './schemas.js';
|
|
8
8
|
import { z } from 'zod';
|
|
9
9
|
export declare class PinePaperCodeGenerator {
|
|
10
10
|
/**
|
|
@@ -167,6 +167,198 @@ export declare class PinePaperCodeGenerator {
|
|
|
167
167
|
* Generate code for diagram mode control
|
|
168
168
|
*/
|
|
169
169
|
generateDiagramMode(input: DiagramModeInput): string;
|
|
170
|
+
/**
|
|
171
|
+
* Generate code for starting an agent job
|
|
172
|
+
*/
|
|
173
|
+
generateAgentStartJob(input: AgentStartJobInput): string;
|
|
174
|
+
/**
|
|
175
|
+
* Generate code for ending an agent job
|
|
176
|
+
*/
|
|
177
|
+
generateAgentEndJob(input: AgentEndJobInput): string;
|
|
178
|
+
/**
|
|
179
|
+
* Generate code for fast canvas reset
|
|
180
|
+
*/
|
|
181
|
+
generateAgentReset(input: AgentResetInput): string;
|
|
182
|
+
/**
|
|
183
|
+
* Generate code for batch execute
|
|
184
|
+
*/
|
|
185
|
+
generateAgentBatchExecute(input: AgentBatchExecuteInput): string;
|
|
186
|
+
/**
|
|
187
|
+
* Generate code for a single batch operation
|
|
188
|
+
*/
|
|
189
|
+
private generateBatchOperationCode;
|
|
190
|
+
/**
|
|
191
|
+
* Generate code for smart export
|
|
192
|
+
*/
|
|
193
|
+
generateAgentExport(input: AgentExportInput): string;
|
|
194
|
+
/**
|
|
195
|
+
* Generate code for content analysis
|
|
196
|
+
*/
|
|
197
|
+
generateAgentAnalyze(input: AgentAnalyzeInput): string;
|
|
198
|
+
/**
|
|
199
|
+
* Generate code for adding a trigger
|
|
200
|
+
*/
|
|
201
|
+
generateAddTrigger(input: AddTriggerInput): string;
|
|
202
|
+
/**
|
|
203
|
+
* Generate code for removing a trigger
|
|
204
|
+
*/
|
|
205
|
+
generateRemoveTrigger(input: RemoveTriggerInput): string;
|
|
206
|
+
/**
|
|
207
|
+
* Generate code for querying triggers
|
|
208
|
+
*/
|
|
209
|
+
generateQueryTriggers(input: QueryTriggersInput): string;
|
|
210
|
+
/**
|
|
211
|
+
* Generate code for creating a quiz
|
|
212
|
+
*/
|
|
213
|
+
generateCreateQuiz(input: CreateQuizInput): string;
|
|
214
|
+
/**
|
|
215
|
+
* Generate code for getting quiz state
|
|
216
|
+
*/
|
|
217
|
+
generateGetQuizState(input: GetQuizStateInput): string;
|
|
218
|
+
/**
|
|
219
|
+
* Generate code for resetting a quiz
|
|
220
|
+
*/
|
|
221
|
+
generateResetQuiz(input: ResetQuizInput): string;
|
|
222
|
+
/**
|
|
223
|
+
* Generate code to create a letter collage
|
|
224
|
+
*/
|
|
225
|
+
generateCreateLetterCollage(input: CreateLetterCollageInput): string;
|
|
226
|
+
/**
|
|
227
|
+
* Generate code to animate a letter collage
|
|
228
|
+
*/
|
|
229
|
+
generateAnimateLetterCollage(input: AnimateLetterCollageInput): string;
|
|
230
|
+
/**
|
|
231
|
+
* Generate code to get letter collage options
|
|
232
|
+
*/
|
|
233
|
+
generateGetLetterCollageOptions(): string;
|
|
234
|
+
/**
|
|
235
|
+
* Generate code to get canvas presets
|
|
236
|
+
*/
|
|
237
|
+
generateGetCanvasPresets(): string;
|
|
238
|
+
/**
|
|
239
|
+
* Generate code to load a geographic map
|
|
240
|
+
*/
|
|
241
|
+
generateLoadMap(input: LoadMapInput): string;
|
|
242
|
+
/**
|
|
243
|
+
* Generate code to highlight map regions
|
|
244
|
+
*/
|
|
245
|
+
generateHighlightRegions(input: HighlightRegionsInput): string;
|
|
246
|
+
/**
|
|
247
|
+
* Generate code to unhighlight map regions
|
|
248
|
+
*/
|
|
249
|
+
generateUnhighlightRegions(input: UnhighlightRegionsInput): string;
|
|
250
|
+
/**
|
|
251
|
+
* Generate code to apply data-driven colors (choropleth)
|
|
252
|
+
*/
|
|
253
|
+
generateApplyDataColors(input: ApplyDataColorsInput): string;
|
|
254
|
+
/**
|
|
255
|
+
* Generate code to add a map marker
|
|
256
|
+
*/
|
|
257
|
+
generateAddMarker(input: AddMarkerInput): string;
|
|
258
|
+
/**
|
|
259
|
+
* Generate code to add map labels
|
|
260
|
+
*/
|
|
261
|
+
generateAddMapLabels(input: AddMapLabelsInput): string;
|
|
262
|
+
/**
|
|
263
|
+
* Generate code to pan the map
|
|
264
|
+
*/
|
|
265
|
+
generatePanMap(input: PanMapInput): string;
|
|
266
|
+
/**
|
|
267
|
+
* Generate code to zoom the map
|
|
268
|
+
*/
|
|
269
|
+
generateZoomMap(input: ZoomMapInput): string;
|
|
270
|
+
/**
|
|
271
|
+
* Generate code to export map configuration
|
|
272
|
+
*/
|
|
273
|
+
generateExportMap(): string;
|
|
274
|
+
/**
|
|
275
|
+
* Generate code to import a custom map
|
|
276
|
+
*/
|
|
277
|
+
generateImportCustomMap(input: ImportCustomMapInput): string;
|
|
278
|
+
/**
|
|
279
|
+
* Generate code to get region at a point (hit testing)
|
|
280
|
+
*/
|
|
281
|
+
generateGetRegionAtPoint(input: GetRegionAtPointInput): string;
|
|
282
|
+
/**
|
|
283
|
+
* Generate code to animate map regions with keyframes
|
|
284
|
+
*/
|
|
285
|
+
generateAnimateMapRegions(input: AnimateMapRegionsInput): string;
|
|
286
|
+
/**
|
|
287
|
+
* Generate code to create wave animation across map regions
|
|
288
|
+
*/
|
|
289
|
+
generateAnimateMapWave(input: AnimateMapWaveInput): string;
|
|
290
|
+
/**
|
|
291
|
+
* Generate code to stop map animations
|
|
292
|
+
*/
|
|
293
|
+
generateStopMapAnimations(input: StopMapAnimationsInput): string;
|
|
294
|
+
/**
|
|
295
|
+
* Generate code to get animated map regions
|
|
296
|
+
*/
|
|
297
|
+
generateGetAnimatedMapRegions(): string;
|
|
298
|
+
/**
|
|
299
|
+
* Generate code to export map region data as CSV
|
|
300
|
+
*/
|
|
301
|
+
generateExportMapRegionCSV(input: ExportMapRegionCSVInput): string;
|
|
302
|
+
/**
|
|
303
|
+
* Generate code to import CSV data to update map regions
|
|
304
|
+
*/
|
|
305
|
+
generateImportMapRegionCSV(input: ImportMapRegionCSVInput): string;
|
|
306
|
+
/**
|
|
307
|
+
* Generate code to select map regions
|
|
308
|
+
*/
|
|
309
|
+
generateSelectMapRegions(input: SelectMapRegionsInput): string;
|
|
310
|
+
/**
|
|
311
|
+
* Generate code to deselect map regions
|
|
312
|
+
*/
|
|
313
|
+
generateDeselectMapRegions(input: DeselectMapRegionsInput): string;
|
|
314
|
+
/**
|
|
315
|
+
* Generate code to get highlighted map regions
|
|
316
|
+
*/
|
|
317
|
+
generateGetHighlightedMapRegions(): string;
|
|
318
|
+
/**
|
|
319
|
+
* Generate code to export the complete scene state
|
|
320
|
+
*/
|
|
321
|
+
generateExportScene(): string;
|
|
322
|
+
/**
|
|
323
|
+
* Generate code to export map as GeoJSON with current styling
|
|
324
|
+
*/
|
|
325
|
+
generateExportMapGeoJson(options?: {
|
|
326
|
+
includeStyles?: boolean;
|
|
327
|
+
includeMetadata?: boolean;
|
|
328
|
+
selectedOnly?: boolean;
|
|
329
|
+
download?: boolean;
|
|
330
|
+
filename?: string;
|
|
331
|
+
}): string;
|
|
332
|
+
/**
|
|
333
|
+
* Generate code to export original map GeoJSON (unmodified boundaries)
|
|
334
|
+
*/
|
|
335
|
+
generateExportOriginalMapGeoJson(options?: {
|
|
336
|
+
download?: boolean;
|
|
337
|
+
filename?: string;
|
|
338
|
+
}): string;
|
|
339
|
+
/**
|
|
340
|
+
* Generate code to get map source info
|
|
341
|
+
*/
|
|
342
|
+
generateGetMapSourceInfo(): string;
|
|
343
|
+
/**
|
|
344
|
+
* Generate code to register a Paper.js item
|
|
345
|
+
*/
|
|
346
|
+
generateRegisterItem(input: {
|
|
347
|
+
itemJson: object;
|
|
348
|
+
itemType: string;
|
|
349
|
+
properties?: Record<string, unknown>;
|
|
350
|
+
}): string;
|
|
351
|
+
generateRegisterCustomRelation(input: RegisterCustomRelationInput): string;
|
|
352
|
+
generateExecuteCustomCode(input: ExecuteCustomCodeInput): string;
|
|
353
|
+
generateApplyAnimatedMask(input: ApplyAnimatedMaskInput): string;
|
|
354
|
+
generateApplyCustomMask(input: ApplyCustomMaskInput): string;
|
|
355
|
+
generateRemoveMask(input: RemoveMaskInput): string;
|
|
356
|
+
generateGetAnimatableProperties(): string;
|
|
357
|
+
generateGetAvailableEasings(): string;
|
|
358
|
+
generateGetMaskTypes(): string;
|
|
359
|
+
generateGetMaskAnimations(): string;
|
|
360
|
+
generateApplyTemplate(input: ApplyTemplateInput): string;
|
|
361
|
+
generateImportImage(input: ImportImageInput): string;
|
|
170
362
|
}
|
|
171
363
|
export declare const codeGenerator: PinePaperCodeGenerator;
|
|
172
364
|
//# sourceMappingURL=code-generator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-generator.d.ts","sourceRoot":"","sources":["../../src/types/code-generator.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"code-generator.d.ts","sourceRoot":"","sources":["../../src/types/code-generator.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EACL,QAAQ,EAER,YAAY,EAEZ,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,0BAA0B,EAC1B,2BAA2B,EAC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