@blokkli/editor 2.0.0-alpha.5 → 2.0.0-alpha.50
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/dist/chunks/tailwindConfig.mjs +222 -0
- package/dist/global/constants/index.d.ts +7 -0
- package/dist/global/constants/index.js +11 -0
- package/dist/global/types/adapter.d.ts +6 -0
- package/dist/global/types/blockOptions.d.ts +372 -0
- package/dist/global/types/definitions.d.ts +285 -0
- package/dist/global/types/features.d.ts +91 -0
- package/dist/global/types/theme.d.ts +34 -0
- package/dist/module.d.mts +8 -12
- package/dist/module.json +5 -5
- package/dist/module.mjs +1625 -5702
- package/dist/modules/agent/index.d.mts +72 -0
- package/dist/modules/agent/index.mjs +764 -0
- package/dist/modules/agent/runtime/app/composables/agentProvider.d.ts +61 -0
- package/dist/modules/agent/runtime/app/composables/agentProvider.js +1040 -0
- package/dist/modules/agent/runtime/app/composables/defineBlokkliAgentPrompt.d.ts +32 -0
- package/dist/modules/agent/runtime/app/composables/defineBlokkliAgentPrompt.js +6 -0
- package/dist/modules/agent/runtime/app/composables/defineBlokkliAgentTool.d.ts +47 -0
- package/dist/modules/agent/runtime/app/composables/defineBlokkliAgentTool.js +3 -0
- package/dist/modules/agent/runtime/app/composables/index.d.ts +4 -0
- package/dist/modules/agent/runtime/app/composables/index.js +2 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewCode/index.d.vue.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewCode/index.vue +9 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewCode/index.vue.d.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewCsv/index.d.vue.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewCsv/index.vue +31 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewCsv/index.vue.d.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewHtml/index.d.vue.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewHtml/index.vue +12 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewHtml/index.vue.d.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewMarkdown/index.d.vue.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewMarkdown/index.vue +17 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewMarkdown/index.vue.d.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/index.d.vue.ts +12 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/index.vue +92 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/index.vue.d.ts +12 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Assistant/index.d.vue.ts +9 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Assistant/index.vue +38 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Assistant/index.vue.d.ts +9 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Error/index.d.vue.ts +14 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Error/index.vue +68 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Error/index.vue.d.ts +14 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/ServerTool/index.d.vue.ts +10 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/ServerTool/index.vue +74 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/ServerTool/index.vue.d.ts +10 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Tool/index.d.vue.ts +16 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Tool/index.vue +61 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Tool/index.vue.d.ts +16 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Unknown/index.d.vue.ts +8 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Unknown/index.vue +17 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Unknown/index.vue.d.ts +8 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/User/index.d.vue.ts +11 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/User/index.vue +28 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/User/index.vue.d.ts +11 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/index.d.vue.ts +13 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/index.vue +46 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/index.vue.d.ts +13 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Thinking/index.d.vue.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Thinking/index.vue +14 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Thinking/index.vue.d.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/index.d.vue.ts +14 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/index.vue +49 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/index.vue.d.ts +14 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/ConversationList/index.d.vue.ts +15 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/ConversationList/index.vue +50 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/ConversationList/index.vue.d.ts +15 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/DebugGallery/index.d.vue.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/DebugGallery/index.vue +161 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/DebugGallery/index.vue.d.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.d.vue.ts +17 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.vue +230 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.vue.d.ts +17 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/index.d.vue.ts +7 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/index.vue +67 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/index.vue.d.ts +7 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.d.vue.ts +24 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue +90 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue.d.ts +24 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/index.d.vue.ts +47 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/index.vue +115 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/index.vue.d.ts +47 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/PendingMutation/index.d.vue.ts +15 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/PendingMutation/index.vue +47 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/PendingMutation/index.vue.d.ts +15 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Plan/index.d.vue.ts +14 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Plan/index.vue +55 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Plan/index.vue.d.ts +14 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.d.vue.ts +25 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.vue +36 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.vue.d.ts +25 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/de.md +19 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/en.md +18 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/index.d.vue.ts +10 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/index.vue +44 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/index.vue.d.ts +10 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.d.vue.ts +59 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue +295 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue.d.ts +59 -0
- package/dist/modules/agent/runtime/app/features/agent/Transcript/index.d.vue.ts +8 -0
- package/dist/modules/agent/runtime/app/features/agent/Transcript/index.vue +171 -0
- package/dist/modules/agent/runtime/app/features/agent/Transcript/index.vue.d.ts +8 -0
- package/dist/modules/agent/runtime/app/features/agent/index.d.vue.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/index.vue +244 -0
- package/dist/modules/agent/runtime/app/features/agent/index.vue.d.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/types.d.ts +54 -0
- package/dist/modules/agent/runtime/app/features/agent/types.js +0 -0
- package/dist/modules/agent/runtime/app/helpers/index.d.ts +52 -0
- package/dist/modules/agent/runtime/app/helpers/index.js +64 -0
- package/dist/modules/agent/runtime/app/helpers/pageStructure.d.ts +5 -0
- package/dist/modules/agent/runtime/app/helpers/pageStructure.js +96 -0
- package/dist/modules/agent/runtime/app/helpers/validation.d.ts +48 -0
- package/dist/modules/agent/runtime/app/helpers/validation.js +99 -0
- package/dist/modules/agent/runtime/app/prompts/fixReadability.d.ts +2 -0
- package/dist/modules/agent/runtime/app/prompts/fixReadability.js +49 -0
- package/dist/modules/agent/runtime/app/tools/add_content_search_paragraph/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/add_content_search_paragraph/index.js +77 -0
- package/dist/modules/agent/runtime/app/tools/add_fragment/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/add_fragment/index.js +90 -0
- package/dist/modules/agent/runtime/app/tools/add_media_paragraph/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/add_media_paragraph/index.js +70 -0
- package/dist/modules/agent/runtime/app/tools/add_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/add_paragraphs/index.js +318 -0
- package/dist/modules/agent/runtime/app/tools/add_reusable_paragraph/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/add_reusable_paragraph/index.js +84 -0
- package/dist/modules/agent/runtime/app/tools/add_template/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/add_template/index.js +59 -0
- package/dist/modules/agent/runtime/app/tools/ask_question/Component.d.vue.ts +19 -0
- package/dist/modules/agent/runtime/app/tools/ask_question/Component.vue +119 -0
- package/dist/modules/agent/runtime/app/tools/ask_question/Component.vue.d.ts +19 -0
- package/dist/modules/agent/runtime/app/tools/ask_question/index.d.ts +18 -0
- package/dist/modules/agent/runtime/app/tools/ask_question/index.js +62 -0
- package/dist/modules/agent/runtime/app/tools/check_readability/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/check_readability/index.js +66 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.d.vue.ts +48 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.vue +744 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.vue.d.ts +48 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Details/index.d.vue.ts +6 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Details/index.vue +38 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Details/index.vue.d.ts +6 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.d.ts +38 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.js +130 -0
- package/dist/modules/agent/runtime/app/tools/delete_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/delete_paragraphs/index.js +60 -0
- package/dist/modules/agent/runtime/app/tools/detach_reusable_paragraph/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/detach_reusable_paragraph/index.js +59 -0
- package/dist/modules/agent/runtime/app/tools/duplicate_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/duplicate_paragraphs/index.js +155 -0
- package/dist/modules/agent/runtime/app/tools/find_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/find_paragraphs/index.js +180 -0
- package/dist/modules/agent/runtime/app/tools/get_all_fragments/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_all_fragments/index.js +33 -0
- package/dist/modules/agent/runtime/app/tools/get_all_page_content/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_all_page_content/index.js +91 -0
- package/dist/modules/agent/runtime/app/tools/get_bundle_info/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_bundle_info/index.js +182 -0
- package/dist/modules/agent/runtime/app/tools/get_child_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_child_paragraphs/index.js +109 -0
- package/dist/modules/agent/runtime/app/tools/get_content_fields/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_content_fields/index.js +189 -0
- package/dist/modules/agent/runtime/app/tools/get_mutation_history/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_mutation_history/index.js +102 -0
- package/dist/modules/agent/runtime/app/tools/get_page_structure/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_page_structure/index.js +114 -0
- package/dist/modules/agent/runtime/app/tools/get_paragraph_context/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_paragraph_context/index.js +270 -0
- package/dist/modules/agent/runtime/app/tools/get_paragraph_options/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_paragraph_options/index.js +65 -0
- package/dist/modules/agent/runtime/app/tools/get_paragraphs_in_viewport/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_paragraphs_in_viewport/index.js +181 -0
- package/dist/modules/agent/runtime/app/tools/get_readability_issues/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_readability_issues/index.js +68 -0
- package/dist/modules/agent/runtime/app/tools/get_selected_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_selected_paragraphs/index.js +46 -0
- package/dist/modules/agent/runtime/app/tools/go_to_history_index/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/go_to_history_index/index.js +54 -0
- package/dist/modules/agent/runtime/app/tools/helpers.d.ts +81 -0
- package/dist/modules/agent/runtime/app/tools/helpers.js +252 -0
- package/dist/modules/agent/runtime/app/tools/move_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/move_paragraphs/index.js +83 -0
- package/dist/modules/agent/runtime/app/tools/rearrange_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/rearrange_paragraphs/index.js +107 -0
- package/dist/modules/agent/runtime/app/tools/replace_content_search_item/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/replace_content_search_item/index.js +88 -0
- package/dist/modules/agent/runtime/app/tools/replace_media_field/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/replace_media_field/index.js +95 -0
- package/dist/modules/agent/runtime/app/tools/schemas.d.ts +85 -0
- package/dist/modules/agent/runtime/app/tools/schemas.js +68 -0
- package/dist/modules/agent/runtime/app/tools/search_content/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/search_content/index.js +58 -0
- package/dist/modules/agent/runtime/app/tools/search_media/index.d.ts +14 -0
- package/dist/modules/agent/runtime/app/tools/search_media/index.js +60 -0
- package/dist/modules/agent/runtime/app/tools/search_reusable_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/search_reusable_paragraphs/index.js +75 -0
- package/dist/modules/agent/runtime/app/tools/search_templates/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/search_templates/index.js +51 -0
- package/dist/modules/agent/runtime/app/tools/search_text/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/search_text/index.js +114 -0
- package/dist/modules/agent/runtime/app/tools/select_media/Component.d.vue.ts +29 -0
- package/dist/modules/agent/runtime/app/tools/select_media/Component.vue +70 -0
- package/dist/modules/agent/runtime/app/tools/select_media/Component.vue.d.ts +29 -0
- package/dist/modules/agent/runtime/app/tools/select_media/index.d.ts +30 -0
- package/dist/modules/agent/runtime/app/tools/select_media/index.js +74 -0
- package/dist/modules/agent/runtime/app/tools/set_paragraph_options/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/set_paragraph_options/index.js +116 -0
- package/dist/modules/agent/runtime/app/tools/swap_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/swap_paragraphs/index.js +50 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Component.d.vue.ts +38 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Component.vue +218 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Component.vue.d.ts +38 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Details/index.d.vue.ts +6 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Details/index.vue +24 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Details/index.vue.d.ts +6 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/index.d.ts +25 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/index.js +105 -0
- package/dist/modules/agent/runtime/app/tools/web_fetch/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/web_fetch/index.js +52 -0
- package/dist/modules/agent/runtime/app/types/index.d.ts +447 -0
- package/dist/modules/agent/runtime/app/types/index.js +52 -0
- package/dist/modules/agent/runtime/server/Session.d.ts +128 -0
- package/dist/modules/agent/runtime/server/Session.js +1010 -0
- package/dist/modules/agent/runtime/server/SessionManager.d.ts +24 -0
- package/dist/modules/agent/runtime/server/SessionManager.js +83 -0
- package/dist/modules/agent/runtime/server/agent.d.ts +2 -0
- package/dist/modules/agent/runtime/server/agent.js +154 -0
- package/dist/modules/agent/runtime/server/agentPrompt.d.ts +30 -0
- package/dist/modules/agent/runtime/server/agentPrompt.js +79 -0
- package/dist/modules/agent/runtime/server/default-skills/adding-new-paragraphs.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-skills/adding-new-paragraphs.js +21 -0
- package/dist/modules/agent/runtime/server/default-skills/fixReadability.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-skills/fixReadability.js +50 -0
- package/dist/modules/agent/runtime/server/default-skills/pageReview.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-skills/pageReview.js +28 -0
- package/dist/modules/agent/runtime/server/default-skills/reusable-paragraphs.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-skills/reusable-paragraphs.js +21 -0
- package/dist/modules/agent/runtime/server/default-skills/rewriteAndTranslate.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-skills/rewriteAndTranslate.js +54 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/architecture.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/architecture.js +39 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/available-skills.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/available-skills.js +18 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/available-tools.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/available-tools.js +18 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/fragments.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/fragments.js +19 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/important-rules.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/important-rules.js +21 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/interaction.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/interaction.js +20 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/introduction.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/introduction.js +15 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/page-context.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/page-context.js +88 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/paragraph-bundles.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/paragraph-bundles.js +37 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/plan-mode.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/plan-mode.js +36 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/security.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/security.js +27 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/workflow.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/workflow.js +22 -0
- package/dist/modules/agent/runtime/server/fetch.d.ts +2 -0
- package/dist/modules/agent/runtime/server/fetch.js +127 -0
- package/dist/modules/agent/runtime/server/helpers.d.ts +77 -0
- package/dist/modules/agent/runtime/server/helpers.js +353 -0
- package/dist/modules/agent/runtime/server/providers/anthropic.d.ts +12 -0
- package/dist/modules/agent/runtime/server/providers/anthropic.js +132 -0
- package/dist/modules/agent/runtime/server/providers/openai.d.ts +12 -0
- package/dist/modules/agent/runtime/server/providers/openai.js +321 -0
- package/dist/modules/agent/runtime/server/providers/types.d.ts +81 -0
- package/dist/modules/agent/runtime/server/providers/types.js +0 -0
- package/dist/modules/agent/runtime/server/route.d.ts +2 -0
- package/dist/modules/agent/runtime/server/route.js +40 -0
- package/dist/modules/agent/runtime/server/routing.d.ts +18 -0
- package/dist/modules/agent/runtime/server/routing.js +111 -0
- package/dist/modules/agent/runtime/server/server-tools/complete_plan_step/index.d.ts +3 -0
- package/dist/modules/agent/runtime/server/server-tools/complete_plan_step/index.js +94 -0
- package/dist/modules/agent/runtime/server/server-tools/create_plan/index.d.ts +9 -0
- package/dist/modules/agent/runtime/server/server-tools/create_plan/index.js +86 -0
- package/dist/modules/agent/runtime/server/server-tools/index.d.ts +100 -0
- package/dist/modules/agent/runtime/server/server-tools/index.js +30 -0
- package/dist/modules/agent/runtime/server/server-tools/load_skills/index.d.ts +7 -0
- package/dist/modules/agent/runtime/server/server-tools/load_skills/index.js +80 -0
- package/dist/modules/agent/runtime/server/server-tools/load_tools/index.d.ts +7 -0
- package/dist/modules/agent/runtime/server/server-tools/load_tools/index.js +44 -0
- package/dist/modules/agent/runtime/server/skills/defineBlokkliAgentSkill.d.ts +23 -0
- package/dist/modules/agent/runtime/server/skills/defineBlokkliAgentSkill.js +3 -0
- package/dist/modules/agent/runtime/server/skills/index.d.ts +2 -0
- package/dist/modules/agent/runtime/server/skills/index.js +1 -0
- package/dist/modules/agent/runtime/server/skills/types.d.ts +59 -0
- package/dist/modules/agent/runtime/server/skills/types.js +0 -0
- package/dist/modules/agent/runtime/server/stream.d.ts +2 -0
- package/dist/modules/agent/runtime/server/stream.js +190 -0
- package/dist/modules/agent/runtime/server/streamParser.d.ts +85 -0
- package/dist/modules/agent/runtime/server/streamParser.js +227 -0
- package/dist/modules/agent/runtime/server/system-prompts/defineBlokkliAgentSystemPrompt.d.ts +21 -0
- package/dist/modules/agent/runtime/server/system-prompts/defineBlokkliAgentSystemPrompt.js +3 -0
- package/dist/modules/agent/runtime/server/system-prompts/helpers.d.ts +20 -0
- package/dist/modules/agent/runtime/server/system-prompts/helpers.js +41 -0
- package/dist/modules/agent/runtime/server/system-prompts/index.d.ts +2 -0
- package/dist/modules/agent/runtime/server/system-prompts/index.js +1 -0
- package/dist/modules/agent/runtime/server/system-prompts/types.d.ts +49 -0
- package/dist/modules/agent/runtime/server/system-prompts/types.js +0 -0
- package/dist/modules/agent/runtime/server/templates/defineStreamTemplate.d.ts +21 -0
- package/dist/modules/agent/runtime/server/templates/defineStreamTemplate.js +3 -0
- package/dist/modules/agent/runtime/server/templates/definitions/fixReadability.d.ts +26 -0
- package/dist/modules/agent/runtime/server/templates/definitions/fixReadability.js +84 -0
- package/dist/modules/agent/runtime/server/templates/definitions/generateContent.d.ts +6 -0
- package/dist/modules/agent/runtime/server/templates/definitions/generateContent.js +29 -0
- package/dist/modules/agent/runtime/server/templates/definitions/rewrite.d.ts +5 -0
- package/dist/modules/agent/runtime/server/templates/definitions/rewrite.js +14 -0
- package/dist/modules/agent/runtime/server/templates/definitions/translate.d.ts +5 -0
- package/dist/modules/agent/runtime/server/templates/definitions/translate.js +23 -0
- package/dist/modules/agent/runtime/server/templates/index.d.ts +37 -0
- package/dist/modules/agent/runtime/server/templates/index.js +25 -0
- package/dist/modules/agent/runtime/server/templates/types.d.ts +17 -0
- package/dist/modules/agent/runtime/server/templates/types.js +0 -0
- package/dist/modules/agent/runtime/server/templates/utils.d.ts +5 -0
- package/dist/modules/agent/runtime/server/templates/utils.js +69 -0
- package/dist/modules/agent/runtime/shared/placeholders.d.ts +4 -0
- package/dist/modules/agent/runtime/shared/placeholders.js +1 -0
- package/dist/modules/agent/runtime/shared/types.d.ts +532 -0
- package/dist/modules/agent/runtime/shared/types.js +181 -0
- package/dist/modules/charts/index.d.mts +35 -0
- package/dist/modules/charts/index.mjs +57 -0
- package/dist/modules/charts/runtime/blokkli/skills/charts.d.ts +2 -0
- package/dist/modules/charts/runtime/blokkli/skills/charts.js +51 -0
- package/dist/modules/charts/runtime/blokkli/tools/chart_schemas.d.ts +86 -0
- package/dist/modules/charts/runtime/blokkli/tools/chart_schemas.js +136 -0
- package/dist/modules/charts/runtime/blokkli/tools/create_chart/index.d.ts +2 -0
- package/dist/modules/charts/runtime/blokkli/tools/create_chart/index.js +93 -0
- package/dist/modules/charts/runtime/blokkli/tools/get_chart_data/index.d.ts +2 -0
- package/dist/modules/charts/runtime/blokkli/tools/get_chart_data/index.js +66 -0
- package/dist/modules/charts/runtime/blokkli/tools/get_chart_type_options/index.d.ts +2 -0
- package/dist/modules/charts/runtime/blokkli/tools/get_chart_type_options/index.js +40 -0
- package/dist/modules/charts/runtime/blokkli/tools/update_chart/index.d.ts +2 -0
- package/dist/modules/charts/runtime/blokkli/tools/update_chart/index.js +89 -0
- package/dist/modules/charts/runtime/chartTypes/area.d.ts +7 -0
- package/dist/modules/charts/runtime/chartTypes/area.js +68 -0
- package/dist/modules/charts/runtime/chartTypes/bar.d.ts +8 -0
- package/dist/modules/charts/runtime/chartTypes/bar.js +76 -0
- package/dist/modules/charts/runtime/chartTypes/define.d.ts +2 -0
- package/dist/modules/charts/runtime/chartTypes/define.js +3 -0
- package/dist/modules/charts/runtime/chartTypes/donut.d.ts +6 -0
- package/dist/modules/charts/runtime/chartTypes/donut.js +45 -0
- package/dist/modules/charts/runtime/chartTypes/heatmap.d.ts +4 -0
- package/dist/modules/charts/runtime/chartTypes/heatmap.js +54 -0
- package/dist/modules/charts/runtime/chartTypes/index.d.ts +39 -0
- package/dist/modules/charts/runtime/chartTypes/index.js +47 -0
- package/dist/modules/charts/runtime/chartTypes/line.d.ts +7 -0
- package/dist/modules/charts/runtime/chartTypes/line.js +68 -0
- package/dist/modules/charts/runtime/chartTypes/pie.d.ts +5 -0
- package/dist/modules/charts/runtime/chartTypes/pie.js +28 -0
- package/dist/modules/charts/runtime/chartTypes/radar.d.ts +7 -0
- package/dist/modules/charts/runtime/chartTypes/radar.js +52 -0
- package/dist/modules/charts/runtime/chartTypes/radialBar.d.ts +6 -0
- package/dist/modules/charts/runtime/chartTypes/radialBar.js +44 -0
- package/dist/modules/charts/runtime/chartTypes/shared.d.ts +67 -0
- package/dist/modules/charts/runtime/chartTypes/shared.js +103 -0
- package/dist/modules/charts/runtime/chartTypes/types.d.ts +29 -0
- package/dist/modules/charts/runtime/chartTypes/types.js +0 -0
- package/dist/modules/charts/runtime/components/ChartRenderer/index.d.vue.ts +147 -0
- package/dist/modules/charts/runtime/components/ChartRenderer/index.vue +120 -0
- package/dist/modules/charts/runtime/components/ChartRenderer/index.vue.d.ts +147 -0
- package/dist/modules/charts/runtime/components/index.d.ts +1 -0
- package/dist/modules/charts/runtime/components/index.js +1 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.d.vue.ts +16 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.vue +97 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.vue.d.ts +16 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.d.vue.ts +11 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.vue +34 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.vue.d.ts +11 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.d.vue.ts +12 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.vue +49 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.vue.d.ts +12 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.d.vue.ts +19 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.vue +89 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.vue.d.ts +19 -0
- package/dist/modules/charts/runtime/features/charts/Editor/DataTable/index.d.vue.ts +23 -0
- package/dist/modules/charts/runtime/features/charts/Editor/DataTable/index.vue +224 -0
- package/dist/modules/charts/runtime/features/charts/Editor/DataTable/index.vue.d.ts +23 -0
- package/dist/modules/charts/runtime/features/charts/Editor/FootnoteEditor/index.d.vue.ts +10 -0
- package/dist/modules/charts/runtime/features/charts/Editor/FootnoteEditor/index.vue +61 -0
- package/dist/modules/charts/runtime/features/charts/Editor/FootnoteEditor/index.vue.d.ts +10 -0
- package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.d.vue.ts +10 -0
- package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.vue +45 -0
- package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.vue.d.ts +10 -0
- package/dist/modules/charts/runtime/features/charts/Editor/index.d.vue.ts +12 -0
- package/dist/modules/charts/runtime/features/charts/Editor/index.vue +246 -0
- package/dist/modules/charts/runtime/features/charts/Editor/index.vue.d.ts +12 -0
- package/dist/modules/charts/runtime/features/charts/Editor/useChartEditorState.d.ts +17 -0
- package/dist/modules/charts/runtime/features/charts/Editor/useChartEditorState.js +90 -0
- package/dist/modules/charts/runtime/helpers/index.d.ts +26 -0
- package/dist/modules/charts/runtime/helpers/index.js +80 -0
- package/dist/modules/charts/runtime/types.d.ts +33 -0
- package/dist/modules/charts/runtime/types.js +0 -0
- package/dist/modules/drupal/graphql/base/fragment.ParagraphsBlokkliConfigInput.graphql +31 -0
- package/dist/modules/drupal/graphql/base/fragment.blokkliProps.graphql +2 -1
- package/dist/modules/drupal/graphql/base/fragment.paragraphsBlokkliEditState.graphql +5 -0
- package/dist/modules/drupal/graphql/base/fragment.paragraphsFieldItem.graphql +4 -1
- package/dist/modules/drupal/graphql/base/query.pbConfig.graphql +28 -12
- package/dist/modules/drupal/graphql/base/query.pbEntityConfig.graphql +5 -0
- package/dist/modules/drupal/graphql/features/agent.graphql +69 -0
- package/dist/modules/drupal/graphql/features/comments.graphql +11 -8
- package/dist/modules/drupal/graphql/features/fragments.graphql +2 -0
- package/dist/modules/drupal/graphql/features/import-existing.graphql +9 -2
- package/dist/modules/drupal/graphql/features/library.graphql +9 -2
- package/dist/modules/drupal/graphql/features/media-library.graphql +6 -14
- package/dist/modules/drupal/graphql/features/publishNew.graphql +4 -4
- package/dist/modules/drupal/graphql/features/scheduler.graphql +31 -0
- package/dist/modules/drupal/graphql/features/search.graphql +5 -0
- package/dist/modules/drupal/graphql/features/templates.graphql +108 -0
- package/dist/modules/drupal/graphql/features/transform.graphql +9 -1
- package/dist/modules/drupal/graphql/features/transform_host.graphql +38 -0
- package/dist/modules/drupal/graphql/mutations/add_file.graphql +2 -0
- package/dist/modules/drupal/graphql/mutations/add_image.graphql +2 -0
- package/dist/modules/drupal/graphql/mutations/add_multiple.graphql +25 -0
- package/dist/modules/drupal/graphql/mutations/add_video_remote.graphql +2 -0
- package/dist/modules/drupal/graphql/mutations/bulk_update_field_values.graphql +15 -0
- package/dist/modules/drupal/graphql/mutations/rearrange.graphql +23 -0
- package/dist/modules/drupal/graphql/mutations/replace_entity_reference.graphql +25 -0
- package/dist/modules/drupal/graphql/mutations/set_paragraph_schedule.graphql +15 -0
- package/dist/modules/drupal/graphql/mutations/swap.graphql +16 -0
- package/dist/modules/drupal/graphql/mutations/update_host_options.graphql +15 -0
- package/dist/modules/drupal/index.d.mts +22 -5
- package/dist/modules/drupal/index.mjs +135 -20
- package/dist/modules/drupal/runtime/adapter/index.d.ts +2 -1
- package/dist/modules/drupal/runtime/adapter/index.js +508 -66
- package/dist/modules/drupal/runtime/components/BlokkliDrupalEditTemplate/index.d.vue.ts +9 -0
- package/dist/modules/drupal/runtime/components/BlokkliDrupalEditTemplate/index.vue +26 -0
- package/dist/modules/drupal/runtime/components/BlokkliDrupalEditTemplate/index.vue.d.ts +9 -0
- package/dist/modules/index.d.mts +7 -0
- package/dist/modules/index.mjs +10 -0
- package/dist/modules/table-of-contents/index.d.mts +11 -0
- package/dist/modules/table-of-contents/index.mjs +24 -0
- package/dist/modules/table-of-contents/runtime/components/BlokkliTableOfContents/index.d.vue.ts +44 -0
- package/dist/modules/table-of-contents/runtime/components/BlokkliTableOfContents/index.vue +43 -0
- package/dist/modules/table-of-contents/runtime/components/BlokkliTableOfContents/index.vue.d.ts +44 -0
- package/dist/modules/table-of-contents/runtime/types/index.d.ts +4 -0
- package/dist/modules/table-of-contents/runtime/types/index.js +0 -0
- package/dist/modules/tailwind/index.d.mts +5 -0
- package/dist/modules/tailwind/index.mjs +2 -0
- package/dist/runtime/components/Blocks/Fragment/index.d.vue.ts +7 -0
- package/dist/runtime/components/Blocks/Fragment/index.vue +19 -4
- package/dist/runtime/components/Blocks/Fragment/index.vue.d.ts +2 -1
- package/dist/runtime/components/Blocks/FromLibrary/index.d.vue.ts +7 -0
- package/dist/runtime/components/Blocks/FromLibrary/index.vue +10 -9
- package/dist/runtime/components/Blocks/FromLibrary/index.vue.d.ts +3 -2
- package/dist/runtime/components/Blocks/NotImplemented/index.d.vue.ts +7 -0
- package/dist/runtime/components/Blocks/NotImplemented/index.vue +24 -0
- package/dist/runtime/components/Blocks/NotImplemented/index.vue.d.ts +7 -0
- package/dist/runtime/components/BlokkliEditable.d.vue.ts +33 -0
- package/dist/runtime/components/BlokkliEditable.vue +50 -18
- package/dist/runtime/components/BlokkliEditable.vue.d.ts +16 -3
- package/dist/runtime/components/BlokkliField.d.vue.ts +102 -0
- package/dist/runtime/components/BlokkliField.vue +42 -51
- package/dist/runtime/components/BlokkliField.vue.d.ts +73 -20
- package/dist/runtime/components/BlokkliItem.d.vue.ts +31 -0
- package/dist/runtime/components/BlokkliItem.vue +70 -23
- package/dist/runtime/components/BlokkliItem.vue.d.ts +12 -7
- package/dist/runtime/components/BlokkliProvider.d.vue.ts +84 -0
- package/dist/runtime/components/BlokkliProvider.vue +97 -73
- package/dist/runtime/components/BlokkliProvider.vue.d.ts +60 -10
- package/dist/runtime/composables/defineBlokkli.d.ts +1 -1
- package/dist/runtime/composables/defineBlokkli.js +28 -23
- package/dist/runtime/composables/defineBlokkliFeature.d.ts +9 -10
- package/dist/runtime/composables/defineBlokkliFeature.js +4 -3
- package/dist/runtime/composables/defineBlokkliFragment.d.ts +1 -1
- package/dist/runtime/composables/defineBlokkliFragment.js +2 -5
- package/dist/runtime/composables/defineBlokkliProvider.d.ts +11 -0
- package/dist/runtime/composables/defineBlokkliProvider.js +44 -0
- package/dist/runtime/composables/useBlokkli.d.ts +7 -2
- package/dist/runtime/composables/useBlokkli.js +6 -3
- package/dist/runtime/composables/useBlokkliHelper.d.ts +20 -0
- package/dist/runtime/composables/useBlokkliHelper.js +91 -0
- package/dist/runtime/editor/adapter/index.d.ts +162 -0
- package/dist/runtime/editor/adapter/index.js +6 -0
- package/dist/runtime/editor/components/Actions/Interactions/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Actions/Interactions/index.vue +110 -0
- package/dist/runtime/editor/components/Actions/Interactions/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown.vue +71 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Actions/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Actions/index.vue +295 -0
- package/dist/runtime/editor/components/Actions/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/AddListItem/index.d.vue.ts +31 -0
- package/dist/runtime/editor/components/AddListItem/index.vue +103 -0
- package/dist/runtime/editor/components/AddListItem/index.vue.d.ts +31 -0
- package/dist/runtime/editor/components/AnimationCanvas/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/AnimationCanvas/index.vue +496 -0
- package/dist/runtime/editor/components/AnimationCanvas/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/AppMenu/MenuButton.d.vue.ts +29 -0
- package/dist/runtime/editor/components/AppMenu/MenuButton.vue +39 -0
- package/dist/runtime/editor/components/AppMenu/MenuButton.vue.d.ts +29 -0
- package/dist/runtime/editor/components/AppMenu/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/AppMenu/index.vue +85 -0
- package/dist/runtime/editor/components/AppMenu/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/ArtboardTooltip/index.d.vue.ts +35 -0
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue +90 -0
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue.d.ts +35 -0
- package/dist/runtime/editor/components/AutoHeight/index.d.vue.ts +16 -0
- package/dist/runtime/editor/components/AutoHeight/index.vue +32 -0
- package/dist/runtime/editor/components/AutoHeight/index.vue.d.ts +16 -0
- package/dist/runtime/editor/components/Banner/index.d.vue.ts +30 -0
- package/dist/runtime/editor/components/Banner/index.vue +53 -0
- package/dist/runtime/editor/components/Banner/index.vue.d.ts +30 -0
- package/dist/runtime/editor/components/BlockPreviewItem/index.d.vue.ts +18 -0
- package/dist/runtime/editor/components/BlockPreviewItem/index.vue +83 -0
- package/dist/runtime/editor/components/BlockPreviewItem/index.vue.d.ts +18 -0
- package/dist/runtime/editor/components/BlockPreviewRenderer/Item.d.vue.ts +13 -0
- package/dist/runtime/editor/components/BlockPreviewRenderer/Item.vue +50 -0
- package/dist/runtime/editor/components/BlockPreviewRenderer/Item.vue.d.ts +13 -0
- package/dist/runtime/editor/components/BlockPreviewRenderer/index.d.vue.ts +11 -0
- package/dist/runtime/editor/components/BlockPreviewRenderer/index.vue +33 -0
- package/dist/runtime/editor/components/BlockPreviewRenderer/index.vue.d.ts +11 -0
- package/dist/runtime/editor/components/BlockProxy/index.d.vue.ts +11 -0
- package/dist/runtime/editor/components/BlockProxy/index.vue +88 -0
- package/dist/runtime/editor/components/BlockProxy/index.vue.d.ts +11 -0
- package/dist/runtime/editor/components/BlokkliErrorBoundary.d.vue.ts +27 -0
- package/dist/runtime/editor/components/BlokkliErrorBoundary.vue +47 -0
- package/dist/runtime/editor/components/BlokkliErrorBoundary.vue.d.ts +27 -0
- package/dist/runtime/editor/components/BlokkliRootErrorBoundary.d.vue.ts +13 -0
- package/dist/runtime/editor/components/BlokkliRootErrorBoundary.vue +96 -0
- package/dist/runtime/editor/components/BlokkliRootErrorBoundary.vue.d.ts +13 -0
- package/dist/runtime/editor/components/BundleSelector/index.d.vue.ts +23 -0
- package/dist/runtime/editor/components/BundleSelector/index.vue +316 -0
- package/dist/runtime/editor/components/BundleSelector/index.vue.d.ts +23 -0
- package/dist/runtime/editor/components/Dialog/index.d.vue.ts +49 -0
- package/dist/runtime/editor/components/Dialog/index.vue +134 -0
- package/dist/runtime/editor/components/Dialog/index.vue.d.ts +49 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/Item.d.vue.ts +19 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/Item.vue +106 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/Item.vue.d.ts +19 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/index.vue +50 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/DiffApproval/Toolbar/index.d.vue.ts +24 -0
- package/dist/runtime/editor/components/DiffApproval/Toolbar/index.vue +113 -0
- package/dist/runtime/editor/components/DiffApproval/Toolbar/index.vue.d.ts +24 -0
- package/dist/runtime/editor/components/DiffApproval/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/DiffApproval/index.vue +158 -0
- package/dist/runtime/editor/components/DiffApproval/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/DiffApproval/types.d.ts +7 -0
- package/dist/runtime/editor/components/DiffApproval/types.js +0 -0
- package/dist/runtime/editor/components/DiffViewer/DiffDisplay/index.d.vue.ts +9 -0
- package/dist/runtime/editor/components/DiffViewer/DiffDisplay/index.vue +31 -0
- package/dist/runtime/editor/components/DiffViewer/DiffDisplay/index.vue.d.ts +9 -0
- package/dist/runtime/editor/components/DiffViewer/DiffValue.d.vue.ts +7 -0
- package/dist/runtime/editor/components/DiffViewer/DiffValue.vue +15 -0
- package/dist/runtime/editor/components/DiffViewer/DiffValue.vue.d.ts +7 -0
- package/dist/runtime/editor/components/DiffViewer/State.d.vue.ts +17 -0
- package/dist/runtime/editor/components/DiffViewer/State.vue +249 -0
- package/dist/runtime/editor/components/DiffViewer/State.vue.d.ts +17 -0
- package/dist/runtime/editor/components/DraggableList.d.vue.ts +31 -0
- package/dist/runtime/editor/components/DraggableList.vue +148 -0
- package/dist/runtime/editor/components/DraggableList.vue.d.ts +31 -0
- package/dist/runtime/editor/components/Dropdown/index.d.vue.ts +27 -0
- package/dist/runtime/editor/components/Dropdown/index.vue +107 -0
- package/dist/runtime/editor/components/Dropdown/index.vue.d.ts +27 -0
- package/dist/runtime/editor/components/DropdownItem/index.d.vue.ts +13 -0
- package/dist/runtime/editor/components/DropdownItem/index.vue +16 -0
- package/dist/runtime/editor/components/DropdownItem/index.vue.d.ts +13 -0
- package/dist/runtime/editor/components/EditIndicator.d.vue.ts +15 -0
- package/dist/runtime/editor/components/EditIndicator.vue +151 -0
- package/dist/runtime/editor/components/EditIndicator.vue.d.ts +15 -0
- package/dist/runtime/editor/components/EditProvider.d.vue.ts +36 -0
- package/dist/runtime/editor/components/EditProvider.vue +431 -0
- package/dist/runtime/editor/components/EditProvider.vue.d.ts +36 -0
- package/dist/runtime/editor/components/FeaturesRenderer/index.d.vue.ts +7 -0
- package/dist/runtime/editor/components/FeaturesRenderer/index.vue +80 -0
- package/dist/runtime/editor/components/FeaturesRenderer/index.vue.d.ts +7 -0
- package/dist/runtime/editor/components/FlexTextarea/index.d.vue.ts +36 -0
- package/dist/runtime/editor/components/FlexTextarea/index.vue +318 -0
- package/dist/runtime/editor/components/FlexTextarea/index.vue.d.ts +36 -0
- package/dist/runtime/editor/components/Form/Checkboxes/index.d.vue.ts +23 -0
- package/dist/runtime/editor/components/Form/Checkboxes/index.vue +49 -0
- package/dist/runtime/editor/components/Form/Checkboxes/index.vue.d.ts +23 -0
- package/dist/runtime/editor/components/Form/Datepicker/index.d.vue.ts +17 -0
- package/dist/runtime/editor/components/Form/Datepicker/index.vue +198 -0
- package/dist/runtime/editor/components/Form/Datepicker/index.vue.d.ts +17 -0
- package/dist/runtime/editor/components/Form/Group/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/Form/Group/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/Form/Item/index.d.vue.ts +13 -0
- package/dist/runtime/editor/components/Form/Item/index.vue.d.ts +13 -0
- package/dist/runtime/editor/components/Form/Radio/index.d.vue.ts +23 -0
- package/dist/runtime/editor/components/Form/Radio/index.vue +34 -0
- package/dist/runtime/editor/components/Form/Radio/index.vue.d.ts +23 -0
- package/dist/runtime/editor/components/Form/RadioTabs/index.d.vue.ts +24 -0
- package/dist/runtime/editor/components/Form/RadioTabs/index.vue +37 -0
- package/dist/runtime/editor/components/Form/RadioTabs/index.vue.d.ts +24 -0
- package/dist/runtime/editor/components/Form/Select/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/Form/Select/index.vue +29 -0
- package/dist/runtime/editor/components/Form/Select/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Form/Text/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/Form/Text/index.vue +46 -0
- package/dist/runtime/editor/components/Form/Text/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Form/Textarea/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/Form/Textarea/index.vue +34 -0
- package/dist/runtime/editor/components/Form/Textarea/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Form/Toggle/index.d.vue.ts +27 -0
- package/dist/runtime/editor/components/Form/Toggle/index.vue +26 -0
- package/dist/runtime/editor/components/Form/Toggle/index.vue.d.ts +27 -0
- package/dist/runtime/editor/components/FormOverlay/Header/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/FormOverlay/Header/index.vue +28 -0
- package/dist/runtime/editor/components/FormOverlay/Header/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/FormOverlay/index.d.vue.ts +27 -0
- package/dist/runtime/editor/components/FormOverlay/index.vue +55 -0
- package/dist/runtime/editor/components/FormOverlay/index.vue.d.ts +27 -0
- package/dist/runtime/editor/components/Highlight/index.d.vue.ts +21 -0
- package/dist/runtime/editor/components/Highlight/index.vue.d.ts +21 -0
- package/dist/runtime/editor/components/Icon/index.d.vue.ts +8 -0
- package/dist/runtime/editor/components/Icon/index.vue +35 -0
- package/dist/runtime/editor/components/Icon/index.vue.d.ts +8 -0
- package/dist/runtime/editor/components/Indicators/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Indicators/index.vue +133 -0
- package/dist/runtime/editor/components/Indicators/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/InfoBox/index.d.vue.ts +23 -0
- package/dist/runtime/editor/components/InfoBox/index.vue +19 -0
- package/dist/runtime/editor/components/InfoBox/index.vue.d.ts +23 -0
- package/dist/runtime/editor/components/ItemIcon/index.d.vue.ts +10 -0
- package/dist/runtime/editor/components/ItemIcon/index.vue +45 -0
- package/dist/runtime/editor/components/ItemIcon/index.vue.d.ts +10 -0
- package/dist/runtime/editor/components/ItemIconBox/index.d.vue.ts +18 -0
- package/dist/runtime/editor/components/ItemIconBox/index.vue +43 -0
- package/dist/runtime/editor/components/ItemIconBox/index.vue.d.ts +18 -0
- package/dist/runtime/editor/components/Konami/Game/PixelGrid.d.vue.ts +8 -0
- package/dist/runtime/editor/components/Konami/Game/PixelGrid.vue +66 -0
- package/dist/runtime/editor/components/Konami/Game/PixelGrid.vue.d.ts +8 -0
- package/dist/runtime/editor/components/Konami/Game/blokkli.png +0 -0
- package/dist/runtime/editor/components/Konami/Game/charmap.d.ts +2 -0
- package/dist/runtime/editor/components/Konami/Game/charmap.js +168 -0
- package/dist/runtime/editor/components/Konami/Game/index.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Konami/Game/index.vue +751 -0
- package/dist/runtime/editor/components/Konami/Game/index.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Konami/Game/textRendering.d.ts +8 -0
- package/dist/runtime/editor/components/Konami/Game/textRendering.js +138 -0
- package/dist/runtime/editor/components/Konami/Game/useIconRendering.d.ts +9 -0
- package/dist/runtime/editor/components/Konami/Game/useIconRendering.js +131 -0
- package/dist/runtime/editor/components/Konami/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Konami/index.vue +42 -0
- package/dist/runtime/editor/components/Konami/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Loading/index.d.vue.ts +9 -0
- package/dist/runtime/editor/components/Loading/index.vue +22 -0
- package/dist/runtime/editor/components/Loading/index.vue.d.ts +9 -0
- package/dist/runtime/editor/components/Messages/Item/index.d.vue.ts +12 -0
- package/dist/runtime/editor/components/Messages/Item/index.vue +105 -0
- package/dist/runtime/editor/components/Messages/Item/index.vue.d.ts +12 -0
- package/dist/runtime/editor/components/Messages/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Messages/index.vue +41 -0
- package/dist/runtime/editor/components/Messages/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/NestedEditorOverlay/index.d.vue.ts +29 -0
- package/dist/runtime/editor/components/NestedEditorOverlay/index.vue +278 -0
- package/dist/runtime/editor/components/NestedEditorOverlay/index.vue.d.ts +29 -0
- package/dist/runtime/editor/components/Overlay/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Overlay/index.vue +70 -0
- package/dist/runtime/editor/components/Overlay/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Pagination/index.d.vue.ts +14 -0
- package/dist/runtime/editor/components/Pagination/index.vue +19 -0
- package/dist/runtime/editor/components/Pagination/index.vue.d.ts +14 -0
- package/dist/runtime/editor/components/PluginConfigForm/Checkbox/index.d.vue.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Checkbox/index.vue +17 -0
- package/dist/runtime/editor/components/PluginConfigForm/Checkbox/index.vue.d.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Options/index.d.vue.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Options/index.vue +37 -0
- package/dist/runtime/editor/components/PluginConfigForm/Options/index.vue.d.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Text/index.d.vue.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Text/index.vue +43 -0
- package/dist/runtime/editor/components/PluginConfigForm/Text/index.vue.d.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/index.d.vue.ts +30 -0
- package/dist/runtime/editor/components/PluginConfigForm/index.vue +63 -0
- package/dist/runtime/editor/components/PluginConfigForm/index.vue.d.ts +30 -0
- package/dist/runtime/editor/components/Popup/index.d.vue.ts +30 -0
- package/dist/runtime/editor/components/Popup/index.vue +82 -0
- package/dist/runtime/editor/components/Popup/index.vue.d.ts +30 -0
- package/dist/runtime/editor/components/PreviewProvider.d.vue.ts +31 -0
- package/dist/runtime/editor/components/PreviewProvider.vue +187 -0
- package/dist/runtime/editor/components/PreviewProvider.vue.d.ts +31 -0
- package/dist/runtime/editor/components/RelativeTime/index.d.vue.ts +17 -0
- package/dist/runtime/editor/components/RelativeTime/index.vue +73 -0
- package/dist/runtime/editor/components/RelativeTime/index.vue.d.ts +17 -0
- package/dist/runtime/editor/components/Resizable/index.d.vue.ts +14 -0
- package/dist/runtime/editor/components/Resizable/index.vue +83 -0
- package/dist/runtime/editor/components/Resizable/index.vue.d.ts +14 -0
- package/dist/runtime/editor/components/ScaleToFit/index.d.vue.ts +16 -0
- package/dist/runtime/editor/components/ScaleToFit/index.vue +70 -0
- package/dist/runtime/editor/components/ScaleToFit/index.vue.d.ts +16 -0
- package/dist/runtime/editor/components/ScheduleDate/index.d.vue.ts +25 -0
- package/dist/runtime/editor/components/ScheduleDate/index.vue +131 -0
- package/dist/runtime/editor/components/ScheduleDate/index.vue.d.ts +25 -0
- package/dist/runtime/editor/components/ScrollBoundary/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/ScrollBoundary/index.vue +23 -0
- package/dist/runtime/editor/components/ScrollBoundary/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/ShortcutIndicator/index.d.vue.ts +21 -0
- package/dist/runtime/editor/components/ShortcutIndicator/index.vue +79 -0
- package/dist/runtime/editor/components/ShortcutIndicator/index.vue.d.ts +21 -0
- package/dist/runtime/editor/components/Sortli/index.d.vue.ts +17 -0
- package/dist/runtime/editor/components/Sortli/index.vue +81 -0
- package/dist/runtime/editor/components/Sortli/index.vue.d.ts +17 -0
- package/dist/runtime/editor/components/StatusIcon/index.d.vue.ts +9 -0
- package/dist/runtime/editor/components/StatusIcon/index.vue +31 -0
- package/dist/runtime/editor/components/StatusIcon/index.vue.d.ts +9 -0
- package/dist/runtime/editor/components/SystemRequirements/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/SystemRequirements/index.vue +85 -0
- package/dist/runtime/editor/components/SystemRequirements/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Toolbar/index.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Toolbar/index.vue +189 -0
- package/dist/runtime/editor/components/Toolbar/index.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Transition/Height.d.vue.ts +37 -0
- package/dist/runtime/editor/components/Transition/Height.vue +96 -0
- package/dist/runtime/editor/components/Transition/Height.vue.d.ts +37 -0
- package/dist/runtime/editor/components/Transition/index.d.vue.ts +20 -0
- package/dist/runtime/editor/components/Transition/index.vue +42 -0
- package/dist/runtime/editor/components/Transition/index.vue.d.ts +20 -0
- package/dist/runtime/editor/components/ViewportBlockingRect/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/ViewportBlockingRect/index.vue +60 -0
- package/dist/runtime/editor/components/ViewportBlockingRect/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/index.d.ts +49 -0
- package/dist/runtime/editor/components/index.js +98 -0
- package/dist/runtime/editor/composables/addElementClasses.d.ts +2 -0
- package/dist/runtime/editor/composables/addElementClasses.js +24 -0
- package/dist/runtime/editor/composables/defineAddAction.d.ts +2 -0
- package/dist/runtime/editor/composables/defineAddAction.js +10 -0
- package/dist/runtime/editor/composables/defineCommands.d.ts +2 -0
- package/dist/runtime/editor/composables/defineCommands.js +10 -0
- package/dist/runtime/editor/composables/defineDropAreas.d.ts +3 -0
- package/dist/runtime/editor/composables/defineDropAreas.js +10 -0
- package/dist/runtime/editor/composables/defineDropHandler.d.ts +3 -0
- package/dist/runtime/editor/composables/defineDropHandler.js +10 -0
- package/dist/runtime/editor/composables/defineElementStyle.d.ts +2 -0
- package/dist/runtime/editor/composables/defineElementStyle.js +33 -0
- package/dist/runtime/editor/composables/defineItemDropdownAction.d.ts +2 -0
- package/dist/runtime/editor/composables/defineItemDropdownAction.js +10 -0
- package/dist/runtime/editor/composables/defineMenuButton.d.ts +2 -0
- package/dist/runtime/editor/composables/defineMenuButton.js +10 -0
- package/dist/runtime/editor/composables/defineRenderer.d.ts +11 -0
- package/dist/runtime/editor/composables/defineRenderer.js +9 -0
- package/dist/runtime/editor/composables/defineShortcut.d.ts +2 -0
- package/dist/runtime/editor/composables/defineShortcut.js +18 -0
- package/dist/runtime/editor/composables/defineTourItem.d.ts +2 -0
- package/dist/runtime/editor/composables/defineTourItem.js +10 -0
- package/dist/runtime/editor/composables/index.d.ts +25 -0
- package/dist/runtime/editor/composables/index.js +25 -0
- package/dist/runtime/editor/composables/onBlokkliEvent.d.ts +2 -0
- package/dist/runtime/editor/composables/onBlokkliEvent.js +10 -0
- package/dist/runtime/editor/composables/onBroadcastEvent.d.ts +2 -0
- package/dist/runtime/editor/composables/onBroadcastEvent.js +10 -0
- package/dist/runtime/editor/composables/onElementResize.d.ts +3 -0
- package/dist/runtime/editor/composables/onElementResize.js +36 -0
- package/dist/runtime/editor/composables/useAnimationFrame.d.ts +1 -0
- package/dist/runtime/editor/composables/useAnimationFrame.js +14 -0
- package/dist/runtime/editor/composables/useBlockRegistration.d.ts +5 -0
- package/dist/runtime/editor/composables/useBlockRegistration.js +41 -0
- package/dist/runtime/editor/composables/useDebugLogger.d.ts +2 -0
- package/dist/runtime/editor/composables/useDebugLogger.js +5 -0
- package/dist/runtime/editor/composables/useDelayedIntersectionObserver.d.ts +5 -0
- package/dist/runtime/editor/composables/useDelayedIntersectionObserver.js +27 -0
- package/dist/runtime/editor/composables/useDialog.d.ts +3 -0
- package/dist/runtime/editor/composables/useDialog.js +16 -0
- package/dist/runtime/editor/composables/useEditableFieldOverride.d.ts +26 -0
- package/dist/runtime/editor/composables/useEditableFieldOverride.js +140 -0
- package/dist/runtime/editor/composables/useFocusTrap.d.ts +52 -0
- package/dist/runtime/editor/composables/useFocusTrap.js +59 -0
- package/dist/runtime/editor/composables/useGlobalBlokkliObject.d.ts +16 -0
- package/dist/runtime/editor/composables/useGlobalBlokkliObject.js +36 -0
- package/dist/runtime/editor/composables/useStateBasedCache.d.ts +4 -0
- package/dist/runtime/editor/composables/useStateBasedCache.js +13 -0
- package/dist/runtime/editor/composables/useStickyToolbar.d.ts +24 -0
- package/dist/runtime/editor/composables/useStickyToolbar.js +268 -0
- package/dist/runtime/editor/composables/useTransitionedValue.d.ts +18 -0
- package/dist/runtime/editor/composables/useTransitionedValue.js +57 -0
- package/dist/runtime/editor/css/output.css +1 -0
- package/dist/runtime/editor/events/index.d.ts +278 -0
- package/dist/runtime/editor/events/index.js +6 -0
- package/dist/runtime/editor/features/add-list/Actions/Action.d.vue.ts +15 -0
- package/dist/runtime/editor/features/add-list/Actions/Action.vue +60 -0
- package/dist/runtime/editor/features/add-list/Actions/Action.vue.d.ts +15 -0
- package/dist/runtime/editor/features/add-list/Actions/index.d.vue.ts +16 -0
- package/dist/runtime/editor/features/add-list/Actions/index.vue +61 -0
- package/dist/runtime/editor/features/add-list/Actions/index.vue.d.ts +16 -0
- package/dist/runtime/editor/features/add-list/Blocks/index.d.vue.ts +21 -0
- package/dist/runtime/editor/features/add-list/Blocks/index.vue +308 -0
- package/dist/runtime/editor/features/add-list/Blocks/index.vue.d.ts +21 -0
- package/dist/runtime/editor/features/add-list/Help/Item.d.vue.ts +12 -0
- package/dist/runtime/editor/features/add-list/Help/Item.vue +189 -0
- package/dist/runtime/editor/features/add-list/Help/Item.vue.d.ts +12 -0
- package/dist/runtime/editor/features/add-list/Help/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/add-list/Help/index.vue +127 -0
- package/dist/runtime/editor/features/add-list/Help/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/add-list/docs.md +4 -0
- package/dist/runtime/editor/features/add-list/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/add-list/index.vue +305 -0
- package/dist/runtime/editor/features/add-list/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/add-list/types.d.ts +24 -0
- package/dist/runtime/editor/features/add-list/types.js +0 -0
- package/dist/runtime/editor/features/analyze/Icon.d.vue.ts +6 -0
- package/dist/runtime/editor/features/analyze/Icon.vue +85 -0
- package/dist/runtime/editor/features/analyze/Icon.vue.d.ts +6 -0
- package/dist/runtime/editor/features/analyze/Main.d.vue.ts +23 -0
- package/dist/runtime/editor/features/analyze/Main.vue +397 -0
- package/dist/runtime/editor/features/analyze/Main.vue.d.ts +23 -0
- package/dist/runtime/editor/features/analyze/Renderer/fragment.glsl +74 -0
- package/dist/runtime/editor/features/analyze/Renderer/index.d.vue.ts +24 -0
- package/dist/runtime/editor/features/analyze/Renderer/index.vue +330 -0
- package/dist/runtime/editor/features/analyze/Renderer/index.vue.d.ts +24 -0
- package/dist/runtime/editor/features/analyze/Renderer/vertex.glsl +94 -0
- package/dist/runtime/editor/features/analyze/Results/Results.d.vue.ts +15 -0
- package/dist/runtime/editor/features/analyze/Results/Results.vue +102 -0
- package/dist/runtime/editor/features/analyze/Results/Results.vue.d.ts +15 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.d.vue.ts +23 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue +56 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue.d.ts +23 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.d.vue.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue +80 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue.d.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.d.vue.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue +123 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue.d.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/Status.d.vue.ts +9 -0
- package/dist/runtime/editor/features/analyze/Results/Status.vue +18 -0
- package/dist/runtime/editor/features/analyze/Results/Status.vue.d.ts +9 -0
- package/dist/runtime/editor/features/analyze/Summary/Chart.d.vue.ts +18 -0
- package/dist/runtime/editor/features/analyze/Summary/Chart.vue +96 -0
- package/dist/runtime/editor/features/analyze/Summary/Chart.vue.d.ts +18 -0
- package/dist/runtime/editor/features/analyze/Summary/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/analyze/Summary/index.vue +77 -0
- package/dist/runtime/editor/features/analyze/Summary/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/analyze/analyzers/altText.d.ts +2 -0
- package/dist/runtime/editor/features/analyze/analyzers/altText.js +60 -0
- package/dist/runtime/editor/features/analyze/analyzers/axe.d.ts +12 -0
- package/dist/runtime/editor/features/analyze/analyzers/axe.js +78 -0
- package/dist/runtime/editor/features/analyze/analyzers/defineAnalyzer.d.ts +4 -0
- package/dist/runtime/editor/features/analyze/analyzers/defineAnalyzer.js +5 -0
- package/dist/runtime/editor/features/analyze/analyzers/headingStructure.d.ts +2 -0
- package/dist/runtime/editor/features/analyze/analyzers/headingStructure.js +141 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/Context.d.ts +38 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/Context.js +51 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/collectTextElements.d.ts +5 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/collectTextElements.js +98 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/normalizeArray.d.ts +3 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/normalizeArray.js +13 -0
- package/dist/runtime/editor/features/analyze/analyzers/index.d.ts +6 -0
- package/dist/runtime/editor/features/analyze/analyzers/index.js +12 -0
- package/dist/runtime/editor/features/analyze/analyzers/readability.d.ts +2 -0
- package/dist/runtime/editor/features/analyze/analyzers/readability.js +135 -0
- package/dist/runtime/editor/features/analyze/analyzers/types.d.ts +78 -0
- package/dist/runtime/editor/features/analyze/analyzers/types.js +0 -0
- package/dist/runtime/editor/features/analyze/helper.d.ts +5 -0
- package/dist/runtime/editor/features/analyze/helper.js +28 -0
- package/dist/runtime/editor/features/analyze/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/analyze/index.vue +72 -0
- package/dist/runtime/editor/features/analyze/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/analyze/readability/adapterTypes.d.ts +9 -0
- package/dist/runtime/editor/features/analyze/readability/adapterTypes.js +0 -0
- package/dist/runtime/editor/features/analyze/readability/builtinAnalyzer.d.ts +6 -0
- package/dist/runtime/editor/features/analyze/readability/builtinAnalyzer.js +216 -0
- package/dist/runtime/editor/features/analyze/readability/chunkHtml.d.ts +15 -0
- package/dist/runtime/editor/features/analyze/readability/chunkHtml.js +97 -0
- package/dist/runtime/editor/features/analyze/readability/types.d.ts +87 -0
- package/dist/runtime/editor/features/analyze/readability/types.js +0 -0
- package/dist/runtime/editor/features/analyze/types.d.ts +9 -0
- package/dist/runtime/editor/features/analyze/types.js +0 -0
- package/dist/runtime/editor/features/anchors/Overlay/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/anchors/Overlay/index.vue +71 -0
- package/dist/runtime/editor/features/anchors/Overlay/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/anchors/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/anchors/index.vue +32 -0
- package/dist/runtime/editor/features/anchors/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/anchors/types.d.ts +8 -0
- package/dist/runtime/editor/features/anchors/types.js +0 -0
- package/dist/runtime/editor/features/artboard/Overview/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/artboard/Overview/index.vue +122 -0
- package/dist/runtime/editor/features/artboard/Overview/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/artboard/Renderer.d.vue.ts +8 -0
- package/dist/runtime/editor/features/artboard/Renderer.vue +369 -0
- package/dist/runtime/editor/features/artboard/Renderer.vue.d.ts +8 -0
- package/dist/runtime/editor/features/artboard/Scrollbar/index.d.vue.ts +8 -0
- package/dist/runtime/editor/features/artboard/Scrollbar/index.vue +48 -0
- package/dist/runtime/editor/features/artboard/Scrollbar/index.vue.d.ts +8 -0
- package/dist/runtime/editor/features/artboard/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/artboard/index.vue +92 -0
- package/dist/runtime/editor/features/artboard/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/assistant/Overlay/index.d.vue.ts +9 -0
- package/dist/runtime/editor/features/assistant/Overlay/index.vue +108 -0
- package/dist/runtime/editor/features/assistant/Overlay/index.vue.d.ts +9 -0
- package/dist/runtime/editor/features/assistant/docs.md +7 -0
- package/dist/runtime/editor/features/assistant/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/assistant/index.vue +66 -0
- package/dist/runtime/editor/features/assistant/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/assistant/types.d.ts +37 -0
- package/dist/runtime/editor/features/assistant/types.js +0 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.d.vue.ts +29 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.vue +154 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.vue.d.ts +29 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/index.vue +232 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/block-scheduler/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/block-scheduler/index.vue +102 -0
- package/dist/runtime/editor/features/block-scheduler/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/block-scheduler/types.d.ts +25 -0
- package/dist/runtime/editor/features/block-scheduler/types.js +0 -0
- package/dist/runtime/editor/features/breadcrumbs/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/breadcrumbs/index.vue +209 -0
- package/dist/runtime/editor/features/breadcrumbs/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/changelog/Dialog/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/changelog/Dialog/index.vue +43 -0
- package/dist/runtime/editor/features/changelog/Dialog/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/changelog/changelog.json +66 -0
- package/dist/runtime/editor/features/changelog/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/changelog/index.vue +56 -0
- package/dist/runtime/editor/features/changelog/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/clipboard/DropElement/Video.d.vue.ts +8 -0
- package/dist/runtime/editor/features/clipboard/DropElement/Video.vue +50 -0
- package/dist/runtime/editor/features/clipboard/DropElement/Video.vue.d.ts +8 -0
- package/dist/runtime/editor/features/clipboard/DropElement/helpers.d.ts +1 -0
- package/dist/runtime/editor/features/clipboard/DropElement/helpers.js +14 -0
- package/dist/runtime/editor/features/clipboard/DropElement/index.d.vue.ts +16 -0
- package/dist/runtime/editor/features/clipboard/DropElement/index.vue +97 -0
- package/dist/runtime/editor/features/clipboard/DropElement/index.vue.d.ts +16 -0
- package/dist/runtime/editor/features/clipboard/helpers.d.ts +15 -0
- package/dist/runtime/editor/features/clipboard/helpers.js +62 -0
- package/dist/runtime/editor/features/clipboard/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/clipboard/index.vue +840 -0
- package/dist/runtime/editor/features/clipboard/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/clipboard/types.d.ts +117 -0
- package/dist/runtime/editor/features/clipboard/types.js +0 -0
- package/dist/runtime/editor/features/command-palette/Palette/Item/index.d.vue.ts +20 -0
- package/dist/runtime/editor/features/command-palette/Palette/Item/index.vue +49 -0
- package/dist/runtime/editor/features/command-palette/Palette/Item/index.vue.d.ts +20 -0
- package/dist/runtime/editor/features/command-palette/Palette/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/command-palette/Palette/index.vue +229 -0
- package/dist/runtime/editor/features/command-palette/Palette/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/command-palette/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/command-palette/index.vue +51 -0
- package/dist/runtime/editor/features/command-palette/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/command-palette/types.d.ts +11 -0
- package/dist/runtime/editor/features/command-palette/types.js +0 -0
- package/dist/runtime/editor/features/comments/AddForm/index.d.vue.ts +11 -0
- package/dist/runtime/editor/features/comments/AddForm/index.vue +44 -0
- package/dist/runtime/editor/features/comments/AddForm/index.vue.d.ts +11 -0
- package/dist/runtime/editor/features/comments/Comment/index.d.vue.ts +24 -0
- package/dist/runtime/editor/features/comments/Comment/index.vue +45 -0
- package/dist/runtime/editor/features/comments/Comment/index.vue.d.ts +24 -0
- package/dist/runtime/editor/features/comments/CommentInput/index.d.vue.ts +15 -0
- package/dist/runtime/editor/features/comments/CommentInput/index.vue +29 -0
- package/dist/runtime/editor/features/comments/CommentInput/index.vue.d.ts +15 -0
- package/dist/runtime/editor/features/comments/Overlay/Item/index.d.vue.ts +21 -0
- package/dist/runtime/editor/features/comments/Overlay/Item/index.vue +94 -0
- package/dist/runtime/editor/features/comments/Overlay/Item/index.vue.d.ts +21 -0
- package/dist/runtime/editor/features/comments/Overlay/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/comments/Overlay/index.vue +113 -0
- package/dist/runtime/editor/features/comments/Overlay/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/comments/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/comments/index.vue +113 -0
- package/dist/runtime/editor/features/comments/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/comments/types.d.ts +32 -0
- package/dist/runtime/editor/features/comments/types.js +0 -0
- package/dist/runtime/editor/features/complex-options/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/complex-options/index.vue +98 -0
- package/dist/runtime/editor/features/complex-options/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/conversions/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/conversions/index.vue +84 -0
- package/dist/runtime/editor/features/conversions/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/conversions/types.d.ts +16 -0
- package/dist/runtime/editor/features/conversions/types.js +0 -0
- package/dist/runtime/editor/features/debug/DebugSection.d.vue.ts +17 -0
- package/dist/runtime/editor/features/debug/DebugSection.vue +24 -0
- package/dist/runtime/editor/features/debug/DebugSection.vue.d.ts +17 -0
- package/dist/runtime/editor/features/debug/Main.d.vue.ts +7 -0
- package/dist/runtime/editor/features/debug/Main.vue +80 -0
- package/dist/runtime/editor/features/debug/Main.vue.d.ts +7 -0
- package/dist/runtime/editor/features/debug/Rects/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Rects/index.vue +61 -0
- package/dist/runtime/editor/features/debug/Rects/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Features.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Features.vue +34 -0
- package/dist/runtime/editor/features/debug/Section/Features.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Icons.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Icons.vue +17 -0
- package/dist/runtime/editor/features/debug/Section/Icons.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Keyboard.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Keyboard.vue +17 -0
- package/dist/runtime/editor/features/debug/Section/Keyboard.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Logging.d.vue.ts +7 -0
- package/dist/runtime/editor/features/debug/Section/Logging.vue +66 -0
- package/dist/runtime/editor/features/debug/Section/Logging.vue.d.ts +7 -0
- package/dist/runtime/editor/features/debug/Section/Rendering.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Rendering.vue +96 -0
- package/dist/runtime/editor/features/debug/Section/Rendering.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Selection.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Selection.vue +25 -0
- package/dist/runtime/editor/features/debug/Section/Selection.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Viewport/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Viewport/index.vue +98 -0
- package/dist/runtime/editor/features/debug/Viewport/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/index.vue +31 -0
- package/dist/runtime/editor/features/debug/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/delete/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/delete/index.vue +83 -0
- package/dist/runtime/editor/features/delete/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/delete/types.d.ts +8 -0
- package/dist/runtime/editor/features/delete/types.js +0 -0
- package/dist/runtime/editor/features/dev-mode/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/dev-mode/index.vue +122 -0
- package/dist/runtime/editor/features/dev-mode/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/diff/DiffView/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/diff/DiffView/index.vue +20 -0
- package/dist/runtime/editor/features/diff/DiffView/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/diff/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/diff/index.vue +35 -0
- package/dist/runtime/editor/features/diff/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/DragItem.d.vue.ts +27 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/DragItem.vue +88 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/DragItem.vue.d.ts +27 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.d.vue.ts +31 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.vue +395 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.vue.d.ts +31 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/fragment.glsl +152 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.d.vue.ts +31 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue +934 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue.d.ts +31 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/vertex.glsl +183 -0
- package/dist/runtime/editor/features/dragging-overlay/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/dragging-overlay/index.vue +366 -0
- package/dist/runtime/editor/features/dragging-overlay/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/duplicate/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/duplicate/index.vue +121 -0
- package/dist/runtime/editor/features/duplicate/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/duplicate/types.d.ts +8 -0
- package/dist/runtime/editor/features/duplicate/types.js +0 -0
- package/dist/runtime/editor/features/edit/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/edit/index.vue +160 -0
- package/dist/runtime/editor/features/edit/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/edit/types.d.ts +9 -0
- package/dist/runtime/editor/features/edit/types.js +0 -0
- package/dist/runtime/editor/features/edit-form/Frame/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/edit-form/Frame/index.vue +70 -0
- package/dist/runtime/editor/features/edit-form/Frame/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/edit-form/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/edit-form/index.vue +176 -0
- package/dist/runtime/editor/features/edit-form/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Contenteditable/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Contenteditable/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue +116 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.d.vue.ts +20 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.vue +70 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.vue.d.ts +20 -0
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/ChunkOverlay.d.vue.ts +8 -0
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/ChunkOverlay.vue +135 -0
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/ChunkOverlay.vue.d.ts +8 -0
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/index.vue +187 -0
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/editable-field/Overlay/index.d.vue.ts +17 -0
- package/dist/runtime/editor/features/editable-field/Overlay/index.vue +254 -0
- package/dist/runtime/editor/features/editable-field/Overlay/index.vue.d.ts +17 -0
- package/dist/runtime/editor/features/editable-field/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/editable-field/index.vue +164 -0
- package/dist/runtime/editor/features/editable-field/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/editable-field/types.d.ts +64 -0
- package/dist/runtime/editor/features/editable-field/types.js +0 -0
- package/dist/runtime/editor/features/editable-mask/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/editable-mask/index.vue +39 -0
- package/dist/runtime/editor/features/editable-mask/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/entity-title/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/entity-title/index.vue +136 -0
- package/dist/runtime/editor/features/entity-title/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/exit/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/exit/index.vue +38 -0
- package/dist/runtime/editor/features/exit/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/fragments/Dialog/Item/index.d.vue.ts +9 -0
- package/dist/runtime/editor/features/fragments/Dialog/Item/index.vue +34 -0
- package/dist/runtime/editor/features/fragments/Dialog/Item/index.vue.d.ts +9 -0
- package/dist/runtime/editor/features/fragments/Dialog/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/fragments/Dialog/index.vue +122 -0
- package/dist/runtime/editor/features/fragments/Dialog/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/fragments/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/fragments/index.vue +79 -0
- package/dist/runtime/editor/features/fragments/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/fragments/types.d.ts +15 -0
- package/dist/runtime/editor/features/fragments/types.js +0 -0
- package/dist/runtime/editor/features/grid/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/grid/index.vue +37 -0
- package/dist/runtime/editor/features/grid/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/grid/types.d.ts +8 -0
- package/dist/runtime/editor/features/grid/types.js +0 -0
- package/dist/runtime/editor/features/help/Shortcuts/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/help/Shortcuts/index.vue +60 -0
- package/dist/runtime/editor/features/help/Shortcuts/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/help/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/help/index.vue +49 -0
- package/dist/runtime/editor/features/help/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/history/List/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/history/List/index.vue +128 -0
- package/dist/runtime/editor/features/history/List/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/history/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/history/index.vue +151 -0
- package/dist/runtime/editor/features/history/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/history/types.d.ts +12 -0
- package/dist/runtime/editor/features/history/types.js +0 -0
- package/dist/runtime/editor/features/hover/Renderer/fragment.glsl +141 -0
- package/dist/runtime/editor/features/hover/Renderer/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/hover/Renderer/index.vue +488 -0
- package/dist/runtime/editor/features/hover/Renderer/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/hover/Renderer/vertex.glsl +158 -0
- package/dist/runtime/editor/features/hover/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/hover/index.vue +28 -0
- package/dist/runtime/editor/features/hover/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/import-existing/Dialog/index.d.vue.ts +15 -0
- package/dist/runtime/editor/features/import-existing/Dialog/index.vue +117 -0
- package/dist/runtime/editor/features/import-existing/Dialog/index.vue.d.ts +15 -0
- package/dist/runtime/editor/features/import-existing/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/import-existing/index.vue +80 -0
- package/dist/runtime/editor/features/import-existing/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/import-existing/types.d.ts +23 -0
- package/dist/runtime/editor/features/import-existing/types.js +0 -0
- package/dist/runtime/editor/features/library/LibraryDialog/Item/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/library/LibraryDialog/Item/index.vue +21 -0
- package/dist/runtime/editor/features/library/LibraryDialog/Item/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/library/LibraryDialog/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/library/LibraryDialog/index.vue +143 -0
- package/dist/runtime/editor/features/library/LibraryDialog/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/library/ReusableDialog/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/library/ReusableDialog/index.vue +104 -0
- package/dist/runtime/editor/features/library/ReusableDialog/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/library/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/library/index.vue +270 -0
- package/dist/runtime/editor/features/library/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/library/types.d.ts +87 -0
- package/dist/runtime/editor/features/library/types.js +0 -0
- package/dist/runtime/editor/features/media-library/Library/FilterSelect/index.d.vue.ts +15 -0
- package/dist/runtime/editor/features/media-library/Library/FilterSelect/index.vue +168 -0
- package/dist/runtime/editor/features/media-library/Library/FilterSelect/index.vue.d.ts +15 -0
- package/dist/runtime/editor/features/media-library/Library/Item.d.vue.ts +22 -0
- package/dist/runtime/editor/features/media-library/Library/Item.vue +57 -0
- package/dist/runtime/editor/features/media-library/Library/Item.vue.d.ts +22 -0
- package/dist/runtime/editor/features/media-library/Library/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/media-library/Library/index.vue +205 -0
- package/dist/runtime/editor/features/media-library/Library/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/media-library/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/media-library/index.vue +144 -0
- package/dist/runtime/editor/features/media-library/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/media-library/types.d.ts +85 -0
- package/dist/runtime/editor/features/media-library/types.js +0 -0
- package/dist/runtime/editor/features/multi-select/Renderer/fragment.glsl +77 -0
- package/dist/runtime/editor/features/multi-select/Renderer/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/multi-select/Renderer/index.vue +300 -0
- package/dist/runtime/editor/features/multi-select/Renderer/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/multi-select/Renderer/vertex.glsl +207 -0
- package/dist/runtime/editor/features/multi-select/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/multi-select/index.vue +69 -0
- package/dist/runtime/editor/features/multi-select/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/options/Form/Checkbox/index.d.vue.ts +17 -0
- package/dist/runtime/editor/features/options/Form/Checkbox/index.vue +46 -0
- package/dist/runtime/editor/features/options/Form/Checkbox/index.vue.d.ts +17 -0
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.d.vue.ts +25 -0
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue +112 -0
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue.d.ts +25 -0
- package/dist/runtime/editor/features/options/Form/Color/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/options/Form/Color/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/options/Form/ComplexType/index.d.vue.ts +11 -0
- package/dist/runtime/editor/features/options/Form/ComplexType/index.vue +36 -0
- package/dist/runtime/editor/features/options/Form/ComplexType/index.vue.d.ts +11 -0
- package/dist/runtime/editor/features/options/Form/DateTimeLocal/index.d.vue.ts +21 -0
- package/dist/runtime/editor/features/options/Form/DateTimeLocal/index.vue.d.ts +21 -0
- package/dist/runtime/editor/features/options/Form/Group.d.vue.ts +21 -0
- package/dist/runtime/editor/features/options/Form/Group.vue +23 -0
- package/dist/runtime/editor/features/options/Form/Group.vue.d.ts +21 -0
- package/dist/runtime/editor/features/options/Form/Item.d.vue.ts +15 -0
- package/dist/runtime/editor/features/options/Form/Item.vue +160 -0
- package/dist/runtime/editor/features/options/Form/Item.vue.d.ts +15 -0
- package/dist/runtime/editor/features/options/Form/Number/index.d.vue.ts +22 -0
- package/dist/runtime/editor/features/options/Form/Number/index.vue +54 -0
- package/dist/runtime/editor/features/options/Form/Number/index.vue.d.ts +22 -0
- package/dist/runtime/editor/features/options/Form/Radios/index.d.vue.ts +37 -0
- package/dist/runtime/editor/features/options/Form/Radios/index.vue +129 -0
- package/dist/runtime/editor/features/options/Form/Radios/index.vue.d.ts +37 -0
- package/dist/runtime/editor/features/options/Form/Range/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/options/Form/Range/index.vue +37 -0
- package/dist/runtime/editor/features/options/Form/Range/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/options/Form/Text/index.d.vue.ts +18 -0
- package/dist/runtime/editor/features/options/Form/Text/index.vue.d.ts +18 -0
- package/dist/runtime/editor/features/options/Form/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/options/Form/index.vue +350 -0
- package/dist/runtime/editor/features/options/Form/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/options/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/options/index.vue +86 -0
- package/dist/runtime/editor/features/options/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/options/types.d.ts +21 -0
- package/dist/runtime/editor/features/options/types.js +0 -0
- package/dist/runtime/editor/features/ownership/Banner/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/ownership/Banner/index.vue +44 -0
- package/dist/runtime/editor/features/ownership/Banner/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/ownership/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/ownership/index.vue +44 -0
- package/dist/runtime/editor/features/ownership/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/ownership/types.d.ts +13 -0
- package/dist/runtime/editor/features/ownership/types.js +0 -0
- package/dist/runtime/editor/features/preview/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/preview/index.vue +41 -0
- package/dist/runtime/editor/features/preview/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/preview-grant/QrCode/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/preview-grant/QrCode/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/preview-grant/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/preview-grant/index.vue +71 -0
- package/dist/runtime/editor/features/preview-grant/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/preview-grant/types.d.ts +10 -0
- package/dist/runtime/editor/features/preview-grant/types.js +0 -0
- package/dist/runtime/editor/features/proxy-view/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/proxy-view/index.vue +40 -0
- package/dist/runtime/editor/features/proxy-view/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/publish/Dialog/Item.d.vue.ts +22 -0
- package/dist/runtime/editor/features/publish/Dialog/Item.vue +145 -0
- package/dist/runtime/editor/features/publish/Dialog/Item.vue.d.ts +22 -0
- package/dist/runtime/editor/features/publish/Dialog/PublishOption.d.vue.ts +21 -0
- package/dist/runtime/editor/features/publish/Dialog/PublishOption.vue +47 -0
- package/dist/runtime/editor/features/publish/Dialog/PublishOption.vue.d.ts +21 -0
- package/dist/runtime/editor/features/publish/Dialog/Summary.d.vue.ts +10 -0
- package/dist/runtime/editor/features/publish/Dialog/Summary.vue +83 -0
- package/dist/runtime/editor/features/publish/Dialog/Summary.vue.d.ts +10 -0
- package/dist/runtime/editor/features/publish/Dialog/index.d.vue.ts +9 -0
- package/dist/runtime/editor/features/publish/Dialog/index.vue +579 -0
- package/dist/runtime/editor/features/publish/Dialog/index.vue.d.ts +9 -0
- package/dist/runtime/editor/features/publish/Dialog/types.d.ts +7 -0
- package/dist/runtime/editor/features/publish/Dialog/types.js +0 -0
- package/dist/runtime/editor/features/publish/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/publish/index.vue +135 -0
- package/dist/runtime/editor/features/publish/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/publish/types.d.ts +109 -0
- package/dist/runtime/editor/features/publish/types.js +0 -0
- package/dist/runtime/editor/features/responsive-preview/Frame/index.d.vue.ts +17 -0
- package/dist/runtime/editor/features/responsive-preview/Frame/index.vue +76 -0
- package/dist/runtime/editor/features/responsive-preview/Frame/index.vue.d.ts +17 -0
- package/dist/runtime/editor/features/responsive-preview/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/responsive-preview/index.vue +193 -0
- package/dist/runtime/editor/features/responsive-preview/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/revert/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/revert/index.vue +68 -0
- package/dist/runtime/editor/features/revert/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/revert/types.d.ts +8 -0
- package/dist/runtime/editor/features/revert/types.js +0 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Content/index.d.vue.ts +18 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Content/index.vue +163 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Content/index.vue.d.ts +18 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Page/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Page/index.vue +170 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Page/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/search/Overlay/index.d.vue.ts +14 -0
- package/dist/runtime/editor/features/search/Overlay/index.vue +186 -0
- package/dist/runtime/editor/features/search/Overlay/index.vue.d.ts +14 -0
- package/dist/runtime/editor/features/search/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/search/index.vue +166 -0
- package/dist/runtime/editor/features/search/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/search/types.d.ts +88 -0
- package/dist/runtime/editor/features/search/types.js +0 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/fragment.glsl +108 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.d.vue.ts +39 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.vue +623 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.vue.d.ts +39 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/vertex.glsl +119 -0
- package/dist/runtime/editor/features/selection/AddButtons/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/selection/AddButtons/index.vue +478 -0
- package/dist/runtime/editor/features/selection/AddButtons/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/selection/Renderer/fragment.glsl +147 -0
- package/dist/runtime/editor/features/selection/Renderer/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/selection/Renderer/index.vue +303 -0
- package/dist/runtime/editor/features/selection/Renderer/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/selection/Renderer/vertex.glsl +111 -0
- package/dist/runtime/editor/features/selection/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/selection/index.vue +320 -0
- package/dist/runtime/editor/features/selection/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.vue +126 -0
- package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/settings/Dialog/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/settings/Dialog/index.vue +132 -0
- package/dist/runtime/editor/features/settings/Dialog/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/settings/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/settings/index.vue +80 -0
- package/dist/runtime/editor/features/settings/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/structure/List/Field/index.d.vue.ts +16 -0
- package/dist/runtime/editor/features/structure/List/Field/index.vue +145 -0
- package/dist/runtime/editor/features/structure/List/Field/index.vue.d.ts +16 -0
- package/dist/runtime/editor/features/structure/List/Item/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/structure/List/Item/index.vue +127 -0
- package/dist/runtime/editor/features/structure/List/Item/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/structure/List/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/structure/List/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/structure/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/structure/index.vue +99 -0
- package/dist/runtime/editor/features/structure/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/structure/types.d.ts +11 -0
- package/dist/runtime/editor/features/structure/types.js +0 -0
- package/dist/runtime/editor/features/swap/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/swap/index.vue +57 -0
- package/dist/runtime/editor/features/swap/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/swap/types.d.ts +8 -0
- package/dist/runtime/editor/features/swap/types.js +0 -0
- package/dist/runtime/editor/features/templates/CreateDialog/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/templates/CreateDialog/index.vue +116 -0
- package/dist/runtime/editor/features/templates/CreateDialog/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/templates/Dialog/Item/index.d.vue.ts +11 -0
- package/dist/runtime/editor/features/templates/Dialog/Item/index.vue +20 -0
- package/dist/runtime/editor/features/templates/Dialog/Item/index.vue.d.ts +11 -0
- package/dist/runtime/editor/features/templates/Dialog/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/templates/Dialog/index.vue +122 -0
- package/dist/runtime/editor/features/templates/Dialog/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/templates/ManageDialog/Item.d.vue.ts +8 -0
- package/dist/runtime/editor/features/templates/ManageDialog/Item.vue +147 -0
- package/dist/runtime/editor/features/templates/ManageDialog/Item.vue.d.ts +8 -0
- package/dist/runtime/editor/features/templates/ManageDialog/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/templates/ManageDialog/index.vue +107 -0
- package/dist/runtime/editor/features/templates/ManageDialog/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/templates/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/templates/index.vue +166 -0
- package/dist/runtime/editor/features/templates/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/templates/types.d.ts +66 -0
- package/dist/runtime/editor/features/templates/types.js +0 -0
- package/dist/runtime/editor/features/theme/Color/index.d.vue.ts +8 -0
- package/dist/runtime/editor/features/theme/Color/index.vue +64 -0
- package/dist/runtime/editor/features/theme/Color/index.vue.d.ts +8 -0
- package/dist/runtime/editor/features/theme/GeneratedCode/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/theme/GeneratedCode/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/theme/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/theme/index.vue +109 -0
- package/dist/runtime/editor/features/theme/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/touch-action-bar/Bar/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/touch-action-bar/Bar/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/touch-action-bar/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/touch-action-bar/index.vue +40 -0
- package/dist/runtime/editor/features/touch-action-bar/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/tour/Overlay/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/tour/Overlay/index.vue +218 -0
- package/dist/runtime/editor/features/tour/Overlay/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/tour/docs.md +0 -0
- package/dist/runtime/editor/features/tour/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/tour/index.vue +54 -0
- package/dist/runtime/editor/features/tour/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/tour/types.d.ts +6 -0
- package/dist/runtime/editor/features/tour/types.js +0 -0
- package/dist/runtime/editor/features/transform/Dialog/index.d.vue.ts +14 -0
- package/dist/runtime/editor/features/transform/Dialog/index.vue +226 -0
- package/dist/runtime/editor/features/transform/Dialog/index.vue.d.ts +14 -0
- package/dist/runtime/editor/features/transform/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/transform/index.vue +250 -0
- package/dist/runtime/editor/features/transform/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/transform/types.d.ts +107 -0
- package/dist/runtime/editor/features/transform/types.js +0 -0
- package/dist/runtime/editor/features/translations/Banner/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/translations/Banner/index.vue +48 -0
- package/dist/runtime/editor/features/translations/Banner/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/translations/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/translations/index.vue +217 -0
- package/dist/runtime/editor/features/translations/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/translations/types.d.ts +16 -0
- package/dist/runtime/editor/features/translations/types.js +0 -0
- package/dist/runtime/editor/features/validations/Overlay/Item.d.vue.ts +7 -0
- package/dist/runtime/editor/features/validations/Overlay/Item.vue +36 -0
- package/dist/runtime/editor/features/validations/Overlay/Item.vue.d.ts +7 -0
- package/dist/runtime/editor/features/validations/Overlay/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/validations/Overlay/index.vue +42 -0
- package/dist/runtime/editor/features/validations/Overlay/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/validations/SidebarItem/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/validations/SidebarItem/index.vue +41 -0
- package/dist/runtime/editor/features/validations/SidebarItem/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/validations/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/validations/index.vue +69 -0
- package/dist/runtime/editor/features/validations/index.vue.d.ts +3 -0
- package/dist/runtime/editor/helpers/array/index.d.ts +1 -0
- package/dist/runtime/editor/helpers/array/index.js +4 -0
- package/dist/runtime/editor/helpers/bundles/index.d.ts +1 -0
- package/dist/runtime/editor/helpers/bundles/index.js +8 -0
- package/dist/runtime/editor/helpers/clipboardData/index.d.ts +11 -0
- package/dist/runtime/editor/helpers/clipboardData/index.js +157 -0
- package/dist/runtime/editor/helpers/color/index.d.ts +6 -0
- package/dist/runtime/editor/helpers/color/index.js +48 -0
- package/dist/runtime/editor/helpers/date/index.d.ts +1 -0
- package/dist/runtime/editor/helpers/date/index.js +3 -0
- package/dist/runtime/editor/helpers/diff/index.d.ts +11 -0
- package/dist/runtime/editor/helpers/diff/index.js +227 -0
- package/dist/runtime/editor/helpers/dom/index.d.ts +75 -0
- package/dist/runtime/editor/helpers/dom/index.js +107 -0
- package/dist/runtime/editor/helpers/dragStyle/index.d.ts +12 -0
- package/dist/runtime/editor/helpers/dragStyle/index.js +93 -0
- package/dist/runtime/editor/helpers/draggable/index.d.ts +3 -0
- package/dist/runtime/editor/helpers/draggable/index.js +9 -0
- package/dist/runtime/editor/helpers/dropTargets/index.d.ts +6 -0
- package/dist/runtime/editor/helpers/dropTargets/index.js +68 -0
- package/dist/runtime/editor/helpers/geometry/index.d.ts +43 -0
- package/dist/runtime/editor/helpers/geometry/index.js +191 -0
- package/dist/runtime/editor/helpers/math/index.d.ts +3 -0
- package/dist/runtime/editor/helpers/math/index.js +10 -0
- package/dist/runtime/editor/helpers/options/index.d.ts +20 -0
- package/dist/runtime/editor/helpers/options/index.js +65 -0
- package/dist/runtime/editor/helpers/swap.d.ts +13 -0
- package/dist/runtime/editor/helpers/swap.js +31 -0
- package/dist/runtime/editor/helpers/uuid/index.d.ts +1 -0
- package/dist/runtime/editor/helpers/uuid/index.js +18 -0
- package/dist/runtime/editor/helpers/vue/index.d.ts +1 -0
- package/dist/runtime/editor/helpers/vue/index.js +10 -0
- package/dist/runtime/editor/helpers/webgl/index.d.ts +49 -0
- package/dist/runtime/editor/helpers/webgl/index.js +347 -0
- package/dist/runtime/editor/icons/svg/dock-window.svg +1 -0
- package/dist/runtime/editor/icons/svg/duplicate.svg +1 -0
- package/dist/runtime/editor/icons/svg/reusable.svg +1 -0
- package/dist/runtime/editor/icons/svg/stars.svg +5 -0
- package/dist/runtime/editor/plugins/BlockIndicator/index.d.vue.ts +65 -0
- package/dist/runtime/editor/plugins/BlockIndicator/index.vue +65 -0
- package/dist/runtime/editor/plugins/BlockIndicator/index.vue.d.ts +65 -0
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.d.vue.ts +13 -0
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.vue +75 -0
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.vue.d.ts +13 -0
- package/dist/runtime/editor/plugins/ContextMenu/index.d.vue.ts +36 -0
- package/dist/runtime/editor/plugins/ContextMenu/index.vue +39 -0
- package/dist/runtime/editor/plugins/ContextMenu/index.vue.d.ts +36 -0
- package/dist/runtime/editor/plugins/DebugOverlay/index.d.vue.ts +23 -0
- package/dist/runtime/editor/plugins/DebugOverlay/index.vue.d.ts +23 -0
- package/dist/runtime/editor/plugins/ItemAction/index.d.vue.ts +94 -0
- package/dist/runtime/editor/plugins/ItemAction/index.vue +101 -0
- package/dist/runtime/editor/plugins/ItemAction/index.vue.d.ts +94 -0
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.d.vue.ts +47 -0
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue +284 -0
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue.d.ts +47 -0
- package/dist/runtime/editor/plugins/Sidebar/index.d.vue.ts +241 -0
- package/dist/runtime/editor/plugins/Sidebar/index.vue +281 -0
- package/dist/runtime/editor/plugins/Sidebar/index.vue.d.ts +241 -0
- package/dist/runtime/editor/plugins/ToolbarButton/index.d.vue.ts +165 -0
- package/dist/runtime/editor/plugins/ToolbarButton/index.vue +91 -0
- package/dist/runtime/editor/plugins/ToolbarButton/index.vue.d.ts +165 -0
- package/dist/runtime/editor/plugins/TourItem/index.d.vue.ts +41 -0
- package/dist/runtime/editor/plugins/TourItem/index.vue +50 -0
- package/dist/runtime/editor/plugins/TourItem/index.vue.d.ts +41 -0
- package/dist/runtime/editor/plugins/ViewOption/index.d.vue.ts +139 -0
- package/dist/runtime/editor/plugins/ViewOption/index.vue +98 -0
- package/dist/runtime/editor/plugins/ViewOption/index.vue.d.ts +139 -0
- package/dist/runtime/editor/plugins/index.d.ts +9 -0
- package/dist/runtime/editor/plugins/index.js +18 -0
- package/dist/runtime/editor/providers/adapters.d.ts +33 -0
- package/dist/runtime/editor/providers/adapters.js +88 -0
- package/dist/runtime/editor/providers/analyze.d.ts +44 -0
- package/dist/runtime/editor/providers/analyze.js +81 -0
- package/dist/runtime/editor/providers/animation.d.ts +208 -0
- package/dist/runtime/editor/providers/animation.js +527 -0
- package/dist/runtime/editor/providers/blocks.d.ts +32 -0
- package/dist/runtime/editor/providers/blocks.js +113 -0
- package/dist/runtime/editor/providers/commands.d.ts +41 -0
- package/dist/runtime/editor/providers/commands.js +16 -0
- package/dist/runtime/editor/providers/debug.d.ts +126 -0
- package/dist/runtime/editor/providers/debug.js +132 -0
- package/dist/runtime/editor/providers/definition.d.ts +99 -0
- package/dist/runtime/editor/providers/definition.js +134 -0
- package/dist/runtime/editor/providers/directive.d.ts +116 -0
- package/dist/runtime/editor/providers/directive.js +242 -0
- package/dist/runtime/editor/providers/dom.d.ts +240 -0
- package/dist/runtime/editor/providers/dom.js +540 -0
- package/dist/runtime/editor/providers/dragdrop.d.ts +55 -0
- package/dist/runtime/editor/providers/dragdrop.js +37 -0
- package/dist/runtime/editor/providers/element.d.ts +63 -0
- package/dist/runtime/editor/providers/element.js +35 -0
- package/dist/runtime/editor/providers/features.d.ts +57 -0
- package/dist/runtime/editor/providers/features.js +53 -0
- package/dist/runtime/editor/providers/fieldValue.d.ts +55 -0
- package/dist/runtime/editor/providers/fieldValue.js +131 -0
- package/dist/runtime/editor/providers/fieldValueAdapterTypes.d.ts +13 -0
- package/dist/runtime/editor/providers/fieldValueAdapterTypes.js +0 -0
- package/dist/runtime/editor/providers/fields.d.ts +41 -0
- package/dist/runtime/editor/providers/fields.js +99 -0
- package/dist/runtime/editor/providers/icons.d.ts +6 -0
- package/dist/runtime/editor/providers/icons.js +16 -0
- package/dist/runtime/editor/providers/indicators.d.ts +44 -0
- package/dist/runtime/editor/providers/indicators.js +23 -0
- package/dist/runtime/editor/providers/keyboard.d.ts +77 -0
- package/dist/runtime/editor/providers/keyboard.js +101 -0
- package/dist/runtime/editor/providers/permissions.d.ts +27 -0
- package/dist/runtime/editor/providers/permissions.js +105 -0
- package/dist/runtime/editor/providers/plugin.d.ts +82 -0
- package/dist/runtime/editor/providers/plugin.js +64 -0
- package/dist/runtime/editor/providers/readability.d.ts +23 -0
- package/dist/runtime/editor/providers/readability.js +126 -0
- package/dist/runtime/editor/providers/selection.d.ts +81 -0
- package/dist/runtime/editor/providers/selection.js +162 -0
- package/dist/runtime/editor/providers/state.d.ts +264 -0
- package/dist/runtime/editor/providers/state.js +427 -0
- package/dist/runtime/editor/providers/storage.d.ts +64 -0
- package/dist/runtime/editor/providers/storage.js +133 -0
- package/dist/runtime/editor/providers/texts.js +43 -0
- package/dist/runtime/editor/providers/theme.d.ts +119 -0
- package/dist/runtime/editor/providers/theme.js +140 -0
- package/dist/runtime/editor/providers/tour.d.ts +49 -0
- package/dist/runtime/editor/providers/tour.js +19 -0
- package/dist/runtime/editor/providers/types.d.ts +181 -0
- package/dist/runtime/editor/providers/types.js +170 -0
- package/dist/runtime/editor/providers/ui.d.ts +419 -0
- package/dist/runtime/editor/providers/ui.js +461 -0
- package/dist/runtime/editor/translations/de.json +3358 -0
- package/dist/runtime/editor/translations/fr.json +3358 -0
- package/dist/runtime/editor/translations/gsw_CH.json +3358 -0
- package/dist/runtime/editor/translations/it.json +3358 -0
- package/dist/runtime/editor/types/actions.d.ts +19 -0
- package/dist/runtime/editor/types/actions.js +0 -0
- package/dist/runtime/editor/types/app.d.ts +72 -0
- package/dist/runtime/editor/types/app.js +0 -0
- package/dist/runtime/editor/types/definitions.d.ts +25 -0
- package/dist/runtime/editor/types/definitions.js +0 -0
- package/dist/runtime/editor/types/draggable.d.ts +10 -0
- package/dist/runtime/editor/types/draggable.js +0 -0
- package/dist/runtime/editor/types/features.d.ts +11 -0
- package/dist/runtime/editor/types/features.js +0 -0
- package/dist/runtime/editor/types/field.d.ts +59 -0
- package/dist/runtime/editor/types/field.js +0 -0
- package/dist/runtime/editor/types/geometry.d.ts +9 -0
- package/dist/runtime/editor/types/geometry.js +0 -0
- package/dist/runtime/editor/types/index.d.ts +1 -0
- package/dist/runtime/editor/types/index.js +0 -0
- package/dist/runtime/editor/types/permissions.d.ts +17 -0
- package/dist/runtime/editor/types/permissions.js +0 -0
- package/dist/runtime/editor/types/pluginConfig.d.ts +48 -0
- package/dist/runtime/editor/types/pluginConfig.js +0 -0
- package/dist/runtime/editor/types/selection.d.ts +6 -0
- package/dist/runtime/editor/types/selection.js +0 -0
- package/dist/runtime/editor/types/state.d.ts +76 -0
- package/dist/runtime/editor/types/state.js +0 -0
- package/dist/runtime/editor/types/style.d.ts +29 -0
- package/dist/runtime/editor/types/style.js +0 -0
- package/dist/runtime/editor/types/ui.d.ts +44 -0
- package/dist/runtime/editor/types/ui.js +0 -0
- package/dist/runtime/helpers/imports/index.d.ts +9 -1
- package/dist/runtime/helpers/imports/index.js +24 -6
- package/dist/runtime/helpers/index.d.ts +0 -80
- package/dist/runtime/helpers/index.js +0 -470
- package/dist/runtime/helpers/injections.d.ts +136 -0
- package/dist/runtime/helpers/injections.js +75 -0
- package/dist/runtime/helpers/runtimeHelpers/index.d.ts +3 -2
- package/dist/runtime/helpers/runtimeHelpers/index.js +77 -19
- package/dist/runtime/plugins/blokkliDirectives.d.ts +2 -0
- package/dist/runtime/plugins/blokkliDirectives.js +109 -0
- package/dist/runtime/types/blockOptions.d.ts +4 -0
- package/dist/runtime/types/blockOptions.js +0 -0
- package/dist/runtime/types/definitions.d.ts +131 -0
- package/dist/runtime/types/definitions.js +0 -0
- package/dist/runtime/types/directives.d.ts +1 -0
- package/dist/runtime/types/directives.js +0 -0
- package/dist/runtime/types/field.d.ts +26 -0
- package/dist/runtime/types/field.js +0 -0
- package/dist/runtime/types/index.d.ts +7 -1178
- package/dist/runtime/types/provider.d.ts +7 -0
- package/dist/runtime/types/provider.js +0 -0
- package/dist/runtime/types/vue.d.ts +1 -0
- package/dist/runtime/types/vue.js +0 -0
- package/dist/shared/editor.6D5vApr0.mjs +30 -0
- package/dist/shared/editor.9vf8ZnOp.mjs +288 -0
- package/dist/shared/editor.DsGJIlGn.d.mts +631 -0
- package/dist/types.d.mts +8 -0
- package/package.json +194 -66
- package/dist/runtime/adapter/index.d.ts +0 -406
- package/dist/runtime/adapter/index.js +0 -3
- package/dist/runtime/blokkliPlugins/AddAction/index.vue +0 -72
- package/dist/runtime/blokkliPlugins/AddAction/index.vue.d.ts +0 -26
- package/dist/runtime/blokkliPlugins/ContextMenu/Menu/index.vue +0 -69
- package/dist/runtime/blokkliPlugins/ContextMenu/Menu/index.vue.d.ts +0 -12
- package/dist/runtime/blokkliPlugins/ContextMenu/index.vue +0 -38
- package/dist/runtime/blokkliPlugins/ContextMenu/index.vue.d.ts +0 -37
- package/dist/runtime/blokkliPlugins/DebugOverlay/index.vue.d.ts +0 -21
- package/dist/runtime/blokkliPlugins/DroppableEdit/index.vue +0 -56
- package/dist/runtime/blokkliPlugins/DroppableEdit/index.vue.d.ts +0 -41
- package/dist/runtime/blokkliPlugins/ItemAction/index.vue +0 -86
- package/dist/runtime/blokkliPlugins/ItemAction/index.vue.d.ts +0 -83
- package/dist/runtime/blokkliPlugins/ItemDropdown/index.vue +0 -38
- package/dist/runtime/blokkliPlugins/ItemDropdown/index.vue.d.ts +0 -17
- package/dist/runtime/blokkliPlugins/MenuButton/index.vue +0 -66
- package/dist/runtime/blokkliPlugins/MenuButton/index.vue.d.ts +0 -32
- package/dist/runtime/blokkliPlugins/Sidebar/Detached/index.vue +0 -271
- package/dist/runtime/blokkliPlugins/Sidebar/Detached/index.vue.d.ts +0 -91
- package/dist/runtime/blokkliPlugins/Sidebar/index.vue +0 -239
- package/dist/runtime/blokkliPlugins/Sidebar/index.vue.d.ts +0 -85
- package/dist/runtime/blokkliPlugins/ToolbarButton/index.vue +0 -85
- package/dist/runtime/blokkliPlugins/ToolbarButton/index.vue.d.ts +0 -48
- package/dist/runtime/blokkliPlugins/TourItem/index.vue +0 -36
- package/dist/runtime/blokkliPlugins/TourItem/index.vue.d.ts +0 -20
- package/dist/runtime/blokkliPlugins/ViewOption/index.vue +0 -94
- package/dist/runtime/blokkliPlugins/ViewOption/index.vue.d.ts +0 -39
- package/dist/runtime/blokkliPlugins/index.d.ts +0 -12
- package/dist/runtime/blokkliPlugins/index.js +0 -24
- package/dist/runtime/components/Blocks/Fragment/icon.svg +0 -1
- package/dist/runtime/components/Edit/Actions/index.vue +0 -244
- package/dist/runtime/components/Edit/Actions/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/AddListItem/index.vue +0 -95
- package/dist/runtime/components/Edit/AddListItem/index.vue.d.ts +0 -28
- package/dist/runtime/components/Edit/AnimationCanvas/index.vue +0 -87
- package/dist/runtime/components/Edit/AnimationCanvas/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/AppMenu/index.vue +0 -57
- package/dist/runtime/components/Edit/AppMenu/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/BlockProxy/index.vue +0 -94
- package/dist/runtime/components/Edit/BlockProxy/index.vue.d.ts +0 -10
- package/dist/runtime/components/Edit/BlokkliErrorBoundary.vue +0 -60
- package/dist/runtime/components/Edit/BlokkliErrorBoundary.vue.d.ts +0 -23
- package/dist/runtime/components/Edit/Dialog/index.vue +0 -140
- package/dist/runtime/components/Edit/Dialog/index.vue.d.ts +0 -44
- package/dist/runtime/components/Edit/DragInteractions/index.vue +0 -364
- package/dist/runtime/components/Edit/DragInteractions/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/DraggableList.vue +0 -189
- package/dist/runtime/components/Edit/DraggableList.vue.d.ts +0 -27
- package/dist/runtime/components/Edit/EditIndicator.vue +0 -70
- package/dist/runtime/components/Edit/EditIndicator.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/EditProvider.vue +0 -239
- package/dist/runtime/components/Edit/EditProvider.vue.d.ts +0 -26
- package/dist/runtime/components/Edit/Features/AddList/docs.md +0 -4
- package/dist/runtime/components/Edit/Features/AddList/index.vue +0 -181
- package/dist/runtime/components/Edit/Features/AddList/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Artboard/Overview/index.vue +0 -93
- package/dist/runtime/components/Edit/Features/Artboard/Overview/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Artboard/Scrollbar/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Artboard/Scrollbar/index.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/Artboard/index.vue +0 -299
- package/dist/runtime/components/Edit/Features/Artboard/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Assistant/Overlay/ResultMarkup/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Assistant/Overlay/index.vue +0 -134
- package/dist/runtime/components/Edit/Features/Assistant/Overlay/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Assistant/docs.md +0 -7
- package/dist/runtime/components/Edit/Features/Assistant/index.vue +0 -59
- package/dist/runtime/components/Edit/Features/Assistant/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/BlockAddList/docs.md +0 -15
- package/dist/runtime/components/Edit/Features/BlockAddList/index.vue +0 -371
- package/dist/runtime/components/Edit/Features/BlockAddList/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/File.vue +0 -60
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/File.vue.d.ts +0 -3
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/Video.vue +0 -54
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/Video.vue.d.ts +0 -3
- package/dist/runtime/components/Edit/Features/Clipboard/List/index.vue +0 -61
- package/dist/runtime/components/Edit/Features/Clipboard/List/index.vue.d.ts +0 -10
- package/dist/runtime/components/Edit/Features/Clipboard/index.vue +0 -434
- package/dist/runtime/components/Edit/Features/Clipboard/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/Group/index.vue +0 -51
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/Group/index.vue.d.ts +0 -22
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/index.vue +0 -248
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/CommandPalette/index.vue +0 -46
- package/dist/runtime/components/Edit/Features/CommandPalette/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Comments/AddForm/index.vue +0 -29
- package/dist/runtime/components/Edit/Features/Comments/AddForm/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Comments/Comment/index.vue +0 -45
- package/dist/runtime/components/Edit/Features/Comments/Comment/index.vue.d.ts +0 -23
- package/dist/runtime/components/Edit/Features/Comments/Overlay/Item/index.vue +0 -88
- package/dist/runtime/components/Edit/Features/Comments/Overlay/Item/index.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/Features/Comments/Overlay/index.vue +0 -103
- package/dist/runtime/components/Edit/Features/Comments/Overlay/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Features/Comments/index.vue +0 -99
- package/dist/runtime/components/Edit/Features/Comments/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Conversions/index.vue +0 -82
- package/dist/runtime/components/Edit/Features/Conversions/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Rects/index.vue +0 -69
- package/dist/runtime/components/Edit/Features/Debug/Rects/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Viewport/index.vue +0 -84
- package/dist/runtime/components/Edit/Features/Debug/Viewport/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/index.vue +0 -186
- package/dist/runtime/components/Edit/Features/Debug/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Delete/index.vue +0 -66
- package/dist/runtime/components/Edit/Features/Delete/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Diff/DiffView/index.vue +0 -197
- package/dist/runtime/components/Edit/Features/Diff/DiffView/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Diff/index.vue +0 -35
- package/dist/runtime/components/Edit/Features/Diff/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DragItems/index.vue +0 -307
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DragItems/index.vue.d.ts +0 -27
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DropTargets/fragment.glsl +0 -90
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DropTargets/index.vue +0 -713
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DropTargets/index.vue.d.ts +0 -156
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DropTargets/vertex.glsl +0 -77
- package/dist/runtime/components/Edit/Features/DraggingOverlay/index.vue +0 -310
- package/dist/runtime/components/Edit/Features/DraggingOverlay/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Duplicate/index.vue +0 -93
- package/dist/runtime/components/Edit/Features/Duplicate/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Edit/index.vue +0 -82
- package/dist/runtime/components/Edit/Features/Edit/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EditForm/Frame/index.vue +0 -64
- package/dist/runtime/components/Edit/Features/EditForm/Frame/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/Features/EditForm/index.vue +0 -181
- package/dist/runtime/components/Edit/Features/EditForm/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Contenteditable/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Frame/index.vue +0 -52
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Frame/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Plaintext/index.vue +0 -70
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Plaintext/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/index.vue +0 -295
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Features/EditableField/index.vue +0 -145
- package/dist/runtime/components/Edit/Features/EditableField/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EditableMask/index.vue +0 -56
- package/dist/runtime/components/Edit/Features/EditableMask/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EntityTitle/index.vue +0 -100
- package/dist/runtime/components/Edit/Features/EntityTitle/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Exit/index.vue +0 -35
- package/dist/runtime/components/Edit/Features/Exit/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/FieldAreas/Overlay/index.vue +0 -22
- package/dist/runtime/components/Edit/Features/FieldAreas/Overlay/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/FieldAreas/index.vue +0 -41
- package/dist/runtime/components/Edit/Features/FieldAreas/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/Item/index.vue +0 -61
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/Item/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/index.vue +0 -120
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Fragments/index.vue +0 -76
- package/dist/runtime/components/Edit/Features/Fragments/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Grid/index.vue +0 -37
- package/dist/runtime/components/Edit/Features/Grid/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Help/Shortcuts/index.vue +0 -60
- package/dist/runtime/components/Edit/Features/Help/Shortcuts/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Help/index.vue +0 -49
- package/dist/runtime/components/Edit/Features/Help/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/History/List/index.vue +0 -128
- package/dist/runtime/components/Edit/Features/History/List/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/History/index.vue +0 -123
- package/dist/runtime/components/Edit/Features/History/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/ImportExisting/Dialog/index.vue +0 -122
- package/dist/runtime/components/Edit/Features/ImportExisting/Dialog/index.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Features/ImportExisting/index.vue +0 -79
- package/dist/runtime/components/Edit/Features/ImportExisting/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Library/EditReusable/index.vue +0 -168
- package/dist/runtime/components/Edit/Features/Library/EditReusable/index.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/Item/index.vue +0 -71
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/Item/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/index.vue +0 -156
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Library/ReusableDialog/index.vue +0 -85
- package/dist/runtime/components/Edit/Features/Library/ReusableDialog/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Library/index.vue +0 -175
- package/dist/runtime/components/Edit/Features/Library/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/Item.vue +0 -40
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/Item.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/index.vue +0 -173
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/MediaLibrary/index.vue +0 -149
- package/dist/runtime/components/Edit/Features/MediaLibrary/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/MediaLibrary/types.d.ts +0 -57
- package/dist/runtime/components/Edit/Features/MultiSelect/Overlay/fragment.glsl +0 -90
- package/dist/runtime/components/Edit/Features/MultiSelect/Overlay/index.vue +0 -229
- package/dist/runtime/components/Edit/Features/MultiSelect/Overlay/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/MultiSelect/Overlay/vertex.glsl +0 -182
- package/dist/runtime/components/Edit/Features/MultiSelect/index.vue +0 -64
- package/dist/runtime/components/Edit/Features/MultiSelect/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Options/Form/Checkbox/index.vue +0 -45
- package/dist/runtime/components/Edit/Features/Options/Form/Checkbox/index.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Features/Options/Form/Checkboxes/index.vue +0 -112
- package/dist/runtime/components/Edit/Features/Options/Form/Checkboxes/index.vue.d.ts +0 -24
- package/dist/runtime/components/Edit/Features/Options/Form/Color/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Options/Form/DateTimeLocal/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Features/Options/Form/Group.vue +0 -23
- package/dist/runtime/components/Edit/Features/Options/Form/Group.vue.d.ts +0 -29
- package/dist/runtime/components/Edit/Features/Options/Form/Item.vue +0 -175
- package/dist/runtime/components/Edit/Features/Options/Form/Item.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Features/Options/Form/Number/index.vue +0 -64
- package/dist/runtime/components/Edit/Features/Options/Form/Number/index.vue.d.ts +0 -21
- package/dist/runtime/components/Edit/Features/Options/Form/Radios/index.vue +0 -111
- package/dist/runtime/components/Edit/Features/Options/Form/Radios/index.vue.d.ts +0 -30
- package/dist/runtime/components/Edit/Features/Options/Form/Range/index.vue +0 -37
- package/dist/runtime/components/Edit/Features/Options/Form/Range/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Features/Options/Form/Text/index.vue.d.ts +0 -17
- package/dist/runtime/components/Edit/Features/Options/Form/index.vue +0 -337
- package/dist/runtime/components/Edit/Features/Options/Form/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Options/index.vue +0 -60
- package/dist/runtime/components/Edit/Features/Options/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Ownership/index.vue +0 -50
- package/dist/runtime/components/Edit/Features/Ownership/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Preview/index.vue +0 -41
- package/dist/runtime/components/Edit/Features/Preview/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/PreviewGrant/QrCode/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/PreviewGrant/index.vue +0 -69
- package/dist/runtime/components/Edit/Features/PreviewGrant/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/ProxyView/index.vue +0 -36
- package/dist/runtime/components/Edit/Features/ProxyView/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Publish/Dialog/Item.vue +0 -118
- package/dist/runtime/components/Edit/Features/Publish/Dialog/Item.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Features/Publish/Dialog/index.vue +0 -251
- package/dist/runtime/components/Edit/Features/Publish/Dialog/index.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/Features/Publish/Dialog/types.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/Publish/index.vue +0 -116
- package/dist/runtime/components/Edit/Features/Publish/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/ResponsivePreview/Frame/index.vue +0 -75
- package/dist/runtime/components/Edit/Features/ResponsivePreview/Frame/index.vue.d.ts +0 -27
- package/dist/runtime/components/Edit/Features/ResponsivePreview/index.vue +0 -192
- package/dist/runtime/components/Edit/Features/ResponsivePreview/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Revert/index.vue +0 -63
- package/dist/runtime/components/Edit/Features/Revert/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Content/index.vue +0 -144
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Content/index.vue.d.ts +0 -17
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Page/index.vue +0 -161
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Page/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Features/Search/Overlay/index.vue +0 -175
- package/dist/runtime/components/Edit/Features/Search/Overlay/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Search/index.vue +0 -72
- package/dist/runtime/components/Edit/Features/Search/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Selection/Overlay/fragment.glsl +0 -133
- package/dist/runtime/components/Edit/Features/Selection/Overlay/index.vue +0 -108
- package/dist/runtime/components/Edit/Features/Selection/Overlay/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Selection/Overlay/vertex.glsl +0 -90
- package/dist/runtime/components/Edit/Features/Selection/OverlayFallback/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Selection/OverlayFallback/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/Selection/index.vue +0 -209
- package/dist/runtime/components/Edit/Features/Selection/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Settings/Dialog/FeatureSetting/index.vue +0 -131
- package/dist/runtime/components/Edit/Features/Settings/Dialog/FeatureSetting/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Settings/Dialog/index.vue +0 -129
- package/dist/runtime/components/Edit/Features/Settings/Dialog/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Settings/index.vue +0 -84
- package/dist/runtime/components/Edit/Features/Settings/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Structure/List/Field/index.vue +0 -145
- package/dist/runtime/components/Edit/Features/Structure/List/Field/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Features/Structure/List/Item/index.vue +0 -121
- package/dist/runtime/components/Edit/Features/Structure/List/Item/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Structure/List/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Structure/index.vue +0 -75
- package/dist/runtime/components/Edit/Features/Structure/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Theme/Color/index.vue +0 -60
- package/dist/runtime/components/Edit/Features/Theme/Color/index.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/Theme/GeneratedCode/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Theme/index.vue +0 -108
- package/dist/runtime/components/Edit/Features/Theme/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/TouchActionBar/Bar/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/TouchActionBar/index.vue +0 -39
- package/dist/runtime/components/Edit/Features/TouchActionBar/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Tour/Overlay/index.vue +0 -215
- package/dist/runtime/components/Edit/Features/Tour/Overlay/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Tour/Popup/index.vue +0 -34
- package/dist/runtime/components/Edit/Features/Tour/Popup/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Tour/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Tour/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Transform/index.vue +0 -141
- package/dist/runtime/components/Edit/Features/Transform/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Translations/Banner/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Translations/Banner/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Translations/index.vue +0 -214
- package/dist/runtime/components/Edit/Features/Translations/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Validations/Overlay/Item.vue +0 -36
- package/dist/runtime/components/Edit/Features/Validations/Overlay/Item.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Validations/Overlay/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Validations/Overlay/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Validations/SidebarItem/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Validations/SidebarItem/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Validations/index.vue +0 -64
- package/dist/runtime/components/Edit/Features/Validations/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/index.vue +0 -52
- package/dist/runtime/components/Edit/Features/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Form/Group/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Form/Item/index.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Form/Textarea/index.vue +0 -27
- package/dist/runtime/components/Edit/Form/Textarea/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Form/Toggle/index.vue +0 -21
- package/dist/runtime/components/Edit/Form/Toggle/index.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/FormOverlay/Header/index.vue +0 -28
- package/dist/runtime/components/Edit/FormOverlay/Header/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/FormOverlay/index.vue +0 -46
- package/dist/runtime/components/Edit/FormOverlay/index.vue.d.ts +0 -25
- package/dist/runtime/components/Edit/Highlight/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Icon/index.vue +0 -18
- package/dist/runtime/components/Edit/Icon/index.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/InfoBox/index.vue +0 -13
- package/dist/runtime/components/Edit/InfoBox/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/ItemIcon/index.vue +0 -27
- package/dist/runtime/components/Edit/ItemIcon/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Loading/index.vue +0 -18
- package/dist/runtime/components/Edit/Loading/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Messages/Item/index.vue +0 -96
- package/dist/runtime/components/Edit/Messages/Item/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/Messages/index.vue +0 -31
- package/dist/runtime/components/Edit/Messages/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Pagination/index.vue +0 -19
- package/dist/runtime/components/Edit/Pagination/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/PreviewProvider.vue +0 -177
- package/dist/runtime/components/Edit/PreviewProvider.vue.d.ts +0 -24
- package/dist/runtime/components/Edit/RelativeTime/index.vue +0 -31
- package/dist/runtime/components/Edit/RelativeTime/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Resizable/index.vue +0 -80
- package/dist/runtime/components/Edit/Resizable/index.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/ScaleToFit/index.vue +0 -70
- package/dist/runtime/components/Edit/ScaleToFit/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/ScrollBoundary/index.vue +0 -23
- package/dist/runtime/components/Edit/ScrollBoundary/index.vue.d.ts +0 -23
- package/dist/runtime/components/Edit/ShortcutIndicator/index.vue +0 -78
- package/dist/runtime/components/Edit/ShortcutIndicator/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Sortli/index.vue +0 -83
- package/dist/runtime/components/Edit/Sortli/index.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/SystemRequirements/index.vue +0 -77
- package/dist/runtime/components/Edit/SystemRequirements/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Toolbar/index.vue +0 -91
- package/dist/runtime/components/Edit/Toolbar/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/ViewportBlockingRect/index.vue +0 -53
- package/dist/runtime/components/Edit/ViewportBlockingRect/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/index.d.ts +0 -21
- package/dist/runtime/components/Edit/index.js +0 -42
- package/dist/runtime/constants/index.d.ts +0 -4
- package/dist/runtime/constants/index.js +0 -8
- package/dist/runtime/css/output.css +0 -1
- package/dist/runtime/helpers/DragStyle/index.d.ts +0 -12
- package/dist/runtime/helpers/DragStyle/index.js +0 -86
- package/dist/runtime/helpers/animationProvider.d.ts +0 -25
- package/dist/runtime/helpers/animationProvider.js +0 -123
- package/dist/runtime/helpers/commandsProvider.d.ts +0 -9
- package/dist/runtime/helpers/commandsProvider.js +0 -16
- package/dist/runtime/helpers/composables/defineCommands.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineCommands.js +0 -10
- package/dist/runtime/helpers/composables/defineDropAreas.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineDropAreas.js +0 -10
- package/dist/runtime/helpers/composables/defineShortcut.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineShortcut.js +0 -19
- package/dist/runtime/helpers/composables/defineTourItem.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineTourItem.js +0 -10
- package/dist/runtime/helpers/composables/onBlokkliEvent.d.ts +0 -2
- package/dist/runtime/helpers/composables/onBlokkliEvent.js +0 -10
- package/dist/runtime/helpers/composables/onBroadcastEvent.d.ts +0 -2
- package/dist/runtime/helpers/composables/onBroadcastEvent.js +0 -10
- package/dist/runtime/helpers/composables/useAnimationFrame.d.ts +0 -1
- package/dist/runtime/helpers/composables/useAnimationFrame.js +0 -14
- package/dist/runtime/helpers/composables/useBlockRegistration.d.ts +0 -5
- package/dist/runtime/helpers/composables/useBlockRegistration.js +0 -23
- package/dist/runtime/helpers/composables/useDebugLogger.d.ts +0 -2
- package/dist/runtime/helpers/composables/useDebugLogger.js +0 -5
- package/dist/runtime/helpers/composables/useDelayedIntersectionObserver.d.ts +0 -5
- package/dist/runtime/helpers/composables/useDelayedIntersectionObserver.js +0 -26
- package/dist/runtime/helpers/debugProvider.d.ts +0 -23
- package/dist/runtime/helpers/debugProvider.js +0 -65
- package/dist/runtime/helpers/definitionProvider.d.ts +0 -18
- package/dist/runtime/helpers/definitionProvider.js +0 -96
- package/dist/runtime/helpers/dom/index.d.ts +0 -5
- package/dist/runtime/helpers/dom/index.js +0 -37
- package/dist/runtime/helpers/domProvider.d.ts +0 -51
- package/dist/runtime/helpers/domProvider.js +0 -452
- package/dist/runtime/helpers/dropAreaProvider.d.ts +0 -9
- package/dist/runtime/helpers/dropAreaProvider.js +0 -22
- package/dist/runtime/helpers/eventBus.d.ts +0 -3
- package/dist/runtime/helpers/eventBus.js +0 -5
- package/dist/runtime/helpers/featuresProvider.d.ts +0 -17
- package/dist/runtime/helpers/featuresProvider.js +0 -53
- package/dist/runtime/helpers/frameEventBus.d.ts +0 -9
- package/dist/runtime/helpers/frameEventBus.js +0 -2
- package/dist/runtime/helpers/keyboardProvider.d.ts +0 -18
- package/dist/runtime/helpers/keyboardProvider.js +0 -90
- package/dist/runtime/helpers/selectionProvider.d.ts +0 -63
- package/dist/runtime/helpers/selectionProvider.js +0 -154
- package/dist/runtime/helpers/stateProvider.d.ts +0 -37
- package/dist/runtime/helpers/stateProvider.js +0 -253
- package/dist/runtime/helpers/storageProvider.d.ts +0 -15
- package/dist/runtime/helpers/storageProvider.js +0 -61
- package/dist/runtime/helpers/symbols.d.ts +0 -23
- package/dist/runtime/helpers/symbols.js +0 -25
- package/dist/runtime/helpers/textProvider.js +0 -20
- package/dist/runtime/helpers/themeProvider.d.ts +0 -27
- package/dist/runtime/helpers/themeProvider.js +0 -127
- package/dist/runtime/helpers/tourProvider.d.ts +0 -11
- package/dist/runtime/helpers/tourProvider.js +0 -19
- package/dist/runtime/helpers/transform.d.ts +0 -2
- package/dist/runtime/helpers/transform.js +0 -17
- package/dist/runtime/helpers/typesProvider.d.ts +0 -36
- package/dist/runtime/helpers/typesProvider.js +0 -138
- package/dist/runtime/helpers/uiProvider.d.ts +0 -41
- package/dist/runtime/helpers/uiProvider.js +0 -298
- package/dist/runtime/helpers/webgl/index.d.ts +0 -37
- package/dist/runtime/helpers/webgl/index.js +0 -165
- package/dist/runtime/icons/alert.svg +0 -6
- package/dist/runtime/icons/area.svg +0 -5
- package/dist/runtime/icons/arrow-down.svg +0 -1
- package/dist/runtime/icons/arrow-left.svg +0 -1
- package/dist/runtime/icons/arrow-right.svg +0 -1
- package/dist/runtime/icons/arrow-up.svg +0 -1
- package/dist/runtime/icons/artboard-disabled.svg +0 -9
- package/dist/runtime/icons/artboard-enabled.svg +0 -29
- package/dist/runtime/icons/bug.svg +0 -1
- package/dist/runtime/icons/button-pointer.svg +0 -1
- package/dist/runtime/icons/caret.svg +0 -12
- package/dist/runtime/icons/cellphone.svg +0 -1
- package/dist/runtime/icons/chat-question.svg +0 -1
- package/dist/runtime/icons/check.svg +0 -1
- package/dist/runtime/icons/checkbox.svg +0 -5
- package/dist/runtime/icons/checks.svg +0 -1
- package/dist/runtime/icons/chevron-left.svg +0 -1
- package/dist/runtime/icons/chevron-right.svg +0 -1
- package/dist/runtime/icons/clipboard.svg +0 -5
- package/dist/runtime/icons/close.svg +0 -5
- package/dist/runtime/icons/cog.svg +0 -5
- package/dist/runtime/icons/command.svg +0 -1
- package/dist/runtime/icons/comment.svg +0 -5
- package/dist/runtime/icons/comment_add.svg +0 -5
- package/dist/runtime/icons/convert.svg +0 -1
- package/dist/runtime/icons/cursor-move.svg +0 -1
- package/dist/runtime/icons/dead.svg +0 -1
- package/dist/runtime/icons/delete.svg +0 -8
- package/dist/runtime/icons/diff.svg +0 -1
- package/dist/runtime/icons/drag.svg +0 -1
- package/dist/runtime/icons/duplicate.svg +0 -12
- package/dist/runtime/icons/edit.svg +0 -8
- package/dist/runtime/icons/exit.svg +0 -6
- package/dist/runtime/icons/expand.svg +0 -1
- package/dist/runtime/icons/eye.svg +0 -1
- package/dist/runtime/icons/file.svg +0 -1
- package/dist/runtime/icons/form.svg +0 -1
- package/dist/runtime/icons/fragment.svg +0 -1
- package/dist/runtime/icons/grid.svg +0 -13
- package/dist/runtime/icons/group.svg +0 -5
- package/dist/runtime/icons/help.svg +0 -1
- package/dist/runtime/icons/history.svg +0 -1
- package/dist/runtime/icons/image.svg +0 -1
- package/dist/runtime/icons/import.svg +0 -5
- package/dist/runtime/icons/info.svg +0 -1
- package/dist/runtime/icons/laptop.svg +0 -1
- package/dist/runtime/icons/list-view-grid.svg +0 -1
- package/dist/runtime/icons/list-view-horizontal.svg +0 -1
- package/dist/runtime/icons/magnifier.svg +0 -5
- package/dist/runtime/icons/menu.svg +0 -1
- package/dist/runtime/icons/minus.svg +0 -1
- package/dist/runtime/icons/monitor.svg +0 -1
- package/dist/runtime/icons/multi-select.svg +0 -1
- package/dist/runtime/icons/multimedia.svg +0 -1
- package/dist/runtime/icons/opacity.svg +0 -5
- package/dist/runtime/icons/open_in_new.svg +0 -3
- package/dist/runtime/icons/palette.svg +0 -1
- package/dist/runtime/icons/plus-box.svg +0 -1
- package/dist/runtime/icons/plus.svg +0 -1
- package/dist/runtime/icons/preview.svg +0 -5
- package/dist/runtime/icons/publish.svg +0 -12
- package/dist/runtime/icons/puzzle.svg +0 -1
- package/dist/runtime/icons/qrcode.svg +0 -5
- package/dist/runtime/icons/question.svg +0 -5
- package/dist/runtime/icons/redo.svg +0 -12
- package/dist/runtime/icons/resize.svg +0 -1
- package/dist/runtime/icons/reusable.svg +0 -5
- package/dist/runtime/icons/revert.svg +0 -5
- package/dist/runtime/icons/rotate-phone.svg +0 -1
- package/dist/runtime/icons/sad.svg +0 -1
- package/dist/runtime/icons/save.svg +0 -1
- package/dist/runtime/icons/script.svg +0 -1
- package/dist/runtime/icons/scrolltotop.svg +0 -6
- package/dist/runtime/icons/search.svg +0 -1
- package/dist/runtime/icons/selection.svg +0 -5
- package/dist/runtime/icons/swap-horizontal.svg +0 -1
- package/dist/runtime/icons/tablet.svg +0 -1
- package/dist/runtime/icons/textbox.svg +0 -1
- package/dist/runtime/icons/texturebox.svg +0 -5
- package/dist/runtime/icons/title.svg +0 -1
- package/dist/runtime/icons/tools.svg +0 -1
- package/dist/runtime/icons/translate.svg +0 -5
- package/dist/runtime/icons/tree.svg +0 -5
- package/dist/runtime/icons/tutor.svg +0 -1
- package/dist/runtime/icons/ui-list-horizontal.svg +0 -19
- package/dist/runtime/icons/ui-list-sidebar.svg +0 -21
- package/dist/runtime/icons/ui-list-vertical.svg +0 -9
- package/dist/runtime/icons/undo.svg +0 -12
- package/dist/runtime/icons/upload.svg +0 -1
- package/dist/runtime/icons/user.svg +0 -1
- package/dist/runtime/icons/video-outline.svg +0 -1
- package/dist/runtime/plugins/blokkliEditable.d.ts +0 -2
- package/dist/runtime/plugins/blokkliEditable.js +0 -31
- package/dist/runtime/types/blokkOptions.d.ts +0 -92
- package/dist/runtime/types/theme.d.ts +0 -33
- package/dist/shared/editor.gz_ac6uT.d.mts +0 -431
- /package/dist/{runtime/components/Edit/Features/MediaLibrary/types.js → global/types/adapter.js} +0 -0
- /package/dist/{runtime/components/Edit/Features/Publish/Dialog/types.js → global/types/blockOptions.js} +0 -0
- /package/dist/{runtime/components/Edit/Features/Tour/docs.md → global/types/definitions.js} +0 -0
- /package/dist/{runtime/types/blokkOptions.js → global/types/features.js} +0 -0
- /package/dist/{runtime → global}/types/theme.js +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Group/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Item/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Highlight/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Assistant → editor/features/assistant}/Overlay/ResultMarkup/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Clipboard → editor/features/clipboard}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Comments → editor/features/comments}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Debug → editor/features/debug}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/EditableField → editor/features/editable-field}/Overlay/Contenteditable/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Fragments → editor/features/fragments}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Library → editor/features/library}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Options → editor/features/options}/Form/Color/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Options → editor/features/options}/Form/DateTimeLocal/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Options → editor/features/options}/Form/Text/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/PreviewGrant → editor/features/preview-grant}/QrCode/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Structure → editor/features/structure}/List/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Theme → editor/features/theme}/GeneratedCode/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/TouchActionBar → editor/features/touch-action-bar}/Bar/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Transform → editor/features/transform}/docs.md +0 -0
- /package/dist/runtime/{helpers/easing.d.ts → editor/helpers/easing/index.d.ts} +0 -0
- /package/dist/runtime/{helpers/easing.js → editor/helpers/easing/index.js} +0 -0
- /package/dist/runtime/{helpers/editComponents → editor/helpers/edit-components}/index.d.ts +0 -0
- /package/dist/runtime/{helpers/editComponents → editor/helpers/edit-components}/index.js +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/arrow-right-thin.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/artboard.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/loader.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/logo.svg +0 -0
- /package/dist/runtime/{icons/detach.svg → editor/icons/svg/reusable-detach.svg} +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/robot.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/spinner.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/star.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/tiktok.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/unstar.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/vimeo.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/window-maximize.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/window-minimize.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/youtube.svg +0 -0
- /package/dist/runtime/{blokkliPlugins → editor/plugins}/DebugOverlay/index.vue +0 -0
- /package/dist/runtime/{helpers/broadcastProvider.d.ts → editor/providers/broadcast.d.ts} +0 -0
- /package/dist/runtime/{helpers/broadcastProvider.js → editor/providers/broadcast.js} +0 -0
- /package/dist/runtime/{helpers/textProvider.d.ts → editor/providers/texts.d.ts} +0 -0
|
@@ -0,0 +1,1010 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { buildSystemPrompt, buildSystemPromptEntries } from "./agentPrompt.js";
|
|
3
|
+
import { provider, models } from "#blokkli-build/agent-server";
|
|
4
|
+
import {
|
|
5
|
+
send,
|
|
6
|
+
KEEP_RECENT_TURNS,
|
|
7
|
+
resolveSkills,
|
|
8
|
+
transformText,
|
|
9
|
+
classifyError,
|
|
10
|
+
pruneMessages,
|
|
11
|
+
pruneForPersistence,
|
|
12
|
+
computeStateHash,
|
|
13
|
+
verifyStateHash,
|
|
14
|
+
validateMessages
|
|
15
|
+
} from "./helpers.js";
|
|
16
|
+
import { buildDefinition, stripSchemaOverhead } from "./server-tools/index.js";
|
|
17
|
+
import loadSkillTool from "./server-tools/load_skills/index.js";
|
|
18
|
+
import loadToolsTool from "./server-tools/load_tools/index.js";
|
|
19
|
+
import createPlanTool from "./server-tools/create_plan/index.js";
|
|
20
|
+
import completePlanStepTool from "./server-tools/complete_plan_step/index.js";
|
|
21
|
+
const serverTools = [
|
|
22
|
+
loadSkillTool,
|
|
23
|
+
loadToolsTool,
|
|
24
|
+
createPlanTool,
|
|
25
|
+
completePlanStepTool
|
|
26
|
+
];
|
|
27
|
+
export class Session {
|
|
28
|
+
messages = [];
|
|
29
|
+
pendingToolCalls = /* @__PURE__ */ new Map();
|
|
30
|
+
abortController = null;
|
|
31
|
+
isProcessing = false;
|
|
32
|
+
/** Names of eager tools sent to the LLM on every turn */
|
|
33
|
+
toolNames = [];
|
|
34
|
+
/** Names of lazy tools held back until activated via load_tools */
|
|
35
|
+
lazyToolNames = [];
|
|
36
|
+
/** Names of lazy tools that have been activated via load_tools */
|
|
37
|
+
activatedLazyTools = /* @__PURE__ */ new Set();
|
|
38
|
+
/** Names of skills that have been loaded via load_skills */
|
|
39
|
+
loadedSkills = /* @__PURE__ */ new Set();
|
|
40
|
+
/** Page context received from client on init */
|
|
41
|
+
pageContext;
|
|
42
|
+
/** Current plan (null when no plan is active) */
|
|
43
|
+
plan = null;
|
|
44
|
+
/** Whether any real work (non-server tool calls) happened since the last plan step started */
|
|
45
|
+
planStepHasWork = false;
|
|
46
|
+
/** Pending plan approval promise resolver */
|
|
47
|
+
pendingPlanApproval = null;
|
|
48
|
+
/** Pre-pruned messages snapshot for transcript (captured before pruneMessages) */
|
|
49
|
+
unprunedMessages = [];
|
|
50
|
+
/** Last generic tool definitions for transcript */
|
|
51
|
+
lastTools = [];
|
|
52
|
+
/** Last raw request payload for transcript (dev only) */
|
|
53
|
+
lastDebugPayload = null;
|
|
54
|
+
/** Bundled tool metadata map for server-side resolution */
|
|
55
|
+
bundledToolMap;
|
|
56
|
+
/** Cache for resolved JSON Schemas (Zod→JSON Schema is deterministic) */
|
|
57
|
+
jsonSchemaCache = /* @__PURE__ */ new Map();
|
|
58
|
+
constructor(toolDefinitions) {
|
|
59
|
+
this.bundledToolMap = new Map(toolDefinitions.map((t) => [t.name, t]));
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Resolve a single tool name into a ClientToolDefinition.
|
|
63
|
+
* Resolves from bundled metadata. Caches the JSON Schema conversion.
|
|
64
|
+
*/
|
|
65
|
+
resolveToolDefinition(name) {
|
|
66
|
+
const bundled = this.bundledToolMap.get(name);
|
|
67
|
+
if (!bundled) return void 0;
|
|
68
|
+
let inputSchema = this.jsonSchemaCache.get(name);
|
|
69
|
+
if (!inputSchema) {
|
|
70
|
+
inputSchema = stripSchemaOverhead(
|
|
71
|
+
z.toJSONSchema(bundled.paramsSchema)
|
|
72
|
+
);
|
|
73
|
+
this.jsonSchemaCache.set(name, inputSchema);
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
name: bundled.name,
|
|
77
|
+
description: bundled.description,
|
|
78
|
+
input_schema: inputSchema,
|
|
79
|
+
...bundled.lazy ? { lazy: true } : {},
|
|
80
|
+
category: bundled.category,
|
|
81
|
+
...bundled.volatile ? { volatile: true } : {}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Resolve multiple tool names into ClientToolDefinition objects.
|
|
86
|
+
* Skips names that cannot be resolved.
|
|
87
|
+
*/
|
|
88
|
+
resolveToolDefinitions(names) {
|
|
89
|
+
const result = [];
|
|
90
|
+
for (const name of names) {
|
|
91
|
+
const def = this.resolveToolDefinition(name);
|
|
92
|
+
if (def) {
|
|
93
|
+
result.push(def);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return result;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Look up name + description for a tool.
|
|
100
|
+
*/
|
|
101
|
+
getToolSummary(name) {
|
|
102
|
+
const bundled = this.bundledToolMap.get(name);
|
|
103
|
+
if (!bundled) return void 0;
|
|
104
|
+
return { name: bundled.name, description: bundled.description };
|
|
105
|
+
}
|
|
106
|
+
// --------------------------------------------------------------------------
|
|
107
|
+
// Public methods
|
|
108
|
+
// --------------------------------------------------------------------------
|
|
109
|
+
init(toolNames, pageContext) {
|
|
110
|
+
this.toolNames = [];
|
|
111
|
+
this.lazyToolNames = [];
|
|
112
|
+
for (const name of toolNames) {
|
|
113
|
+
const bundled = this.bundledToolMap.get(name);
|
|
114
|
+
const isLazy = bundled?.lazy ?? false;
|
|
115
|
+
if (isLazy) {
|
|
116
|
+
this.lazyToolNames.push(name);
|
|
117
|
+
} else {
|
|
118
|
+
this.toolNames.push(name);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
this.activatedLazyTools = /* @__PURE__ */ new Set();
|
|
122
|
+
this.loadedSkills = /* @__PURE__ */ new Set();
|
|
123
|
+
this.pageContext = pageContext;
|
|
124
|
+
}
|
|
125
|
+
start(peer, prompt, apiKey, authSecret, selectedUuids, autoLoadTools, autoLoadSkills, preSeededResults, autoExecuteTools) {
|
|
126
|
+
if (this.isProcessing) {
|
|
127
|
+
send(peer, {
|
|
128
|
+
type: "error",
|
|
129
|
+
errorType: "bad_request",
|
|
130
|
+
message: "Agent is already processing a request"
|
|
131
|
+
});
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
this.runAgentLoop(
|
|
135
|
+
peer,
|
|
136
|
+
prompt,
|
|
137
|
+
apiKey,
|
|
138
|
+
authSecret,
|
|
139
|
+
selectedUuids,
|
|
140
|
+
autoLoadTools,
|
|
141
|
+
autoLoadSkills,
|
|
142
|
+
preSeededResults,
|
|
143
|
+
autoExecuteTools
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
resolveToolResult(callId, result) {
|
|
147
|
+
const pending = this.pendingToolCalls.get(callId);
|
|
148
|
+
if (pending) {
|
|
149
|
+
pending.resolve(result);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
cancel(peer) {
|
|
153
|
+
this.abortController?.abort();
|
|
154
|
+
for (const pending of this.pendingToolCalls.values()) {
|
|
155
|
+
pending.reject(new Error("Cancelled"));
|
|
156
|
+
}
|
|
157
|
+
this.pendingToolCalls.clear();
|
|
158
|
+
if (this.pendingPlanApproval) {
|
|
159
|
+
this.pendingPlanApproval.resolve(false);
|
|
160
|
+
this.pendingPlanApproval = null;
|
|
161
|
+
}
|
|
162
|
+
send(peer, { type: "done" });
|
|
163
|
+
}
|
|
164
|
+
acceptChanges(peer, authSecret) {
|
|
165
|
+
this.safePushUserMessage(`[System: Changes accepted and applied.]`);
|
|
166
|
+
send(peer, { type: "done", message: "Changes accepted" });
|
|
167
|
+
this.sendConversationState(peer, authSecret);
|
|
168
|
+
}
|
|
169
|
+
rejectChanges(peer, authSecret) {
|
|
170
|
+
this.safePushUserMessage(
|
|
171
|
+
`[System: Changes rejected. All pending changes have been reverted. The page is back to its previous state.]`
|
|
172
|
+
);
|
|
173
|
+
send(peer, { type: "done", message: "Changes rejected" });
|
|
174
|
+
this.sendConversationState(peer, authSecret);
|
|
175
|
+
}
|
|
176
|
+
approvePlan() {
|
|
177
|
+
if (this.pendingPlanApproval) {
|
|
178
|
+
this.pendingPlanApproval.resolve(true);
|
|
179
|
+
this.pendingPlanApproval = null;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
rejectPlan() {
|
|
183
|
+
if (this.pendingPlanApproval) {
|
|
184
|
+
this.pendingPlanApproval.resolve(false);
|
|
185
|
+
this.pendingPlanApproval = null;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
getTranscript(peer) {
|
|
189
|
+
send(peer, {
|
|
190
|
+
type: "transcript",
|
|
191
|
+
transcript: this.buildTranscript()
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
newConversation(peer, authSecret) {
|
|
195
|
+
this.abortController?.abort();
|
|
196
|
+
this.messages = [];
|
|
197
|
+
this.unprunedMessages = [];
|
|
198
|
+
this.lastTools = [];
|
|
199
|
+
this.lastDebugPayload = null;
|
|
200
|
+
this.activatedLazyTools.clear();
|
|
201
|
+
this.loadedSkills.clear();
|
|
202
|
+
this.plan = null;
|
|
203
|
+
if (this.pendingPlanApproval) {
|
|
204
|
+
this.pendingPlanApproval.resolve(false);
|
|
205
|
+
this.pendingPlanApproval = null;
|
|
206
|
+
}
|
|
207
|
+
send(peer, { type: "done" });
|
|
208
|
+
this.sendConversationState(peer, authSecret);
|
|
209
|
+
}
|
|
210
|
+
cleanup() {
|
|
211
|
+
this.abortController?.abort();
|
|
212
|
+
for (const pending of this.pendingToolCalls.values()) {
|
|
213
|
+
pending.reject(new Error("Session closed"));
|
|
214
|
+
}
|
|
215
|
+
this.pendingToolCalls.clear();
|
|
216
|
+
if (this.pendingPlanApproval) {
|
|
217
|
+
this.pendingPlanApproval.resolve(false);
|
|
218
|
+
this.pendingPlanApproval = null;
|
|
219
|
+
}
|
|
220
|
+
this.plan = null;
|
|
221
|
+
this.messages = [];
|
|
222
|
+
this.toolNames = [];
|
|
223
|
+
this.lazyToolNames = [];
|
|
224
|
+
this.activatedLazyTools.clear();
|
|
225
|
+
this.loadedSkills.clear();
|
|
226
|
+
this.pageContext = void 0;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Build a persistence snapshot and send it to the client.
|
|
230
|
+
*/
|
|
231
|
+
sendConversationState(peer, authSecret) {
|
|
232
|
+
const state = this.getConversationStateForPersistence(authSecret);
|
|
233
|
+
send(peer, { type: "conversation_state", state });
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Create an aggressively pruned snapshot of the current conversation
|
|
237
|
+
* for client-side persistence.
|
|
238
|
+
*/
|
|
239
|
+
getConversationStateForPersistence(authSecret) {
|
|
240
|
+
const prunedMessages = pruneForPersistence(this.messages);
|
|
241
|
+
const activatedLazyTools = Array.from(this.activatedLazyTools);
|
|
242
|
+
const hash = computeStateHash(
|
|
243
|
+
prunedMessages,
|
|
244
|
+
activatedLazyTools,
|
|
245
|
+
authSecret
|
|
246
|
+
);
|
|
247
|
+
return {
|
|
248
|
+
messages: prunedMessages,
|
|
249
|
+
activatedLazyTools,
|
|
250
|
+
hash
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Restore conversation state from a client-provided snapshot.
|
|
255
|
+
* Verifies HMAC integrity before loading.
|
|
256
|
+
*/
|
|
257
|
+
restoreConversation(state, authSecret) {
|
|
258
|
+
if (!verifyStateHash(state, authSecret)) {
|
|
259
|
+
return { success: false, reason: "Invalid state hash" };
|
|
260
|
+
}
|
|
261
|
+
const issues = validateMessages(state.messages);
|
|
262
|
+
if (issues.length > 0) {
|
|
263
|
+
return { success: false, reason: "Invalid message structure" };
|
|
264
|
+
}
|
|
265
|
+
this.messages = state.messages;
|
|
266
|
+
this.unprunedMessages = [];
|
|
267
|
+
this.lastTools = [];
|
|
268
|
+
const validLazyToolNames = new Set(this.lazyToolNames);
|
|
269
|
+
this.activatedLazyTools = new Set(
|
|
270
|
+
state.activatedLazyTools.filter((name) => validLazyToolNames.has(name))
|
|
271
|
+
);
|
|
272
|
+
this.plan = null;
|
|
273
|
+
return { success: true };
|
|
274
|
+
}
|
|
275
|
+
// --------------------------------------------------------------------------
|
|
276
|
+
// Private methods
|
|
277
|
+
// --------------------------------------------------------------------------
|
|
278
|
+
/**
|
|
279
|
+
* Convert the server plan to a client-facing plan (strips descriptions).
|
|
280
|
+
*/
|
|
281
|
+
toClientPlan() {
|
|
282
|
+
if (!this.plan) return null;
|
|
283
|
+
return {
|
|
284
|
+
title: this.plan.title,
|
|
285
|
+
steps: this.plan.steps.map(
|
|
286
|
+
(s) => ({
|
|
287
|
+
label: s.label,
|
|
288
|
+
status: s.status
|
|
289
|
+
})
|
|
290
|
+
)
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* Build an ActivePlanContext from the current plan state,
|
|
295
|
+
* or undefined if no plan step is in progress.
|
|
296
|
+
*/
|
|
297
|
+
getActivePlanContext() {
|
|
298
|
+
const currentStep = this.plan?.steps.find((s) => s.status === "in_progress");
|
|
299
|
+
if (!this.plan || !currentStep) return void 0;
|
|
300
|
+
return {
|
|
301
|
+
title: this.plan.title,
|
|
302
|
+
totalSteps: this.plan.steps.length,
|
|
303
|
+
completedSteps: this.plan.steps.filter((s) => s.status === "completed").length,
|
|
304
|
+
currentStep: {
|
|
305
|
+
label: currentStep.label,
|
|
306
|
+
description: currentStep.description
|
|
307
|
+
},
|
|
308
|
+
remainingSteps: this.plan.steps.filter((s) => s.status === "pending").map((s) => s.label)
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Wait for the user to approve or reject the plan.
|
|
313
|
+
*/
|
|
314
|
+
waitForPlanApproval() {
|
|
315
|
+
return new Promise((resolve) => {
|
|
316
|
+
this.pendingPlanApproval = { resolve };
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
async runAgentLoop(peer, prompt, apiKey, authSecret, selectedUuids, autoLoadTools, autoLoadSkills, preSeededResults, autoExecuteTools) {
|
|
320
|
+
if (this.toolNames.length === 0) {
|
|
321
|
+
send(peer, {
|
|
322
|
+
type: "error",
|
|
323
|
+
errorType: "bad_request",
|
|
324
|
+
message: "No tools available. Client must send init message with tools first."
|
|
325
|
+
});
|
|
326
|
+
return;
|
|
327
|
+
}
|
|
328
|
+
if (!this.pageContext) {
|
|
329
|
+
send(peer, {
|
|
330
|
+
type: "error",
|
|
331
|
+
errorType: "bad_request",
|
|
332
|
+
message: "No page context available. Client must send init message with pageContext first."
|
|
333
|
+
});
|
|
334
|
+
return;
|
|
335
|
+
}
|
|
336
|
+
const resolvedSkills = resolveSkills(this.pageContext);
|
|
337
|
+
if (autoLoadTools?.length) {
|
|
338
|
+
for (const name of autoLoadTools) {
|
|
339
|
+
if (this.lazyToolNames.includes(name) && !this.activatedLazyTools.has(name)) {
|
|
340
|
+
this.activatedLazyTools.add(name);
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
const autoLoadedSkillBlocks = [];
|
|
345
|
+
if (autoLoadSkills?.length) {
|
|
346
|
+
for (const skillName of autoLoadSkills) {
|
|
347
|
+
const skill = resolvedSkills.find((s) => s.name === skillName);
|
|
348
|
+
if (!skill || this.loadedSkills.has(skill.name)) continue;
|
|
349
|
+
this.loadedSkills.add(skill.name);
|
|
350
|
+
for (const toolName of skill.tools) {
|
|
351
|
+
if (this.lazyToolNames.includes(toolName) && !this.activatedLazyTools.has(toolName)) {
|
|
352
|
+
this.activatedLazyTools.add(toolName);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
autoLoadedSkillBlocks.push({
|
|
356
|
+
type: "skill",
|
|
357
|
+
name: skill.name,
|
|
358
|
+
text: `# Skill: ${skill.name}
|
|
359
|
+
|
|
360
|
+
${skill.content}`
|
|
361
|
+
});
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
const userParts = [];
|
|
365
|
+
if (selectedUuids?.length) {
|
|
366
|
+
userParts.push(
|
|
367
|
+
`[User has selected the following paragraphs: ${selectedUuids.join(", ")}]`
|
|
368
|
+
);
|
|
369
|
+
}
|
|
370
|
+
userParts.push(prompt);
|
|
371
|
+
const userMessage = autoLoadedSkillBlocks.length > 0 ? {
|
|
372
|
+
role: "user",
|
|
373
|
+
content: [
|
|
374
|
+
...autoLoadedSkillBlocks,
|
|
375
|
+
{ type: "text", text: userParts.join("\n\n") }
|
|
376
|
+
]
|
|
377
|
+
} : { role: "user", content: userParts.join("\n\n") };
|
|
378
|
+
this.messages.push(userMessage);
|
|
379
|
+
if (preSeededResults?.length) {
|
|
380
|
+
for (let i = 0; i < preSeededResults.length; i++) {
|
|
381
|
+
const preSeeded = preSeededResults[i];
|
|
382
|
+
const toolUseId = `preseed_${i}`;
|
|
383
|
+
this.messages.push({
|
|
384
|
+
role: "assistant",
|
|
385
|
+
content: [
|
|
386
|
+
{
|
|
387
|
+
type: "tool_use",
|
|
388
|
+
id: toolUseId,
|
|
389
|
+
name: preSeeded.toolName,
|
|
390
|
+
input: preSeeded.params
|
|
391
|
+
}
|
|
392
|
+
]
|
|
393
|
+
});
|
|
394
|
+
this.messages.push({
|
|
395
|
+
role: "user",
|
|
396
|
+
content: [
|
|
397
|
+
{
|
|
398
|
+
type: "tool_result",
|
|
399
|
+
tool_use_id: toolUseId,
|
|
400
|
+
content: JSON.stringify(preSeeded.result)
|
|
401
|
+
}
|
|
402
|
+
]
|
|
403
|
+
});
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
let allAutoToolsSkipLlm = false;
|
|
407
|
+
if (autoExecuteTools?.length) {
|
|
408
|
+
let hasErrors = false;
|
|
409
|
+
let allSkip = true;
|
|
410
|
+
for (let i = 0; i < autoExecuteTools.length; i++) {
|
|
411
|
+
const autoTool = autoExecuteTools[i];
|
|
412
|
+
const callId = `auto_${i}`;
|
|
413
|
+
const toolUseId = `auto_tu_${i}`;
|
|
414
|
+
send(peer, {
|
|
415
|
+
type: "tool_call",
|
|
416
|
+
callId,
|
|
417
|
+
tool: autoTool.toolName,
|
|
418
|
+
params: autoTool.params
|
|
419
|
+
});
|
|
420
|
+
try {
|
|
421
|
+
const clientResult = await this.waitForToolResult(callId);
|
|
422
|
+
this.messages.push({
|
|
423
|
+
role: "assistant",
|
|
424
|
+
content: [
|
|
425
|
+
{
|
|
426
|
+
type: "tool_use",
|
|
427
|
+
id: toolUseId,
|
|
428
|
+
name: autoTool.toolName,
|
|
429
|
+
input: autoTool.params
|
|
430
|
+
}
|
|
431
|
+
]
|
|
432
|
+
});
|
|
433
|
+
if (clientResult.error) {
|
|
434
|
+
hasErrors = true;
|
|
435
|
+
allSkip = false;
|
|
436
|
+
this.messages.push({
|
|
437
|
+
role: "user",
|
|
438
|
+
content: [
|
|
439
|
+
{
|
|
440
|
+
type: "tool_result",
|
|
441
|
+
tool_use_id: toolUseId,
|
|
442
|
+
content: JSON.stringify({ error: clientResult.error }),
|
|
443
|
+
is_error: true
|
|
444
|
+
}
|
|
445
|
+
]
|
|
446
|
+
});
|
|
447
|
+
} else {
|
|
448
|
+
if (!clientResult.skipLlmResponse) {
|
|
449
|
+
allSkip = false;
|
|
450
|
+
}
|
|
451
|
+
let resultForLLM = clientResult.result;
|
|
452
|
+
if (typeof resultForLLM === "object" && resultForLLM !== null && "agentMessage" in resultForLLM) {
|
|
453
|
+
const { agentMessage, ...rest } = resultForLLM;
|
|
454
|
+
resultForLLM = { ...rest, label: agentMessage };
|
|
455
|
+
}
|
|
456
|
+
this.messages.push({
|
|
457
|
+
role: "user",
|
|
458
|
+
content: [
|
|
459
|
+
{
|
|
460
|
+
type: "tool_result",
|
|
461
|
+
tool_use_id: toolUseId,
|
|
462
|
+
content: JSON.stringify(resultForLLM)
|
|
463
|
+
}
|
|
464
|
+
]
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
} catch {
|
|
468
|
+
hasErrors = true;
|
|
469
|
+
allSkip = false;
|
|
470
|
+
this.messages.push({
|
|
471
|
+
role: "assistant",
|
|
472
|
+
content: [
|
|
473
|
+
{
|
|
474
|
+
type: "tool_use",
|
|
475
|
+
id: toolUseId,
|
|
476
|
+
name: autoTool.toolName,
|
|
477
|
+
input: autoTool.params
|
|
478
|
+
}
|
|
479
|
+
]
|
|
480
|
+
});
|
|
481
|
+
this.messages.push({
|
|
482
|
+
role: "user",
|
|
483
|
+
content: [
|
|
484
|
+
{
|
|
485
|
+
type: "tool_result",
|
|
486
|
+
tool_use_id: toolUseId,
|
|
487
|
+
content: JSON.stringify({
|
|
488
|
+
error: "Auto-executed tool call was cancelled."
|
|
489
|
+
}),
|
|
490
|
+
is_error: true
|
|
491
|
+
}
|
|
492
|
+
]
|
|
493
|
+
});
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
allAutoToolsSkipLlm = allSkip && !hasErrors;
|
|
497
|
+
}
|
|
498
|
+
if (allAutoToolsSkipLlm) {
|
|
499
|
+
send(peer, { type: "done" });
|
|
500
|
+
this.sendConversationState(peer, authSecret);
|
|
501
|
+
this.isProcessing = false;
|
|
502
|
+
return;
|
|
503
|
+
}
|
|
504
|
+
this.abortController = new AbortController();
|
|
505
|
+
this.isProcessing = true;
|
|
506
|
+
let toolCallCounter = 0;
|
|
507
|
+
let planRetryCount = 0;
|
|
508
|
+
let streamRetryCount = 0;
|
|
509
|
+
const MAX_STREAM_RETRIES = 1;
|
|
510
|
+
let lastToolCallKey = "";
|
|
511
|
+
let consecutiveIdenticalCalls = 0;
|
|
512
|
+
const MAX_IDENTICAL_CALLS = 2;
|
|
513
|
+
try {
|
|
514
|
+
while (true) {
|
|
515
|
+
if (this.abortController.signal.aborted) {
|
|
516
|
+
break;
|
|
517
|
+
}
|
|
518
|
+
send(peer, { type: "thinking" });
|
|
519
|
+
const assistantContent = [];
|
|
520
|
+
const toolResults = [];
|
|
521
|
+
const extraBlocks = [];
|
|
522
|
+
let messagesCommittedByPlanTool = false;
|
|
523
|
+
let currentToolUse = null;
|
|
524
|
+
let currentTextContent = "";
|
|
525
|
+
let inTextBlock = false;
|
|
526
|
+
const eagerTools = this.resolveToolDefinitions(this.toolNames);
|
|
527
|
+
const activatedToolNames = this.lazyToolNames.filter(
|
|
528
|
+
(name) => this.activatedLazyTools.has(name)
|
|
529
|
+
);
|
|
530
|
+
const activatedTools = this.resolveToolDefinitions(activatedToolNames);
|
|
531
|
+
const unloadedLazyToolNames = this.lazyToolNames.filter(
|
|
532
|
+
(name) => !this.activatedLazyTools.has(name)
|
|
533
|
+
);
|
|
534
|
+
const unloadedLazyTools = unloadedLazyToolNames.map((name) => this.getToolSummary(name)).filter(
|
|
535
|
+
(s) => s !== void 0
|
|
536
|
+
);
|
|
537
|
+
const defCtx = {
|
|
538
|
+
resolvedSkills,
|
|
539
|
+
plan: this.plan,
|
|
540
|
+
unloadedLazyTools
|
|
541
|
+
};
|
|
542
|
+
const serverToolDefs = serverTools.map((t) => buildDefinition(t, defCtx)).filter((d) => d !== null);
|
|
543
|
+
const allTools = [...serverToolDefs, ...eagerTools, ...activatedTools];
|
|
544
|
+
this.lastTools = allTools;
|
|
545
|
+
const lazyToolSummaries = this.lazyToolNames.filter((name) => !this.activatedLazyTools.has(name)).map((name) => this.getToolSummary(name)).filter(
|
|
546
|
+
(s) => s !== void 0
|
|
547
|
+
);
|
|
548
|
+
const systemPrompt = buildSystemPrompt(
|
|
549
|
+
this.pageContext,
|
|
550
|
+
resolvedSkills,
|
|
551
|
+
lazyToolSummaries,
|
|
552
|
+
this.getActivePlanContext(),
|
|
553
|
+
this.loadedSkills
|
|
554
|
+
);
|
|
555
|
+
const stream = provider.createStream(
|
|
556
|
+
{
|
|
557
|
+
apiKey,
|
|
558
|
+
model: (models.find((m) => m.isDefault) || models[0]).name
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
systemPrompt,
|
|
562
|
+
messages: this.messages,
|
|
563
|
+
tools: allTools,
|
|
564
|
+
maxTokens: 4096,
|
|
565
|
+
signal: this.abortController.signal
|
|
566
|
+
}
|
|
567
|
+
);
|
|
568
|
+
try {
|
|
569
|
+
for await (const event of stream) {
|
|
570
|
+
if (this.abortController?.signal.aborted) {
|
|
571
|
+
break;
|
|
572
|
+
}
|
|
573
|
+
switch (event.type) {
|
|
574
|
+
case "debug_request":
|
|
575
|
+
this.lastDebugPayload = event.payload;
|
|
576
|
+
break;
|
|
577
|
+
case "text_start":
|
|
578
|
+
inTextBlock = true;
|
|
579
|
+
currentTextContent = "";
|
|
580
|
+
break;
|
|
581
|
+
case "text_delta":
|
|
582
|
+
if (inTextBlock) {
|
|
583
|
+
const transformed = transformText(event.text);
|
|
584
|
+
currentTextContent += transformed;
|
|
585
|
+
send(peer, { type: "text_delta", content: transformed });
|
|
586
|
+
}
|
|
587
|
+
break;
|
|
588
|
+
case "text_end":
|
|
589
|
+
if (inTextBlock && currentTextContent) {
|
|
590
|
+
assistantContent.push({
|
|
591
|
+
type: "text",
|
|
592
|
+
text: currentTextContent
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
currentTextContent = "";
|
|
596
|
+
inTextBlock = false;
|
|
597
|
+
break;
|
|
598
|
+
case "tool_use_start":
|
|
599
|
+
currentToolUse = {
|
|
600
|
+
id: event.id,
|
|
601
|
+
name: event.name,
|
|
602
|
+
inputJson: ""
|
|
603
|
+
};
|
|
604
|
+
break;
|
|
605
|
+
case "tool_use_delta":
|
|
606
|
+
if (currentToolUse) {
|
|
607
|
+
currentToolUse.inputJson += event.partial_json;
|
|
608
|
+
}
|
|
609
|
+
break;
|
|
610
|
+
case "tool_use_end":
|
|
611
|
+
if (currentToolUse) {
|
|
612
|
+
let input;
|
|
613
|
+
try {
|
|
614
|
+
input = JSON.parse(currentToolUse.inputJson || "{}");
|
|
615
|
+
} catch {
|
|
616
|
+
input = {};
|
|
617
|
+
assistantContent.push({
|
|
618
|
+
type: "tool_use",
|
|
619
|
+
id: currentToolUse.id,
|
|
620
|
+
name: currentToolUse.name,
|
|
621
|
+
input
|
|
622
|
+
});
|
|
623
|
+
toolResults.push({
|
|
624
|
+
type: "tool_result",
|
|
625
|
+
tool_use_id: currentToolUse.id,
|
|
626
|
+
content: JSON.stringify({
|
|
627
|
+
error: "Your tool call produced malformed JSON input. Please try again."
|
|
628
|
+
}),
|
|
629
|
+
is_error: true
|
|
630
|
+
});
|
|
631
|
+
currentToolUse = null;
|
|
632
|
+
break;
|
|
633
|
+
}
|
|
634
|
+
const callId = `tc_${toolCallCounter++}`;
|
|
635
|
+
assistantContent.push({
|
|
636
|
+
type: "tool_use",
|
|
637
|
+
id: currentToolUse.id,
|
|
638
|
+
name: currentToolUse.name,
|
|
639
|
+
input
|
|
640
|
+
});
|
|
641
|
+
const toolCallKey = currentToolUse.name + ":" + currentToolUse.inputJson;
|
|
642
|
+
if (toolCallKey === lastToolCallKey) {
|
|
643
|
+
consecutiveIdenticalCalls++;
|
|
644
|
+
} else {
|
|
645
|
+
lastToolCallKey = toolCallKey;
|
|
646
|
+
consecutiveIdenticalCalls = 1;
|
|
647
|
+
}
|
|
648
|
+
if (consecutiveIdenticalCalls > MAX_IDENTICAL_CALLS) {
|
|
649
|
+
toolResults.push({
|
|
650
|
+
type: "tool_result",
|
|
651
|
+
tool_use_id: currentToolUse.id,
|
|
652
|
+
content: JSON.stringify({
|
|
653
|
+
error: `You have called "${currentToolUse.name}" ${consecutiveIdenticalCalls} times in a row with identical parameters and received the same result each time. Stop repeating this call. Use the information you already have or try a different approach.`
|
|
654
|
+
}),
|
|
655
|
+
is_error: true
|
|
656
|
+
});
|
|
657
|
+
currentToolUse = null;
|
|
658
|
+
break;
|
|
659
|
+
}
|
|
660
|
+
const matchedServerTool = serverTools.find(
|
|
661
|
+
(t) => t.name === currentToolUse.name
|
|
662
|
+
);
|
|
663
|
+
if (matchedServerTool) {
|
|
664
|
+
if (matchedServerTool.isAvailable && !matchedServerTool.isAvailable(defCtx)) {
|
|
665
|
+
toolResults.push({
|
|
666
|
+
type: "tool_result",
|
|
667
|
+
tool_use_id: currentToolUse.id,
|
|
668
|
+
content: JSON.stringify({
|
|
669
|
+
error: "This tool is not available right now."
|
|
670
|
+
}),
|
|
671
|
+
is_error: true
|
|
672
|
+
});
|
|
673
|
+
currentToolUse = null;
|
|
674
|
+
break;
|
|
675
|
+
}
|
|
676
|
+
const handlerCtx = {
|
|
677
|
+
toolUseId: currentToolUse.id,
|
|
678
|
+
send: (msg) => send(peer, msg),
|
|
679
|
+
resolvedSkills,
|
|
680
|
+
lazyToolNames: this.lazyToolNames,
|
|
681
|
+
activatedLazyTools: this.activatedLazyTools,
|
|
682
|
+
loadedSkills: this.loadedSkills,
|
|
683
|
+
plan: this.plan,
|
|
684
|
+
setPlan: (p) => {
|
|
685
|
+
this.plan = p;
|
|
686
|
+
},
|
|
687
|
+
toClientPlan: () => this.toClientPlan(),
|
|
688
|
+
waitForPlanApproval: () => this.waitForPlanApproval(),
|
|
689
|
+
assistantContent,
|
|
690
|
+
commitMessagesEarly: (toolResult) => {
|
|
691
|
+
if (assistantContent.length) {
|
|
692
|
+
this.messages.push({
|
|
693
|
+
role: "assistant",
|
|
694
|
+
content: [...assistantContent]
|
|
695
|
+
});
|
|
696
|
+
assistantContent.length = 0;
|
|
697
|
+
}
|
|
698
|
+
this.messages.push({
|
|
699
|
+
role: "user",
|
|
700
|
+
content: [toolResult]
|
|
701
|
+
});
|
|
702
|
+
},
|
|
703
|
+
updateLastToolResult: (toolUseId, content) => {
|
|
704
|
+
const lastMsg = this.messages[this.messages.length - 1];
|
|
705
|
+
if (lastMsg.role === "user" && Array.isArray(lastMsg.content)) {
|
|
706
|
+
const resultBlock = lastMsg.content.find(
|
|
707
|
+
(b) => b.type === "tool_result" && b.tool_use_id === toolUseId
|
|
708
|
+
);
|
|
709
|
+
if (resultBlock && resultBlock.type === "tool_result") {
|
|
710
|
+
resultBlock.content = content;
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
planStepHasWork: this.planStepHasWork,
|
|
715
|
+
markPlanStepWork: () => {
|
|
716
|
+
this.planStepHasWork = true;
|
|
717
|
+
},
|
|
718
|
+
resetPlanStepWork: () => {
|
|
719
|
+
this.planStepHasWork = false;
|
|
720
|
+
}
|
|
721
|
+
};
|
|
722
|
+
try {
|
|
723
|
+
const coercedInput = {};
|
|
724
|
+
for (const key of Object.keys(input)) {
|
|
725
|
+
const value = input[key];
|
|
726
|
+
if (typeof value === "string" && (value[0] === "[" || value[0] === "{")) {
|
|
727
|
+
try {
|
|
728
|
+
coercedInput[key] = JSON.parse(value);
|
|
729
|
+
} catch {
|
|
730
|
+
coercedInput[key] = value;
|
|
731
|
+
}
|
|
732
|
+
} else {
|
|
733
|
+
coercedInput[key] = value;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
const parsed = matchedServerTool.inputSchema(defCtx).parse(coercedInput);
|
|
737
|
+
const result = await matchedServerTool.handle(
|
|
738
|
+
handlerCtx,
|
|
739
|
+
parsed
|
|
740
|
+
);
|
|
741
|
+
toolResults.push(...result.toolResults);
|
|
742
|
+
if (result.extraBlocks) {
|
|
743
|
+
extraBlocks.push(...result.extraBlocks);
|
|
744
|
+
}
|
|
745
|
+
if (result.messagesCommitted) {
|
|
746
|
+
messagesCommittedByPlanTool = true;
|
|
747
|
+
}
|
|
748
|
+
} catch (e) {
|
|
749
|
+
toolResults.push({
|
|
750
|
+
type: "tool_result",
|
|
751
|
+
tool_use_id: currentToolUse.id,
|
|
752
|
+
content: JSON.stringify({
|
|
753
|
+
error: `Invalid input: ${e.message}`
|
|
754
|
+
}),
|
|
755
|
+
is_error: true
|
|
756
|
+
});
|
|
757
|
+
}
|
|
758
|
+
currentToolUse = null;
|
|
759
|
+
break;
|
|
760
|
+
}
|
|
761
|
+
send(peer, {
|
|
762
|
+
type: "tool_call",
|
|
763
|
+
callId,
|
|
764
|
+
tool: currentToolUse.name,
|
|
765
|
+
params: input
|
|
766
|
+
});
|
|
767
|
+
try {
|
|
768
|
+
const clientResult = await this.waitForToolResult(callId);
|
|
769
|
+
if (clientResult.error) {
|
|
770
|
+
toolResults.push({
|
|
771
|
+
type: "tool_result",
|
|
772
|
+
tool_use_id: currentToolUse.id,
|
|
773
|
+
content: JSON.stringify({
|
|
774
|
+
error: clientResult.error
|
|
775
|
+
}),
|
|
776
|
+
is_error: true
|
|
777
|
+
});
|
|
778
|
+
} else {
|
|
779
|
+
let resultForLLM = clientResult.result;
|
|
780
|
+
if (typeof resultForLLM === "object" && resultForLLM !== null && "agentMessage" in resultForLLM) {
|
|
781
|
+
const { agentMessage, ...rest } = resultForLLM;
|
|
782
|
+
resultForLLM = { ...rest, label: agentMessage };
|
|
783
|
+
}
|
|
784
|
+
toolResults.push({
|
|
785
|
+
type: "tool_result",
|
|
786
|
+
tool_use_id: currentToolUse.id,
|
|
787
|
+
content: JSON.stringify(resultForLLM)
|
|
788
|
+
});
|
|
789
|
+
this.planStepHasWork = true;
|
|
790
|
+
}
|
|
791
|
+
} catch (error) {
|
|
792
|
+
toolResults.push({
|
|
793
|
+
type: "tool_result",
|
|
794
|
+
tool_use_id: currentToolUse.id,
|
|
795
|
+
content: JSON.stringify({
|
|
796
|
+
error: error.message
|
|
797
|
+
}),
|
|
798
|
+
is_error: true
|
|
799
|
+
});
|
|
800
|
+
}
|
|
801
|
+
currentToolUse = null;
|
|
802
|
+
}
|
|
803
|
+
break;
|
|
804
|
+
case "reasoning_summary":
|
|
805
|
+
assistantContent.push({
|
|
806
|
+
type: "reasoning",
|
|
807
|
+
id: event.id,
|
|
808
|
+
text: event.text,
|
|
809
|
+
encryptedContent: event.encryptedContent
|
|
810
|
+
});
|
|
811
|
+
break;
|
|
812
|
+
case "message_end":
|
|
813
|
+
if (event.inputTokens !== void 0 && event.outputTokens !== void 0) {
|
|
814
|
+
const defaultModel = models.find((m) => m.isDefault) || models[0];
|
|
815
|
+
send(peer, {
|
|
816
|
+
type: "usage",
|
|
817
|
+
usage: {
|
|
818
|
+
inputTokens: event.inputTokens,
|
|
819
|
+
outputTokens: event.outputTokens,
|
|
820
|
+
cacheCreationInputTokens: event.cacheCreationInputTokens ?? 0,
|
|
821
|
+
cacheReadInputTokens: event.cacheReadInputTokens ?? 0,
|
|
822
|
+
pricing: defaultModel?.pricing ?? null
|
|
823
|
+
}
|
|
824
|
+
});
|
|
825
|
+
}
|
|
826
|
+
break;
|
|
827
|
+
case "error":
|
|
828
|
+
throw event.error;
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
} catch (streamError) {
|
|
832
|
+
const isApiError = typeof streamError.status === "number";
|
|
833
|
+
const isRetryable = !isApiError && toolResults.length === 0;
|
|
834
|
+
if (isRetryable && streamRetryCount < MAX_STREAM_RETRIES) {
|
|
835
|
+
streamRetryCount++;
|
|
836
|
+
console.warn(
|
|
837
|
+
`[blokkli agent] Transient stream error, retrying (attempt ${streamRetryCount}/${MAX_STREAM_RETRIES}):`,
|
|
838
|
+
streamError
|
|
839
|
+
);
|
|
840
|
+
continue;
|
|
841
|
+
}
|
|
842
|
+
if (isRetryable && this.messages[this.messages.length - 1] === userMessage) {
|
|
843
|
+
this.messages.pop();
|
|
844
|
+
console.error(
|
|
845
|
+
"[blokkli agent] Transient stream error, retries exhausted:",
|
|
846
|
+
streamError
|
|
847
|
+
);
|
|
848
|
+
const classified = classifyError(streamError);
|
|
849
|
+
send(peer, { type: "error", ...classified, retryable: true });
|
|
850
|
+
break;
|
|
851
|
+
}
|
|
852
|
+
throw streamError;
|
|
853
|
+
}
|
|
854
|
+
if (this.abortController?.signal.aborted) {
|
|
855
|
+
break;
|
|
856
|
+
}
|
|
857
|
+
if (messagesCommittedByPlanTool) {
|
|
858
|
+
this.planStepHasWork = false;
|
|
859
|
+
continue;
|
|
860
|
+
}
|
|
861
|
+
if (assistantContent.length) {
|
|
862
|
+
this.messages.push({
|
|
863
|
+
role: "assistant",
|
|
864
|
+
content: assistantContent
|
|
865
|
+
});
|
|
866
|
+
}
|
|
867
|
+
if (toolResults.length) {
|
|
868
|
+
this.messages.push({
|
|
869
|
+
role: "user",
|
|
870
|
+
content: [...toolResults, ...extraBlocks]
|
|
871
|
+
});
|
|
872
|
+
planRetryCount = 0;
|
|
873
|
+
streamRetryCount = 0;
|
|
874
|
+
}
|
|
875
|
+
if (toolResults.length === 0) {
|
|
876
|
+
const hasActivePlan = this.plan && this.plan.steps.some((s) => s.status === "in_progress");
|
|
877
|
+
if (hasActivePlan && planRetryCount < 2) {
|
|
878
|
+
planRetryCount++;
|
|
879
|
+
this.safePushUserMessage("[Continue with the plan.]");
|
|
880
|
+
continue;
|
|
881
|
+
}
|
|
882
|
+
const finalMessage = assistantContent.filter(
|
|
883
|
+
(c) => c.type === "text"
|
|
884
|
+
).map((t) => t.text).join("\n").trim();
|
|
885
|
+
send(peer, { type: "done", message: finalMessage || void 0 });
|
|
886
|
+
break;
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
} catch (error) {
|
|
890
|
+
if (error.name !== "AbortError" && !this.abortController?.signal.aborted) {
|
|
891
|
+
console.error("Agent loop error:", error);
|
|
892
|
+
const classified = classifyError(error);
|
|
893
|
+
send(peer, { type: "error", ...classified });
|
|
894
|
+
}
|
|
895
|
+
} finally {
|
|
896
|
+
this.isProcessing = false;
|
|
897
|
+
this.abortController = null;
|
|
898
|
+
this.unprunedMessages = structuredClone(this.messages);
|
|
899
|
+
pruneMessages(
|
|
900
|
+
this.messages,
|
|
901
|
+
KEEP_RECENT_TURNS,
|
|
902
|
+
this.buildToolMetadataMap()
|
|
903
|
+
);
|
|
904
|
+
if (this.loadedSkills.size > 0) {
|
|
905
|
+
this.reconcileLoadedSkills();
|
|
906
|
+
}
|
|
907
|
+
this.sendConversationState(peer, authSecret);
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
waitForToolResult(callId) {
|
|
911
|
+
return new Promise((resolve, reject) => {
|
|
912
|
+
this.pendingToolCalls.set(callId, {
|
|
913
|
+
resolve: (result) => {
|
|
914
|
+
this.pendingToolCalls.delete(callId);
|
|
915
|
+
resolve(result);
|
|
916
|
+
},
|
|
917
|
+
reject: (error) => {
|
|
918
|
+
this.pendingToolCalls.delete(callId);
|
|
919
|
+
reject(error);
|
|
920
|
+
}
|
|
921
|
+
});
|
|
922
|
+
});
|
|
923
|
+
}
|
|
924
|
+
/**
|
|
925
|
+
* Bug 3 fix: safely push a user message, merging with the last message
|
|
926
|
+
* if it's also a user message to avoid consecutive same-role messages.
|
|
927
|
+
*/
|
|
928
|
+
safePushUserMessage(text) {
|
|
929
|
+
const lastMessage = this.messages[this.messages.length - 1];
|
|
930
|
+
if (lastMessage && lastMessage.role === "user") {
|
|
931
|
+
if (typeof lastMessage.content === "string") {
|
|
932
|
+
lastMessage.content = lastMessage.content + "\n" + text;
|
|
933
|
+
} else {
|
|
934
|
+
lastMessage.content.push({ type: "text", text });
|
|
935
|
+
}
|
|
936
|
+
} else {
|
|
937
|
+
this.messages.push({ role: "user", content: text });
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
/**
|
|
941
|
+
* Remove skills from loadedSkills whose text content has been pruned
|
|
942
|
+
* from the conversation messages.
|
|
943
|
+
*/
|
|
944
|
+
reconcileLoadedSkills() {
|
|
945
|
+
const presentSkills = /* @__PURE__ */ new Set();
|
|
946
|
+
for (const msg of this.messages) {
|
|
947
|
+
if (msg.role !== "user" || !Array.isArray(msg.content)) continue;
|
|
948
|
+
for (const block of msg.content) {
|
|
949
|
+
if (block.type === "skill") {
|
|
950
|
+
presentSkills.add(block.name);
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
for (const name of this.loadedSkills) {
|
|
955
|
+
if (!presentSkills.has(name)) {
|
|
956
|
+
this.loadedSkills.delete(name);
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
/**
|
|
961
|
+
* Build a map of tool name to pruning metadata from all known tools.
|
|
962
|
+
*/
|
|
963
|
+
buildToolMetadataMap() {
|
|
964
|
+
const map = /* @__PURE__ */ new Map();
|
|
965
|
+
for (const name of [...this.toolNames, ...this.lazyToolNames]) {
|
|
966
|
+
const bundled = this.bundledToolMap.get(name);
|
|
967
|
+
if (bundled?.volatile) {
|
|
968
|
+
map.set(name, { volatile: true });
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
return map;
|
|
972
|
+
}
|
|
973
|
+
buildTranscript() {
|
|
974
|
+
const system = this.pageContext ? buildSystemPromptEntries(
|
|
975
|
+
this.pageContext,
|
|
976
|
+
resolveSkills(this.pageContext),
|
|
977
|
+
this.lazyToolNames.map((name) => this.getToolSummary(name)).filter(
|
|
978
|
+
(s) => s !== void 0
|
|
979
|
+
),
|
|
980
|
+
this.getActivePlanContext(),
|
|
981
|
+
this.loadedSkills
|
|
982
|
+
) : [];
|
|
983
|
+
const messages = this.messages.map((msg, i) => {
|
|
984
|
+
const entry = {
|
|
985
|
+
type: msg.role === "assistant" ? "agent" : "user",
|
|
986
|
+
seen: msg.content
|
|
987
|
+
};
|
|
988
|
+
const unpruned = this.unprunedMessages[i];
|
|
989
|
+
if (unpruned) {
|
|
990
|
+
const seenJson = JSON.stringify(msg.content);
|
|
991
|
+
const fullJson = JSON.stringify(unpruned.content);
|
|
992
|
+
if (seenJson !== fullJson) {
|
|
993
|
+
entry.full = unpruned.content;
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
return entry;
|
|
997
|
+
});
|
|
998
|
+
const tools = this.lastTools.map((t) => ({
|
|
999
|
+
name: t.name,
|
|
1000
|
+
description: t.description,
|
|
1001
|
+
input_schema: t.input_schema
|
|
1002
|
+
}));
|
|
1003
|
+
return {
|
|
1004
|
+
system,
|
|
1005
|
+
messages,
|
|
1006
|
+
tools,
|
|
1007
|
+
...this.lastDebugPayload ? { lastRequest: this.lastDebugPayload } : {}
|
|
1008
|
+
};
|
|
1009
|
+
}
|
|
1010
|
+
}
|