foliko 1.1.8 → 1.1.9
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/.agent/agents/code-assistant.json +17 -0
- package/.agent/agents/email-assistant.json +14 -0
- package/.agent/agents/file-assistant.json +18 -0
- package/.agent/agents/orchestrator-demo.md +53 -0
- package/.agent/agents/orchestrator.json +7 -0
- package/.agent/agents/poster-expert.md +228 -0
- package/.agent/agents/system-assistant.json +15 -0
- package/.agent/agents/web-assistant.json +12 -0
- package/.agent/data/default.json +5 -404
- package/.agent/data/email/processed-emails.json +1 -0
- package/.agent/data/plugins-state.json +173 -172
- package/.agent/data/scheduler/tasks.json +1 -0
- package/.agent/data/web/web-config.json +5 -0
- package/.agent/mcp_config.json +0 -14
- package/.agent/package.json +8 -0
- package/.agent/plugins/__pycache__/file_writer.cpython-312.pyc +0 -0
- package/.agent/plugins/daytona/README.md +89 -0
- package/.agent/plugins/daytona/index.js +377 -0
- package/.agent/plugins/daytona/package.json +12 -0
- package/.agent/plugins/marknative/README.md +134 -0
- package/.agent/plugins/marknative/fonts.zip +0 -0
- package/.agent/plugins/marknative/index.js +256 -0
- package/.agent/plugins/marknative/package.json +12 -0
- package/.agent/plugins/system-info/index.js +387 -0
- package/.agent/plugins/system-info/package.json +4 -0
- package/.agent/plugins/system-info/test.js +40 -0
- package/.agent/plugins/test-plugin.py +123 -0
- package/.agent/plugins/test_nested_plugin.py +85 -0
- package/.agent/plugins.json +11 -5
- package/.agent/python-scripts/test_sample.py +24 -0
- package/.agent/sessions/cli_default.json +96 -249
- package/.agent/sessions/weixin_o9cq80zgZqKPA2-s59PN43GdDy1w@im.wechat.json +189 -0
- package/.agent/skills/agent-browser/SKILL.md +311 -0
- package/.agent/skills/agent-browser/TEST_PLAN.md +200 -0
- package/.agent/skills/sysinfo/SKILL.md +38 -0
- package/.agent/skills/sysinfo/system-info.sh +130 -0
- package/.agent/skills/workflow/SKILL.md +324 -0
- package/.agent/test-agent.js +35 -0
- package/.agent/weixin.json +6 -0
- package/.agent/workflows/email-digest.json +50 -0
- package/.agent/workflows/file-backup.json +21 -0
- package/.agent/workflows/get-ip-notify.json +32 -0
- package/.agent/workflows/news-aggregator.json +93 -0
- package/.agent/workflows/news-dashboard-v2.json +94 -0
- package/.agent/workflows/notification-batch.json +32 -0
- package/.claude/settings.local.json +9 -1
- package/.env.example +56 -56
- package/README.md +441 -441
- package/cli/src/ui/chat-ui.js +32 -21
- package/foliko_poster.png +0 -0
- package/output/business_poster_final.png +0 -0
- package/output/emoji_test_v2.png +0 -0
- package/output/foliko-ai-launch-poster.png +0 -0
- package/output/foliko-poster.png +0 -0
- package/output/muji_style_poster.png +0 -0
- package/output/new_product_launch.png +0 -0
- package/output/news_poster_625yi_subsidy.png +0 -0
- package/output/tech_future_2026.png +0 -0
- package/output/tech_future_poster.png +0 -0
- package/package.json +1 -2
- package/plugins/default-plugins.js +58 -6
- package/plugins/extension-executor-plugin.js +8 -21
- package/plugins/python-plugin-loader.js +461 -40
- package/plugins/python-plugin-loader.js.bak +856 -0
- package/plugins/subagent-plugin.js +0 -121
- package/plugins/weixin-plugin.js +38 -29
- package/poster.png +0 -0
- package/skills/find-skills/AGENTS.md +162 -162
- package/skills/find-skills/SKILL.md +133 -133
- package/skills/foliko-dev/SKILL.md +6 -0
- package/skills/python-plugin-dev/SKILL.md +124 -2
- package/src/core/agent-chat.js +220 -281
- package/src/core/agent.js +10 -0
- package/src/utils/plugin-helpers.js +22 -4
- package/system.md +1678 -1574
- package/test-scan.js +18 -0
- package/.agent/.shared/ui-ux-pro-max/data/charts.csv +0 -26
- package/.agent/.shared/ui-ux-pro-max/data/colors.csv +0 -97
- package/.agent/.shared/ui-ux-pro-max/data/icons.csv +0 -101
- package/.agent/.shared/ui-ux-pro-max/data/landing.csv +0 -31
- package/.agent/.shared/ui-ux-pro-max/data/products.csv +0 -97
- package/.agent/.shared/ui-ux-pro-max/data/prompts.csv +0 -24
- package/.agent/.shared/ui-ux-pro-max/data/react-performance.csv +0 -45
- package/.agent/.shared/ui-ux-pro-max/data/stacks/flutter.csv +0 -53
- package/.agent/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +0 -56
- package/.agent/.shared/ui-ux-pro-max/data/stacks/jetpack-compose.csv +0 -53
- package/.agent/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +0 -53
- package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +0 -51
- package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +0 -59
- package/.agent/.shared/ui-ux-pro-max/data/stacks/react-native.csv +0 -52
- package/.agent/.shared/ui-ux-pro-max/data/stacks/react.csv +0 -54
- package/.agent/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +0 -61
- package/.agent/.shared/ui-ux-pro-max/data/stacks/svelte.csv +0 -54
- package/.agent/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +0 -51
- package/.agent/.shared/ui-ux-pro-max/data/stacks/vue.csv +0 -50
- package/.agent/.shared/ui-ux-pro-max/data/styles.csv +0 -59
- package/.agent/.shared/ui-ux-pro-max/data/typography.csv +0 -58
- package/.agent/.shared/ui-ux-pro-max/data/ui-reasoning.csv +0 -101
- package/.agent/.shared/ui-ux-pro-max/data/ux-guidelines.csv +0 -100
- package/.agent/.shared/ui-ux-pro-max/data/web-interface.csv +0 -31
- package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-313.pyc +0 -0
- package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
- package/.agent/.shared/ui-ux-pro-max/scripts/core.py +0 -258
- package/.agent/.shared/ui-ux-pro-max/scripts/design_system.py +0 -1067
- package/.agent/.shared/ui-ux-pro-max/scripts/search.py +0 -106
- package/.agent/ARCHITECTURE.md +0 -288
- package/.agent/agents/ambient-agent.md +0 -57
- package/.agent/agents/debugger.md +0 -55
- package/.agent/agents/email-assistant.md +0 -49
- package/.agent/agents/file-manager.md +0 -42
- package/.agent/agents/python-developer.md +0 -60
- package/.agent/agents/scheduler.md +0 -59
- package/.agent/agents/web-developer.md +0 -45
- package/.agent/data/puppeteer-sessions/undefined.json +0 -6
- package/.agent/data/weixin-media/2026-04-08/img_1775618677512.jpg +0 -0
- package/.agent/data/weixin-media/2026-04-08/img_1775619073340.jpg +0 -0
- package/.agent/data/weixin-media/2026-04-08/img_1775619097536.jpg +0 -0
- package/.agent/data/weixin-media/2026-04-08/img_1775619209388.jpg +0 -0
- package/.agent/memory/feedback/mnrdvj5i-ca3dkd.md +0 -9
- package/.agent/memory/feedback/mnre365e-7s4zax.md +0 -9
- package/.agent/memory/feedback/mnre36jn-nkfgmp.md +0 -9
- package/.agent/memory/feedback/mnre3805-kjiq6h.md +0 -9
- package/.agent/memory/feedback/mnsf66kp-b10rcd.md +0 -9
- package/.agent/memory/feedback/mnsi3sz8-p5g2cw.md +0 -9
- package/.agent/memory/feedback/mnsibe47-sv2ni1.md +0 -9
- package/.agent/memory/feedback/mnsic89w-nn228o.md +0 -9
- package/.agent/memory/feedback/mnsj1xe9-x83ba0.md +0 -9
- package/.agent/memory/feedback/mnsj21iv-wnwelx.md +0 -9
- package/.agent/memory/feedback/mnsj2g4a-cog7a2.md +0 -9
- package/.agent/memory/feedback/mnsj4js7-lktjp6.md +0 -9
- package/.agent/memory/feedback/mnsj5d4y-uglwvp.md +0 -9
- package/.agent/memory/feedback/mnslkuo9-uous66.md +0 -24
- package/.agent/memory/feedback/mnsm3vq0-megoil.md +0 -9
- package/.agent/memory/feedback/mnsnn5x2-sxcihd.md +0 -9
- package/.agent/memory/feedback/mnsnq17s-nabrn9.md +0 -9
- package/.agent/memory/feedback/mnsnybet-wz7rn3.md +0 -9
- package/.agent/memory/feedback/mnsrw0s7-7s9e30.md +0 -9
- package/.agent/memory/feedback/mnu5hpnd-tlm16q.md +0 -9
- package/.agent/memory/feedback/mnu60uqe-xuoxp4.md +0 -9
- package/.agent/memory/project/mnqx54u5-loqtoe.md +0 -9
- package/.agent/memory/project/mnqx84cv-mx6dmd.md +0 -9
- package/.agent/memory/project/mnsacuyr-hgtk5n.md +0 -20
- package/.agent/memory/project/mnu5hy2x-bjsg7u.md +0 -9
- package/.agent/memory/reference/mnre3cww-penbo1.md +0 -9
- package/.agent/memory/reference/mns9wn48-luerua.md +0 -14
- package/.agent/memory/reference/mns9yz5c-thc2s0.md +0 -16
- package/.agent/memory/reference/mnsfy4um-910f1o.md +0 -23
- package/.agent/memory/reference/mnsg37dp-lmfj18.md +0 -32
- package/.agent/memory/reference/mnsll60q-0j911u.md +0 -36
- package/.agent/memory/reference/mnsmlb5y-nej31u.md +0 -16
- package/.agent/memory/reference/mnssle72-yrot96.md +0 -9
- package/.agent/memory/user/mnsfuon6-l416q1.md +0 -21
- package/.agent/memory/user/mnsg9kut-95m7rf.md +0 -20
- package/.agent/memory/user/mnu2eo1v-yy6fhe.md +0 -9
- package/.agent/memory/user/mnu2etuo-8u8jk8.md +0 -9
- package/.agent/plugins/poster-plugin/README.md +0 -304
- package/.agent/plugins/poster-plugin/fonts/NotoColorEmoji-Regular.ttf +0 -0
- package/.agent/plugins/poster-plugin/fonts/PatuaOne-Regular.ttf +0 -0
- package/.agent/plugins/poster-plugin/fonts/Symbola_hint.ttf +0 -0
- package/.agent/plugins/poster-plugin/fonts//345/276/256/350/275/257/351/233/205/351/273/221.ttf +0 -0
- package/.agent/plugins/poster-plugin/fonts//345/276/256/350/275/257/351/233/205/351/273/221/347/262/227/344/275/223.ttf +0 -0
- package/.agent/plugins/poster-plugin/index.js +0 -13
- package/.agent/plugins/poster-plugin/package.json +0 -29
- package/.agent/plugins/poster-plugin/src/canvas.js +0 -232
- package/.agent/plugins/poster-plugin/src/components/arrow.js +0 -84
- package/.agent/plugins/poster-plugin/src/components/avatar.js +0 -71
- package/.agent/plugins/poster-plugin/src/components/badge.js +0 -85
- package/.agent/plugins/poster-plugin/src/components/barcode.js +0 -123
- package/.agent/plugins/poster-plugin/src/components/bubble.js +0 -154
- package/.agent/plugins/poster-plugin/src/components/button.js +0 -168
- package/.agent/plugins/poster-plugin/src/components/card.js +0 -88
- package/.agent/plugins/poster-plugin/src/components/chart.js +0 -127
- package/.agent/plugins/poster-plugin/src/components/chip.js +0 -88
- package/.agent/plugins/poster-plugin/src/components/columns.js +0 -121
- package/.agent/plugins/poster-plugin/src/components/cta.js +0 -87
- package/.agent/plugins/poster-plugin/src/components/divider.js +0 -55
- package/.agent/plugins/poster-plugin/src/components/feature.js +0 -85
- package/.agent/plugins/poster-plugin/src/components/featureGrid.js +0 -117
- package/.agent/plugins/poster-plugin/src/components/frame.js +0 -230
- package/.agent/plugins/poster-plugin/src/components/grid.js +0 -130
- package/.agent/plugins/poster-plugin/src/components/highlightText.js +0 -145
- package/.agent/plugins/poster-plugin/src/components/icon.js +0 -94
- package/.agent/plugins/poster-plugin/src/components/imageFrame.js +0 -205
- package/.agent/plugins/poster-plugin/src/components/index.js +0 -81
- package/.agent/plugins/poster-plugin/src/components/listItem.js +0 -147
- package/.agent/plugins/poster-plugin/src/components/notification.js +0 -123
- package/.agent/plugins/poster-plugin/src/components/progress.js +0 -79
- package/.agent/plugins/poster-plugin/src/components/progressCircle.js +0 -117
- package/.agent/plugins/poster-plugin/src/components/qrcode.js +0 -74
- package/.agent/plugins/poster-plugin/src/components/quote.js +0 -169
- package/.agent/plugins/poster-plugin/src/components/rating.js +0 -85
- package/.agent/plugins/poster-plugin/src/components/ribbon.js +0 -197
- package/.agent/plugins/poster-plugin/src/components/seal.js +0 -148
- package/.agent/plugins/poster-plugin/src/components/star.js +0 -70
- package/.agent/plugins/poster-plugin/src/components/statCard.js +0 -105
- package/.agent/plugins/poster-plugin/src/components/stepper.js +0 -118
- package/.agent/plugins/poster-plugin/src/components/table.js +0 -167
- package/.agent/plugins/poster-plugin/src/components/tagCloud.js +0 -85
- package/.agent/plugins/poster-plugin/src/components/timeline.js +0 -117
- package/.agent/plugins/poster-plugin/src/components/watermark.js +0 -54
- package/.agent/plugins/poster-plugin/src/composer.js +0 -2314
- package/.agent/plugins/poster-plugin/src/elements/artText.js +0 -69
- package/.agent/plugins/poster-plugin/src/elements/background.js +0 -99
- package/.agent/plugins/poster-plugin/src/elements/circle.js +0 -31
- package/.agent/plugins/poster-plugin/src/elements/image.js +0 -28
- package/.agent/plugins/poster-plugin/src/elements/index.js +0 -28
- package/.agent/plugins/poster-plugin/src/elements/line.js +0 -23
- package/.agent/plugins/poster-plugin/src/elements/polygon.js +0 -63
- package/.agent/plugins/poster-plugin/src/elements/rectangle.js +0 -32
- package/.agent/plugins/poster-plugin/src/elements/richText.js +0 -283
- package/.agent/plugins/poster-plugin/src/elements/svg.js +0 -108
- package/.agent/plugins/poster-plugin/src/elements/text.js +0 -112
- package/.agent/plugins/poster-plugin/src/fonts.js +0 -674
- package/.agent/plugins/poster-plugin/src/index.js +0 -2126
- package/.agent/plugins/poster-plugin/src/presets.js +0 -36
- package/.agent/plugins/poster-plugin/src/templates/business.js +0 -60
- package/.agent/plugins/poster-plugin/src/templates/gradient.js +0 -64
- package/.agent/plugins/poster-plugin/src/templates/index.js +0 -43
- package/.agent/plugins/poster-plugin/src/templates/modern.js +0 -69
- package/.agent/plugins/poster-plugin/src/templates/simple.js +0 -58
- package/.agent/plugins/poster-plugin/src/templates/social.js +0 -62
- package/.agent/plugins/poster-plugin/src/templates/tech.js +0 -84
- package/.agent/plugins/poster-plugin/src/utils/imageLoader.js +0 -84
- package/.agent/plugins/poster-plugin/yarn.lock +0 -837
- package/.agent/plugins/puppeteer-plugin/README.md +0 -147
- package/.agent/plugins/puppeteer-plugin/index.js +0 -1422
- package/.agent/plugins/puppeteer-plugin/package.json +0 -9
- package/.agent/rules/GEMINI.md +0 -273
- package/.agent/rules/allow-rule.md +0 -77
- package/.agent/rules/log-rule.md +0 -83
- package/.agent/rules/security-rule.md +0 -93
- package/.agent/scripts/auto_preview.py +0 -148
- package/.agent/scripts/checklist.py +0 -217
- package/.agent/scripts/session_manager.py +0 -120
- package/.agent/scripts/verify_all.py +0 -327
- package/.agent/skills/api-patterns/SKILL.md +0 -81
- package/.agent/skills/api-patterns/api-style.md +0 -42
- package/.agent/skills/api-patterns/auth.md +0 -24
- package/.agent/skills/api-patterns/documentation.md +0 -26
- package/.agent/skills/api-patterns/graphql.md +0 -41
- package/.agent/skills/api-patterns/rate-limiting.md +0 -31
- package/.agent/skills/api-patterns/response.md +0 -37
- package/.agent/skills/api-patterns/rest.md +0 -40
- package/.agent/skills/api-patterns/scripts/api_validator.py +0 -211
- package/.agent/skills/api-patterns/security-testing.md +0 -122
- package/.agent/skills/api-patterns/trpc.md +0 -41
- package/.agent/skills/api-patterns/versioning.md +0 -22
- package/.agent/skills/app-builder/SKILL.md +0 -75
- package/.agent/skills/app-builder/agent-coordination.md +0 -71
- package/.agent/skills/app-builder/feature-building.md +0 -53
- package/.agent/skills/app-builder/project-detection.md +0 -34
- package/.agent/skills/app-builder/scaffolding.md +0 -118
- package/.agent/skills/app-builder/tech-stack.md +0 -40
- package/.agent/skills/app-builder/templates/SKILL.md +0 -39
- package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +0 -76
- package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +0 -92
- package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +0 -88
- package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +0 -88
- package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +0 -83
- package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +0 -90
- package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +0 -90
- package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +0 -122
- package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +0 -122
- package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +0 -169
- package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +0 -134
- package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +0 -83
- package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +0 -119
- package/.agent/skills/architecture/SKILL.md +0 -55
- package/.agent/skills/architecture/context-discovery.md +0 -43
- package/.agent/skills/architecture/examples.md +0 -94
- package/.agent/skills/architecture/pattern-selection.md +0 -68
- package/.agent/skills/architecture/patterns-reference.md +0 -50
- package/.agent/skills/architecture/trade-off-analysis.md +0 -77
- package/.agent/skills/clean-code/SKILL.md +0 -201
- package/.agent/skills/doc.md +0 -177
- package/.agent/skills/frontend-design/SKILL.md +0 -418
- package/.agent/skills/frontend-design/animation-guide.md +0 -331
- package/.agent/skills/frontend-design/color-system.md +0 -311
- package/.agent/skills/frontend-design/decision-trees.md +0 -418
- package/.agent/skills/frontend-design/motion-graphics.md +0 -306
- package/.agent/skills/frontend-design/scripts/accessibility_checker.py +0 -183
- package/.agent/skills/frontend-design/scripts/ux_audit.py +0 -722
- package/.agent/skills/frontend-design/typography-system.md +0 -345
- package/.agent/skills/frontend-design/ux-psychology.md +0 -1116
- package/.agent/skills/frontend-design/visual-effects.md +0 -383
- package/.agent/skills/i18n-localization/SKILL.md +0 -154
- package/.agent/skills/i18n-localization/scripts/i18n_checker.py +0 -241
- package/.agent/skills/mcp-builder/SKILL.md +0 -176
- package/.agent/skills/poster-design/SKILL.md +0 -385
- package/.agent/skills/web-design-guidelines/SKILL.md +0 -57
- package/.agent/workflows/brainstorm.md +0 -113
- package/.agent/workflows/create.md +0 -59
- package/.agent/workflows/debug.md +0 -103
- package/.agent/workflows/deploy.md +0 -176
- package/.agent/workflows/enhance.md +0 -63
- package/.agent/workflows/orchestrate.md +0 -237
- package/.agent/workflows/plan.md +0 -89
- package/.agent/workflows/preview.md +0 -81
- package/.agent/workflows/simple-test.md +0 -42
- package/.agent/workflows/status.md +0 -86
- package/.agent/workflows/structured-orchestrate.md +0 -180
- package/.agent/workflows/test.md +0 -144
- package/.agent/workflows/ui-ux-pro-max.md +0 -296
- package/outputs/emoji-font-showcase.png +0 -0
- package/outputs/foliko-muji-style.png +0 -0
- /package/.agent/plugins/{poster-plugin → marknative}/fonts/SegoeUI Emoji.ttf +0 -0
package/system.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
【当前时间】2026/4/
|
|
1
|
+
【当前时间】2026/4/12 00:52:42(星期日)
|
|
2
2
|
|
|
3
3
|
你是一个有帮助的助手,擅长回答问题和执行任务。
|
|
4
4
|
**重要:** 子Agent 匹配规则必须遵守:
|
|
@@ -11,53 +11,70 @@
|
|
|
11
11
|
- 例如:npx skills add xxx 应该执行为 npx skills add xxx -a openclaw -y
|
|
12
12
|
|
|
13
13
|
【元数据】
|
|
14
|
-
- WORK_DIR: D:\
|
|
14
|
+
- WORK_DIR: D:\Code\foliko
|
|
15
15
|
|
|
16
16
|
## 【记忆上下文】
|
|
17
17
|
### 【错误避免指南 - 必须遵守】
|
|
18
|
-
- 【下次这样做】调用
|
|
19
|
-
- 【下次这样做】调用
|
|
20
|
-
- 【下次这样做】调用 poster:add_poster_ribbon 前必须先创建画布。错误原因:未先调用 canvas 相关工具创建画布就直接使用 canvasId="test" 调用 add_poster_ribbon,导致系统报错 "No canvas created"。正确流程:1. 先调用 canvas 创建工具获得 canvasId;2. 确认画布创建成功后再调用 poster:add_poster_ribbon。
|
|
21
|
-
- 【下次这样做】调用 poster:add_poster_seal 前必须先确保 canvas 已创建。错误原因:仅传入 canvasId 参数但未实际创建对应 canvas,导致工具执行时找不到目标画布。正确流程:1) 先调用 poster:create_canvas 创建画布并获得 canvas 实例;2) 使用创建的 canvas 实例进行后续操作(如添加印章)。
|
|
22
|
-
- 【下次这样做】创建海报画布时,preset 参数必须从可用列表中选择:poster_a4, poster_square, poster_16_9, poster_4_3, poster_9_16, banner_1920x500, banner_1200x400, banner_750x300, banner_468x60, banner_twitter, social_instagram, social_story, social_facebook, social_linkedin, social_youtube, promo_900x500, promo_500x500, promo_300x250, card_standard。如果需要自定义尺寸,不要使用 preset 参数,直接通过 width 和 height 指定数值即可。错误原因:使用了不存在的 preset 值 "custom",系统无法识别该预设。
|
|
23
|
-
- 【下次这样做】在调用任何海报操作工具之前,必须先调用 create_poster_canvas 创建画布。错误原因:直接调用 clear_poster_canvas 时画布尚未创建,导致操作失败。正确流程:1) create_poster_canvas 创建画布 → 2) 添加元素 → 3) 导出或清理。
|
|
24
|
-
- 【下次这样做】在添加任何海报组件(如按钮、文本、图片等)之前,必须先调用 create_poster_canvas 创建画布。错误原因:直接调用 poster:add_add_poster_button 时没有先创建画布,导致系统报错 "No canvas created"。正确流程:1) 先调用 poster:create_poster_canvas 创建画布;2) 再调用 add_poster_button 等组件添加元素。
|
|
25
|
-
- 【下次这样做】调用 poster:create_poster_canvas 时,preset 参数必须使用系统支持的预设值之一:poster_a4、poster_square、poster_16_9、poster_4_3、poster_9_16、banner_1920x500、banner_1200x400、banner_750x300、banner_468x60、banner_twitter、social_instagram、social_story、social_facebook、social_linkedin、social_youtube、promo_900x500、promo_500x500、promo_300x250、card_standard。如果需要自定义尺寸,应省略 preset 参数,直接通过 width 和 height 指定自定义宽高。错误原因:传入 preset: "custom" 不是有效预设值,导致系统无法识别而报错。
|
|
26
|
-
- 【下次这样做】poster:add_poster_chart 组件在绘制饼图时存在内部实现问题,会触发 path.arc is not a function 错误。解决方法:1) 使用 bar 类型替代 pie 类型绘制分类数据;2) 使用 add_poster_stat_card 或 add_poster_columns 等其他组件手动布局;3) 避免在海报中绘制饼图,改用其他可视化方式如标签云或进度条。
|
|
27
|
-
- 【下次这样做】在调用 poster 扩展工具前,先使用 list_poster_components 工具列出所有可用的组件类型,确认目标工具存在后再调用。错误原因:调用了 add_poster_barcode 这个不存在的工具,海报插件目前可能未内置条形码组件。
|
|
28
|
-
### 【用户偏好】
|
|
29
|
-
- 用户海报风格偏好: ## 用户海报设计风格偏好
|
|
30
|
-
|
|
31
|
-
### Why (为什么重要)
|
|
32
|
-
用户制作了一个关于「樟木头收容遣送制度」的历史话题海报,倾向使用复古杂志风、极简几何风或国潮山水风。需要在后续设计任务中参考这些风格建议。
|
|
18
|
+
- 【下次这样做】调用 poster:add_poster_image_frame 时必须使用 x 和 y 参数(不是 cx 和 cy)。错误原因:工具期望左上角坐标 x/y,但调用者传的是中心坐标 cx/cy,导致参数验证失败。在调用任何海报组件前,务必确认参数名与工具 schema 一致,避免坐标参数命名混淆。
|
|
19
|
+
- 【下次这样做】调用 poster:create_poster_canvas 时,preset 参数必须使用有效值。
|
|
33
20
|
|
|
34
|
-
|
|
35
|
-
当用户再次请求海报设计时:
|
|
36
|
-
1. 先检查记忆中是...
|
|
37
|
-
- 海报设计偏好: 用户有明确的海报设计偏好:
|
|
21
|
+
错误原因:传入的 preset 值 "instagram" 不存在,可用值包括 social_instagram、poster_square 等。
|
|
38
22
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
23
|
+
解决方案:
|
|
24
|
+
1. 调用前通过 list_poster_presets 工具查询所有可用 preset
|
|
25
|
+
2. Instagram 对应的正确值为 social_instagram
|
|
26
|
+
3. 如果要创建 Instagram 尺寸海报,应使用 social_instagram 而非 instagram
|
|
27
|
+
- 【下次这样做】调用 poster:add_poster_svg 时,src 参数只接受有效的文件路径(如 ./icons/star.svg)或远程 URL(如 https://example.com/icon.svg),不能传入 SVG 路径数据字符串(如 "M0 0 Q15 20 30 0...")。如果需要绘制 SVG 图形,应先将 SVG 内容保存为文件,再传入文件路径。错误原因:src 参数接收到的是 SVG 路径数据,系统将其当作本地文件路径尝试打开,但该路径不存在,导致 ENOENT 错误。
|
|
28
|
+
### 【用户偏好】
|
|
29
|
+
- 清新自然风格海报设计偏好: 用户偏好清新自然风格的海报设计。配色方案:浅绿色渐变背景 (#e8f5e9 → #c8e6c9),深绿色文字。常见元素:自然主题(花海、山川、海洋)、装饰性云朵或树叶。输出路径:D:\Code\foliko\test_output\。下次制作自然风格海报时参考此配色和风格。
|
|
30
|
+
- 用户海报设计风格偏好: 用户偏好极简主义(Minimalism)风格的海报设计。具体特征:纯白背景、大面积留白、简洁几何线条装饰、优雅衬线字体(Serif Font)。设计理念为「Less is More」。输出目录偏好:D:\Code\foliko\test_output\。How to apply:为该用户生成海报时,...
|
|
31
|
+
- 复古像素风格海报设计规范: 用户偏好复古像素风格海报设计。
|
|
32
|
+
|
|
33
|
+
Why:用户有明确的像素游戏主题海报需求,并指定了详细的设计参数。
|
|
34
|
+
|
|
35
|
+
How to apply:
|
|
36
|
+
- 尺寸:1080x1920(竖版)
|
|
37
|
+
- 主题:像素游戏
|
|
38
|
+
- 配色:黑色背景 + 荧光绿像素点阵
|
|
39
|
+
- 字体:8-bit 像素字体效果
|
|
40
|
+
- 元素:经典游戏元素图标(像素风...
|
|
41
|
+
- 蒸汽波海报设计偏好: 用户喜欢蒸汽波(Vaporwave)风格的海报设计。
|
|
42
|
+
|
|
43
|
+
Why: 明确的设计偏好,包括风格特征和尺寸要求。
|
|
44
|
+
|
|
45
|
+
How to apply:
|
|
46
|
+
- 尺寸: 1080x1920 (竖版)
|
|
47
|
+
- 背景: 粉蓝渐变
|
|
48
|
+
- 文字: 霓虹色渐变效果
|
|
49
|
+
- 装饰: 古典雕塑元素
|
|
50
|
+
- 背景: 网格透视效果
|
|
51
|
+
- 输出路径: D...
|
|
52
|
+
- 马卡龙甜品海报风格偏好: 用户偏好马卡龙甜品风格海报:
|
|
53
|
+
- 尺寸:1080x1920(竖版)
|
|
54
|
+
- 主题:Sweet Dreams
|
|
55
|
+
- 配色:马卡龙色系(粉、黄、蓝、绿、紫)+ 柔和渐变
|
|
56
|
+
- 装饰:甜品emoji(🧁🍰🍩)
|
|
57
|
+
- 风格:梦幻可爱
|
|
58
|
+
|
|
59
|
+
Why:用户对海报有明确的设计风格要求,这种马卡龙甜品风格偏好可用于快速生成...
|
|
43
60
|
### 【项目上下文】
|
|
44
|
-
- [
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
61
|
+
- [null] Design Memphis 海报制作: 用户请求制作孟菲斯风格海报项目。
|
|
62
|
+
|
|
63
|
+
Why(为什么重要):
|
|
64
|
+
- 孟菲斯风格是一种活泼、富有创意的设计风格,适合用于海报设计
|
|
65
|
+
- 用户对输出路径有明确要求:D:\Code\foliko\test_out...
|
|
66
|
+
- [foliko-poster] 星空宇宙海报设计项目: 用户请求制作星空宇宙风格海报,尺寸 1080x1920,主题“星际探索”。设计规范:
|
|
67
|
+
- 深蓝渐变星空背景
|
|
68
|
+
- 星星装饰(✨🌟)
|
|
69
|
+
- 流星划过效果
|
|
70
|
+
- 宇航员🚀、行星🪐元素
|
|
71
|
+
- 输出路径:D:\...
|
|
49
72
|
|
|
50
73
|
## 可用技能
|
|
51
74
|
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
- clean-code: Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments
|
|
56
|
-
- frontend-design: Design thinking and decision-making for web UI. Use when designing components, layouts, color schemes, typography, or creating aesthetic interfaces. Teaches principles, not fixed values.
|
|
57
|
-
- i18n-localization: Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.
|
|
58
|
-
- mcp-builder: MCP (Model Context Protocol) server building principles. Tool design, resource patterns, best practices.
|
|
59
|
-
- poster-design: 海报设计技能 - 收集优秀设计风格、配色方案和创意灵感。当用户询问"海报制作"、"卡片制作"、"配图制作"、"设计风格"时立即调用。
|
|
60
|
-
- web-design-guidelines: Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
|
|
75
|
+
- agent-browser: 浏览器自动化工具,用于 AI 代理的网页操作。当用户说"打开浏览器"、"访问网页"、"抓取页面"、"填写表单"、"点击按钮"、"截图"、"网页自动化"时调用此技能。
|
|
76
|
+
- sysinfo: 使用 Bash 脚本查询系统信息(CPU、内存、磁盘、网络)
|
|
77
|
+
- workflow: 工作流引擎 - 定义和执行结构化工作流,支持顺序、条件分支、循环、延迟、工具调用等步骤类型
|
|
61
78
|
- ambient-agent: Ambient Agent - 持续后台运行的智能代理,用于主动监控事件和执行操作
|
|
62
79
|
- find-skills: Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
|
|
63
80
|
- foliko-dev: Foliko Framework 插件开发指南。当用户说"创建插件"、"开发插件"时立即调用此 skill。
|
|
@@ -77,13 +94,14 @@
|
|
|
77
94
|
|
|
78
95
|
> **提示**:根据任务类型选择最匹配的子 Agent 处理
|
|
79
96
|
|
|
80
|
-
- **
|
|
81
|
-
- **
|
|
82
|
-
- **
|
|
83
|
-
- **
|
|
84
|
-
- **
|
|
85
|
-
- **
|
|
86
|
-
- **
|
|
97
|
+
- **code-assistant**:code-assistant
|
|
98
|
+
- **email-assistant**:email-assistant
|
|
99
|
+
- **file-assistant**:file-assistant
|
|
100
|
+
- **orchestrator-demo**:演示任务 - 子Agent调用子Agent的完整流程
|
|
101
|
+
- **orchestrator**:任务编排者
|
|
102
|
+
- **poster-expert**:海报设计制作专家。用于海报、Banner、名片、邀请函等平面设计任务。触发词:海报、制作、设计、平面、视觉、图片编辑、邀请函、名片、宣传图、封面图。
|
|
103
|
+
- **system-assistant**:system-assistant
|
|
104
|
+
- **web-assistant**:web-assistant
|
|
87
105
|
|
|
88
106
|
### 子 Agent 调用规则
|
|
89
107
|
|
|
@@ -120,8 +138,11 @@
|
|
|
120
138
|
4. **mcp**:MCP (Model Context Protocol) 执行器
|
|
121
139
|
5. **python-plugin-loader**:Python 插件加载器,属于Python的插件
|
|
122
140
|
6. **subagent-manager**:子Agent管理器,统一管理多个子Agent
|
|
123
|
-
7. **
|
|
124
|
-
8. **
|
|
141
|
+
7. **daytona**:Daytona 云开发环境管理插件
|
|
142
|
+
8. **marknative**:Markdown 转图片插件 - 将 Markdown 转换为 PNG/SVG
|
|
143
|
+
9. **poster**:海报制作插件 - 支持组件化海报生成(多画布并行)
|
|
144
|
+
10. **system-info**:获取系统信息插件 - 提供 CPU、内存、操作系统、磁盘、网络等系统信息查询功能
|
|
145
|
+
11. **ambient**:Ambient Agent - 持续后台运行的智能代理,用于主动监控和执行操作
|
|
125
146
|
|
|
126
147
|
*支持的事件类型(创建目标时 conditions.events 必须使用这些确切的名称):*
|
|
127
148
|
- tool:result - name(工具名), args(执行参数), result(执行结果), error(错误信息)
|
|
@@ -140,9 +161,9 @@
|
|
|
140
161
|
---
|
|
141
162
|
💡 提示:事件描述由触发事件的插件动态注册。
|
|
142
163
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
164
|
+
12. **audit**:审计日志插件,记录工具调用、技能执行、错误信息等操作历史
|
|
165
|
+
13. **coordinator**:Coordinator模式插件,支持多Worker协作
|
|
166
|
+
14. **email**:邮件收发插件 - 支持读取和发送电子邮件、监控新邮件
|
|
146
167
|
功能:
|
|
147
168
|
- 发送邮件支持附件(本地文件、远程URL、Base64)
|
|
148
169
|
- 读取邮件(IMAP协议)
|
|
@@ -152,20 +173,20 @@
|
|
|
152
173
|
- attachments.url: 远程图片/文件URL(自动下载)
|
|
153
174
|
- attachments.content: Base64内容
|
|
154
175
|
- attachments.cid: 嵌入式图片CID(HTML中用 <img src="cid:xxx"> 引用)
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
176
|
+
15. **extension-executor**:扩展插件执行器 - 统一管理扩展工具
|
|
177
|
+
16. **file-system**:文件系统工具插件
|
|
178
|
+
17. **gate-trading**:Gate.io 加密货币交易插件(支持现货+合约)
|
|
179
|
+
18. **memory**:四层记忆系统,支持 user/feedback/project/reference 四种记忆类型
|
|
180
|
+
19. **plugin_manager**:管理远程插件:列表、发布、安装
|
|
181
|
+
20. **python-executor**:Python 执行器,用于运行 Python 代码和脚本,禁止传入无用的emoji
|
|
182
|
+
21. **rules**:规则引擎插件,用于控制工具调用权限、内容过滤、触发动作
|
|
183
|
+
22. **scheduler**:定时任务调度插件,支持 Cron 表达式、绝对时间、相对时间
|
|
184
|
+
23. **session**:会话管理插件,支持多会话隔离、历史记录、会话超时清理
|
|
185
|
+
24. **shell-executor**:Shell 执行器,用于运行终端命令和脚本
|
|
186
|
+
25. **storage**:数据持久化存储插件,支持键值对存储
|
|
187
|
+
26. **think**:主动思考插件,支持 LLM 自我唤醒和持续思考
|
|
188
|
+
27. **tools**:内置工具插件,提供热重载和工具管理功能
|
|
189
|
+
28. **web**:Web 服务插件,支持 HTTP 服务、路由注册、Webhook
|
|
169
190
|
|
|
170
191
|
## Extensions 扩展工具
|
|
171
192
|
|
|
@@ -579,6 +600,138 @@
|
|
|
579
600
|
|
|
580
601
|
|
|
581
602
|
|
|
603
|
+
### python
|
|
604
|
+
|
|
605
|
+
Python 插件工具
|
|
606
|
+
|
|
607
|
+
**版本:** 1.0.0
|
|
608
|
+
|
|
609
|
+
#### `test-plugin_hello`
|
|
610
|
+
|
|
611
|
+
问候工具
|
|
612
|
+
|
|
613
|
+
**参数:**
|
|
614
|
+
|
|
615
|
+
- name
|
|
616
|
+
- String
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
#### `test-plugin_calc`
|
|
621
|
+
|
|
622
|
+
计算器工具
|
|
623
|
+
|
|
624
|
+
**参数:**
|
|
625
|
+
|
|
626
|
+
- a
|
|
627
|
+
- Number
|
|
628
|
+
- b
|
|
629
|
+
- Number
|
|
630
|
+
- op
|
|
631
|
+
- String
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
#### `test-plugin_reverse_text`
|
|
636
|
+
|
|
637
|
+
反转字符串
|
|
638
|
+
|
|
639
|
+
**参数:**
|
|
640
|
+
|
|
641
|
+
- text
|
|
642
|
+
- String
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
#### `test-plugin_word_count`
|
|
647
|
+
|
|
648
|
+
统计文本的字符数、单词数、行数
|
|
649
|
+
|
|
650
|
+
**参数:**
|
|
651
|
+
|
|
652
|
+
- text
|
|
653
|
+
- String
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
#### `test-plugin_random_number`
|
|
658
|
+
|
|
659
|
+
生成指定范围内的随机整数
|
|
660
|
+
|
|
661
|
+
**参数:**
|
|
662
|
+
|
|
663
|
+
- min
|
|
664
|
+
- Number
|
|
665
|
+
- max
|
|
666
|
+
- Number
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
#### `test_nested_plugin_query_data`
|
|
671
|
+
|
|
672
|
+
查询数据,支持嵌套 filter
|
|
673
|
+
|
|
674
|
+
**参数:**
|
|
675
|
+
|
|
676
|
+
- table
|
|
677
|
+
- String
|
|
678
|
+
- filter
|
|
679
|
+
- name
|
|
680
|
+
- Optional
|
|
681
|
+
- String
|
|
682
|
+
- age
|
|
683
|
+
- Optional
|
|
684
|
+
- Number
|
|
685
|
+
- tags
|
|
686
|
+
- Optional
|
|
687
|
+
- Array
|
|
688
|
+
- String
|
|
689
|
+
- address
|
|
690
|
+
- Optional
|
|
691
|
+
- city
|
|
692
|
+
- Optional
|
|
693
|
+
- String
|
|
694
|
+
- zip
|
|
695
|
+
- Optional
|
|
696
|
+
- String
|
|
697
|
+
- options
|
|
698
|
+
- limit
|
|
699
|
+
- Number
|
|
700
|
+
- sort
|
|
701
|
+
- String
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
#### `test_nested_plugin_search_by_ids`
|
|
706
|
+
|
|
707
|
+
根据ID列表搜索(数组简写)
|
|
708
|
+
|
|
709
|
+
**参数:**
|
|
710
|
+
|
|
711
|
+
- ids
|
|
712
|
+
- Array
|
|
713
|
+
- Number
|
|
714
|
+
- include_details
|
|
715
|
+
- Boolean
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
#### `test_nested_plugin_complex_query`
|
|
720
|
+
|
|
721
|
+
复杂查询(对象简写)
|
|
722
|
+
|
|
723
|
+
**参数:**
|
|
724
|
+
|
|
725
|
+
- config
|
|
726
|
+
- timeout
|
|
727
|
+
- Number
|
|
728
|
+
- debug
|
|
729
|
+
- Boolean
|
|
730
|
+
- retry
|
|
731
|
+
- Number
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
|
|
582
735
|
### web
|
|
583
736
|
|
|
584
737
|
Web 服务插件,支持 HTTP 服务、路由注册、Webhook
|
|
@@ -1062,588 +1215,587 @@ Ambient Agent - 持续后台运行的智能代理,用于主动监控和执行
|
|
|
1062
1215
|
|
|
1063
1216
|
|
|
1064
1217
|
|
|
1065
|
-
###
|
|
1218
|
+
### daytona
|
|
1066
1219
|
|
|
1067
|
-
|
|
1220
|
+
Daytona 云开发环境管理插件
|
|
1068
1221
|
|
|
1069
|
-
**版本:** 1.
|
|
1222
|
+
**版本:** 1.0.0
|
|
1070
1223
|
|
|
1071
|
-
#### `
|
|
1224
|
+
#### `daytona_configure`
|
|
1072
1225
|
|
|
1073
|
-
|
|
1226
|
+
配置 Daytona API 密钥和连接信息(配置会持久化保存)
|
|
1074
1227
|
|
|
1075
1228
|
**参数:**
|
|
1076
1229
|
|
|
1077
|
-
|
|
1230
|
+
- apiKey: Daytona API Key
|
|
1231
|
+
- String
|
|
1232
|
+
- apiUrl: Daytona API URL,默认为 https://app.daytona.io/api
|
|
1233
|
+
- Optional
|
|
1234
|
+
- String
|
|
1235
|
+
- target: 目标区域,如 us, eu 等
|
|
1236
|
+
- Optional
|
|
1237
|
+
- String
|
|
1238
|
+
- organizationId: 组织 ID(JWT 认证时需要)
|
|
1239
|
+
- Optional
|
|
1240
|
+
- String
|
|
1241
|
+
|
|
1078
1242
|
|
|
1079
1243
|
|
|
1080
|
-
#### `
|
|
1244
|
+
#### `daytona_create_sandbox`
|
|
1081
1245
|
|
|
1082
|
-
|
|
1246
|
+
创建 Daytona 沙箱环境
|
|
1083
1247
|
|
|
1084
1248
|
**参数:**
|
|
1085
1249
|
|
|
1086
|
-
-
|
|
1250
|
+
- language: 编程语言:javascript, typescript, python(默认 javascript)
|
|
1087
1251
|
- Optional
|
|
1088
1252
|
- String
|
|
1089
|
-
-
|
|
1253
|
+
- name: 沙箱名称
|
|
1090
1254
|
- Optional
|
|
1091
|
-
-
|
|
1092
|
-
-
|
|
1255
|
+
- String
|
|
1256
|
+
- resources: 资源配置
|
|
1093
1257
|
- Optional
|
|
1094
|
-
-
|
|
1095
|
-
-
|
|
1258
|
+
- cpu: CPU 核心数
|
|
1259
|
+
- Optional
|
|
1260
|
+
- Number
|
|
1261
|
+
- memory: 内存大小(GiB)
|
|
1262
|
+
- Optional
|
|
1263
|
+
- Number
|
|
1264
|
+
- disk: 磁盘大小(GiB)
|
|
1265
|
+
- Optional
|
|
1266
|
+
- Number
|
|
1267
|
+
- envVars: 环境变量
|
|
1096
1268
|
- Optional
|
|
1097
|
-
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1269
|
+
- Record
|
|
1270
|
+
Key:
|
|
1271
|
+
- String
|
|
1272
|
+
Value:
|
|
1101
1273
|
- String
|
|
1274
|
+
- ephemeral: 是否临时沙箱(停止后自动删除)
|
|
1275
|
+
- Optional
|
|
1276
|
+
- Boolean
|
|
1277
|
+
- autoStopInterval: 自动停止间隔(分钟,0 禁用)
|
|
1278
|
+
- Optional
|
|
1279
|
+
- Number
|
|
1102
1280
|
|
|
1103
1281
|
|
|
1104
1282
|
|
|
1105
|
-
#### `
|
|
1283
|
+
#### `daytona_get_sandbox`
|
|
1106
1284
|
|
|
1107
|
-
|
|
1285
|
+
获取指定沙箱信息
|
|
1108
1286
|
|
|
1109
1287
|
**参数:**
|
|
1110
1288
|
|
|
1111
|
-
|
|
1289
|
+
- sandboxId: 沙箱 ID 或名称
|
|
1290
|
+
- String
|
|
1291
|
+
|
|
1112
1292
|
|
|
1113
1293
|
|
|
1114
|
-
#### `
|
|
1294
|
+
#### `daytona_list_sandboxes`
|
|
1115
1295
|
|
|
1116
|
-
|
|
1296
|
+
列出所有沙箱
|
|
1117
1297
|
|
|
1118
1298
|
**参数:**
|
|
1119
1299
|
|
|
1120
|
-
|
|
1300
|
+
- labels: 标签过滤
|
|
1301
|
+
- Optional
|
|
1302
|
+
- Record
|
|
1303
|
+
Key:
|
|
1304
|
+
- String
|
|
1305
|
+
Value:
|
|
1306
|
+
- String
|
|
1307
|
+
- page: 页码
|
|
1308
|
+
- Optional
|
|
1309
|
+
- Number
|
|
1310
|
+
- limit: 每页数量
|
|
1311
|
+
- Optional
|
|
1312
|
+
- Number
|
|
1313
|
+
|
|
1121
1314
|
|
|
1122
1315
|
|
|
1123
|
-
#### `
|
|
1316
|
+
#### `daytona_start_sandbox`
|
|
1124
1317
|
|
|
1125
|
-
|
|
1318
|
+
启动沙箱
|
|
1126
1319
|
|
|
1127
1320
|
**参数:**
|
|
1128
1321
|
|
|
1129
|
-
-
|
|
1130
|
-
-
|
|
1131
|
-
|
|
1132
|
-
- gradient
|
|
1133
|
-
- Optional
|
|
1134
|
-
- type: 渐变类型
|
|
1135
|
-
- Enum: linear, radial
|
|
1136
|
-
- colors: 颜色数组
|
|
1137
|
-
- Array
|
|
1138
|
-
- String
|
|
1139
|
-
- direction: 方向角度,默认45
|
|
1140
|
-
- Optional
|
|
1141
|
-
- Number
|
|
1142
|
-
- image: 背景图片路径(本地路径或URL)
|
|
1322
|
+
- sandboxId: 沙箱 ID 或名称
|
|
1323
|
+
- String
|
|
1324
|
+
- timeout: 超时时间(秒)
|
|
1143
1325
|
- Optional
|
|
1144
|
-
-
|
|
1326
|
+
- Number
|
|
1145
1327
|
|
|
1146
1328
|
|
|
1147
1329
|
|
|
1148
|
-
#### `
|
|
1330
|
+
#### `daytona_stop_sandbox`
|
|
1149
1331
|
|
|
1150
|
-
|
|
1332
|
+
停止沙箱
|
|
1151
1333
|
|
|
1152
1334
|
**参数:**
|
|
1153
1335
|
|
|
1154
|
-
-
|
|
1155
|
-
-
|
|
1156
|
-
- y: Y坐标
|
|
1157
|
-
- Number
|
|
1158
|
-
- width: 宽度
|
|
1159
|
-
- Number
|
|
1160
|
-
- height: 高度
|
|
1161
|
-
- Number
|
|
1162
|
-
- fill: 填充颜色
|
|
1163
|
-
- Optional
|
|
1164
|
-
- String
|
|
1165
|
-
- stroke: 边框颜色
|
|
1166
|
-
- Optional
|
|
1167
|
-
- String
|
|
1168
|
-
- strokeWidth: 边框宽度
|
|
1169
|
-
- Optional
|
|
1170
|
-
- Number
|
|
1171
|
-
- radius: 圆角半径
|
|
1172
|
-
- Optional
|
|
1173
|
-
- Number
|
|
1174
|
-
- opacity: 透明度 0-1
|
|
1175
|
-
- Optional
|
|
1176
|
-
- Number
|
|
1336
|
+
- sandboxId: 沙箱 ID 或名称
|
|
1337
|
+
- String
|
|
1177
1338
|
|
|
1178
1339
|
|
|
1179
1340
|
|
|
1180
|
-
#### `
|
|
1341
|
+
#### `daytona_delete_sandbox`
|
|
1181
1342
|
|
|
1182
|
-
|
|
1343
|
+
删除沙箱
|
|
1183
1344
|
|
|
1184
1345
|
**参数:**
|
|
1185
1346
|
|
|
1186
|
-
-
|
|
1187
|
-
-
|
|
1188
|
-
-
|
|
1189
|
-
- Number
|
|
1190
|
-
- rx: X轴半径
|
|
1191
|
-
- Number
|
|
1192
|
-
- ry: Y轴半径
|
|
1193
|
-
- Optional
|
|
1194
|
-
- Number
|
|
1195
|
-
- fill: 填充颜色
|
|
1196
|
-
- Optional
|
|
1197
|
-
- String
|
|
1198
|
-
- stroke: 边框颜色
|
|
1199
|
-
- Optional
|
|
1200
|
-
- String
|
|
1201
|
-
- strokeWidth: 边框宽度
|
|
1202
|
-
- Optional
|
|
1203
|
-
- Number
|
|
1204
|
-
- opacity: 透明度 0-1
|
|
1347
|
+
- sandboxId: 沙箱 ID 或名称
|
|
1348
|
+
- String
|
|
1349
|
+
- timeout: 超时时间(秒)
|
|
1205
1350
|
- Optional
|
|
1206
1351
|
- Number
|
|
1207
1352
|
|
|
1208
1353
|
|
|
1209
1354
|
|
|
1210
|
-
#### `
|
|
1355
|
+
#### `daytona_execute_code`
|
|
1211
1356
|
|
|
1212
|
-
|
|
1357
|
+
在沙箱中执行代码
|
|
1213
1358
|
|
|
1214
1359
|
**参数:**
|
|
1215
1360
|
|
|
1216
|
-
-
|
|
1217
|
-
-
|
|
1218
|
-
-
|
|
1219
|
-
- Number
|
|
1220
|
-
- x2: 终点X
|
|
1221
|
-
- Number
|
|
1222
|
-
- y2: 终点Y
|
|
1223
|
-
- Number
|
|
1224
|
-
- stroke: 线条颜色
|
|
1361
|
+
- code: 要执行的代码
|
|
1362
|
+
- String
|
|
1363
|
+
- sandboxId: 沙箱 ID(不填使用当前沙箱)
|
|
1225
1364
|
- Optional
|
|
1226
1365
|
- String
|
|
1227
|
-
- strokeWidth: 线条宽度
|
|
1228
|
-
- Optional
|
|
1229
|
-
- Number
|
|
1230
1366
|
|
|
1231
1367
|
|
|
1232
1368
|
|
|
1233
|
-
#### `
|
|
1369
|
+
#### `daytona_write_file`
|
|
1234
1370
|
|
|
1235
|
-
|
|
1371
|
+
在沙箱中写入文件
|
|
1236
1372
|
|
|
1237
1373
|
**参数:**
|
|
1238
1374
|
|
|
1239
|
-
-
|
|
1240
|
-
-
|
|
1241
|
-
-
|
|
1242
|
-
-
|
|
1243
|
-
-
|
|
1244
|
-
- Number
|
|
1245
|
-
- sides: 边数
|
|
1246
|
-
- Number
|
|
1247
|
-
- fill: 填充颜色
|
|
1248
|
-
- Optional
|
|
1249
|
-
- String
|
|
1250
|
-
- stroke: 边框颜色
|
|
1375
|
+
- path: 文件路径
|
|
1376
|
+
- String
|
|
1377
|
+
- content: 文件内容
|
|
1378
|
+
- String
|
|
1379
|
+
- sandboxId: 沙箱 ID(不填使用当前沙箱)
|
|
1251
1380
|
- Optional
|
|
1252
1381
|
- String
|
|
1253
|
-
- strokeWidth: 边框宽度
|
|
1254
|
-
- Optional
|
|
1255
|
-
- Number
|
|
1256
|
-
- opacity: 透明度 0-1
|
|
1257
|
-
- Optional
|
|
1258
|
-
- Number
|
|
1259
1382
|
|
|
1260
1383
|
|
|
1261
1384
|
|
|
1262
|
-
#### `
|
|
1385
|
+
#### `daytona_read_file`
|
|
1263
1386
|
|
|
1264
|
-
|
|
1387
|
+
在沙箱中读取文件
|
|
1265
1388
|
|
|
1266
1389
|
**参数:**
|
|
1267
1390
|
|
|
1268
|
-
-
|
|
1391
|
+
- path: 文件路径
|
|
1269
1392
|
- String
|
|
1270
|
-
-
|
|
1271
|
-
- Number
|
|
1272
|
-
- y: Y坐标
|
|
1273
|
-
- Number
|
|
1274
|
-
- fontSize: 字体大小,默认48
|
|
1275
|
-
- Optional
|
|
1276
|
-
- Number
|
|
1277
|
-
- fontFamily: 字体名称
|
|
1393
|
+
- sandboxId: 沙箱 ID(不填使用当前沙箱)
|
|
1278
1394
|
- Optional
|
|
1279
1395
|
- String
|
|
1280
|
-
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
#### `daytona_create_ephemeral_sandbox`
|
|
1400
|
+
|
|
1401
|
+
创建临时沙箱(停止后自动删除)
|
|
1402
|
+
|
|
1403
|
+
**参数:**
|
|
1404
|
+
|
|
1405
|
+
- language: 编程语言(默认 javascript)
|
|
1281
1406
|
- Optional
|
|
1282
1407
|
- String
|
|
1283
|
-
-
|
|
1284
|
-
- Optional
|
|
1285
|
-
- Enum: left, center, right
|
|
1286
|
-
- shadow
|
|
1408
|
+
- timeout: 创建超时时间(秒,默认 60)
|
|
1287
1409
|
- Optional
|
|
1288
|
-
-
|
|
1289
|
-
- String
|
|
1290
|
-
- blur
|
|
1291
|
-
- Optional
|
|
1292
|
-
- Number
|
|
1293
|
-
- offsetX
|
|
1294
|
-
- Optional
|
|
1295
|
-
- Number
|
|
1296
|
-
- offsetY
|
|
1297
|
-
- Optional
|
|
1298
|
-
- Number
|
|
1410
|
+
- Number
|
|
1299
1411
|
|
|
1300
1412
|
|
|
1301
1413
|
|
|
1302
|
-
|
|
1414
|
+
### marknative
|
|
1303
1415
|
|
|
1304
|
-
|
|
1416
|
+
Markdown 转图片插件 - 将 Markdown 转换为 PNG/SVG
|
|
1417
|
+
|
|
1418
|
+
**版本:** 1.0.1
|
|
1419
|
+
|
|
1420
|
+
#### `marknative_render`
|
|
1421
|
+
|
|
1422
|
+
将 Markdown 渲染为图片并保存到文件(返回文件路径)
|
|
1305
1423
|
|
|
1306
1424
|
**参数:**
|
|
1307
1425
|
|
|
1308
|
-
-
|
|
1426
|
+
- markdown: Markdown 内容
|
|
1309
1427
|
- String
|
|
1310
|
-
-
|
|
1311
|
-
- Number
|
|
1312
|
-
- y: Y坐标
|
|
1313
|
-
- Number
|
|
1314
|
-
- fontSize: 字体大小,默认120
|
|
1315
|
-
- Optional
|
|
1316
|
-
- Number
|
|
1317
|
-
- fontFamily: 字体名称
|
|
1428
|
+
- outputPath: 输出文件路径(如 output.png),不提供则自动生成
|
|
1318
1429
|
- Optional
|
|
1319
1430
|
- String
|
|
1320
|
-
-
|
|
1431
|
+
- format: 输出格式:png 或 svg,默认 png
|
|
1321
1432
|
- Optional
|
|
1322
|
-
-
|
|
1323
|
-
|
|
1324
|
-
- String
|
|
1325
|
-
- direction: 方向角度
|
|
1326
|
-
- Optional
|
|
1327
|
-
- Number
|
|
1328
|
-
- strokeColor: 描边颜色
|
|
1433
|
+
- Enum: png, svg
|
|
1434
|
+
- theme: 主题:default, github, solarized, sepia, rose, dark, nord, dracula, ocean, forest
|
|
1329
1435
|
- Optional
|
|
1330
1436
|
- String
|
|
1331
|
-
-
|
|
1437
|
+
- singlePage: 是否渲染为单张图片(默认 false)
|
|
1332
1438
|
- Optional
|
|
1333
|
-
-
|
|
1334
|
-
-
|
|
1439
|
+
- Boolean
|
|
1440
|
+
- codeTheme: 代码高亮主题(如 github-dark, nord 等)
|
|
1335
1441
|
- Optional
|
|
1336
|
-
-
|
|
1337
|
-
- String
|
|
1338
|
-
- blur
|
|
1339
|
-
- Optional
|
|
1340
|
-
- Number
|
|
1341
|
-
- offsetX
|
|
1342
|
-
- Optional
|
|
1343
|
-
- Number
|
|
1344
|
-
- offsetY
|
|
1345
|
-
- Optional
|
|
1346
|
-
- Number
|
|
1442
|
+
- String
|
|
1347
1443
|
|
|
1348
1444
|
|
|
1349
1445
|
|
|
1350
|
-
#### `
|
|
1446
|
+
#### `marknative_render_to_file`
|
|
1351
1447
|
|
|
1352
|
-
|
|
1448
|
+
将 Markdown 渲染为图片并保存到文件
|
|
1353
1449
|
|
|
1354
1450
|
**参数:**
|
|
1355
1451
|
|
|
1356
|
-
-
|
|
1357
|
-
- Number
|
|
1358
|
-
- y: Y坐标
|
|
1359
|
-
- Number
|
|
1360
|
-
- width: 文本区域宽度(用于自动换行)
|
|
1361
|
-
- Optional
|
|
1362
|
-
- Number
|
|
1363
|
-
- text: 文字内容
|
|
1452
|
+
- markdown: Markdown 内容
|
|
1364
1453
|
- String
|
|
1365
|
-
-
|
|
1454
|
+
- outputPath: 输出文件路径(如 output.png)
|
|
1455
|
+
- String
|
|
1456
|
+
- format: 输出格式,默认根据文件扩展名
|
|
1366
1457
|
- Optional
|
|
1367
|
-
-
|
|
1368
|
-
-
|
|
1458
|
+
- Enum: png, svg
|
|
1459
|
+
- theme: 主题
|
|
1369
1460
|
- Optional
|
|
1370
1461
|
- String
|
|
1371
|
-
-
|
|
1372
|
-
- Optional
|
|
1373
|
-
- Union
|
|
1374
|
-
- String
|
|
1375
|
-
|
|
|
1376
|
-
- Number
|
|
1377
|
-
- fontStyle: 字体风格
|
|
1378
|
-
- Optional
|
|
1379
|
-
- Enum: normal, italic, oblique
|
|
1380
|
-
- bold: 粗体
|
|
1381
|
-
- Optional
|
|
1382
|
-
- Boolean
|
|
1383
|
-
- italic: 斜体
|
|
1384
|
-
- Optional
|
|
1385
|
-
- Boolean
|
|
1386
|
-
- underline: 下划线
|
|
1387
|
-
- Optional
|
|
1388
|
-
- Boolean
|
|
1389
|
-
- strikethrough: 删除线
|
|
1390
|
-
- Optional
|
|
1391
|
-
- Boolean
|
|
1392
|
-
- color: 文字颜色,默认#ffffff
|
|
1462
|
+
- codeTheme: 代码高亮主题
|
|
1393
1463
|
- Optional
|
|
1394
1464
|
- String
|
|
1395
|
-
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
#### `marknative_preview`
|
|
1469
|
+
|
|
1470
|
+
预览 Markdown 渲染效果(返回第一页 Base64)
|
|
1471
|
+
|
|
1472
|
+
**参数:**
|
|
1473
|
+
|
|
1474
|
+
- markdown: Markdown 内容
|
|
1475
|
+
- String
|
|
1476
|
+
- theme: 主题
|
|
1396
1477
|
- Optional
|
|
1397
1478
|
- String
|
|
1398
|
-
-
|
|
1399
|
-
- Optional
|
|
1400
|
-
- colors: 渐变颜色数组
|
|
1401
|
-
- Array
|
|
1402
|
-
- String
|
|
1403
|
-
- direction: 方向角度
|
|
1404
|
-
- Optional
|
|
1405
|
-
- Number
|
|
1406
|
-
- strokeColor: 描边颜色
|
|
1479
|
+
- codeTheme: 代码高亮主题
|
|
1407
1480
|
- Optional
|
|
1408
1481
|
- String
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
|
|
1485
|
+
#### `marknative_get_themes`
|
|
1486
|
+
|
|
1487
|
+
获取所有可用的主题列表
|
|
1488
|
+
|
|
1489
|
+
**参数:**
|
|
1490
|
+
|
|
1491
|
+
无
|
|
1492
|
+
|
|
1493
|
+
|
|
1494
|
+
#### `marknative_status`
|
|
1495
|
+
|
|
1496
|
+
检查 marknative 插件状态
|
|
1497
|
+
|
|
1498
|
+
**参数:**
|
|
1499
|
+
|
|
1500
|
+
无
|
|
1501
|
+
|
|
1502
|
+
|
|
1503
|
+
### poster
|
|
1504
|
+
|
|
1505
|
+
海报制作插件 - 支持组件化海报生成(多画布并行)
|
|
1506
|
+
|
|
1507
|
+
**版本:** 1.2.2
|
|
1508
|
+
|
|
1509
|
+
#### `create_poster_canvas`
|
|
1510
|
+
|
|
1511
|
+
创建新画布,支持预设尺寸或自定义尺寸。每次调用创建独立的画布,支持多海报并行制作
|
|
1512
|
+
|
|
1513
|
+
**参数:**
|
|
1514
|
+
|
|
1515
|
+
- preset: 预设尺寸key
|
|
1430
1516
|
- Optional
|
|
1431
|
-
-
|
|
1432
|
-
-
|
|
1517
|
+
- String
|
|
1518
|
+
- width: 自定义宽度
|
|
1433
1519
|
- Optional
|
|
1434
1520
|
- Number
|
|
1435
|
-
-
|
|
1436
|
-
- Optional
|
|
1437
|
-
- Enum: left, center, right, justify
|
|
1438
|
-
- rotation: 旋转角度(度)
|
|
1521
|
+
- height: 自定义高度
|
|
1439
1522
|
- Optional
|
|
1440
1523
|
- Number
|
|
1441
|
-
-
|
|
1524
|
+
- background: 背景颜色或图片路径
|
|
1442
1525
|
- Optional
|
|
1443
1526
|
- Union
|
|
1444
|
-
-
|
|
1527
|
+
- String
|
|
1445
1528
|
|
|
|
1446
|
-
-
|
|
1447
|
-
-
|
|
1448
|
-
|
|
1449
|
-
- y
|
|
1450
|
-
- Optional
|
|
1451
|
-
- Number
|
|
1452
|
-
- opacity: 透明度 0-1,默认1
|
|
1529
|
+
- image
|
|
1530
|
+
- String
|
|
1531
|
+
- asNew: 是否强制创建新画布(默认true)
|
|
1453
1532
|
- Optional
|
|
1454
|
-
-
|
|
1533
|
+
- Boolean
|
|
1455
1534
|
|
|
1456
1535
|
|
|
1457
1536
|
|
|
1458
|
-
#### `
|
|
1537
|
+
#### `get_poster_canvas_info`
|
|
1459
1538
|
|
|
1460
|
-
|
|
1539
|
+
获取当前画布信息
|
|
1461
1540
|
|
|
1462
1541
|
**参数:**
|
|
1463
1542
|
|
|
1464
|
-
-
|
|
1465
|
-
- String
|
|
1466
|
-
- x: X坐标
|
|
1467
|
-
- Number
|
|
1468
|
-
- y: Y坐标
|
|
1469
|
-
- Number
|
|
1470
|
-
- width: 图片宽度
|
|
1543
|
+
- id: 画布ID,不填则获取当前活跃画布
|
|
1471
1544
|
- Optional
|
|
1472
|
-
-
|
|
1473
|
-
- height: 图片高度
|
|
1474
|
-
- Optional
|
|
1475
|
-
- Number
|
|
1476
|
-
- opacity: 透明度 0-1
|
|
1477
|
-
- Optional
|
|
1478
|
-
- Number
|
|
1545
|
+
- String
|
|
1479
1546
|
|
|
1480
1547
|
|
|
1481
1548
|
|
|
1482
|
-
#### `
|
|
1549
|
+
#### `use_poster_canvas`
|
|
1483
1550
|
|
|
1484
|
-
|
|
1551
|
+
切换到指定画布,使其成为当前活跃画布
|
|
1485
1552
|
|
|
1486
1553
|
**参数:**
|
|
1487
1554
|
|
|
1488
|
-
-
|
|
1555
|
+
- id: 画布ID
|
|
1489
1556
|
- String
|
|
1490
|
-
- x: X坐标
|
|
1491
|
-
- Number
|
|
1492
|
-
- y: Y坐标
|
|
1493
|
-
- Number
|
|
1494
|
-
- width: 宽度
|
|
1495
|
-
- Optional
|
|
1496
|
-
- Number
|
|
1497
|
-
- height: 高度
|
|
1498
|
-
- Optional
|
|
1499
|
-
- Number
|
|
1500
|
-
- opacity: 透明度 0-1
|
|
1501
|
-
- Optional
|
|
1502
|
-
- Number
|
|
1503
1557
|
|
|
1504
1558
|
|
|
1505
1559
|
|
|
1506
|
-
#### `
|
|
1560
|
+
#### `list_poster_canvases`
|
|
1507
1561
|
|
|
1508
|
-
|
|
1562
|
+
列出所有已创建的画布
|
|
1509
1563
|
|
|
1510
1564
|
**参数:**
|
|
1511
1565
|
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1566
|
+
无
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
|
+
#### `destroy_poster_canvas`
|
|
1570
|
+
|
|
1571
|
+
销毁指定画布,释放内存
|
|
1572
|
+
|
|
1573
|
+
**参数:**
|
|
1574
|
+
|
|
1575
|
+
- id: 画布ID,不填则销毁当前活跃画布
|
|
1515
1576
|
- Optional
|
|
1516
1577
|
- String
|
|
1517
1578
|
|
|
1518
1579
|
|
|
1519
1580
|
|
|
1520
|
-
#### `
|
|
1581
|
+
#### `clear_poster_canvas`
|
|
1521
1582
|
|
|
1522
|
-
|
|
1583
|
+
清除画布上的所有元素
|
|
1523
1584
|
|
|
1524
1585
|
**参数:**
|
|
1525
1586
|
|
|
1526
|
-
|
|
1587
|
+
- id: 画布ID,不填则清除当前活跃画布
|
|
1588
|
+
- Optional
|
|
1589
|
+
- String
|
|
1590
|
+
|
|
1527
1591
|
|
|
1528
1592
|
|
|
1529
|
-
#### `
|
|
1593
|
+
#### `list_poster_presets`
|
|
1530
1594
|
|
|
1531
|
-
|
|
1595
|
+
列出所有可用的海报/Banner预设尺寸
|
|
1532
1596
|
|
|
1533
1597
|
**参数:**
|
|
1534
1598
|
|
|
1599
|
+
无
|
|
1600
|
+
|
|
1601
|
+
|
|
1602
|
+
#### `list_poster_fonts`
|
|
1603
|
+
|
|
1604
|
+
列出所有已注册字体的列表(包括字体名称、路径、是否默认等)
|
|
1605
|
+
|
|
1606
|
+
**参数:**
|
|
1607
|
+
|
|
1608
|
+
- filter: 字体过滤类型
|
|
1609
|
+
- Optional
|
|
1610
|
+
- Enum: all, emoji, regular
|
|
1611
|
+
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
#### `add_poster_background`
|
|
1615
|
+
|
|
1616
|
+
为画布添加纯色、渐变或图片背景
|
|
1617
|
+
|
|
1618
|
+
**参数:**
|
|
1619
|
+
|
|
1620
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
1621
|
+
- Optional
|
|
1622
|
+
- String
|
|
1623
|
+
- color: 纯色背景
|
|
1624
|
+
- Optional
|
|
1625
|
+
- String
|
|
1626
|
+
- gradient
|
|
1627
|
+
- Optional
|
|
1628
|
+
- type: 渐变类型
|
|
1629
|
+
- Enum: linear, radial
|
|
1630
|
+
- colors: 颜色数组
|
|
1631
|
+
- Array
|
|
1632
|
+
- String
|
|
1633
|
+
- direction: 方向角度,默认45
|
|
1634
|
+
- Optional
|
|
1635
|
+
- Number
|
|
1636
|
+
- image: 背景图片路径(本地路径或URL)
|
|
1637
|
+
- Optional
|
|
1638
|
+
- String
|
|
1639
|
+
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
#### `add_poster_rectangle`
|
|
1643
|
+
|
|
1644
|
+
在画布上添加矩形
|
|
1645
|
+
|
|
1646
|
+
**参数:**
|
|
1647
|
+
|
|
1648
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
1649
|
+
- Optional
|
|
1650
|
+
- String
|
|
1535
1651
|
- x: X坐标
|
|
1536
1652
|
- Number
|
|
1537
1653
|
- y: Y坐标
|
|
1538
1654
|
- Number
|
|
1539
|
-
- width:
|
|
1655
|
+
- width: 宽度
|
|
1540
1656
|
- Number
|
|
1541
|
-
- height:
|
|
1657
|
+
- height: 高度
|
|
1542
1658
|
- Number
|
|
1543
|
-
-
|
|
1659
|
+
- fill: 填充颜色
|
|
1544
1660
|
- Optional
|
|
1545
1661
|
- String
|
|
1546
|
-
-
|
|
1662
|
+
- stroke: 边框颜色
|
|
1547
1663
|
- Optional
|
|
1548
1664
|
- String
|
|
1549
|
-
-
|
|
1665
|
+
- strokeWidth: 边框宽度
|
|
1550
1666
|
- Optional
|
|
1551
1667
|
- Number
|
|
1552
1668
|
- radius: 圆角半径
|
|
1553
1669
|
- Optional
|
|
1554
1670
|
- Number
|
|
1555
|
-
-
|
|
1671
|
+
- opacity: 透明度 0-1
|
|
1672
|
+
- Optional
|
|
1673
|
+
- Number
|
|
1674
|
+
|
|
1675
|
+
|
|
1676
|
+
|
|
1677
|
+
#### `add_poster_circle`
|
|
1678
|
+
|
|
1679
|
+
在画布上添加圆形或椭圆
|
|
1680
|
+
|
|
1681
|
+
**参数:**
|
|
1682
|
+
|
|
1683
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
1556
1684
|
- Optional
|
|
1557
1685
|
- String
|
|
1558
|
-
-
|
|
1686
|
+
- cx: 圆心X坐标
|
|
1687
|
+
- Number
|
|
1688
|
+
- cy: 圆心Y坐标
|
|
1689
|
+
- Number
|
|
1690
|
+
- rx: X轴半径
|
|
1691
|
+
- Number
|
|
1692
|
+
- ry: Y轴半径
|
|
1559
1693
|
- Optional
|
|
1560
1694
|
- Number
|
|
1561
|
-
-
|
|
1695
|
+
- fill: 填充颜色
|
|
1562
1696
|
- Optional
|
|
1563
1697
|
- String
|
|
1564
|
-
-
|
|
1698
|
+
- stroke: 边框颜色
|
|
1565
1699
|
- Optional
|
|
1566
1700
|
- String
|
|
1567
|
-
-
|
|
1701
|
+
- strokeWidth: 边框宽度
|
|
1568
1702
|
- Optional
|
|
1569
1703
|
- Number
|
|
1570
|
-
-
|
|
1571
|
-
- Optional
|
|
1572
|
-
- String
|
|
1573
|
-
- padding: 内边距
|
|
1704
|
+
- opacity: 透明度 0-1
|
|
1574
1705
|
- Optional
|
|
1575
1706
|
- Number
|
|
1576
1707
|
|
|
1577
1708
|
|
|
1578
1709
|
|
|
1579
|
-
#### `
|
|
1710
|
+
#### `add_poster_line`
|
|
1580
1711
|
|
|
1581
|
-
|
|
1712
|
+
在画布上添加线条
|
|
1582
1713
|
|
|
1583
1714
|
**参数:**
|
|
1584
1715
|
|
|
1585
|
-
-
|
|
1716
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
1717
|
+
- Optional
|
|
1718
|
+
- String
|
|
1719
|
+
- x1: 起点X
|
|
1586
1720
|
- Number
|
|
1587
|
-
-
|
|
1721
|
+
- y1: 起点Y
|
|
1588
1722
|
- Number
|
|
1589
|
-
-
|
|
1590
|
-
-
|
|
1591
|
-
-
|
|
1723
|
+
- x2: 终点X
|
|
1724
|
+
- Number
|
|
1725
|
+
- y2: 终点Y
|
|
1726
|
+
- Number
|
|
1727
|
+
- stroke: 线条颜色
|
|
1592
1728
|
- Optional
|
|
1593
1729
|
- String
|
|
1594
|
-
-
|
|
1730
|
+
- strokeWidth: 线条宽度
|
|
1731
|
+
- Optional
|
|
1732
|
+
- Number
|
|
1733
|
+
|
|
1734
|
+
|
|
1735
|
+
|
|
1736
|
+
#### `add_poster_polygon`
|
|
1737
|
+
|
|
1738
|
+
在画布上添加多边形
|
|
1739
|
+
|
|
1740
|
+
**参数:**
|
|
1741
|
+
|
|
1742
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
1595
1743
|
- Optional
|
|
1596
1744
|
- String
|
|
1597
|
-
-
|
|
1745
|
+
- cx: 中心X坐标
|
|
1746
|
+
- Number
|
|
1747
|
+
- cy: 中心Y坐标
|
|
1748
|
+
- Number
|
|
1749
|
+
- radius: 外接圆半径
|
|
1750
|
+
- Number
|
|
1751
|
+
- sides: 边数
|
|
1752
|
+
- Number
|
|
1753
|
+
- fill: 填充颜色
|
|
1598
1754
|
- Optional
|
|
1599
1755
|
- String
|
|
1600
|
-
-
|
|
1756
|
+
- stroke: 边框颜色
|
|
1601
1757
|
- Optional
|
|
1602
|
-
-
|
|
1603
|
-
-
|
|
1758
|
+
- String
|
|
1759
|
+
- strokeWidth: 边框宽度
|
|
1604
1760
|
- Optional
|
|
1605
1761
|
- Number
|
|
1606
|
-
-
|
|
1762
|
+
- opacity: 透明度 0-1
|
|
1607
1763
|
- Optional
|
|
1608
1764
|
- Number
|
|
1609
1765
|
|
|
1610
1766
|
|
|
1611
1767
|
|
|
1612
|
-
#### `
|
|
1768
|
+
#### `add_poster_text`
|
|
1613
1769
|
|
|
1614
|
-
|
|
1770
|
+
在画布上添加文字
|
|
1615
1771
|
|
|
1616
1772
|
**参数:**
|
|
1617
1773
|
|
|
1618
|
-
-
|
|
1774
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
1775
|
+
- Optional
|
|
1776
|
+
- String
|
|
1777
|
+
- text: 文字内容
|
|
1778
|
+
- String
|
|
1779
|
+
- x: X坐标
|
|
1619
1780
|
- Number
|
|
1620
1781
|
- y: Y坐标
|
|
1621
1782
|
- Number
|
|
1622
|
-
-
|
|
1623
|
-
- String
|
|
1624
|
-
- background: 背景色
|
|
1783
|
+
- fontSize: 字体大小,默认48
|
|
1625
1784
|
- Optional
|
|
1626
|
-
-
|
|
1627
|
-
-
|
|
1785
|
+
- Number
|
|
1786
|
+
- fontFamily: 字体名称
|
|
1628
1787
|
- Optional
|
|
1629
1788
|
- String
|
|
1630
|
-
-
|
|
1789
|
+
- color: 文字颜色
|
|
1631
1790
|
- Optional
|
|
1632
1791
|
- String
|
|
1633
|
-
-
|
|
1634
|
-
- Optional
|
|
1635
|
-
- Number
|
|
1636
|
-
- padding: 内边距
|
|
1637
|
-
- Optional
|
|
1638
|
-
- Number
|
|
1639
|
-
- radius: 圆角半径
|
|
1792
|
+
- align: 对齐方式
|
|
1640
1793
|
- Optional
|
|
1641
|
-
-
|
|
1794
|
+
- Enum: left, center, right
|
|
1642
1795
|
- shadow
|
|
1643
1796
|
- Optional
|
|
1644
|
-
- color
|
|
1645
|
-
-
|
|
1646
|
-
- String
|
|
1797
|
+
- color: 阴影颜色
|
|
1798
|
+
- String
|
|
1647
1799
|
- blur
|
|
1648
1800
|
- Optional
|
|
1649
1801
|
- Number
|
|
@@ -1656,929 +1808,1062 @@ Ambient Agent - 持续后台运行的智能代理,用于主动监控和执行
|
|
|
1656
1808
|
|
|
1657
1809
|
|
|
1658
1810
|
|
|
1659
|
-
#### `
|
|
1811
|
+
#### `add_poster_art_text`
|
|
1660
1812
|
|
|
1661
|
-
|
|
1813
|
+
添加艺术文字,支持渐变填充和描边
|
|
1662
1814
|
|
|
1663
1815
|
**参数:**
|
|
1664
1816
|
|
|
1817
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
1818
|
+
- Optional
|
|
1819
|
+
- String
|
|
1820
|
+
- text: 文字内容
|
|
1821
|
+
- String
|
|
1665
1822
|
- x: X坐标
|
|
1666
1823
|
- Number
|
|
1667
1824
|
- y: Y坐标
|
|
1668
1825
|
- Number
|
|
1669
|
-
-
|
|
1670
|
-
- Number
|
|
1671
|
-
- icon: 图标 emoji
|
|
1672
|
-
- Optional
|
|
1673
|
-
- String
|
|
1674
|
-
- title: 标题
|
|
1675
|
-
- Optional
|
|
1676
|
-
- String
|
|
1677
|
-
- description: 描述
|
|
1826
|
+
- fontSize: 字体大小,默认120
|
|
1678
1827
|
- Optional
|
|
1679
|
-
-
|
|
1680
|
-
-
|
|
1828
|
+
- Number
|
|
1829
|
+
- fontFamily: 字体名称
|
|
1681
1830
|
- Optional
|
|
1682
1831
|
- String
|
|
1683
|
-
-
|
|
1832
|
+
- gradient
|
|
1684
1833
|
- Optional
|
|
1685
|
-
-
|
|
1686
|
-
-
|
|
1834
|
+
- colors: 渐变颜色数组
|
|
1835
|
+
- Array
|
|
1836
|
+
- String
|
|
1837
|
+
- direction: 方向角度
|
|
1838
|
+
- Optional
|
|
1839
|
+
- Number
|
|
1840
|
+
- strokeColor: 描边颜色
|
|
1687
1841
|
- Optional
|
|
1688
1842
|
- String
|
|
1689
|
-
-
|
|
1690
|
-
- Optional
|
|
1691
|
-
- Number
|
|
1692
|
-
- titleSize: 标题大小
|
|
1843
|
+
- strokeWidth: 描边宽度
|
|
1693
1844
|
- Optional
|
|
1694
1845
|
- Number
|
|
1695
|
-
-
|
|
1846
|
+
- shadow
|
|
1696
1847
|
- Optional
|
|
1697
|
-
-
|
|
1848
|
+
- color: 阴影颜色
|
|
1849
|
+
- String
|
|
1850
|
+
- blur
|
|
1851
|
+
- Optional
|
|
1852
|
+
- Number
|
|
1853
|
+
- offsetX
|
|
1854
|
+
- Optional
|
|
1855
|
+
- Number
|
|
1856
|
+
- offsetY
|
|
1857
|
+
- Optional
|
|
1858
|
+
- Number
|
|
1698
1859
|
|
|
1699
1860
|
|
|
1700
1861
|
|
|
1701
|
-
#### `
|
|
1862
|
+
#### `add_poster_rich_text`
|
|
1702
1863
|
|
|
1703
|
-
|
|
1864
|
+
添加富文本,支持旋转、描边、渐变、阴影等多种样式
|
|
1704
1865
|
|
|
1705
1866
|
**参数:**
|
|
1706
1867
|
|
|
1868
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
1869
|
+
- Optional
|
|
1870
|
+
- String
|
|
1707
1871
|
- x: X坐标
|
|
1708
1872
|
- Number
|
|
1709
1873
|
- y: Y坐标
|
|
1710
1874
|
- Number
|
|
1711
|
-
-
|
|
1875
|
+
- width: 文本区域宽度(用于自动换行)
|
|
1712
1876
|
- Optional
|
|
1713
1877
|
- Number
|
|
1714
|
-
-
|
|
1878
|
+
- text: 文字内容
|
|
1879
|
+
- String
|
|
1880
|
+
- fontSize: 字体大小,默认48
|
|
1715
1881
|
- Optional
|
|
1716
1882
|
- Number
|
|
1717
|
-
-
|
|
1883
|
+
- fontFamily: 字体名称
|
|
1718
1884
|
- Optional
|
|
1719
|
-
-
|
|
1720
|
-
-
|
|
1885
|
+
- String
|
|
1886
|
+
- fontWeight: 字重 normal/bold 或 100-900
|
|
1721
1887
|
- Optional
|
|
1722
|
-
-
|
|
1723
|
-
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
-
|
|
1735
|
-
|
|
1888
|
+
- Union
|
|
1889
|
+
- String
|
|
1890
|
+
|
|
|
1891
|
+
- Number
|
|
1892
|
+
- fontStyle: 字体风格
|
|
1893
|
+
- Optional
|
|
1894
|
+
- Enum: normal, italic, oblique
|
|
1895
|
+
- bold: 粗体
|
|
1896
|
+
- Optional
|
|
1897
|
+
- Boolean
|
|
1898
|
+
- italic: 斜体
|
|
1899
|
+
- Optional
|
|
1900
|
+
- Boolean
|
|
1901
|
+
- underline: 下划线
|
|
1902
|
+
- Optional
|
|
1903
|
+
- Boolean
|
|
1904
|
+
- strikethrough: 删除线
|
|
1905
|
+
- Optional
|
|
1906
|
+
- Boolean
|
|
1907
|
+
- color: 文字颜色,默认#ffffff
|
|
1908
|
+
- Optional
|
|
1909
|
+
- String
|
|
1910
|
+
- backgroundColor: 文字背景色
|
|
1911
|
+
- Optional
|
|
1912
|
+
- String
|
|
1913
|
+
- gradient: 渐变填充
|
|
1914
|
+
- Optional
|
|
1915
|
+
- colors: 渐变颜色数组
|
|
1916
|
+
- Array
|
|
1736
1917
|
- String
|
|
1737
|
-
-
|
|
1918
|
+
- direction: 方向角度
|
|
1738
1919
|
- Optional
|
|
1739
|
-
-
|
|
1740
|
-
|
|
1920
|
+
- Number
|
|
1921
|
+
- strokeColor: 描边颜色
|
|
1922
|
+
- Optional
|
|
1923
|
+
- String
|
|
1924
|
+
- strokeWidth: 描边宽度
|
|
1925
|
+
- Optional
|
|
1926
|
+
- Number
|
|
1927
|
+
- shadow
|
|
1928
|
+
- Optional
|
|
1929
|
+
- color: 阴影颜色
|
|
1741
1930
|
- Optional
|
|
1742
1931
|
- String
|
|
1743
|
-
-
|
|
1932
|
+
- blur: 模糊度
|
|
1933
|
+
- Optional
|
|
1934
|
+
- Number
|
|
1935
|
+
- offsetX: X偏移
|
|
1936
|
+
- Optional
|
|
1937
|
+
- Number
|
|
1938
|
+
- offsetY: Y偏移
|
|
1939
|
+
- Optional
|
|
1940
|
+
- Number
|
|
1941
|
+
- letterSpacing: 字间距
|
|
1744
1942
|
- Optional
|
|
1745
|
-
-
|
|
1746
|
-
-
|
|
1943
|
+
- Number
|
|
1944
|
+
- lineSpacing: 行间距增量
|
|
1747
1945
|
- Optional
|
|
1748
|
-
-
|
|
1749
|
-
-
|
|
1946
|
+
- Number
|
|
1947
|
+
- lineHeight: 行高
|
|
1750
1948
|
- Optional
|
|
1751
1949
|
- Number
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
#### `add_poster_divider`
|
|
1756
|
-
|
|
1757
|
-
添加分隔线
|
|
1758
|
-
|
|
1759
|
-
**参数:**
|
|
1760
|
-
|
|
1761
|
-
- x: X坐标
|
|
1762
|
-
- Number
|
|
1763
|
-
- y: Y坐标
|
|
1764
|
-
- Number
|
|
1765
|
-
- width: 宽度
|
|
1766
|
-
- Number
|
|
1767
|
-
- color: 颜色
|
|
1950
|
+
- align: 对齐方式
|
|
1768
1951
|
- Optional
|
|
1769
|
-
-
|
|
1770
|
-
-
|
|
1952
|
+
- Enum: left, center, right, justify
|
|
1953
|
+
- rotation: 旋转角度(度)
|
|
1771
1954
|
- Optional
|
|
1772
1955
|
- Number
|
|
1773
|
-
-
|
|
1956
|
+
- scale: 缩放
|
|
1774
1957
|
- Optional
|
|
1775
|
-
-
|
|
1776
|
-
-
|
|
1958
|
+
- Union
|
|
1959
|
+
- Number
|
|
1960
|
+
|
|
|
1961
|
+
- x
|
|
1962
|
+
- Optional
|
|
1963
|
+
- Number
|
|
1964
|
+
- y
|
|
1965
|
+
- Optional
|
|
1966
|
+
- Number
|
|
1967
|
+
- opacity: 透明度 0-1,默认1
|
|
1777
1968
|
- Optional
|
|
1778
|
-
-
|
|
1969
|
+
- Number
|
|
1779
1970
|
|
|
1780
1971
|
|
|
1781
1972
|
|
|
1782
|
-
#### `
|
|
1973
|
+
#### `add_poster_image`
|
|
1783
1974
|
|
|
1784
|
-
|
|
1975
|
+
在画布上添加图片
|
|
1785
1976
|
|
|
1786
1977
|
**参数:**
|
|
1787
1978
|
|
|
1788
|
-
-
|
|
1979
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
1980
|
+
- Optional
|
|
1981
|
+
- String
|
|
1982
|
+
- src: 图片路径或URL
|
|
1983
|
+
- String
|
|
1984
|
+
- x: X坐标
|
|
1789
1985
|
- Number
|
|
1790
|
-
- y:
|
|
1986
|
+
- y: Y坐标
|
|
1791
1987
|
- Number
|
|
1792
|
-
-
|
|
1988
|
+
- width: 图片宽度
|
|
1793
1989
|
- Optional
|
|
1794
1990
|
- Number
|
|
1795
|
-
-
|
|
1796
|
-
- Optional
|
|
1797
|
-
- String
|
|
1798
|
-
- background: 背景色
|
|
1799
|
-
- Optional
|
|
1800
|
-
- String
|
|
1801
|
-
- border: 边框颜色
|
|
1802
|
-
- Optional
|
|
1803
|
-
- String
|
|
1804
|
-
- borderWidth: 边框宽度
|
|
1991
|
+
- height: 图片高度
|
|
1805
1992
|
- Optional
|
|
1806
1993
|
- Number
|
|
1807
|
-
-
|
|
1994
|
+
- opacity: 透明度 0-1
|
|
1808
1995
|
- Optional
|
|
1809
|
-
-
|
|
1996
|
+
- Number
|
|
1810
1997
|
|
|
1811
1998
|
|
|
1812
1999
|
|
|
1813
|
-
#### `
|
|
2000
|
+
#### `add_poster_svg`
|
|
1814
2001
|
|
|
1815
|
-
|
|
2002
|
+
在画布上添加 SVG(支持文件路径或 SVG 字符串)
|
|
1816
2003
|
|
|
1817
2004
|
**参数:**
|
|
1818
2005
|
|
|
2006
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2007
|
+
- Optional
|
|
2008
|
+
- String
|
|
2009
|
+
- src: SVG 文件路径或 SVG 字符串
|
|
2010
|
+
- String
|
|
1819
2011
|
- x: X坐标
|
|
1820
2012
|
- Number
|
|
1821
2013
|
- y: Y坐标
|
|
1822
2014
|
- Number
|
|
1823
|
-
- width:
|
|
2015
|
+
- width: 宽度
|
|
1824
2016
|
- Optional
|
|
1825
2017
|
- Number
|
|
1826
|
-
- height:
|
|
2018
|
+
- height: 高度
|
|
1827
2019
|
- Optional
|
|
1828
2020
|
- Number
|
|
1829
|
-
-
|
|
2021
|
+
- opacity: 透明度 0-1
|
|
1830
2022
|
- Optional
|
|
1831
2023
|
- Number
|
|
1832
|
-
|
|
2024
|
+
|
|
2025
|
+
|
|
2026
|
+
|
|
2027
|
+
#### `export_poster_svg`
|
|
2028
|
+
|
|
2029
|
+
导出画布为 SVG 格式
|
|
2030
|
+
|
|
2031
|
+
**参数:**
|
|
2032
|
+
|
|
2033
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
1833
2034
|
- Optional
|
|
1834
2035
|
- String
|
|
1835
|
-
-
|
|
2036
|
+
- filename: 文件名(不含扩展名)
|
|
2037
|
+
- String
|
|
2038
|
+
- outputDir: 输出目录
|
|
1836
2039
|
- Optional
|
|
1837
2040
|
- String
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
2041
|
+
|
|
2042
|
+
|
|
2043
|
+
|
|
2044
|
+
#### `export_poster_svg_base64`
|
|
2045
|
+
|
|
2046
|
+
导出画布为 SVG Base64 编码
|
|
2047
|
+
|
|
2048
|
+
**参数:**
|
|
2049
|
+
|
|
2050
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
1845
2051
|
- Optional
|
|
1846
2052
|
- String
|
|
1847
2053
|
|
|
1848
2054
|
|
|
1849
2055
|
|
|
1850
|
-
#### `
|
|
2056
|
+
#### `add_poster_card`
|
|
1851
2057
|
|
|
1852
|
-
|
|
2058
|
+
添加卡片组件(带背景、标题、副标题)
|
|
1853
2059
|
|
|
1854
2060
|
**参数:**
|
|
1855
2061
|
|
|
2062
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2063
|
+
- Optional
|
|
2064
|
+
- String
|
|
1856
2065
|
- x: X坐标
|
|
1857
2066
|
- Number
|
|
1858
2067
|
- y: Y坐标
|
|
1859
2068
|
- Number
|
|
1860
|
-
-
|
|
2069
|
+
- width: 卡片宽度
|
|
2070
|
+
- Number
|
|
2071
|
+
- height: 卡片高度
|
|
2072
|
+
- Number
|
|
2073
|
+
- background: 背景色
|
|
2074
|
+
- Optional
|
|
2075
|
+
- String
|
|
2076
|
+
- border: 边框颜色
|
|
2077
|
+
- Optional
|
|
2078
|
+
- String
|
|
2079
|
+
- borderWidth: 边框宽度
|
|
1861
2080
|
- Optional
|
|
1862
2081
|
- Number
|
|
1863
|
-
-
|
|
2082
|
+
- radius: 圆角半径
|
|
1864
2083
|
- Optional
|
|
1865
2084
|
- Number
|
|
1866
|
-
-
|
|
2085
|
+
- title: 标题文字
|
|
2086
|
+
- Optional
|
|
2087
|
+
- String
|
|
2088
|
+
- titleSize: 标题字体大小
|
|
1867
2089
|
- Optional
|
|
1868
2090
|
- Number
|
|
1869
|
-
-
|
|
2091
|
+
- titleColor: 标题颜色
|
|
1870
2092
|
- Optional
|
|
1871
2093
|
- String
|
|
1872
|
-
-
|
|
2094
|
+
- subtitle: 副标题
|
|
1873
2095
|
- Optional
|
|
1874
2096
|
- String
|
|
1875
|
-
-
|
|
2097
|
+
- subtitleSize: 副标题字体大小
|
|
2098
|
+
- Optional
|
|
2099
|
+
- Number
|
|
2100
|
+
- subtitleColor: 副标题颜色
|
|
2101
|
+
- Optional
|
|
2102
|
+
- String
|
|
2103
|
+
- padding: 内边距
|
|
1876
2104
|
- Optional
|
|
1877
2105
|
- Number
|
|
1878
2106
|
|
|
1879
2107
|
|
|
1880
2108
|
|
|
1881
|
-
#### `
|
|
2109
|
+
#### `add_poster_badge`
|
|
1882
2110
|
|
|
1883
|
-
|
|
2111
|
+
添加徽章/标签组件
|
|
1884
2112
|
|
|
1885
2113
|
**参数:**
|
|
1886
2114
|
|
|
1887
|
-
-
|
|
2115
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2116
|
+
- Optional
|
|
2117
|
+
- String
|
|
2118
|
+
- x: X坐标(居中)
|
|
1888
2119
|
- Number
|
|
1889
2120
|
- y: Y坐标
|
|
1890
2121
|
- Number
|
|
1891
|
-
-
|
|
1892
|
-
- Optional
|
|
1893
|
-
- Number
|
|
1894
|
-
- text: 引用文字
|
|
2122
|
+
- text: 徽章文字
|
|
1895
2123
|
- String
|
|
1896
|
-
-
|
|
2124
|
+
- background: 背景色
|
|
1897
2125
|
- Optional
|
|
1898
2126
|
- String
|
|
1899
|
-
-
|
|
2127
|
+
- color: 文字颜色
|
|
1900
2128
|
- Optional
|
|
1901
2129
|
- String
|
|
1902
|
-
-
|
|
2130
|
+
- border: 边框颜色
|
|
1903
2131
|
- Optional
|
|
1904
2132
|
- String
|
|
1905
|
-
-
|
|
2133
|
+
- fontSize: 字体大小
|
|
1906
2134
|
- Optional
|
|
1907
2135
|
- Number
|
|
1908
|
-
-
|
|
2136
|
+
- padding: 内边距
|
|
1909
2137
|
- Optional
|
|
1910
2138
|
- Number
|
|
1911
|
-
-
|
|
1912
|
-
- Optional
|
|
1913
|
-
- String
|
|
1914
|
-
- authorColor: 作者颜色
|
|
1915
|
-
- Optional
|
|
1916
|
-
- String
|
|
1917
|
-
- fontSize: 字体大小
|
|
2139
|
+
- radius: 圆角半径
|
|
1918
2140
|
- Optional
|
|
1919
2141
|
- Number
|
|
1920
2142
|
|
|
1921
2143
|
|
|
1922
2144
|
|
|
1923
|
-
#### `
|
|
2145
|
+
#### `add_poster_cta`
|
|
1924
2146
|
|
|
1925
|
-
|
|
2147
|
+
添加行动号召按钮
|
|
1926
2148
|
|
|
1927
2149
|
**参数:**
|
|
1928
2150
|
|
|
1929
|
-
-
|
|
2151
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2152
|
+
- Optional
|
|
2153
|
+
- String
|
|
2154
|
+
- x: X坐标(居中)
|
|
1930
2155
|
- Number
|
|
1931
2156
|
- y: Y坐标
|
|
1932
2157
|
- Number
|
|
1933
|
-
-
|
|
2158
|
+
- text: 按钮文字
|
|
2159
|
+
- String
|
|
2160
|
+
- background: 背景色
|
|
1934
2161
|
- Optional
|
|
1935
|
-
-
|
|
1936
|
-
-
|
|
1937
|
-
- Optional
|
|
1938
|
-
- Number
|
|
1939
|
-
- label: 标签
|
|
1940
|
-
- Optional
|
|
1941
|
-
- String
|
|
1942
|
-
- value: 数值
|
|
1943
|
-
- Optional
|
|
1944
|
-
- String
|
|
1945
|
-
- change: 变化值
|
|
1946
|
-
- Optional
|
|
1947
|
-
- String
|
|
1948
|
-
- positive: 变化是否为正
|
|
1949
|
-
- Optional
|
|
1950
|
-
- Boolean
|
|
1951
|
-
- icon: 图标
|
|
1952
|
-
- Optional
|
|
1953
|
-
- String
|
|
1954
|
-
- iconColor: 图标颜色
|
|
1955
|
-
- Optional
|
|
1956
|
-
- String
|
|
1957
|
-
- background: 背景色
|
|
2162
|
+
- String
|
|
2163
|
+
- color: 文字颜色
|
|
1958
2164
|
- Optional
|
|
1959
2165
|
- String
|
|
1960
2166
|
- border: 边框颜色
|
|
1961
2167
|
- Optional
|
|
1962
2168
|
- String
|
|
1963
|
-
- radius: 圆角半径
|
|
1964
|
-
- Optional
|
|
1965
|
-
- Number
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
#### `add_poster_tag_cloud`
|
|
1970
|
-
|
|
1971
|
-
添加标签云组件
|
|
1972
|
-
|
|
1973
|
-
**参数:**
|
|
1974
|
-
|
|
1975
|
-
- x: X坐标
|
|
1976
|
-
- Number
|
|
1977
|
-
- y: Y坐标
|
|
1978
|
-
- Number
|
|
1979
|
-
- tags: 标签数组
|
|
1980
|
-
- Array
|
|
1981
|
-
- text
|
|
1982
|
-
- String
|
|
1983
|
-
- color
|
|
1984
|
-
- Optional
|
|
1985
|
-
- String
|
|
1986
|
-
- bgColor
|
|
1987
|
-
- Optional
|
|
1988
|
-
- String
|
|
1989
2169
|
- fontSize: 字体大小
|
|
1990
2170
|
- Optional
|
|
1991
2171
|
- Number
|
|
1992
|
-
- padding:
|
|
2172
|
+
- padding: 内边距
|
|
1993
2173
|
- Optional
|
|
1994
2174
|
- Number
|
|
1995
|
-
-
|
|
2175
|
+
- radius: 圆角半径
|
|
1996
2176
|
- Optional
|
|
1997
2177
|
- Number
|
|
1998
|
-
-
|
|
2178
|
+
- shadow
|
|
1999
2179
|
- Optional
|
|
2000
|
-
-
|
|
2180
|
+
- color
|
|
2181
|
+
- Optional
|
|
2182
|
+
- String
|
|
2183
|
+
- blur
|
|
2184
|
+
- Optional
|
|
2185
|
+
- Number
|
|
2186
|
+
- offsetX
|
|
2187
|
+
- Optional
|
|
2188
|
+
- Number
|
|
2189
|
+
- offsetY
|
|
2190
|
+
- Optional
|
|
2191
|
+
- Number
|
|
2001
2192
|
|
|
2002
2193
|
|
|
2003
2194
|
|
|
2004
|
-
#### `
|
|
2195
|
+
#### `add_poster_feature`
|
|
2005
2196
|
|
|
2006
|
-
|
|
2197
|
+
添加特性展示块
|
|
2007
2198
|
|
|
2008
2199
|
**参数:**
|
|
2009
2200
|
|
|
2201
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2202
|
+
- Optional
|
|
2203
|
+
- String
|
|
2010
2204
|
- x: X坐标
|
|
2011
2205
|
- Number
|
|
2012
2206
|
- y: Y坐标
|
|
2013
2207
|
- Number
|
|
2014
|
-
- width:
|
|
2208
|
+
- width: 宽度
|
|
2209
|
+
- Number
|
|
2210
|
+
- icon: 图标 emoji
|
|
2015
2211
|
- Optional
|
|
2016
|
-
-
|
|
2017
|
-
-
|
|
2018
|
-
- Array
|
|
2019
|
-
- title
|
|
2020
|
-
- String
|
|
2021
|
-
- description
|
|
2022
|
-
- Optional
|
|
2023
|
-
- String
|
|
2024
|
-
- currentStep: 当前步骤
|
|
2212
|
+
- String
|
|
2213
|
+
- title: 标题
|
|
2025
2214
|
- Optional
|
|
2026
|
-
-
|
|
2027
|
-
-
|
|
2215
|
+
- String
|
|
2216
|
+
- description: 描述
|
|
2028
2217
|
- Optional
|
|
2029
2218
|
- String
|
|
2030
|
-
-
|
|
2219
|
+
- iconColor: 图标颜色
|
|
2031
2220
|
- Optional
|
|
2032
2221
|
- String
|
|
2033
|
-
-
|
|
2222
|
+
- titleColor: 标题颜色
|
|
2034
2223
|
- Optional
|
|
2035
2224
|
- String
|
|
2036
|
-
-
|
|
2225
|
+
- descColor: 描述颜色
|
|
2226
|
+
- Optional
|
|
2227
|
+
- String
|
|
2228
|
+
- iconSize: 图标大小
|
|
2229
|
+
- Optional
|
|
2230
|
+
- Number
|
|
2231
|
+
- titleSize: 标题大小
|
|
2232
|
+
- Optional
|
|
2233
|
+
- Number
|
|
2234
|
+
- descSize: 描述大小
|
|
2037
2235
|
- Optional
|
|
2038
2236
|
- Number
|
|
2039
2237
|
|
|
2040
2238
|
|
|
2041
2239
|
|
|
2042
|
-
#### `
|
|
2240
|
+
#### `add_poster_feature_grid`
|
|
2043
2241
|
|
|
2044
|
-
|
|
2242
|
+
添加特性网格布局
|
|
2045
2243
|
|
|
2046
2244
|
**参数:**
|
|
2047
2245
|
|
|
2246
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2247
|
+
- Optional
|
|
2248
|
+
- String
|
|
2048
2249
|
- x: X坐标
|
|
2049
2250
|
- Number
|
|
2050
2251
|
- y: Y坐标
|
|
2051
2252
|
- Number
|
|
2052
|
-
-
|
|
2253
|
+
- columns: 列数,默认3
|
|
2053
2254
|
- Optional
|
|
2054
2255
|
- Number
|
|
2055
|
-
-
|
|
2256
|
+
- itemWidth: 每个特性宽度,默认200
|
|
2257
|
+
- Optional
|
|
2258
|
+
- Number
|
|
2259
|
+
- itemHeight: 每个特性高度,默认120
|
|
2260
|
+
- Optional
|
|
2261
|
+
- Number
|
|
2262
|
+
- gap: 间距,默认20
|
|
2263
|
+
- Optional
|
|
2264
|
+
- Number
|
|
2265
|
+
- items: 特性数组
|
|
2056
2266
|
- Array
|
|
2057
|
-
-
|
|
2267
|
+
- icon
|
|
2058
2268
|
- Optional
|
|
2059
2269
|
- String
|
|
2060
2270
|
- title
|
|
2061
|
-
-
|
|
2271
|
+
- Optional
|
|
2272
|
+
- String
|
|
2062
2273
|
- description
|
|
2063
2274
|
- Optional
|
|
2064
2275
|
- String
|
|
2065
|
-
-
|
|
2276
|
+
- iconColor
|
|
2066
2277
|
- Optional
|
|
2067
|
-
-
|
|
2068
|
-
-
|
|
2278
|
+
- String
|
|
2279
|
+
- titleColor
|
|
2280
|
+
- Optional
|
|
2281
|
+
- String
|
|
2282
|
+
- descColor
|
|
2283
|
+
- Optional
|
|
2284
|
+
- String
|
|
2285
|
+
- background: 背景色
|
|
2069
2286
|
- Optional
|
|
2070
2287
|
- String
|
|
2071
|
-
-
|
|
2288
|
+
- borderColor: 边框颜色
|
|
2072
2289
|
- Optional
|
|
2073
2290
|
- String
|
|
2074
|
-
-
|
|
2075
|
-
- Optional
|
|
2076
|
-
- Number
|
|
2077
|
-
- gap: 项目间距
|
|
2291
|
+
- radius: 圆角半径
|
|
2078
2292
|
- Optional
|
|
2079
2293
|
- Number
|
|
2080
2294
|
|
|
2081
2295
|
|
|
2082
2296
|
|
|
2083
|
-
#### `
|
|
2297
|
+
#### `add_poster_divider`
|
|
2084
2298
|
|
|
2085
|
-
|
|
2299
|
+
添加分隔线
|
|
2086
2300
|
|
|
2087
2301
|
**参数:**
|
|
2088
2302
|
|
|
2303
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2304
|
+
- Optional
|
|
2305
|
+
- String
|
|
2089
2306
|
- x: X坐标
|
|
2090
2307
|
- Number
|
|
2091
2308
|
- y: Y坐标
|
|
2092
2309
|
- Number
|
|
2093
2310
|
- width: 宽度
|
|
2094
|
-
-
|
|
2095
|
-
|
|
2096
|
-
- icon: 图标
|
|
2311
|
+
- Number
|
|
2312
|
+
- color: 颜色
|
|
2097
2313
|
- Optional
|
|
2098
2314
|
- String
|
|
2099
|
-
-
|
|
2315
|
+
- thickness: 厚度
|
|
2100
2316
|
- Optional
|
|
2101
|
-
-
|
|
2102
|
-
-
|
|
2317
|
+
- Number
|
|
2318
|
+
- style: 样式
|
|
2103
2319
|
- Optional
|
|
2104
|
-
-
|
|
2105
|
-
-
|
|
2320
|
+
- Enum: solid, dashed
|
|
2321
|
+
- align: 对齐
|
|
2106
2322
|
- Optional
|
|
2107
|
-
-
|
|
2108
|
-
|
|
2323
|
+
- Enum: left, center, right
|
|
2324
|
+
|
|
2325
|
+
|
|
2326
|
+
|
|
2327
|
+
#### `add_poster_avatar`
|
|
2328
|
+
|
|
2329
|
+
添加头像组件
|
|
2330
|
+
|
|
2331
|
+
**参数:**
|
|
2332
|
+
|
|
2333
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2109
2334
|
- Optional
|
|
2110
2335
|
- String
|
|
2111
|
-
-
|
|
2336
|
+
- x: 圆心X坐标
|
|
2337
|
+
- Number
|
|
2338
|
+
- y: 圆心Y坐标
|
|
2339
|
+
- Number
|
|
2340
|
+
- size: 头像大小
|
|
2341
|
+
- Optional
|
|
2342
|
+
- Number
|
|
2343
|
+
- initials: 首字母
|
|
2112
2344
|
- Optional
|
|
2113
2345
|
- String
|
|
2114
2346
|
- background: 背景色
|
|
2115
2347
|
- Optional
|
|
2116
2348
|
- String
|
|
2117
|
-
-
|
|
2349
|
+
- border: 边框颜色
|
|
2118
2350
|
- Optional
|
|
2119
2351
|
- String
|
|
2120
|
-
-
|
|
2352
|
+
- borderWidth: 边框宽度
|
|
2121
2353
|
- Optional
|
|
2122
2354
|
- Number
|
|
2123
|
-
-
|
|
2355
|
+
- color: 文字颜色
|
|
2124
2356
|
- Optional
|
|
2125
|
-
-
|
|
2357
|
+
- String
|
|
2126
2358
|
|
|
2127
2359
|
|
|
2128
2360
|
|
|
2129
|
-
#### `
|
|
2361
|
+
#### `add_poster_progress`
|
|
2130
2362
|
|
|
2131
|
-
|
|
2363
|
+
添加进度条组件
|
|
2132
2364
|
|
|
2133
2365
|
**参数:**
|
|
2134
2366
|
|
|
2367
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2368
|
+
- Optional
|
|
2369
|
+
- String
|
|
2135
2370
|
- x: X坐标
|
|
2136
2371
|
- Number
|
|
2137
2372
|
- y: Y坐标
|
|
2138
2373
|
- Number
|
|
2139
|
-
- width:
|
|
2374
|
+
- width: 进度条宽度
|
|
2140
2375
|
- Optional
|
|
2141
2376
|
- Number
|
|
2142
|
-
-
|
|
2377
|
+
- height: 进度条高度
|
|
2143
2378
|
- Optional
|
|
2144
|
-
-
|
|
2145
|
-
-
|
|
2379
|
+
- Number
|
|
2380
|
+
- value: 进度值 0-100
|
|
2146
2381
|
- Optional
|
|
2147
|
-
-
|
|
2148
|
-
-
|
|
2382
|
+
- Number
|
|
2383
|
+
- trackColor: 轨道颜色
|
|
2149
2384
|
- Optional
|
|
2150
2385
|
- String
|
|
2151
|
-
-
|
|
2386
|
+
- fillColor: 填充颜色
|
|
2152
2387
|
- Optional
|
|
2153
|
-
-
|
|
2388
|
+
- String
|
|
2154
2389
|
- radius: 圆角半径
|
|
2155
2390
|
- Optional
|
|
2156
2391
|
- Number
|
|
2392
|
+
- showLabel: 是否显示标签
|
|
2393
|
+
- Optional
|
|
2394
|
+
- Boolean
|
|
2395
|
+
- label: 标签文字
|
|
2396
|
+
- Optional
|
|
2397
|
+
- String
|
|
2157
2398
|
|
|
2158
2399
|
|
|
2159
2400
|
|
|
2160
|
-
#### `
|
|
2401
|
+
#### `add_poster_rating`
|
|
2161
2402
|
|
|
2162
|
-
|
|
2403
|
+
添加星级评分组件
|
|
2163
2404
|
|
|
2164
2405
|
**参数:**
|
|
2165
2406
|
|
|
2166
|
-
-
|
|
2167
|
-
-
|
|
2407
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2408
|
+
- Optional
|
|
2409
|
+
- String
|
|
2168
2410
|
- x: X坐标
|
|
2169
2411
|
- Number
|
|
2170
2412
|
- y: Y坐标
|
|
2171
2413
|
- Number
|
|
2172
|
-
-
|
|
2173
|
-
- Number
|
|
2174
|
-
- height: 图片高度
|
|
2175
|
-
- Number
|
|
2176
|
-
- borderColor: 边框颜色
|
|
2414
|
+
- value: 评分值 0-5
|
|
2177
2415
|
- Optional
|
|
2178
|
-
-
|
|
2179
|
-
-
|
|
2416
|
+
- Number
|
|
2417
|
+
- max: 最大值
|
|
2180
2418
|
- Optional
|
|
2181
2419
|
- Number
|
|
2182
|
-
-
|
|
2420
|
+
- size: 星星大小
|
|
2421
|
+
- Optional
|
|
2422
|
+
- Number
|
|
2423
|
+
- filledColor: 填充颜色
|
|
2183
2424
|
- Optional
|
|
2184
2425
|
- String
|
|
2185
|
-
-
|
|
2426
|
+
- emptyColor: 空心颜色
|
|
2186
2427
|
- Optional
|
|
2187
|
-
-
|
|
2188
|
-
-
|
|
2428
|
+
- String
|
|
2429
|
+
- gap: 星星间距
|
|
2189
2430
|
- Optional
|
|
2190
2431
|
- Number
|
|
2191
|
-
- shadowOffsetX: 阴影X偏移
|
|
2192
|
-
- Optional
|
|
2193
|
-
- Number
|
|
2194
|
-
- shadowOffsetY: 阴影Y偏移
|
|
2195
|
-
- Optional
|
|
2196
|
-
- Number
|
|
2197
|
-
- shadowColor: 阴影颜色
|
|
2198
|
-
- Optional
|
|
2199
|
-
- String
|
|
2200
|
-
- radius: 圆角半径
|
|
2201
|
-
- Optional
|
|
2202
|
-
- Number
|
|
2203
|
-
- overlayColor: 叠加颜色
|
|
2204
|
-
- Optional
|
|
2205
|
-
- String
|
|
2206
|
-
- overlayOpacity: 叠加透明度
|
|
2207
|
-
- Optional
|
|
2208
|
-
- Number
|
|
2209
|
-
- fit: 图片填充方式
|
|
2210
|
-
- Optional
|
|
2211
|
-
- Enum: cover, contain, fill
|
|
2212
2432
|
|
|
2213
2433
|
|
|
2214
2434
|
|
|
2215
|
-
#### `
|
|
2435
|
+
#### `add_poster_quote`
|
|
2216
2436
|
|
|
2217
|
-
|
|
2437
|
+
添加引用块组件
|
|
2218
2438
|
|
|
2219
2439
|
**参数:**
|
|
2220
2440
|
|
|
2221
|
-
-
|
|
2222
|
-
-
|
|
2223
|
-
-
|
|
2224
|
-
|
|
2225
|
-
- width: 总宽度
|
|
2441
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2442
|
+
- Optional
|
|
2443
|
+
- String
|
|
2444
|
+
- x: X坐标
|
|
2226
2445
|
- Number
|
|
2227
|
-
-
|
|
2446
|
+
- y: Y坐标
|
|
2228
2447
|
- Number
|
|
2229
|
-
-
|
|
2448
|
+
- width: 宽度
|
|
2230
2449
|
- Optional
|
|
2231
2450
|
- Number
|
|
2232
|
-
-
|
|
2451
|
+
- text: 引用文字
|
|
2452
|
+
- String
|
|
2453
|
+
- author: 作者
|
|
2233
2454
|
- Optional
|
|
2234
|
-
-
|
|
2455
|
+
- String
|
|
2235
2456
|
- background: 背景色
|
|
2236
2457
|
- Optional
|
|
2237
2458
|
- String
|
|
2238
|
-
- borderColor:
|
|
2459
|
+
- borderColor: 左边框颜色
|
|
2239
2460
|
- Optional
|
|
2240
2461
|
- String
|
|
2241
|
-
-
|
|
2462
|
+
- padding: 内边距
|
|
2242
2463
|
- Optional
|
|
2243
2464
|
- Number
|
|
2244
2465
|
- radius: 圆角半径
|
|
2245
2466
|
- Optional
|
|
2246
2467
|
- Number
|
|
2247
|
-
-
|
|
2468
|
+
- textColor: 文字颜色
|
|
2248
2469
|
- Optional
|
|
2249
|
-
-
|
|
2250
|
-
-
|
|
2470
|
+
- String
|
|
2471
|
+
- authorColor: 作者颜色
|
|
2251
2472
|
- Optional
|
|
2252
|
-
-
|
|
2473
|
+
- String
|
|
2474
|
+
- fontSize: 字体大小
|
|
2475
|
+
- Optional
|
|
2476
|
+
- Number
|
|
2253
2477
|
|
|
2254
2478
|
|
|
2255
2479
|
|
|
2256
|
-
#### `
|
|
2480
|
+
#### `add_poster_stat_card`
|
|
2257
2481
|
|
|
2258
|
-
|
|
2482
|
+
添加统计卡片组件
|
|
2259
2483
|
|
|
2260
2484
|
**参数:**
|
|
2261
2485
|
|
|
2262
|
-
-
|
|
2263
|
-
-
|
|
2264
|
-
-
|
|
2265
|
-
|
|
2266
|
-
- width: 总宽度
|
|
2486
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2487
|
+
- Optional
|
|
2488
|
+
- String
|
|
2489
|
+
- x: X坐标
|
|
2267
2490
|
- Number
|
|
2268
|
-
-
|
|
2491
|
+
- y: Y坐标
|
|
2269
2492
|
- Number
|
|
2270
|
-
-
|
|
2493
|
+
- width: 宽度
|
|
2271
2494
|
- Optional
|
|
2272
2495
|
- Number
|
|
2273
|
-
-
|
|
2496
|
+
- height: 高度
|
|
2274
2497
|
- Optional
|
|
2275
2498
|
- Number
|
|
2276
|
-
-
|
|
2499
|
+
- label: 标签
|
|
2277
2500
|
- Optional
|
|
2278
|
-
-
|
|
2279
|
-
-
|
|
2501
|
+
- String
|
|
2502
|
+
- value: 数值
|
|
2280
2503
|
- Optional
|
|
2281
|
-
-
|
|
2282
|
-
-
|
|
2504
|
+
- String
|
|
2505
|
+
- change: 变化值
|
|
2283
2506
|
- Optional
|
|
2284
2507
|
- String
|
|
2285
|
-
-
|
|
2508
|
+
- positive: 变化是否为正
|
|
2509
|
+
- Optional
|
|
2510
|
+
- Boolean
|
|
2511
|
+
- icon: 图标
|
|
2286
2512
|
- Optional
|
|
2287
2513
|
- String
|
|
2288
|
-
-
|
|
2514
|
+
- iconColor: 图标颜色
|
|
2289
2515
|
- Optional
|
|
2290
|
-
-
|
|
2516
|
+
- String
|
|
2517
|
+
- background: 背景色
|
|
2518
|
+
- Optional
|
|
2519
|
+
- String
|
|
2520
|
+
- border: 边框颜色
|
|
2521
|
+
- Optional
|
|
2522
|
+
- String
|
|
2291
2523
|
- radius: 圆角半径
|
|
2292
2524
|
- Optional
|
|
2293
2525
|
- Number
|
|
2294
|
-
- direction: 排列方向
|
|
2295
|
-
- Optional
|
|
2296
|
-
- Enum: row, column
|
|
2297
2526
|
|
|
2298
2527
|
|
|
2299
2528
|
|
|
2300
|
-
#### `
|
|
2529
|
+
#### `add_poster_tag_cloud`
|
|
2301
2530
|
|
|
2302
|
-
|
|
2531
|
+
添加标签云组件
|
|
2303
2532
|
|
|
2304
2533
|
**参数:**
|
|
2305
2534
|
|
|
2306
|
-
-
|
|
2535
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2536
|
+
- Optional
|
|
2537
|
+
- String
|
|
2538
|
+
- x: X坐标
|
|
2307
2539
|
- Number
|
|
2308
|
-
-
|
|
2540
|
+
- y: Y坐标
|
|
2309
2541
|
- Number
|
|
2310
|
-
-
|
|
2311
|
-
-
|
|
2312
|
-
-
|
|
2313
|
-
-
|
|
2542
|
+
- tags: 标签数组
|
|
2543
|
+
- Array
|
|
2544
|
+
- text
|
|
2545
|
+
- String
|
|
2546
|
+
- color
|
|
2547
|
+
- Optional
|
|
2548
|
+
- String
|
|
2549
|
+
- bgColor
|
|
2550
|
+
- Optional
|
|
2551
|
+
- String
|
|
2552
|
+
- fontSize: 字体大小
|
|
2314
2553
|
- Optional
|
|
2315
2554
|
- Number
|
|
2316
|
-
-
|
|
2317
|
-
- Number
|
|
2318
|
-
- fill: 填充颜色
|
|
2319
|
-
- Optional
|
|
2320
|
-
- String
|
|
2321
|
-
- stroke: 边框颜色
|
|
2322
|
-
- Optional
|
|
2323
|
-
- String
|
|
2324
|
-
- strokeWidth: 边框宽度
|
|
2555
|
+
- padding: 标签内边距
|
|
2325
2556
|
- Optional
|
|
2326
2557
|
- Number
|
|
2327
|
-
-
|
|
2558
|
+
- gap: 标签间距
|
|
2328
2559
|
- Optional
|
|
2329
2560
|
- Number
|
|
2330
|
-
-
|
|
2561
|
+
- maxWidth: 最大宽度
|
|
2331
2562
|
- Optional
|
|
2332
2563
|
- Number
|
|
2333
2564
|
|
|
2334
2565
|
|
|
2335
2566
|
|
|
2336
|
-
#### `
|
|
2567
|
+
#### `add_poster_stepper`
|
|
2337
2568
|
|
|
2338
|
-
|
|
2569
|
+
添加步骤指示器组件
|
|
2339
2570
|
|
|
2340
2571
|
**参数:**
|
|
2341
2572
|
|
|
2342
|
-
-
|
|
2343
|
-
- Number
|
|
2344
|
-
- y1: 起点Y
|
|
2345
|
-
- Number
|
|
2346
|
-
- x2: 终点X
|
|
2347
|
-
- Number
|
|
2348
|
-
- y2: 终点Y
|
|
2349
|
-
- Number
|
|
2350
|
-
- color: 箭头颜色
|
|
2573
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2351
2574
|
- Optional
|
|
2352
2575
|
- String
|
|
2353
|
-
-
|
|
2576
|
+
- x: X坐标
|
|
2577
|
+
- Number
|
|
2578
|
+
- y: Y坐标
|
|
2579
|
+
- Number
|
|
2580
|
+
- width: 总宽度
|
|
2354
2581
|
- Optional
|
|
2355
2582
|
- Number
|
|
2356
|
-
-
|
|
2583
|
+
- steps: 步骤数组
|
|
2584
|
+
- Array
|
|
2585
|
+
- title
|
|
2586
|
+
- String
|
|
2587
|
+
- description
|
|
2588
|
+
- Optional
|
|
2589
|
+
- String
|
|
2590
|
+
- currentStep: 当前步骤
|
|
2357
2591
|
- Optional
|
|
2358
2592
|
- Number
|
|
2359
|
-
-
|
|
2593
|
+
- activeColor: 激活颜色
|
|
2360
2594
|
- Optional
|
|
2361
|
-
-
|
|
2362
|
-
-
|
|
2595
|
+
- String
|
|
2596
|
+
- inactiveColor: 未激活颜色
|
|
2363
2597
|
- Optional
|
|
2364
|
-
-
|
|
2598
|
+
- String
|
|
2599
|
+
- completedColor: 已完成颜色
|
|
2600
|
+
- Optional
|
|
2601
|
+
- String
|
|
2602
|
+
- circleSize: 圆圈大小
|
|
2603
|
+
- Optional
|
|
2604
|
+
- Number
|
|
2365
2605
|
|
|
2366
2606
|
|
|
2367
2607
|
|
|
2368
|
-
#### `
|
|
2608
|
+
#### `add_poster_timeline`
|
|
2369
2609
|
|
|
2370
|
-
|
|
2610
|
+
添加时间线组件
|
|
2371
2611
|
|
|
2372
2612
|
**参数:**
|
|
2373
2613
|
|
|
2374
|
-
-
|
|
2375
|
-
-
|
|
2376
|
-
-
|
|
2377
|
-
|
|
2378
|
-
- radius: 圆环半径
|
|
2614
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2615
|
+
- Optional
|
|
2616
|
+
- String
|
|
2617
|
+
- x: X坐标
|
|
2379
2618
|
- Number
|
|
2380
|
-
-
|
|
2619
|
+
- y: Y坐标
|
|
2381
2620
|
- Number
|
|
2382
|
-
-
|
|
2621
|
+
- width: 总宽度
|
|
2383
2622
|
- Optional
|
|
2384
2623
|
- Number
|
|
2385
|
-
-
|
|
2386
|
-
-
|
|
2387
|
-
-
|
|
2388
|
-
-
|
|
2624
|
+
- items: 时间线项目数组
|
|
2625
|
+
- Array
|
|
2626
|
+
- date
|
|
2627
|
+
- Optional
|
|
2628
|
+
- String
|
|
2629
|
+
- title
|
|
2630
|
+
- String
|
|
2631
|
+
- description
|
|
2632
|
+
- Optional
|
|
2633
|
+
- String
|
|
2634
|
+
- active
|
|
2635
|
+
- Optional
|
|
2636
|
+
- Boolean
|
|
2637
|
+
- lineColor: 线条颜色
|
|
2389
2638
|
- Optional
|
|
2390
2639
|
- String
|
|
2391
|
-
-
|
|
2640
|
+
- dotColor: 点颜色
|
|
2392
2641
|
- Optional
|
|
2393
2642
|
- String
|
|
2394
|
-
-
|
|
2643
|
+
- dotSize: 点大小
|
|
2395
2644
|
- Optional
|
|
2396
|
-
-
|
|
2397
|
-
-
|
|
2645
|
+
- Number
|
|
2646
|
+
- gap: 项目间距
|
|
2398
2647
|
- Optional
|
|
2399
|
-
-
|
|
2648
|
+
- Number
|
|
2400
2649
|
|
|
2401
2650
|
|
|
2402
2651
|
|
|
2403
|
-
#### `
|
|
2652
|
+
#### `add_poster_list_item`
|
|
2404
2653
|
|
|
2405
|
-
|
|
2654
|
+
添加列表项组件
|
|
2406
2655
|
|
|
2407
2656
|
**参数:**
|
|
2408
2657
|
|
|
2409
|
-
-
|
|
2658
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2659
|
+
- Optional
|
|
2660
|
+
- String
|
|
2661
|
+
- x: X坐标
|
|
2410
2662
|
- Number
|
|
2411
2663
|
- y: Y坐标
|
|
2412
2664
|
- Number
|
|
2413
|
-
-
|
|
2414
|
-
-
|
|
2415
|
-
-
|
|
2665
|
+
- width: 宽度
|
|
2666
|
+
- Optional
|
|
2667
|
+
- Number
|
|
2668
|
+
- icon: 图标
|
|
2416
2669
|
- Optional
|
|
2417
2670
|
- String
|
|
2418
|
-
-
|
|
2671
|
+
- title: 标题
|
|
2419
2672
|
- Optional
|
|
2420
2673
|
- String
|
|
2421
|
-
-
|
|
2674
|
+
- description: 描述
|
|
2422
2675
|
- Optional
|
|
2423
2676
|
- String
|
|
2424
|
-
-
|
|
2677
|
+
- badge: 徽章文字
|
|
2425
2678
|
- Optional
|
|
2426
|
-
-
|
|
2427
|
-
-
|
|
2679
|
+
- String
|
|
2680
|
+
- badgeColor: 徽章颜色
|
|
2428
2681
|
- Optional
|
|
2429
|
-
-
|
|
2430
|
-
-
|
|
2682
|
+
- String
|
|
2683
|
+
- iconColor: 图标颜色
|
|
2431
2684
|
- Optional
|
|
2432
|
-
-
|
|
2433
|
-
-
|
|
2685
|
+
- String
|
|
2686
|
+
- background: 背景色
|
|
2687
|
+
- Optional
|
|
2688
|
+
- String
|
|
2689
|
+
- borderColor: 边框颜色
|
|
2434
2690
|
- Optional
|
|
2435
2691
|
- String
|
|
2692
|
+
- height: 高度
|
|
2693
|
+
- Optional
|
|
2694
|
+
- Number
|
|
2695
|
+
- radius: 圆角半径
|
|
2696
|
+
- Optional
|
|
2697
|
+
- Number
|
|
2436
2698
|
|
|
2437
2699
|
|
|
2438
2700
|
|
|
2439
|
-
#### `
|
|
2701
|
+
#### `add_poster_notification`
|
|
2440
2702
|
|
|
2441
|
-
|
|
2703
|
+
添加通知提示组件
|
|
2442
2704
|
|
|
2443
2705
|
**参数:**
|
|
2444
2706
|
|
|
2445
|
-
-
|
|
2446
|
-
-
|
|
2707
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2708
|
+
- Optional
|
|
2709
|
+
- String
|
|
2447
2710
|
- x: X坐标
|
|
2448
2711
|
- Number
|
|
2449
2712
|
- y: Y坐标
|
|
2450
2713
|
- Number
|
|
2451
2714
|
- width: 宽度
|
|
2452
|
-
-
|
|
2453
|
-
-
|
|
2454
|
-
|
|
2455
|
-
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
- String
|
|
2459
|
-
- value: 数值
|
|
2460
|
-
- Number
|
|
2461
|
-
- color: 颜色
|
|
2462
|
-
- Optional
|
|
2463
|
-
- String
|
|
2464
|
-
- barColor: 默认柱状颜色
|
|
2715
|
+
- Optional
|
|
2716
|
+
- Number
|
|
2717
|
+
- type: 类型
|
|
2718
|
+
- Optional
|
|
2719
|
+
- Enum: success, warning, error, info
|
|
2720
|
+
- title: 标题
|
|
2465
2721
|
- Optional
|
|
2466
2722
|
- String
|
|
2467
|
-
-
|
|
2723
|
+
- message: 消息内容
|
|
2468
2724
|
- Optional
|
|
2469
|
-
-
|
|
2470
|
-
-
|
|
2725
|
+
- String
|
|
2726
|
+
- showIcon: 是否显示图标
|
|
2471
2727
|
- Optional
|
|
2472
2728
|
- Boolean
|
|
2729
|
+
- radius: 圆角半径
|
|
2730
|
+
- Optional
|
|
2731
|
+
- Number
|
|
2473
2732
|
|
|
2474
2733
|
|
|
2475
2734
|
|
|
2476
|
-
#### `
|
|
2735
|
+
#### `add_poster_image_frame`
|
|
2477
2736
|
|
|
2478
|
-
|
|
2737
|
+
添加带装饰边框的图片框组件
|
|
2479
2738
|
|
|
2480
2739
|
**参数:**
|
|
2481
2740
|
|
|
2482
|
-
-
|
|
2741
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2742
|
+
- Optional
|
|
2743
|
+
- String
|
|
2744
|
+
- src: 图片路径或URL
|
|
2483
2745
|
- String
|
|
2484
|
-
-
|
|
2746
|
+
- x: X坐标
|
|
2485
2747
|
- Number
|
|
2486
|
-
-
|
|
2748
|
+
- y: Y坐标
|
|
2487
2749
|
- Number
|
|
2488
|
-
-
|
|
2750
|
+
- width: 图片宽度
|
|
2751
|
+
- Number
|
|
2752
|
+
- height: 图片高度
|
|
2753
|
+
- Number
|
|
2754
|
+
- borderColor: 边框颜色
|
|
2489
2755
|
- Optional
|
|
2490
2756
|
- String
|
|
2491
|
-
-
|
|
2757
|
+
- borderWidth: 边框宽度
|
|
2492
2758
|
- Optional
|
|
2493
2759
|
- Number
|
|
2494
|
-
-
|
|
2760
|
+
- outerColor: 外边框颜色
|
|
2495
2761
|
- Optional
|
|
2496
2762
|
- String
|
|
2497
|
-
-
|
|
2763
|
+
- outerWidth: 外边框宽度
|
|
2498
2764
|
- Optional
|
|
2499
2765
|
- Number
|
|
2500
|
-
-
|
|
2766
|
+
- shadowBlur: 阴影模糊
|
|
2501
2767
|
- Optional
|
|
2502
2768
|
- Number
|
|
2503
|
-
-
|
|
2769
|
+
- shadowOffsetX: 阴影X偏移
|
|
2504
2770
|
- Optional
|
|
2505
|
-
-
|
|
2771
|
+
- Number
|
|
2772
|
+
- shadowOffsetY: 阴影Y偏移
|
|
2773
|
+
- Optional
|
|
2774
|
+
- Number
|
|
2775
|
+
- shadowColor: 阴影颜色
|
|
2776
|
+
- Optional
|
|
2777
|
+
- String
|
|
2778
|
+
- radius: 圆角半径
|
|
2779
|
+
- Optional
|
|
2780
|
+
- Number
|
|
2781
|
+
- overlayColor: 叠加颜色
|
|
2782
|
+
- Optional
|
|
2783
|
+
- String
|
|
2784
|
+
- overlayOpacity: 叠加透明度
|
|
2785
|
+
- Optional
|
|
2786
|
+
- Number
|
|
2787
|
+
- fit: 图片填充方式
|
|
2788
|
+
- Optional
|
|
2789
|
+
- Enum: cover, contain, fill
|
|
2506
2790
|
|
|
2507
2791
|
|
|
2508
2792
|
|
|
2509
|
-
#### `
|
|
2793
|
+
#### `add_poster_columns`
|
|
2510
2794
|
|
|
2511
|
-
|
|
2795
|
+
添加分栏布局组件(左右分栏、三栏等)
|
|
2512
2796
|
|
|
2513
2797
|
**参数:**
|
|
2514
2798
|
|
|
2515
|
-
-
|
|
2799
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2800
|
+
- Optional
|
|
2801
|
+
- String
|
|
2802
|
+
- x: 起始X坐标
|
|
2516
2803
|
- Number
|
|
2517
|
-
- y: Y坐标
|
|
2804
|
+
- y: 起始Y坐标
|
|
2518
2805
|
- Number
|
|
2519
|
-
- width:
|
|
2806
|
+
- width: 总宽度
|
|
2520
2807
|
- Number
|
|
2521
|
-
-
|
|
2522
|
-
-
|
|
2523
|
-
|
|
2524
|
-
- String
|
|
2525
|
-
- width: 列宽
|
|
2526
|
-
- Optional
|
|
2527
|
-
- Number
|
|
2528
|
-
- align: 对齐
|
|
2529
|
-
- Optional
|
|
2530
|
-
- Enum: left, center, right
|
|
2531
|
-
- rows: 行数据
|
|
2532
|
-
- Array
|
|
2533
|
-
- Array
|
|
2534
|
-
- String
|
|
2535
|
-
- rowHeight: 行高
|
|
2808
|
+
- height: 总高度
|
|
2809
|
+
- Number
|
|
2810
|
+
- columns: 列数,默认2
|
|
2536
2811
|
- Optional
|
|
2537
2812
|
- Number
|
|
2538
|
-
-
|
|
2813
|
+
- gap: 列间距,默认20
|
|
2539
2814
|
- Optional
|
|
2540
|
-
-
|
|
2541
|
-
-
|
|
2815
|
+
- Number
|
|
2816
|
+
- background: 背景色
|
|
2542
2817
|
- Optional
|
|
2543
2818
|
- String
|
|
2544
2819
|
- borderColor: 边框颜色
|
|
2545
2820
|
- Optional
|
|
2546
2821
|
- String
|
|
2547
|
-
-
|
|
2822
|
+
- borderWidth: 边框宽度
|
|
2548
2823
|
- Optional
|
|
2549
2824
|
- Number
|
|
2550
|
-
-
|
|
2825
|
+
- radius: 圆角半径
|
|
2551
2826
|
- Optional
|
|
2552
|
-
-
|
|
2827
|
+
- Number
|
|
2828
|
+
- direction: 排列方向
|
|
2829
|
+
- Optional
|
|
2830
|
+
- Enum: horizontal, vertical
|
|
2831
|
+
- align: 垂直对齐
|
|
2832
|
+
- Optional
|
|
2833
|
+
- Enum: top, center, bottom
|
|
2553
2834
|
|
|
2554
2835
|
|
|
2555
2836
|
|
|
2556
|
-
#### `
|
|
2837
|
+
#### `add_poster_grid`
|
|
2557
2838
|
|
|
2558
|
-
|
|
2839
|
+
添加网格布局组件(任意行列)
|
|
2559
2840
|
|
|
2560
2841
|
**参数:**
|
|
2561
2842
|
|
|
2562
|
-
-
|
|
2843
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2844
|
+
- Optional
|
|
2845
|
+
- String
|
|
2846
|
+
- x: 起始X坐标
|
|
2563
2847
|
- Number
|
|
2564
|
-
- y: Y坐标
|
|
2848
|
+
- y: 起始Y坐标
|
|
2565
2849
|
- Number
|
|
2566
|
-
- width:
|
|
2850
|
+
- width: 总宽度
|
|
2851
|
+
- Number
|
|
2852
|
+
- height: 总高度
|
|
2853
|
+
- Number
|
|
2854
|
+
- columns: 列数,默认3
|
|
2567
2855
|
- Optional
|
|
2568
2856
|
- Number
|
|
2569
|
-
-
|
|
2857
|
+
- rows: 行数,默认2
|
|
2570
2858
|
- Optional
|
|
2571
2859
|
- Number
|
|
2572
|
-
-
|
|
2573
|
-
- Optional
|
|
2574
|
-
- String
|
|
2575
|
-
- fontSize: 字体大小
|
|
2860
|
+
- gapX: 水平间距,默认20
|
|
2576
2861
|
- Optional
|
|
2577
2862
|
- Number
|
|
2578
|
-
-
|
|
2863
|
+
- gapY: 垂直间距,默认20
|
|
2579
2864
|
- Optional
|
|
2580
|
-
-
|
|
2581
|
-
-
|
|
2865
|
+
- Number
|
|
2866
|
+
- background: 背景色
|
|
2582
2867
|
- Optional
|
|
2583
2868
|
- String
|
|
2584
2869
|
- borderColor: 边框颜色
|
|
@@ -2587,294 +2872,330 @@ Ambient Agent - 持续后台运行的智能代理,用于主动监控和执行
|
|
|
2587
2872
|
- borderWidth: 边框宽度
|
|
2588
2873
|
- Optional
|
|
2589
2874
|
- Number
|
|
2590
|
-
- radius:
|
|
2875
|
+
- radius: 圆角半径
|
|
2591
2876
|
- Optional
|
|
2592
2877
|
- Number
|
|
2593
|
-
-
|
|
2594
|
-
- Optional
|
|
2595
|
-
- color
|
|
2596
|
-
- Optional
|
|
2597
|
-
- String
|
|
2598
|
-
- blur
|
|
2599
|
-
- Optional
|
|
2600
|
-
- Number
|
|
2601
|
-
- offsetX
|
|
2602
|
-
- Optional
|
|
2603
|
-
- Number
|
|
2604
|
-
- offsetY
|
|
2605
|
-
- Optional
|
|
2606
|
-
- Number
|
|
2607
|
-
- gradient
|
|
2608
|
-
- Optional
|
|
2609
|
-
- colors: 渐变颜色数组
|
|
2610
|
-
- Array
|
|
2611
|
-
- String
|
|
2612
|
-
- opacity: 透明度
|
|
2878
|
+
- direction: 排列方向
|
|
2613
2879
|
- Optional
|
|
2614
|
-
-
|
|
2880
|
+
- Enum: row, column
|
|
2615
2881
|
|
|
2616
2882
|
|
|
2617
2883
|
|
|
2618
|
-
#### `
|
|
2884
|
+
#### `add_poster_star`
|
|
2619
2885
|
|
|
2620
|
-
|
|
2886
|
+
添加星形/多角形装饰
|
|
2621
2887
|
|
|
2622
2888
|
**参数:**
|
|
2623
2889
|
|
|
2624
|
-
-
|
|
2890
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2891
|
+
- Optional
|
|
2892
|
+
- String
|
|
2893
|
+
- cx: 中心X坐标
|
|
2625
2894
|
- Number
|
|
2626
|
-
-
|
|
2895
|
+
- cy: 中心Y坐标
|
|
2627
2896
|
- Number
|
|
2628
|
-
-
|
|
2897
|
+
- points: 星形点数,默认5
|
|
2629
2898
|
- Optional
|
|
2630
2899
|
- Number
|
|
2631
|
-
-
|
|
2632
|
-
- String
|
|
2633
|
-
- color: 颜色
|
|
2900
|
+
- innerRadius: 内半径
|
|
2634
2901
|
- Optional
|
|
2635
|
-
-
|
|
2636
|
-
-
|
|
2902
|
+
- Number
|
|
2903
|
+
- outerRadius: 外半径
|
|
2904
|
+
- Number
|
|
2905
|
+
- fill: 填充颜色
|
|
2637
2906
|
- Optional
|
|
2638
2907
|
- String
|
|
2639
|
-
-
|
|
2908
|
+
- stroke: 边框颜色
|
|
2640
2909
|
- Optional
|
|
2641
2910
|
- String
|
|
2642
|
-
-
|
|
2911
|
+
- strokeWidth: 边框宽度
|
|
2643
2912
|
- Optional
|
|
2644
2913
|
- Number
|
|
2645
|
-
-
|
|
2914
|
+
- opacity: 透明度 0-1
|
|
2646
2915
|
- Optional
|
|
2647
2916
|
- Number
|
|
2648
|
-
-
|
|
2649
|
-
- Optional
|
|
2650
|
-
- color
|
|
2651
|
-
- Optional
|
|
2652
|
-
- String
|
|
2653
|
-
- blur
|
|
2654
|
-
- Optional
|
|
2655
|
-
- Number
|
|
2656
|
-
- offsetX
|
|
2657
|
-
- Optional
|
|
2658
|
-
- Number
|
|
2659
|
-
- offsetY
|
|
2660
|
-
- Optional
|
|
2661
|
-
- Number
|
|
2662
|
-
- opacity: 透明度
|
|
2917
|
+
- rotation: 旋转角度
|
|
2663
2918
|
- Optional
|
|
2664
2919
|
- Number
|
|
2665
2920
|
|
|
2666
2921
|
|
|
2667
2922
|
|
|
2668
|
-
#### `
|
|
2923
|
+
#### `add_poster_arrow`
|
|
2669
2924
|
|
|
2670
|
-
|
|
2925
|
+
添加箭头指示
|
|
2671
2926
|
|
|
2672
2927
|
**参数:**
|
|
2673
2928
|
|
|
2674
|
-
-
|
|
2929
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2930
|
+
- Optional
|
|
2931
|
+
- String
|
|
2932
|
+
- x1: 起点X
|
|
2675
2933
|
- Number
|
|
2676
|
-
-
|
|
2934
|
+
- y1: 起点Y
|
|
2677
2935
|
- Number
|
|
2678
|
-
-
|
|
2936
|
+
- x2: 终点X
|
|
2679
2937
|
- Number
|
|
2680
|
-
-
|
|
2938
|
+
- y2: 终点Y
|
|
2681
2939
|
- Number
|
|
2682
|
-
-
|
|
2683
|
-
- Optional
|
|
2684
|
-
- Enum: simple, double, dashed, dotted, corner, vintage, modern, floral
|
|
2685
|
-
- color: 边框颜色
|
|
2940
|
+
- color: 箭头颜色
|
|
2686
2941
|
- Optional
|
|
2687
2942
|
- String
|
|
2688
|
-
-
|
|
2943
|
+
- strokeWidth: 线宽
|
|
2689
2944
|
- Optional
|
|
2690
2945
|
- Number
|
|
2691
|
-
-
|
|
2946
|
+
- headSize: 箭头头部大小
|
|
2692
2947
|
- Optional
|
|
2693
2948
|
- Number
|
|
2694
|
-
-
|
|
2949
|
+
- style: 样式
|
|
2695
2950
|
- Optional
|
|
2696
|
-
-
|
|
2697
|
-
-
|
|
2951
|
+
- Enum: solid, dashed
|
|
2952
|
+
- direction: 箭头方向
|
|
2698
2953
|
- Optional
|
|
2699
|
-
-
|
|
2954
|
+
- Enum: end, start, both
|
|
2700
2955
|
|
|
2701
2956
|
|
|
2702
2957
|
|
|
2703
|
-
#### `
|
|
2958
|
+
#### `add_poster_progress_circle`
|
|
2704
2959
|
|
|
2705
|
-
|
|
2960
|
+
添加环形进度条组件
|
|
2706
2961
|
|
|
2707
2962
|
**参数:**
|
|
2708
2963
|
|
|
2709
|
-
-
|
|
2964
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2965
|
+
- Optional
|
|
2966
|
+
- String
|
|
2967
|
+
- cx: 圆心X坐标
|
|
2710
2968
|
- Number
|
|
2711
|
-
-
|
|
2969
|
+
- cy: 圆心Y坐标
|
|
2712
2970
|
- Number
|
|
2713
|
-
-
|
|
2971
|
+
- radius: 圆环半径
|
|
2972
|
+
- Number
|
|
2973
|
+
- value: 进度值 0-100
|
|
2974
|
+
- Number
|
|
2975
|
+
- strokeWidth: 环宽度
|
|
2714
2976
|
- Optional
|
|
2715
2977
|
- Number
|
|
2716
|
-
-
|
|
2978
|
+
- trackColor: 轨道颜色
|
|
2717
2979
|
- Optional
|
|
2718
|
-
-
|
|
2719
|
-
-
|
|
2720
|
-
- String
|
|
2721
|
-
- fontSize: 字体大小
|
|
2980
|
+
- String
|
|
2981
|
+
- fillColor: 进度颜色
|
|
2722
2982
|
- Optional
|
|
2723
|
-
-
|
|
2724
|
-
-
|
|
2983
|
+
- String
|
|
2984
|
+
- backgroundColor: 背景填充色
|
|
2725
2985
|
- Optional
|
|
2726
2986
|
- String
|
|
2727
|
-
-
|
|
2987
|
+
- showLabel: 是否显示百分比标签
|
|
2988
|
+
- Optional
|
|
2989
|
+
- Boolean
|
|
2990
|
+
- labelColor: 标签颜色
|
|
2728
2991
|
- Optional
|
|
2729
2992
|
- String
|
|
2730
|
-
|
|
2993
|
+
|
|
2994
|
+
|
|
2995
|
+
|
|
2996
|
+
#### `add_poster_chip`
|
|
2997
|
+
|
|
2998
|
+
添加小型信息标签组件
|
|
2999
|
+
|
|
3000
|
+
**参数:**
|
|
3001
|
+
|
|
3002
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2731
3003
|
- Optional
|
|
2732
3004
|
- String
|
|
2733
|
-
-
|
|
3005
|
+
- x: X坐标(居中)
|
|
3006
|
+
- Number
|
|
3007
|
+
- y: Y坐标
|
|
3008
|
+
- Number
|
|
3009
|
+
- text: 标签文字
|
|
3010
|
+
- String
|
|
3011
|
+
- background: 背景色
|
|
2734
3012
|
- Optional
|
|
2735
|
-
-
|
|
2736
|
-
-
|
|
3013
|
+
- String
|
|
3014
|
+
- color: 文字颜色
|
|
2737
3015
|
- Optional
|
|
2738
|
-
-
|
|
2739
|
-
-
|
|
3016
|
+
- String
|
|
3017
|
+
- borderColor: 边框颜色
|
|
2740
3018
|
- Optional
|
|
2741
|
-
-
|
|
2742
|
-
-
|
|
3019
|
+
- String
|
|
3020
|
+
- fontSize: 字体大小
|
|
2743
3021
|
- Optional
|
|
2744
|
-
-
|
|
2745
|
-
-
|
|
3022
|
+
- Number
|
|
3023
|
+
- padding: 内边距
|
|
2746
3024
|
- Optional
|
|
2747
|
-
-
|
|
2748
|
-
|
|
2749
|
-
- String
|
|
2750
|
-
- blur
|
|
2751
|
-
- Optional
|
|
2752
|
-
- Number
|
|
2753
|
-
- offsetX
|
|
2754
|
-
- Optional
|
|
2755
|
-
- Number
|
|
2756
|
-
- offsetY
|
|
2757
|
-
- Optional
|
|
2758
|
-
- Number
|
|
2759
|
-
- opacity: 透明度
|
|
3025
|
+
- Number
|
|
3026
|
+
- radius: 圆角
|
|
2760
3027
|
- Optional
|
|
2761
3028
|
- Number
|
|
3029
|
+
- icon: 前置图标 emoji
|
|
3030
|
+
- Optional
|
|
3031
|
+
- String
|
|
2762
3032
|
|
|
2763
3033
|
|
|
2764
3034
|
|
|
2765
|
-
#### `
|
|
3035
|
+
#### `add_poster_chart`
|
|
2766
3036
|
|
|
2767
|
-
|
|
3037
|
+
添加图表组件(柱状图/饼图)
|
|
2768
3038
|
|
|
2769
3039
|
**参数:**
|
|
2770
3040
|
|
|
3041
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
3042
|
+
- Optional
|
|
3043
|
+
- String
|
|
3044
|
+
- type: 图表类型
|
|
3045
|
+
- Enum: bar, pie
|
|
2771
3046
|
- x: X坐标
|
|
2772
3047
|
- Number
|
|
2773
3048
|
- y: Y坐标
|
|
2774
3049
|
- Number
|
|
2775
|
-
- width:
|
|
2776
|
-
-
|
|
2777
|
-
|
|
2778
|
-
-
|
|
3050
|
+
- width: 宽度
|
|
3051
|
+
- Number
|
|
3052
|
+
- height: 高度
|
|
3053
|
+
- Number
|
|
3054
|
+
- data: 数据
|
|
3055
|
+
- Array
|
|
3056
|
+
- label: 标签
|
|
3057
|
+
- String
|
|
3058
|
+
- value: 数值
|
|
3059
|
+
- Number
|
|
3060
|
+
- color: 颜色
|
|
3061
|
+
- Optional
|
|
3062
|
+
- String
|
|
3063
|
+
- barColor: 默认柱状颜色
|
|
2779
3064
|
- Optional
|
|
2780
3065
|
- String
|
|
2781
|
-
-
|
|
3066
|
+
- showLabels: 显示标签
|
|
2782
3067
|
- Optional
|
|
2783
|
-
-
|
|
2784
|
-
-
|
|
3068
|
+
- Boolean
|
|
3069
|
+
- showValues: 显示数值
|
|
2785
3070
|
- Optional
|
|
2786
|
-
-
|
|
2787
|
-
|
|
3071
|
+
- Boolean
|
|
3072
|
+
|
|
3073
|
+
|
|
3074
|
+
|
|
3075
|
+
#### `add_poster_watermark`
|
|
3076
|
+
|
|
3077
|
+
添加水印文字
|
|
3078
|
+
|
|
3079
|
+
**参数:**
|
|
3080
|
+
|
|
3081
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2788
3082
|
- Optional
|
|
2789
3083
|
- String
|
|
2790
|
-
-
|
|
3084
|
+
- text: 水印文字
|
|
3085
|
+
- String
|
|
3086
|
+
- cx: 中心X坐标
|
|
3087
|
+
- Number
|
|
3088
|
+
- cy: 中心Y坐标
|
|
3089
|
+
- Number
|
|
3090
|
+
- color: 水印颜色
|
|
2791
3091
|
- Optional
|
|
2792
3092
|
- String
|
|
2793
|
-
-
|
|
3093
|
+
- fontSize: 字体大小
|
|
2794
3094
|
- Optional
|
|
2795
3095
|
- Number
|
|
2796
|
-
-
|
|
2797
|
-
- Optional
|
|
2798
|
-
- Enum: fold, diagonal, corner
|
|
2799
|
-
- shadow
|
|
3096
|
+
- fontFamily: 字体
|
|
2800
3097
|
- Optional
|
|
2801
|
-
-
|
|
2802
|
-
- Optional
|
|
2803
|
-
- String
|
|
2804
|
-
- blur
|
|
2805
|
-
- Optional
|
|
2806
|
-
- Number
|
|
2807
|
-
- offsetX
|
|
2808
|
-
- Optional
|
|
2809
|
-
- Number
|
|
2810
|
-
- offsetY
|
|
2811
|
-
- Optional
|
|
2812
|
-
- Number
|
|
3098
|
+
- String
|
|
2813
3099
|
- opacity: 透明度
|
|
2814
3100
|
- Optional
|
|
2815
3101
|
- Number
|
|
3102
|
+
- rotation: 旋转角度
|
|
3103
|
+
- Optional
|
|
3104
|
+
- Number
|
|
3105
|
+
- align: 对齐方式
|
|
3106
|
+
- Optional
|
|
3107
|
+
- Enum: left, center, right
|
|
2816
3108
|
|
|
2817
3109
|
|
|
2818
3110
|
|
|
2819
|
-
#### `
|
|
3111
|
+
#### `add_poster_table`
|
|
2820
3112
|
|
|
2821
|
-
|
|
3113
|
+
添加表格组件
|
|
2822
3114
|
|
|
2823
3115
|
**参数:**
|
|
2824
3116
|
|
|
3117
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
3118
|
+
- Optional
|
|
3119
|
+
- String
|
|
2825
3120
|
- x: X坐标
|
|
2826
3121
|
- Number
|
|
2827
3122
|
- y: Y坐标
|
|
2828
3123
|
- Number
|
|
2829
|
-
-
|
|
3124
|
+
- width: 表格宽度
|
|
3125
|
+
- Number
|
|
3126
|
+
- columns: 列配置
|
|
3127
|
+
- Array
|
|
3128
|
+
- title: 列标题
|
|
3129
|
+
- String
|
|
3130
|
+
- width: 列宽
|
|
3131
|
+
- Optional
|
|
3132
|
+
- Number
|
|
3133
|
+
- align: 对齐
|
|
3134
|
+
- Optional
|
|
3135
|
+
- Enum: left, center, right
|
|
3136
|
+
- rows: 行数据
|
|
3137
|
+
- Array
|
|
3138
|
+
- Array
|
|
3139
|
+
- String
|
|
3140
|
+
- rowHeight: 行高
|
|
2830
3141
|
- Optional
|
|
2831
3142
|
- Number
|
|
2832
|
-
-
|
|
3143
|
+
- headerBg: 表头背景色
|
|
2833
3144
|
- Optional
|
|
2834
3145
|
- String
|
|
2835
|
-
-
|
|
2836
|
-
- Optional
|
|
2837
|
-
- Number
|
|
2838
|
-
- color: 印章颜色
|
|
3146
|
+
- headerColor: 表头文字色
|
|
2839
3147
|
- Optional
|
|
2840
3148
|
- String
|
|
2841
|
-
-
|
|
3149
|
+
- borderColor: 边框颜色
|
|
2842
3150
|
- Optional
|
|
2843
|
-
-
|
|
2844
|
-
-
|
|
3151
|
+
- String
|
|
3152
|
+
- fontSize: 字体大小
|
|
2845
3153
|
- Optional
|
|
2846
3154
|
- Number
|
|
2847
|
-
-
|
|
3155
|
+
- striped: 斑马纹
|
|
2848
3156
|
- Optional
|
|
2849
|
-
-
|
|
3157
|
+
- Boolean
|
|
2850
3158
|
|
|
2851
3159
|
|
|
2852
3160
|
|
|
2853
|
-
#### `
|
|
3161
|
+
#### `add_poster_button`
|
|
2854
3162
|
|
|
2855
|
-
|
|
3163
|
+
添加按钮组件
|
|
2856
3164
|
|
|
2857
3165
|
**参数:**
|
|
2858
3166
|
|
|
3167
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
3168
|
+
- Optional
|
|
3169
|
+
- String
|
|
2859
3170
|
- x: X坐标
|
|
2860
3171
|
- Number
|
|
2861
3172
|
- y: Y坐标
|
|
2862
3173
|
- Number
|
|
2863
|
-
-
|
|
2864
|
-
-
|
|
3174
|
+
- width: 宽度,默认200
|
|
3175
|
+
- Optional
|
|
3176
|
+
- Number
|
|
3177
|
+
- height: 高度,默认60
|
|
3178
|
+
- Optional
|
|
3179
|
+
- Number
|
|
3180
|
+
- text: 按钮文字
|
|
3181
|
+
- Optional
|
|
3182
|
+
- String
|
|
2865
3183
|
- fontSize: 字体大小
|
|
2866
3184
|
- Optional
|
|
2867
3185
|
- Number
|
|
2868
3186
|
- color: 文字颜色
|
|
2869
3187
|
- Optional
|
|
2870
3188
|
- String
|
|
2871
|
-
-
|
|
3189
|
+
- backgroundColor: 背景色
|
|
2872
3190
|
- Optional
|
|
2873
3191
|
- String
|
|
2874
|
-
-
|
|
3192
|
+
- borderColor: 边框颜色
|
|
2875
3193
|
- Optional
|
|
2876
|
-
-
|
|
2877
|
-
-
|
|
3194
|
+
- String
|
|
3195
|
+
- borderWidth: 边框宽度
|
|
3196
|
+
- Optional
|
|
3197
|
+
- Number
|
|
3198
|
+
- radius: 圆角
|
|
2878
3199
|
- Optional
|
|
2879
3200
|
- Number
|
|
2880
3201
|
- shadow
|
|
@@ -2891,698 +3212,481 @@ Ambient Agent - 持续后台运行的智能代理,用于主动监控和执行
|
|
|
2891
3212
|
- offsetY
|
|
2892
3213
|
- Optional
|
|
2893
3214
|
- Number
|
|
2894
|
-
-
|
|
3215
|
+
- gradient
|
|
2895
3216
|
- Optional
|
|
2896
|
-
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
使用组件配置一次性生成海报
|
|
2903
|
-
|
|
2904
|
-
**参数:**
|
|
2905
|
-
|
|
2906
|
-
- components: 组件配置数组
|
|
2907
|
-
- Array
|
|
2908
|
-
- type: 组件类型
|
|
2909
|
-
- Enum: background, rectangle, circle, line, polygon, text, artText, richText, image, svg, imageFrame, columns, grid, star, arrow, progressCircle, chip, chart, watermark, table, card, badge, cta, feature, featureGrid, divider, avatar, progress, rating, quote, statCard, tagCloud, stepper, timeline, listItem, notification, button, icon, qrcode, frame, bubble, ribbon, seal, highlightText, barcode
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
#### `list_poster_components`
|
|
2914
|
-
|
|
2915
|
-
列出所有可用的组件类型
|
|
3217
|
+
- colors: 渐变颜色数组
|
|
3218
|
+
- Array
|
|
3219
|
+
- String
|
|
3220
|
+
- opacity: 透明度
|
|
3221
|
+
- Optional
|
|
3222
|
+
- Number
|
|
2916
3223
|
|
|
2917
|
-
**参数:**
|
|
2918
|
-
|
|
2919
|
-
无
|
|
2920
3224
|
|
|
2921
3225
|
|
|
2922
|
-
#### `
|
|
3226
|
+
#### `add_poster_icon`
|
|
2923
3227
|
|
|
2924
|
-
|
|
3228
|
+
添加图标(emoji或图片)
|
|
2925
3229
|
|
|
2926
3230
|
**参数:**
|
|
2927
3231
|
|
|
2928
|
-
-
|
|
2929
|
-
- Enum: modern, business, social, simple, tech, gradient
|
|
2930
|
-
- title: 主标题
|
|
2931
|
-
- String
|
|
2932
|
-
- subtitle: 副标题
|
|
3232
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2933
3233
|
- Optional
|
|
2934
3234
|
- String
|
|
2935
|
-
-
|
|
3235
|
+
- x: X坐标
|
|
3236
|
+
- Number
|
|
3237
|
+
- y: Y坐标
|
|
3238
|
+
- Number
|
|
3239
|
+
- size: 图标大小,默认64
|
|
3240
|
+
- Optional
|
|
3241
|
+
- Number
|
|
3242
|
+
- icon: 图标内容(emoji或图片URL)
|
|
3243
|
+
- String
|
|
3244
|
+
- color: 颜色
|
|
2936
3245
|
- Optional
|
|
2937
3246
|
- String
|
|
2938
|
-
-
|
|
3247
|
+
- backgroundColor: 背景色
|
|
2939
3248
|
- Optional
|
|
2940
3249
|
- String
|
|
2941
|
-
-
|
|
2942
|
-
- String
|
|
2943
|
-
- outputDir: 输出目录
|
|
3250
|
+
- borderColor: 边框颜色
|
|
2944
3251
|
- Optional
|
|
2945
3252
|
- String
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
#### `list_poster_templates`
|
|
2950
|
-
|
|
2951
|
-
列出所有可用的海报模板
|
|
2952
|
-
|
|
2953
|
-
**参数:**
|
|
2954
|
-
|
|
2955
|
-
无
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
#### `export_poster_canvas`
|
|
2959
|
-
|
|
2960
|
-
导出画布为图片文件
|
|
2961
|
-
|
|
2962
|
-
**参数:**
|
|
2963
|
-
|
|
2964
|
-
- filename: 文件名(不含扩展名)
|
|
2965
|
-
- String
|
|
2966
|
-
- format: 格式,默认png
|
|
3253
|
+
- borderWidth: 边框宽度
|
|
2967
3254
|
- Optional
|
|
2968
|
-
-
|
|
2969
|
-
-
|
|
3255
|
+
- Number
|
|
3256
|
+
- radius: 圆角
|
|
2970
3257
|
- Optional
|
|
2971
3258
|
- Number
|
|
2972
|
-
-
|
|
3259
|
+
- shadow
|
|
2973
3260
|
- Optional
|
|
2974
|
-
-
|
|
3261
|
+
- color
|
|
3262
|
+
- Optional
|
|
3263
|
+
- String
|
|
3264
|
+
- blur
|
|
3265
|
+
- Optional
|
|
3266
|
+
- Number
|
|
3267
|
+
- offsetX
|
|
3268
|
+
- Optional
|
|
3269
|
+
- Number
|
|
3270
|
+
- offsetY
|
|
3271
|
+
- Optional
|
|
3272
|
+
- Number
|
|
3273
|
+
- opacity: 透明度
|
|
3274
|
+
- Optional
|
|
3275
|
+
- Number
|
|
2975
3276
|
|
|
2976
3277
|
|
|
2977
3278
|
|
|
2978
|
-
#### `
|
|
3279
|
+
#### `add_poster_frame`
|
|
2979
3280
|
|
|
2980
|
-
|
|
3281
|
+
添加装饰边框
|
|
2981
3282
|
|
|
2982
3283
|
**参数:**
|
|
2983
3284
|
|
|
2984
|
-
-
|
|
3285
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
2985
3286
|
- Optional
|
|
2986
|
-
-
|
|
2987
|
-
-
|
|
3287
|
+
- String
|
|
3288
|
+
- x: X坐标
|
|
3289
|
+
- Number
|
|
3290
|
+
- y: Y坐标
|
|
3291
|
+
- Number
|
|
3292
|
+
- width: 宽度
|
|
3293
|
+
- Number
|
|
3294
|
+
- height: 高度
|
|
3295
|
+
- Number
|
|
3296
|
+
- style: 边框样式
|
|
3297
|
+
- Optional
|
|
3298
|
+
- Enum: simple, double, dashed, dotted, corner, vintage, modern, floral
|
|
3299
|
+
- color: 边框颜色
|
|
3300
|
+
- Optional
|
|
3301
|
+
- String
|
|
3302
|
+
- borderWidth: 边框宽度
|
|
3303
|
+
- Optional
|
|
3304
|
+
- Number
|
|
3305
|
+
- radius: 圆角
|
|
3306
|
+
- Optional
|
|
3307
|
+
- Number
|
|
3308
|
+
- padding: 内边距
|
|
3309
|
+
- Optional
|
|
3310
|
+
- Number
|
|
3311
|
+
- opacity: 透明度
|
|
2988
3312
|
- Optional
|
|
2989
3313
|
- Number
|
|
2990
3314
|
|
|
2991
3315
|
|
|
2992
3316
|
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
主动思考插件,支持 LLM 自我唤醒和持续思考
|
|
2996
|
-
|
|
2997
|
-
**版本:** 1.0.0
|
|
2998
|
-
|
|
2999
|
-
#### `think_now`
|
|
3317
|
+
#### `add_poster_bubble`
|
|
3000
3318
|
|
|
3001
|
-
|
|
3319
|
+
添加对话气泡
|
|
3002
3320
|
|
|
3003
3321
|
**参数:**
|
|
3004
3322
|
|
|
3005
|
-
-
|
|
3323
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
3006
3324
|
- Optional
|
|
3007
3325
|
- String
|
|
3008
|
-
-
|
|
3326
|
+
- x: X坐标
|
|
3327
|
+
- Number
|
|
3328
|
+
- y: Y坐标
|
|
3329
|
+
- Number
|
|
3330
|
+
- width: 宽度,默认300
|
|
3009
3331
|
- Optional
|
|
3010
|
-
-
|
|
3011
|
-
-
|
|
3332
|
+
- Number
|
|
3333
|
+
- height: 高度,默认100
|
|
3012
3334
|
- Optional
|
|
3013
3335
|
- Number
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
#### `think_continue`
|
|
3018
|
-
|
|
3019
|
-
让 LLM 持续思考模式(后台自动思考,定期输出结果)
|
|
3020
|
-
|
|
3021
|
-
**参数:**
|
|
3022
|
-
|
|
3023
|
-
- interval: 思考间隔毫秒,默认 30000 (30秒)
|
|
3336
|
+
- text: 气泡文字
|
|
3337
|
+
- String
|
|
3338
|
+
- fontSize: 字体大小
|
|
3024
3339
|
- Optional
|
|
3025
3340
|
- Number
|
|
3026
|
-
-
|
|
3341
|
+
- color: 文字颜色
|
|
3027
3342
|
- Optional
|
|
3028
3343
|
- String
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
**参数:**
|
|
3037
|
-
|
|
3038
|
-
无
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
#### `think_get_thoughts`
|
|
3042
|
-
|
|
3043
|
-
获取思考历史记录
|
|
3044
|
-
|
|
3045
|
-
**参数:**
|
|
3046
|
-
|
|
3047
|
-
- limit: 返回条数,默认 10
|
|
3344
|
+
- backgroundColor: 背景色
|
|
3345
|
+
- Optional
|
|
3346
|
+
- String
|
|
3347
|
+
- borderColor: 边框颜色
|
|
3348
|
+
- Optional
|
|
3349
|
+
- String
|
|
3350
|
+
- borderWidth: 边框宽度
|
|
3048
3351
|
- Optional
|
|
3049
3352
|
- Number
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
### mcp
|
|
3054
|
-
|
|
3055
|
-
MCP (Model Context Protocol) 执行器
|
|
3056
|
-
|
|
3057
|
-
**版本:** 1.0.0
|
|
3058
|
-
|
|
3059
|
-
#### `MiniMax_web_search`
|
|
3060
|
-
|
|
3061
|
-
[MiniMax]
|
|
3062
|
-
|
|
3063
|
-
You MUST use this tool whenever you need to search for real-time or external information on the web.
|
|
3064
|
-
|
|
3065
|
-
A web search API that works just like Google Search.
|
|
3066
|
-
|
|
3067
|
-
Args:
|
|
3068
|
-
query (str): The search query. Aim for 3-5 keywords for best results. For time-sensitive topics, include the current date (e.g. `latest iPhone 2025`).
|
|
3069
|
-
|
|
3070
|
-
Search Strategy:
|
|
3071
|
-
- If no useful results are returned, try rephrasing your query with different keywords.
|
|
3072
|
-
|
|
3073
|
-
Returns:
|
|
3074
|
-
A JSON object containing the search results, structured as follows:
|
|
3075
|
-
{
|
|
3076
|
-
"organic": [
|
|
3077
|
-
{
|
|
3078
|
-
"title": "string - The title of the search result",
|
|
3079
|
-
"link": "string - The URL link to the result",
|
|
3080
|
-
"snippet": "string - A brief description or excerpt",
|
|
3081
|
-
"date": "string - The date of the result"
|
|
3082
|
-
}
|
|
3083
|
-
],
|
|
3084
|
-
"related_searches": [
|
|
3085
|
-
{
|
|
3086
|
-
"query": "string - A related search query suggestion"
|
|
3087
|
-
}
|
|
3088
|
-
],
|
|
3089
|
-
"base_resp": {
|
|
3090
|
-
"status_code": "int - Response status code",
|
|
3091
|
-
"status_msg": "string - Response status message"
|
|
3092
|
-
}
|
|
3093
|
-
}
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
**参数:**
|
|
3097
|
-
|
|
3098
|
-
- query
|
|
3099
|
-
- String
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
#### `MiniMax_understand_image`
|
|
3106
|
-
|
|
3107
|
-
[MiniMax]
|
|
3108
|
-
|
|
3109
|
-
You MUST use this tool whenever you need to analyze, describe, or extract information from an image,
|
|
3110
|
-
including when you get an image from user input or any task-related image.
|
|
3111
|
-
|
|
3112
|
-
An LLM-powered vision tool that can analyze and interpret image content from local files or URLs based on your instructions.
|
|
3113
|
-
Only JPEG, PNG, and WebP formats are supported. Other formats (e.g. PDF, GIF, PSD, SVG) are not supported.
|
|
3114
|
-
|
|
3115
|
-
Args:
|
|
3116
|
-
prompt (str): A text prompt describing what you want to analyze or extract from the image.
|
|
3117
|
-
image_source (str): The location of the image to analyze.
|
|
3118
|
-
Accepts:
|
|
3119
|
-
- HTTP/HTTPS URL: "https://example.com/image.jpg"
|
|
3120
|
-
- Local file path:
|
|
3121
|
-
- Relative path: "images/photo.png"
|
|
3122
|
-
- Absolute path: "/Users/username/Documents/image.jpg"
|
|
3123
|
-
IMPORTANT: If the file path starts with an @ symbol, you MUST strip the @ prefix before passing it to this function.
|
|
3124
|
-
For example:
|
|
3125
|
-
- "@Documents/photo.jpg" → "Documents/photo.jpg"
|
|
3126
|
-
- "@/Users/username/image.png" → "/Users/username/image.png"
|
|
3127
|
-
Supported formats: JPEG, PNG, WebP
|
|
3128
|
-
|
|
3129
|
-
Returns:
|
|
3130
|
-
A text description of the image analysis result.
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
**参数:**
|
|
3134
|
-
|
|
3135
|
-
- prompt
|
|
3136
|
-
- String
|
|
3137
|
-
- image_source
|
|
3138
|
-
- String
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
#### `chrome-devtools_click`
|
|
3145
|
-
|
|
3146
|
-
[chrome-devtools] Clicks on the provided element
|
|
3147
|
-
|
|
3148
|
-
**参数:**
|
|
3149
|
-
|
|
3150
|
-
- uid
|
|
3151
|
-
- String
|
|
3152
|
-
- dblClick
|
|
3353
|
+
- radius: 圆角
|
|
3153
3354
|
- Optional
|
|
3154
|
-
-
|
|
3155
|
-
-
|
|
3355
|
+
- Number
|
|
3356
|
+
- tailDirection: 尾巴方向
|
|
3156
3357
|
- Optional
|
|
3157
|
-
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
#### `chrome-devtools_close_page`
|
|
3164
|
-
|
|
3165
|
-
[chrome-devtools] Closes the page by its index. The last open page cannot be closed.
|
|
3166
|
-
|
|
3167
|
-
**参数:**
|
|
3168
|
-
|
|
3169
|
-
- pageId
|
|
3170
|
-
- Number
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
#### `chrome-devtools_drag`
|
|
3177
|
-
|
|
3178
|
-
[chrome-devtools] Drag an element onto another element
|
|
3179
|
-
|
|
3180
|
-
**参数:**
|
|
3181
|
-
|
|
3182
|
-
- from_uid
|
|
3183
|
-
- String
|
|
3184
|
-
- to_uid
|
|
3185
|
-
- String
|
|
3186
|
-
- includeSnapshot
|
|
3358
|
+
- Enum: bottom, top, left, right
|
|
3359
|
+
- tailPosition: 尾巴位置
|
|
3187
3360
|
- Optional
|
|
3188
|
-
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
#### `chrome-devtools_emulate`
|
|
3195
|
-
|
|
3196
|
-
[chrome-devtools] Emulates various features on the selected page.
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
#### `chrome-devtools_evaluate_script`
|
|
3202
|
-
|
|
3203
|
-
[chrome-devtools] Evaluate a JavaScript function inside the currently selected page. Returns the response as JSON,
|
|
3204
|
-
so returned values have to be JSON-serializable.
|
|
3205
|
-
|
|
3206
|
-
**参数:**
|
|
3207
|
-
|
|
3208
|
-
- function
|
|
3209
|
-
- String
|
|
3210
|
-
- args
|
|
3361
|
+
- Enum: left, center, right
|
|
3362
|
+
- shadow
|
|
3211
3363
|
- Optional
|
|
3212
|
-
-
|
|
3213
|
-
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
- uid
|
|
3226
|
-
- String
|
|
3227
|
-
- value
|
|
3228
|
-
- String
|
|
3229
|
-
- includeSnapshot
|
|
3364
|
+
- color
|
|
3365
|
+
- Optional
|
|
3366
|
+
- String
|
|
3367
|
+
- blur
|
|
3368
|
+
- Optional
|
|
3369
|
+
- Number
|
|
3370
|
+
- offsetX
|
|
3371
|
+
- Optional
|
|
3372
|
+
- Number
|
|
3373
|
+
- offsetY
|
|
3374
|
+
- Optional
|
|
3375
|
+
- Number
|
|
3376
|
+
- opacity: 透明度
|
|
3230
3377
|
- Optional
|
|
3231
|
-
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3378
|
+
- Number
|
|
3236
3379
|
|
|
3237
|
-
|
|
3380
|
+
|
|
3238
3381
|
|
|
3239
|
-
|
|
3382
|
+
#### `add_poster_ribbon`
|
|
3240
3383
|
|
|
3241
|
-
|
|
3384
|
+
添加丝带飘带
|
|
3242
3385
|
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
- includeSnapshot
|
|
3386
|
+
**参数:**
|
|
3387
|
+
|
|
3388
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
3247
3389
|
- Optional
|
|
3248
|
-
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
#### `chrome-devtools_get_console_message`
|
|
3255
|
-
|
|
3256
|
-
[chrome-devtools] Gets a console message by its ID. You can get all messages by calling list_console_messages.
|
|
3257
|
-
|
|
3258
|
-
**参数:**
|
|
3259
|
-
|
|
3260
|
-
- msgid
|
|
3390
|
+
- String
|
|
3391
|
+
- x: X坐标
|
|
3261
3392
|
- Number
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
#### `chrome-devtools_get_network_request`
|
|
3268
|
-
|
|
3269
|
-
[chrome-devtools] Gets a network request by an optional reqid, if omitted returns the currently selected request in the DevTools Network panel.
|
|
3270
|
-
|
|
3271
|
-
**参数:**
|
|
3272
|
-
|
|
3273
|
-
- reqid
|
|
3393
|
+
- y: Y坐标
|
|
3394
|
+
- Number
|
|
3395
|
+
- width: 宽度,默认300
|
|
3274
3396
|
- Optional
|
|
3275
3397
|
- Number
|
|
3276
|
-
-
|
|
3398
|
+
- text: 丝带文字
|
|
3277
3399
|
- Optional
|
|
3278
3400
|
- String
|
|
3279
|
-
-
|
|
3401
|
+
- fontSize: 字体大小
|
|
3402
|
+
- Optional
|
|
3403
|
+
- Number
|
|
3404
|
+
- color: 文字颜色
|
|
3280
3405
|
- Optional
|
|
3281
3406
|
- String
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
#### `chrome-devtools_handle_dialog`
|
|
3288
|
-
|
|
3289
|
-
[chrome-devtools] If a browser dialog was opened, use this command to handle it
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
#### `chrome-devtools_hover`
|
|
3295
|
-
|
|
3296
|
-
[chrome-devtools] Hover over the provided element
|
|
3297
|
-
|
|
3298
|
-
**参数:**
|
|
3299
|
-
|
|
3300
|
-
- uid
|
|
3301
|
-
- String
|
|
3302
|
-
- includeSnapshot
|
|
3407
|
+
- backgroundColor: 背景色
|
|
3303
3408
|
- Optional
|
|
3304
|
-
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3409
|
+
- String
|
|
3410
|
+
- borderColor: 边框颜色
|
|
3411
|
+
- Optional
|
|
3412
|
+
- String
|
|
3413
|
+
- borderWidth: 边框宽度
|
|
3414
|
+
- Optional
|
|
3415
|
+
- Number
|
|
3416
|
+
- style: 丝带样式
|
|
3417
|
+
- Optional
|
|
3418
|
+
- Enum: fold, diagonal, corner
|
|
3419
|
+
- shadow
|
|
3420
|
+
- Optional
|
|
3421
|
+
- color
|
|
3422
|
+
- Optional
|
|
3423
|
+
- String
|
|
3424
|
+
- blur
|
|
3425
|
+
- Optional
|
|
3426
|
+
- Number
|
|
3427
|
+
- offsetX
|
|
3428
|
+
- Optional
|
|
3429
|
+
- Number
|
|
3430
|
+
- offsetY
|
|
3431
|
+
- Optional
|
|
3432
|
+
- Number
|
|
3433
|
+
- opacity: 透明度
|
|
3434
|
+
- Optional
|
|
3435
|
+
- Number
|
|
3316
3436
|
|
|
3317
|
-
|
|
3437
|
+
|
|
3318
3438
|
|
|
3319
|
-
|
|
3439
|
+
#### `add_poster_seal`
|
|
3320
3440
|
|
|
3321
|
-
|
|
3441
|
+
添加印章效果
|
|
3322
3442
|
|
|
3323
|
-
|
|
3443
|
+
**参数:**
|
|
3444
|
+
|
|
3445
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
3446
|
+
- Optional
|
|
3447
|
+
- String
|
|
3448
|
+
- x: X坐标
|
|
3449
|
+
- Number
|
|
3450
|
+
- y: Y坐标
|
|
3451
|
+
- Number
|
|
3452
|
+
- size: 印章大小,默认100
|
|
3453
|
+
- Optional
|
|
3454
|
+
- Number
|
|
3455
|
+
- text: 印章文字
|
|
3324
3456
|
- Optional
|
|
3325
|
-
-
|
|
3326
|
-
-
|
|
3457
|
+
- String
|
|
3458
|
+
- fontSize: 字体大小
|
|
3327
3459
|
- Optional
|
|
3328
3460
|
- Number
|
|
3329
|
-
-
|
|
3461
|
+
- color: 印章颜色
|
|
3330
3462
|
- Optional
|
|
3331
|
-
-
|
|
3332
|
-
|
|
3333
|
-
- includePreservedMessages
|
|
3463
|
+
- String
|
|
3464
|
+
- style: 印章形状
|
|
3334
3465
|
- Optional
|
|
3335
|
-
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
#### `chrome-devtools_list_network_requests`
|
|
3342
|
-
|
|
3343
|
-
[chrome-devtools] List all requests for the currently selected page since the last navigation.
|
|
3344
|
-
|
|
3345
|
-
**参数:**
|
|
3346
|
-
|
|
3347
|
-
- pageSize
|
|
3466
|
+
- Enum: circle, square, star, hexagon
|
|
3467
|
+
- borderWidth: 边框宽度
|
|
3348
3468
|
- Optional
|
|
3349
3469
|
- Number
|
|
3350
|
-
-
|
|
3470
|
+
- opacity: 透明度
|
|
3351
3471
|
- Optional
|
|
3352
3472
|
- Number
|
|
3353
|
-
- resourceTypes
|
|
3354
|
-
- Optional
|
|
3355
|
-
- Array
|
|
3356
|
-
- Any
|
|
3357
|
-
- includePreservedRequests
|
|
3358
|
-
- Optional
|
|
3359
|
-
- Boolean
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
#### `chrome-devtools_list_pages`
|
|
3366
|
-
|
|
3367
|
-
[chrome-devtools] Get a list of pages open in the browser.
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
3473
|
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
[chrome-devtools] Go to a URL, or back, forward, or reload. Use project URL if not specified otherwise.
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
#### `chrome-devtools_new_page`
|
|
3474
|
+
|
|
3380
3475
|
|
|
3381
|
-
|
|
3476
|
+
#### `add_poster_highlight_text`
|
|
3382
3477
|
|
|
3383
|
-
|
|
3478
|
+
添加高亮文字(荧光笔效果)
|
|
3384
3479
|
|
|
3385
|
-
|
|
3480
|
+
**参数:**
|
|
3481
|
+
|
|
3482
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
3483
|
+
- Optional
|
|
3484
|
+
- String
|
|
3485
|
+
- x: X坐标
|
|
3486
|
+
- Number
|
|
3487
|
+
- y: Y坐标
|
|
3488
|
+
- Number
|
|
3489
|
+
- text: 文字内容
|
|
3386
3490
|
- String
|
|
3387
|
-
-
|
|
3491
|
+
- fontSize: 字体大小
|
|
3388
3492
|
- Optional
|
|
3389
|
-
-
|
|
3390
|
-
-
|
|
3493
|
+
- Number
|
|
3494
|
+
- color: 文字颜色
|
|
3495
|
+
- Optional
|
|
3496
|
+
- String
|
|
3497
|
+
- highlightColor: 高亮颜色
|
|
3391
3498
|
- Optional
|
|
3392
3499
|
- String
|
|
3393
|
-
-
|
|
3500
|
+
- highlightStyle: 高亮样式
|
|
3501
|
+
- Optional
|
|
3502
|
+
- Enum: marker, underline, background, stroke, neon
|
|
3503
|
+
- strokeWidth: 描边宽度
|
|
3504
|
+
- Optional
|
|
3505
|
+
- Number
|
|
3506
|
+
- shadow
|
|
3507
|
+
- Optional
|
|
3508
|
+
- color
|
|
3509
|
+
- Optional
|
|
3510
|
+
- String
|
|
3511
|
+
- blur
|
|
3512
|
+
- Optional
|
|
3513
|
+
- Number
|
|
3514
|
+
- offsetX
|
|
3515
|
+
- Optional
|
|
3516
|
+
- Number
|
|
3517
|
+
- offsetY
|
|
3518
|
+
- Optional
|
|
3519
|
+
- Number
|
|
3520
|
+
- opacity: 透明度
|
|
3394
3521
|
- Optional
|
|
3395
3522
|
- Number
|
|
3396
3523
|
|
|
3524
|
+
|
|
3397
3525
|
|
|
3526
|
+
#### `compose_poster`
|
|
3398
3527
|
|
|
3528
|
+
使用组件配置一次性生成海报
|
|
3399
3529
|
|
|
3530
|
+
**参数:**
|
|
3531
|
+
|
|
3532
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
3533
|
+
- Optional
|
|
3534
|
+
- String
|
|
3535
|
+
- components: 组件配置数组
|
|
3536
|
+
- Array
|
|
3537
|
+
- type: 组件类型
|
|
3538
|
+
- Enum: background, rectangle, circle, line, polygon, text, artText, richText, image, svg, imageFrame, columns, grid, star, arrow, progressCircle, chip, chart, watermark, table, card, badge, cta, feature, featureGrid, divider, avatar, progress, rating, quote, statCard, tagCloud, stepper, timeline, listItem, notification, button, icon, frame, bubble, ribbon, seal, highlightText
|
|
3400
3539
|
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
[chrome-devtools] Provides more detailed information on a specific Performance Insight of an insight set that was highlighted in the results of a trace recording.
|
|
3404
|
-
|
|
3405
|
-
**参数:**
|
|
3406
|
-
|
|
3407
|
-
- insightSetId
|
|
3408
|
-
- String
|
|
3409
|
-
- insightName
|
|
3410
|
-
- String
|
|
3411
|
-
|
|
3412
|
-
|
|
3540
|
+
|
|
3413
3541
|
|
|
3542
|
+
#### `list_poster_components`
|
|
3414
3543
|
|
|
3544
|
+
列出所有可用的组件类型
|
|
3415
3545
|
|
|
3416
|
-
|
|
3546
|
+
**参数:**
|
|
3547
|
+
|
|
3548
|
+
无
|
|
3549
|
+
|
|
3417
3550
|
|
|
3418
|
-
|
|
3551
|
+
#### `generate_poster`
|
|
3419
3552
|
|
|
3420
|
-
|
|
3553
|
+
使用预设模板一键生成海报
|
|
3421
3554
|
|
|
3422
|
-
|
|
3555
|
+
**参数:**
|
|
3556
|
+
|
|
3557
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
3423
3558
|
- Optional
|
|
3424
|
-
-
|
|
3425
|
-
-
|
|
3559
|
+
- String
|
|
3560
|
+
- template: 模板类型
|
|
3561
|
+
- Enum: modern, business, social, simple, tech, gradient
|
|
3562
|
+
- title: 主标题
|
|
3563
|
+
- String
|
|
3564
|
+
- subtitle: 副标题
|
|
3426
3565
|
- Optional
|
|
3427
|
-
-
|
|
3428
|
-
-
|
|
3566
|
+
- String
|
|
3567
|
+
- background: 背景色
|
|
3429
3568
|
- Optional
|
|
3430
3569
|
- String
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
#### `chrome-devtools_performance_stop_trace`
|
|
3437
|
-
|
|
3438
|
-
[chrome-devtools] Stop the active performance trace recording on the selected webpage.
|
|
3439
|
-
|
|
3440
|
-
**参数:**
|
|
3441
|
-
|
|
3442
|
-
- filePath
|
|
3570
|
+
- accentColor: 强调色
|
|
3443
3571
|
- Optional
|
|
3444
3572
|
- String
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
#### `chrome-devtools_press_key`
|
|
3451
|
-
|
|
3452
|
-
[chrome-devtools] Press a key or key combination. Use this when other input methods like fill() cannot be used (e.g., keyboard shortcuts, navigation keys, or special key combinations).
|
|
3453
|
-
|
|
3454
|
-
**参数:**
|
|
3455
|
-
|
|
3456
|
-
- key
|
|
3573
|
+
- output: 输出文件名
|
|
3457
3574
|
- String
|
|
3458
|
-
-
|
|
3575
|
+
- outputDir: 输出目录
|
|
3459
3576
|
- Optional
|
|
3460
|
-
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
#### `chrome-devtools_resize_page`
|
|
3467
|
-
|
|
3468
|
-
[chrome-devtools] Resizes the selected page's window so that the page has specified dimension
|
|
3469
|
-
|
|
3470
|
-
**参数:**
|
|
3471
|
-
|
|
3472
|
-
- width
|
|
3473
|
-
- Number
|
|
3474
|
-
- height
|
|
3475
|
-
- Number
|
|
3476
|
-
|
|
3577
|
+
- String
|
|
3477
3578
|
|
|
3579
|
+
|
|
3478
3580
|
|
|
3581
|
+
#### `list_poster_templates`
|
|
3479
3582
|
|
|
3583
|
+
列出所有可用的海报模板
|
|
3480
3584
|
|
|
3481
|
-
|
|
3585
|
+
**参数:**
|
|
3586
|
+
|
|
3587
|
+
无
|
|
3588
|
+
|
|
3482
3589
|
|
|
3483
|
-
|
|
3590
|
+
#### `export_poster_canvas`
|
|
3484
3591
|
|
|
3485
|
-
|
|
3592
|
+
导出画布为图片文件
|
|
3486
3593
|
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
-
|
|
3594
|
+
**参数:**
|
|
3595
|
+
|
|
3596
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
3490
3597
|
- Optional
|
|
3491
|
-
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
#### `chrome-devtools_take_memory_snapshot`
|
|
3498
|
-
|
|
3499
|
-
[chrome-devtools] Capture a heap snapshot of the currently selected page. Use to analyze the memory distribution of JavaScript objects and debug memory leaks.
|
|
3500
|
-
|
|
3501
|
-
**参数:**
|
|
3502
|
-
|
|
3503
|
-
- filePath
|
|
3598
|
+
- String
|
|
3599
|
+
- filename: 文件名(不含扩展名)
|
|
3504
3600
|
- String
|
|
3601
|
+
- format: 格式,默认png
|
|
3602
|
+
- Optional
|
|
3603
|
+
- Enum: png, jpg
|
|
3604
|
+
- quality: JPEG质量
|
|
3605
|
+
- Optional
|
|
3606
|
+
- Number
|
|
3607
|
+
- outputDir: 输出目录
|
|
3608
|
+
- Optional
|
|
3609
|
+
- String
|
|
3505
3610
|
|
|
3611
|
+
|
|
3506
3612
|
|
|
3613
|
+
#### `export_poster_base64`
|
|
3507
3614
|
|
|
3615
|
+
导出画布为 Base64 编码
|
|
3508
3616
|
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
[chrome-devtools] Take a screenshot of the page or element.
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
#### `chrome-devtools_take_snapshot`
|
|
3518
|
-
|
|
3519
|
-
[chrome-devtools] Take a text snapshot of the currently selected page based on the a11y tree. The snapshot lists page elements along with a unique
|
|
3520
|
-
identifier (uid). Always use the latest snapshot. Prefer taking a snapshot over taking a screenshot. The snapshot indicates the element selected
|
|
3521
|
-
in the DevTools Elements panel (if any).
|
|
3522
|
-
|
|
3523
|
-
**参数:**
|
|
3524
|
-
|
|
3525
|
-
- verbose
|
|
3526
|
-
- Optional
|
|
3527
|
-
- Boolean
|
|
3528
|
-
- filePath
|
|
3617
|
+
**参数:**
|
|
3618
|
+
|
|
3619
|
+
- id: 画布ID,不填则操作当前活跃画布
|
|
3529
3620
|
- Optional
|
|
3530
3621
|
- String
|
|
3622
|
+
- format: 格式
|
|
3623
|
+
- Optional
|
|
3624
|
+
- Enum: png, jpg
|
|
3625
|
+
- quality: JPEG质量
|
|
3626
|
+
- Optional
|
|
3627
|
+
- Number
|
|
3531
3628
|
|
|
3629
|
+
|
|
3532
3630
|
|
|
3631
|
+
### think
|
|
3533
3632
|
|
|
3633
|
+
主动思考插件,支持 LLM 自我唤醒和持续思考
|
|
3534
3634
|
|
|
3635
|
+
**版本:** 1.0.0
|
|
3535
3636
|
|
|
3536
|
-
#### `
|
|
3537
|
-
|
|
3538
|
-
[chrome-devtools] Type text using keyboard into a previously focused input
|
|
3637
|
+
#### `think_now`
|
|
3539
3638
|
|
|
3540
|
-
|
|
3639
|
+
立即触发 LLM 主动思考(用于反思、自我检视、生成想法)
|
|
3541
3640
|
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
-
|
|
3641
|
+
**参数:**
|
|
3642
|
+
|
|
3643
|
+
- topic: 思考主题,不提供则让 LLM 自己决定思考什么
|
|
3545
3644
|
- Optional
|
|
3546
3645
|
- String
|
|
3646
|
+
- mode: 思考模式
|
|
3647
|
+
- Optional
|
|
3648
|
+
- Enum: reflect, brainstorm, analyze, plan
|
|
3649
|
+
- depth: 思考深度 1-5
|
|
3650
|
+
- Optional
|
|
3651
|
+
- Number
|
|
3547
3652
|
|
|
3653
|
+
|
|
3548
3654
|
|
|
3655
|
+
#### `think_continue`
|
|
3549
3656
|
|
|
3657
|
+
让 LLM 持续思考模式(后台自动思考,定期输出结果)
|
|
3550
3658
|
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
[chrome-devtools] Upload a file through a provided element.
|
|
3555
|
-
|
|
3556
|
-
**参数:**
|
|
3557
|
-
|
|
3558
|
-
- uid
|
|
3559
|
-
- String
|
|
3560
|
-
- filePath
|
|
3561
|
-
- String
|
|
3562
|
-
- includeSnapshot
|
|
3659
|
+
**参数:**
|
|
3660
|
+
|
|
3661
|
+
- interval: 思考间隔毫秒,默认 30000 (30秒)
|
|
3563
3662
|
- Optional
|
|
3564
|
-
-
|
|
3565
|
-
|
|
3663
|
+
- Number
|
|
3664
|
+
- topic: 思考主题
|
|
3665
|
+
- Optional
|
|
3666
|
+
- String
|
|
3566
3667
|
|
|
3668
|
+
|
|
3567
3669
|
|
|
3670
|
+
#### `think_stop`
|
|
3568
3671
|
|
|
3672
|
+
停止持续思考模式
|
|
3569
3673
|
|
|
3570
|
-
|
|
3674
|
+
**参数:**
|
|
3675
|
+
|
|
3676
|
+
无
|
|
3677
|
+
|
|
3571
3678
|
|
|
3572
|
-
|
|
3679
|
+
#### `think_get_thoughts`
|
|
3573
3680
|
|
|
3574
|
-
|
|
3681
|
+
获取思考历史记录
|
|
3575
3682
|
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
- timeout
|
|
3683
|
+
**参数:**
|
|
3684
|
+
|
|
3685
|
+
- limit: 返回条数,默认 10
|
|
3580
3686
|
- Optional
|
|
3581
3687
|
- Number
|
|
3582
3688
|
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3689
|
+
|
|
3586
3690
|
|
|
3587
3691
|
---
|
|
3588
3692
|
|