@artooi/agents-web-components 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +77 -0
- package/LICENSE +21 -0
- package/README.md +4397 -2
- package/dist/agents-web-components.bundle.js +5708 -0
- package/dist/agents-web-components.bundle.js.map +7 -0
- package/dist/bundle.d.ts +3 -0
- package/dist/bundle.d.ts.map +1 -0
- package/dist/chat.d.ts +3 -0
- package/dist/chat.d.ts.map +1 -0
- package/dist/chat.js +16373 -0
- package/dist/chat.js.map +7 -0
- package/dist/chunk-ARNLFGCC.js +7715 -0
- package/dist/chunk-ARNLFGCC.js.map +7 -0
- package/dist/constants.d.ts +575 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/core/activity_registration.d.ts +19 -0
- package/dist/core/activity_registration.d.ts.map +1 -0
- package/dist/core/activity_registry.d.ts +46 -0
- package/dist/core/activity_registry.d.ts.map +1 -0
- package/dist/core/activity_renderer.d.ts +20 -0
- package/dist/core/activity_renderer.d.ts.map +1 -0
- package/dist/core/ag_ui_chat.d.ts +836 -0
- package/dist/core/ag_ui_chat.d.ts.map +1 -0
- package/dist/core/agui_client.d.ts +370 -0
- package/dist/core/agui_client.d.ts.map +1 -0
- package/dist/core/attachment.d.ts +42 -0
- package/dist/core/attachment.d.ts.map +1 -0
- package/dist/core/chat_registry.d.ts +23 -0
- package/dist/core/chat_registry.d.ts.map +1 -0
- package/dist/core/client_seed.d.ts +27 -0
- package/dist/core/client_seed.d.ts.map +1 -0
- package/dist/core/conversation_store.d.ts +195 -0
- package/dist/core/conversation_store.d.ts.map +1 -0
- package/dist/core/create_http_agent.d.ts +57 -0
- package/dist/core/create_http_agent.d.ts.map +1 -0
- package/dist/core/define_chat.d.ts +13 -0
- package/dist/core/define_chat.d.ts.map +1 -0
- package/dist/core/events/attachments_detail.d.ts +9 -0
- package/dist/core/events/attachments_detail.d.ts.map +1 -0
- package/dist/core/events/bar_height_detail.d.ts +6 -0
- package/dist/core/events/bar_height_detail.d.ts.map +1 -0
- package/dist/core/events/custom_agent_detail.d.ts +8 -0
- package/dist/core/events/custom_agent_detail.d.ts.map +1 -0
- package/dist/core/events/dock_width_detail.d.ts +8 -0
- package/dist/core/events/dock_width_detail.d.ts.map +1 -0
- package/dist/core/events/feedback_detail.d.ts +28 -0
- package/dist/core/events/feedback_detail.d.ts.map +1 -0
- package/dist/core/events/invalidate_detail.d.ts +16 -0
- package/dist/core/events/invalidate_detail.d.ts.map +1 -0
- package/dist/core/events/maximize_detail.d.ts +5 -0
- package/dist/core/events/maximize_detail.d.ts.map +1 -0
- package/dist/core/events/run_finished_detail.d.ts +36 -0
- package/dist/core/events/run_finished_detail.d.ts.map +1 -0
- package/dist/core/events/state_detail.d.ts +5 -0
- package/dist/core/events/state_detail.d.ts.map +1 -0
- package/dist/core/events/submit_detail.d.ts +8 -0
- package/dist/core/events/submit_detail.d.ts.map +1 -0
- package/dist/core/events/thread_detail.d.ts +27 -0
- package/dist/core/events/thread_detail.d.ts.map +1 -0
- package/dist/core/events/thread_title_detail.d.ts +8 -0
- package/dist/core/events/thread_title_detail.d.ts.map +1 -0
- package/dist/core/events/toggle_detail.d.ts +5 -0
- package/dist/core/events/toggle_detail.d.ts.map +1 -0
- package/dist/core/events/tool_run.d.ts +11 -0
- package/dist/core/events/tool_run.d.ts.map +1 -0
- package/dist/core/events/unread_detail.d.ts +11 -0
- package/dist/core/events/unread_detail.d.ts.map +1 -0
- package/dist/core/message_role.d.ts +4 -0
- package/dist/core/message_role.d.ts.map +1 -0
- package/dist/core/read_flag.d.ts +11 -0
- package/dist/core/read_flag.d.ts.map +1 -0
- package/dist/core/read_json_attribute.d.ts +15 -0
- package/dist/core/read_json_attribute.d.ts.map +1 -0
- package/dist/core/read_max_tool_rounds.d.ts +9 -0
- package/dist/core/read_max_tool_rounds.d.ts.map +1 -0
- package/dist/core/remote_conversation_store.d.ts +71 -0
- package/dist/core/remote_conversation_store.d.ts.map +1 -0
- package/dist/core/run_handlers.d.ts +85 -0
- package/dist/core/run_handlers.d.ts.map +1 -0
- package/dist/core/run_index.d.ts +58 -0
- package/dist/core/run_index.d.ts.map +1 -0
- package/dist/core/storage_scope.d.ts +118 -0
- package/dist/core/storage_scope.d.ts.map +1 -0
- package/dist/core/tool_outcome.d.ts +27 -0
- package/dist/core/tool_outcome.d.ts.map +1 -0
- package/dist/core/transcribe_audio.d.ts +32 -0
- package/dist/core/transcribe_audio.d.ts.map +1 -0
- package/dist/core/upload_attachment.d.ts +44 -0
- package/dist/core/upload_attachment.d.ts.map +1 -0
- package/dist/core/utils.d.ts +117 -0
- package/dist/core/utils.d.ts.map +1 -0
- package/dist/dom/animations.d.ts +122 -0
- package/dist/dom/animations.d.ts.map +1 -0
- package/dist/dom/dom_driver.d.ts +28 -0
- package/dist/dom/dom_driver.d.ts.map +1 -0
- package/dist/dom/highlight_overlay.d.ts +39 -0
- package/dist/dom/highlight_overlay.d.ts.map +1 -0
- package/dist/dom/native_setter.d.ts +5 -0
- package/dist/dom/native_setter.d.ts.map +1 -0
- package/dist/dom/ring_color.d.ts +16 -0
- package/dist/dom/ring_color.d.ts.map +1 -0
- package/dist/dom/utils.d.ts +3 -0
- package/dist/dom/utils.d.ts.map +1 -0
- package/dist/index.d.ts +62 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +223 -0
- package/dist/index.js.map +7 -0
- package/dist/skills/fill_template.d.ts +16 -0
- package/dist/skills/fill_template.d.ts.map +1 -0
- package/dist/skills/parse_skills.d.ts +8 -0
- package/dist/skills/parse_skills.d.ts.map +1 -0
- package/dist/skills/skill.d.ts +33 -0
- package/dist/skills/skill.d.ts.map +1 -0
- package/dist/skills/skill_catalog.d.ts +69 -0
- package/dist/skills/skill_catalog.d.ts.map +1 -0
- package/dist/skills/skill_name_from.d.ts +12 -0
- package/dist/skills/skill_name_from.d.ts.map +1 -0
- package/dist/tools/chat_surface_tools.d.ts +77 -0
- package/dist/tools/chat_surface_tools.d.ts.map +1 -0
- package/dist/tools/client_tool_registry.d.ts +58 -0
- package/dist/tools/client_tool_registry.d.ts.map +1 -0
- package/dist/tools/is_destructive.d.ts +14 -0
- package/dist/tools/is_destructive.d.ts.map +1 -0
- package/dist/tools/is_navigates.d.ts +9 -0
- package/dist/tools/is_navigates.d.ts.map +1 -0
- package/dist/tools/page_action_tools.d.ts +30 -0
- package/dist/tools/page_action_tools.d.ts.map +1 -0
- package/dist/tools/page_map.d.ts +16 -0
- package/dist/tools/page_map.d.ts.map +1 -0
- package/dist/tools/page_state.d.ts +27 -0
- package/dist/tools/page_state.d.ts.map +1 -0
- package/dist/tools/parse_tool_catalog.d.ts +21 -0
- package/dist/tools/parse_tool_catalog.d.ts.map +1 -0
- package/dist/tools/route_map.d.ts +37 -0
- package/dist/tools/route_map.d.ts.map +1 -0
- package/dist/tools/tool_catalog.d.ts +86 -0
- package/dist/tools/tool_catalog.d.ts.map +1 -0
- package/dist/tools/tool_dispatch.d.ts +82 -0
- package/dist/tools/tool_dispatch.d.ts.map +1 -0
- package/dist/ui/charts/chart_block.d.ts +57 -0
- package/dist/ui/charts/chart_block.d.ts.map +1 -0
- package/dist/ui/charts/chart_spec_from.d.ts +12 -0
- package/dist/ui/charts/chart_spec_from.d.ts.map +1 -0
- package/dist/ui/charts/chart_styles.d.ts +2 -0
- package/dist/ui/charts/chart_styles.d.ts.map +1 -0
- package/dist/ui/charts/chart_tool.d.ts +15 -0
- package/dist/ui/charts/chart_tool.d.ts.map +1 -0
- package/dist/ui/composer/attachment_styles.d.ts +2 -0
- package/dist/ui/composer/attachment_styles.d.ts.map +1 -0
- package/dist/ui/composer/attachment_tray.d.ts +53 -0
- package/dist/ui/composer/attachment_tray.d.ts.map +1 -0
- package/dist/ui/composer/auto_grow.d.ts +10 -0
- package/dist/ui/composer/auto_grow.d.ts.map +1 -0
- package/dist/ui/composer/build_composer.d.ts +32 -0
- package/dist/ui/composer/build_composer.d.ts.map +1 -0
- package/dist/ui/composer/composer_attachments.d.ts +57 -0
- package/dist/ui/composer/composer_attachments.d.ts.map +1 -0
- package/dist/ui/composer/composer_styles.d.ts +2 -0
- package/dist/ui/composer/composer_styles.d.ts.map +1 -0
- package/dist/ui/composer/composer_voice.d.ts +48 -0
- package/dist/ui/composer/composer_voice.d.ts.map +1 -0
- package/dist/ui/composer/skill_styles.d.ts +2 -0
- package/dist/ui/composer/skill_styles.d.ts.map +1 -0
- package/dist/ui/composer/skills_menu.d.ts +34 -0
- package/dist/ui/composer/skills_menu.d.ts.map +1 -0
- package/dist/ui/composer/voice_input.d.ts +46 -0
- package/dist/ui/composer/voice_input.d.ts.map +1 -0
- package/dist/ui/excerpts/attach_copy_buttons.d.ts +13 -0
- package/dist/ui/excerpts/attach_copy_buttons.d.ts.map +1 -0
- package/dist/ui/excerpts/copy_payload.d.ts +30 -0
- package/dist/ui/excerpts/copy_payload.d.ts.map +1 -0
- package/dist/ui/excerpts/page_quote_offer.d.ts +33 -0
- package/dist/ui/excerpts/page_quote_offer.d.ts.map +1 -0
- package/dist/ui/excerpts/place_offer.d.ts +9 -0
- package/dist/ui/excerpts/place_offer.d.ts.map +1 -0
- package/dist/ui/excerpts/quote_selection.d.ts +66 -0
- package/dist/ui/excerpts/quote_selection.d.ts.map +1 -0
- package/dist/ui/excerpts/transcript_quote_offer.d.ts +57 -0
- package/dist/ui/excerpts/transcript_quote_offer.d.ts.map +1 -0
- package/dist/ui/fill_ui_string.d.ts +32 -0
- package/dist/ui/fill_ui_string.d.ts.map +1 -0
- package/dist/ui/history/checkpoint_menu.d.ts +41 -0
- package/dist/ui/history/checkpoint_menu.d.ts.map +1 -0
- package/dist/ui/history/conversation_history.d.ts +317 -0
- package/dist/ui/history/conversation_history.d.ts.map +1 -0
- package/dist/ui/history/history_styles.d.ts +2 -0
- package/dist/ui/history/history_styles.d.ts.map +1 -0
- package/dist/ui/history/relative_time.d.ts +23 -0
- package/dist/ui/history/relative_time.d.ts.map +1 -0
- package/dist/ui/history/thread_drawer.d.ts +64 -0
- package/dist/ui/history/thread_drawer.d.ts.map +1 -0
- package/dist/ui/history/utils.d.ts +2 -0
- package/dist/ui/history/utils.d.ts.map +1 -0
- package/dist/ui/interrupts/approval_card.d.ts +64 -0
- package/dist/ui/interrupts/approval_card.d.ts.map +1 -0
- package/dist/ui/interrupts/approval_styles.d.ts +2 -0
- package/dist/ui/interrupts/approval_styles.d.ts.map +1 -0
- package/dist/ui/interrupts/confirmation_card.d.ts +51 -0
- package/dist/ui/interrupts/confirmation_card.d.ts.map +1 -0
- package/dist/ui/interrupts/confirmation_styles.d.ts +2 -0
- package/dist/ui/interrupts/confirmation_styles.d.ts.map +1 -0
- package/dist/ui/interrupts/pending_decision.d.ts +22 -0
- package/dist/ui/interrupts/pending_decision.d.ts.map +1 -0
- package/dist/ui/interrupts/question_card.d.ts +49 -0
- package/dist/ui/interrupts/question_card.d.ts.map +1 -0
- package/dist/ui/interrupts/question_styles.d.ts +2 -0
- package/dist/ui/interrupts/question_styles.d.ts.map +1 -0
- package/dist/ui/place/place.d.ts +17 -0
- package/dist/ui/place/place.d.ts.map +1 -0
- package/dist/ui/place/place_chip.d.ts +26 -0
- package/dist/ui/place/place_chip.d.ts.map +1 -0
- package/dist/ui/place/place_from_route.d.ts +9 -0
- package/dist/ui/place/place_from_route.d.ts.map +1 -0
- package/dist/ui/place/place_styles.d.ts +2 -0
- package/dist/ui/place/place_styles.d.ts.map +1 -0
- package/dist/ui/placement/clamp_launcher.d.ts +20 -0
- package/dist/ui/placement/clamp_launcher.d.ts.map +1 -0
- package/dist/ui/placement/clamp_panel.d.ts +13 -0
- package/dist/ui/placement/clamp_panel.d.ts.map +1 -0
- package/dist/ui/placement/collapse_styles.d.ts +2 -0
- package/dist/ui/placement/collapse_styles.d.ts.map +1 -0
- package/dist/ui/placement/dock_styles.d.ts +2 -0
- package/dist/ui/placement/dock_styles.d.ts.map +1 -0
- package/dist/ui/placement/embedded_styles.d.ts +2 -0
- package/dist/ui/placement/embedded_styles.d.ts.map +1 -0
- package/dist/ui/placement/launcher_drag.d.ts +49 -0
- package/dist/ui/placement/launcher_drag.d.ts.map +1 -0
- package/dist/ui/placement/launcher_placement.d.ts +77 -0
- package/dist/ui/placement/launcher_placement.d.ts.map +1 -0
- package/dist/ui/placement/launcher_styles.d.ts +2 -0
- package/dist/ui/placement/launcher_styles.d.ts.map +1 -0
- package/dist/ui/placement/page_styles.d.ts +2 -0
- package/dist/ui/placement/page_styles.d.ts.map +1 -0
- package/dist/ui/placement/panel_drag.d.ts +40 -0
- package/dist/ui/placement/panel_drag.d.ts.map +1 -0
- package/dist/ui/placement/panel_placement.d.ts +173 -0
- package/dist/ui/placement/panel_placement.d.ts.map +1 -0
- package/dist/ui/placement/place_widget.d.ts +31 -0
- package/dist/ui/placement/place_widget.d.ts.map +1 -0
- package/dist/ui/placement/preset_styles.d.ts +2 -0
- package/dist/ui/placement/preset_styles.d.ts.map +1 -0
- package/dist/ui/placement/resize_handle.d.ts +78 -0
- package/dist/ui/placement/resize_handle.d.ts.map +1 -0
- package/dist/ui/placement/resize_styles.d.ts +2 -0
- package/dist/ui/placement/resize_styles.d.ts.map +1 -0
- package/dist/ui/placement/sidebar_styles.d.ts +2 -0
- package/dist/ui/placement/sidebar_styles.d.ts.map +1 -0
- package/dist/ui/placement/small_viewport_styles.d.ts +2 -0
- package/dist/ui/placement/small_viewport_styles.d.ts.map +1 -0
- package/dist/ui/placement/surface_for.d.ts +93 -0
- package/dist/ui/placement/surface_for.d.ts.map +1 -0
- package/dist/ui/progress/prettify_tool_name.d.ts +11 -0
- package/dist/ui/progress/prettify_tool_name.d.ts.map +1 -0
- package/dist/ui/progress/run_announcer.d.ts +41 -0
- package/dist/ui/progress/run_announcer.d.ts.map +1 -0
- package/dist/ui/progress/run_notice.d.ts +21 -0
- package/dist/ui/progress/run_notice.d.ts.map +1 -0
- package/dist/ui/progress/run_notice_styles.d.ts +2 -0
- package/dist/ui/progress/run_notice_styles.d.ts.map +1 -0
- package/dist/ui/progress/subagent_panel.d.ts +101 -0
- package/dist/ui/progress/subagent_panel.d.ts.map +1 -0
- package/dist/ui/progress/subagent_progress.d.ts +57 -0
- package/dist/ui/progress/subagent_progress.d.ts.map +1 -0
- package/dist/ui/progress/subagent_update.d.ts +28 -0
- package/dist/ui/progress/subagent_update.d.ts.map +1 -0
- package/dist/ui/progress/thoughts_block.d.ts +57 -0
- package/dist/ui/progress/thoughts_block.d.ts.map +1 -0
- package/dist/ui/progress/thoughts_styles.d.ts +2 -0
- package/dist/ui/progress/thoughts_styles.d.ts.map +1 -0
- package/dist/ui/progress/tool_call_card.d.ts +167 -0
- package/dist/ui/progress/tool_call_card.d.ts.map +1 -0
- package/dist/ui/progress/tool_group_styles.d.ts +2 -0
- package/dist/ui/progress/tool_group_styles.d.ts.map +1 -0
- package/dist/ui/progress/tool_step_group.d.ts +50 -0
- package/dist/ui/progress/tool_step_group.d.ts.map +1 -0
- package/dist/ui/progress/tool_step_styles.d.ts +2 -0
- package/dist/ui/progress/tool_step_styles.d.ts.map +1 -0
- package/dist/ui/shell/adopt_styles.d.ts +28 -0
- package/dist/ui/shell/adopt_styles.d.ts.map +1 -0
- package/dist/ui/shell/build_header.d.ts +45 -0
- package/dist/ui/shell/build_header.d.ts.map +1 -0
- package/dist/ui/shell/build_launcher.d.ts +33 -0
- package/dist/ui/shell/build_launcher.d.ts.map +1 -0
- package/dist/ui/shell/collapse_glyph.d.ts +14 -0
- package/dist/ui/shell/collapse_glyph.d.ts.map +1 -0
- package/dist/ui/shell/frame_styles.d.ts +2 -0
- package/dist/ui/shell/frame_styles.d.ts.map +1 -0
- package/dist/ui/shell/glyph_slot.d.ts +7 -0
- package/dist/ui/shell/glyph_slot.d.ts.map +1 -0
- package/dist/ui/shell/header_button.d.ts +11 -0
- package/dist/ui/shell/header_button.d.ts.map +1 -0
- package/dist/ui/shell/icon_element.d.ts +12 -0
- package/dist/ui/shell/icon_element.d.ts.map +1 -0
- package/dist/ui/shell/is_unread_badge_enabled.d.ts +10 -0
- package/dist/ui/shell/is_unread_badge_enabled.d.ts.map +1 -0
- package/dist/ui/shell/read_launcher_icon_url.d.ts +8 -0
- package/dist/ui/shell/read_launcher_icon_url.d.ts.map +1 -0
- package/dist/ui/shell/theme_styles.d.ts +2 -0
- package/dist/ui/shell/theme_styles.d.ts.map +1 -0
- package/dist/ui/shell/token_styles.d.ts +2 -0
- package/dist/ui/shell/token_styles.d.ts.map +1 -0
- package/dist/ui/styles.d.ts +2 -0
- package/dist/ui/styles.d.ts.map +1 -0
- package/dist/ui/themes/classic_styles.d.ts +2 -0
- package/dist/ui/themes/classic_styles.d.ts.map +1 -0
- package/dist/ui/themes/classic_tokens.d.ts +2 -0
- package/dist/ui/themes/classic_tokens.d.ts.map +1 -0
- package/dist/ui/themes/code_tokens.d.ts +2 -0
- package/dist/ui/themes/code_tokens.d.ts.map +1 -0
- package/dist/ui/themes/ledger_styles.d.ts +2 -0
- package/dist/ui/themes/ledger_styles.d.ts.map +1 -0
- package/dist/ui/themes/ledger_tokens.d.ts +2 -0
- package/dist/ui/themes/ledger_tokens.d.ts.map +1 -0
- package/dist/ui/themes/modern_styles.d.ts +2 -0
- package/dist/ui/themes/modern_styles.d.ts.map +1 -0
- package/dist/ui/themes/quiet_styles.d.ts +2 -0
- package/dist/ui/themes/quiet_styles.d.ts.map +1 -0
- package/dist/ui/themes/scheme_styles.d.ts +2 -0
- package/dist/ui/themes/scheme_styles.d.ts.map +1 -0
- package/dist/ui/themes/soft_styles.d.ts +2 -0
- package/dist/ui/themes/soft_styles.d.ts.map +1 -0
- package/dist/ui/themes/soft_tokens.d.ts +2 -0
- package/dist/ui/themes/soft_tokens.d.ts.map +1 -0
- package/dist/ui/themes/theme_hosts.d.ts +15 -0
- package/dist/ui/themes/theme_hosts.d.ts.map +1 -0
- package/dist/ui/transcript/answer_actions.d.ts +50 -0
- package/dist/ui/transcript/answer_actions.d.ts.map +1 -0
- package/dist/ui/transcript/answer_stream.d.ts +56 -0
- package/dist/ui/transcript/answer_stream.d.ts.map +1 -0
- package/dist/ui/transcript/attachment_chip_styles.d.ts +2 -0
- package/dist/ui/transcript/attachment_chip_styles.d.ts.map +1 -0
- package/dist/ui/transcript/attachment_chips.d.ts +21 -0
- package/dist/ui/transcript/attachment_chips.d.ts.map +1 -0
- package/dist/ui/transcript/build_transcript.d.ts +21 -0
- package/dist/ui/transcript/build_transcript.d.ts.map +1 -0
- package/dist/ui/transcript/greeting_styles.d.ts +2 -0
- package/dist/ui/transcript/greeting_styles.d.ts.map +1 -0
- package/dist/ui/transcript/groups_tool_steps.d.ts +13 -0
- package/dist/ui/transcript/groups_tool_steps.d.ts.map +1 -0
- package/dist/ui/transcript/message_action_styles.d.ts +2 -0
- package/dist/ui/transcript/message_action_styles.d.ts.map +1 -0
- package/dist/ui/transcript/message_actions.d.ts +74 -0
- package/dist/ui/transcript/message_actions.d.ts.map +1 -0
- package/dist/ui/transcript/message_styles.d.ts +2 -0
- package/dist/ui/transcript/message_styles.d.ts.map +1 -0
- package/dist/ui/transcript/render_markdown.d.ts +40 -0
- package/dist/ui/transcript/render_markdown.d.ts.map +1 -0
- package/dist/ui/transcript/render_or_warn.d.ts +16 -0
- package/dist/ui/transcript/render_or_warn.d.ts.map +1 -0
- package/dist/ui/transcript/reveal_words.d.ts +8 -0
- package/dist/ui/transcript/reveal_words.d.ts.map +1 -0
- package/dist/ui/transcript/starter_chips.d.ts +21 -0
- package/dist/ui/transcript/starter_chips.d.ts.map +1 -0
- package/dist/ui/transcript/stick_to_bottom.d.ts +55 -0
- package/dist/ui/transcript/stick_to_bottom.d.ts.map +1 -0
- package/dist/ui/transcript/suggestion_chips.d.ts +29 -0
- package/dist/ui/transcript/suggestion_chips.d.ts.map +1 -0
- package/dist/ui/transcript/transcript.d.ts +196 -0
- package/dist/ui/transcript/transcript.d.ts.map +1 -0
- package/dist/ui/transcript/transcript_styles.d.ts +2 -0
- package/dist/ui/transcript/transcript_styles.d.ts.map +1 -0
- package/dist/ui/ui_strings.d.ts +352 -0
- package/dist/ui/ui_strings.d.ts.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/package.json +86 -3
- package/src/bundle.ts +2 -0
- package/src/chat.ts +2 -0
- package/src/constants.ts +650 -0
- package/src/core/activity_registration.ts +19 -0
- package/src/core/activity_registry.ts +133 -0
- package/src/core/activity_renderer.ts +19 -0
- package/src/core/ag_ui_chat.ts +3966 -0
- package/src/core/agui_client.ts +1028 -0
- package/src/core/attachment.ts +62 -0
- package/src/core/chat_registry.ts +53 -0
- package/src/core/client_seed.ts +27 -0
- package/src/core/conversation_store.ts +478 -0
- package/src/core/create_http_agent.ts +97 -0
- package/src/core/define_chat.ts +25 -0
- package/src/core/events/attachments_detail.ts +9 -0
- package/src/core/events/bar_height_detail.ts +5 -0
- package/src/core/events/custom_agent_detail.ts +7 -0
- package/src/core/events/dock_width_detail.ts +7 -0
- package/src/core/events/feedback_detail.ts +27 -0
- package/src/core/events/invalidate_detail.ts +15 -0
- package/src/core/events/maximize_detail.ts +4 -0
- package/src/core/events/run_finished_detail.ts +36 -0
- package/src/core/events/state_detail.ts +4 -0
- package/src/core/events/submit_detail.ts +8 -0
- package/src/core/events/thread_detail.ts +26 -0
- package/src/core/events/thread_title_detail.ts +7 -0
- package/src/core/events/toggle_detail.ts +4 -0
- package/src/core/events/tool_run.ts +10 -0
- package/src/core/events/unread_detail.ts +10 -0
- package/src/core/message_role.ts +4 -0
- package/src/core/read_flag.ts +13 -0
- package/src/core/read_json_attribute.ts +30 -0
- package/src/core/read_max_tool_rounds.ts +13 -0
- package/src/core/remote_conversation_store.ts +279 -0
- package/src/core/run_handlers.ts +524 -0
- package/src/core/run_index.ts +114 -0
- package/src/core/storage_scope.ts +291 -0
- package/src/core/tool_outcome.ts +39 -0
- package/src/core/transcribe_audio.ts +76 -0
- package/src/core/upload_attachment.ts +130 -0
- package/src/core/utils.ts +230 -0
- package/src/dom/animations.ts +341 -0
- package/src/dom/dom_driver.ts +91 -0
- package/src/dom/highlight_overlay.ts +204 -0
- package/src/dom/native_setter.ts +40 -0
- package/src/dom/ring_color.ts +206 -0
- package/src/dom/utils.ts +5 -0
- package/src/index.ts +220 -0
- package/src/skills/fill_template.ts +31 -0
- package/src/skills/parse_skills.ts +31 -0
- package/src/skills/skill.ts +32 -0
- package/src/skills/skill_catalog.ts +172 -0
- package/src/skills/skill_name_from.ts +19 -0
- package/src/tools/chat_surface_tools.ts +183 -0
- package/src/tools/client_tool_registry.ts +80 -0
- package/src/tools/is_destructive.ts +17 -0
- package/src/tools/is_navigates.ts +12 -0
- package/src/tools/page_action_tools.ts +123 -0
- package/src/tools/page_map.ts +26 -0
- package/src/tools/page_state.ts +57 -0
- package/src/tools/parse_tool_catalog.ts +41 -0
- package/src/tools/route_map.ts +132 -0
- package/src/tools/tool_catalog.ts +334 -0
- package/src/tools/tool_dispatch.ts +453 -0
- package/src/ui/charts/chart_block.ts +519 -0
- package/src/ui/charts/chart_spec_from.ts +125 -0
- package/src/ui/charts/chart_styles.ts +63 -0
- package/src/ui/charts/chart_tool.ts +72 -0
- package/src/ui/composer/attachment_styles.ts +71 -0
- package/src/ui/composer/attachment_tray.ts +295 -0
- package/src/ui/composer/auto_grow.ts +12 -0
- package/src/ui/composer/build_composer.ts +114 -0
- package/src/ui/composer/composer_attachments.ts +324 -0
- package/src/ui/composer/composer_styles.ts +177 -0
- package/src/ui/composer/composer_voice.ts +93 -0
- package/src/ui/composer/skill_styles.ts +120 -0
- package/src/ui/composer/skills_menu.ts +188 -0
- package/src/ui/composer/voice_input.ts +282 -0
- package/src/ui/excerpts/attach_copy_buttons.ts +73 -0
- package/src/ui/excerpts/copy_payload.ts +156 -0
- package/src/ui/excerpts/page_quote_offer.ts +203 -0
- package/src/ui/excerpts/place_offer.ts +24 -0
- package/src/ui/excerpts/quote_selection.ts +345 -0
- package/src/ui/excerpts/transcript_quote_offer.ts +175 -0
- package/src/ui/fill_ui_string.ts +41 -0
- package/src/ui/history/checkpoint_menu.ts +300 -0
- package/src/ui/history/conversation_history.ts +1169 -0
- package/src/ui/history/history_styles.ts +492 -0
- package/src/ui/history/relative_time.ts +50 -0
- package/src/ui/history/thread_drawer.ts +471 -0
- package/src/ui/history/utils.ts +11 -0
- package/src/ui/interrupts/approval_card.ts +202 -0
- package/src/ui/interrupts/approval_styles.ts +52 -0
- package/src/ui/interrupts/confirmation_card.ts +138 -0
- package/src/ui/interrupts/confirmation_styles.ts +114 -0
- package/src/ui/interrupts/pending_decision.ts +33 -0
- package/src/ui/interrupts/question_card.ts +213 -0
- package/src/ui/interrupts/question_styles.ts +73 -0
- package/src/ui/place/place.ts +16 -0
- package/src/ui/place/place_chip.ts +146 -0
- package/src/ui/place/place_from_route.ts +27 -0
- package/src/ui/place/place_styles.ts +108 -0
- package/src/ui/placement/clamp_launcher.ts +38 -0
- package/src/ui/placement/clamp_panel.ts +30 -0
- package/src/ui/placement/collapse_styles.ts +472 -0
- package/src/ui/placement/dock_styles.ts +116 -0
- package/src/ui/placement/embedded_styles.ts +14 -0
- package/src/ui/placement/launcher_drag.ts +206 -0
- package/src/ui/placement/launcher_placement.ts +133 -0
- package/src/ui/placement/launcher_styles.ts +189 -0
- package/src/ui/placement/page_styles.ts +47 -0
- package/src/ui/placement/panel_drag.ts +138 -0
- package/src/ui/placement/panel_placement.ts +1975 -0
- package/src/ui/placement/place_widget.ts +64 -0
- package/src/ui/placement/preset_styles.ts +49 -0
- package/src/ui/placement/resize_handle.ts +229 -0
- package/src/ui/placement/resize_styles.ts +201 -0
- package/src/ui/placement/sidebar_styles.ts +113 -0
- package/src/ui/placement/small_viewport_styles.ts +70 -0
- package/src/ui/placement/surface_for.ts +183 -0
- package/src/ui/progress/prettify_tool_name.ts +16 -0
- package/src/ui/progress/run_announcer.ts +67 -0
- package/src/ui/progress/run_notice.ts +61 -0
- package/src/ui/progress/run_notice_styles.ts +52 -0
- package/src/ui/progress/subagent_panel.ts +227 -0
- package/src/ui/progress/subagent_progress.ts +200 -0
- package/src/ui/progress/subagent_update.ts +89 -0
- package/src/ui/progress/thoughts_block.ts +165 -0
- package/src/ui/progress/thoughts_styles.ts +74 -0
- package/src/ui/progress/tool_call_card.ts +429 -0
- package/src/ui/progress/tool_group_styles.ts +313 -0
- package/src/ui/progress/tool_step_group.ts +317 -0
- package/src/ui/progress/tool_step_styles.ts +486 -0
- package/src/ui/shell/adopt_styles.ts +34 -0
- package/src/ui/shell/build_header.ts +121 -0
- package/src/ui/shell/build_launcher.ts +79 -0
- package/src/ui/shell/collapse_glyph.ts +42 -0
- package/src/ui/shell/frame_styles.ts +147 -0
- package/src/ui/shell/glyph_slot.ts +12 -0
- package/src/ui/shell/header_button.ts +22 -0
- package/src/ui/shell/icon_element.ts +33 -0
- package/src/ui/shell/is_unread_badge_enabled.ts +11 -0
- package/src/ui/shell/read_launcher_icon_url.ts +9 -0
- package/src/ui/shell/theme_styles.ts +11 -0
- package/src/ui/shell/token_styles.ts +480 -0
- package/src/ui/styles.ts +110 -0
- package/src/ui/themes/classic_styles.ts +32 -0
- package/src/ui/themes/classic_tokens.ts +51 -0
- package/src/ui/themes/code_tokens.ts +21 -0
- package/src/ui/themes/ledger_styles.ts +169 -0
- package/src/ui/themes/ledger_tokens.ts +33 -0
- package/src/ui/themes/modern_styles.ts +80 -0
- package/src/ui/themes/quiet_styles.ts +118 -0
- package/src/ui/themes/scheme_styles.ts +26 -0
- package/src/ui/themes/soft_styles.ts +149 -0
- package/src/ui/themes/soft_tokens.ts +29 -0
- package/src/ui/themes/theme_hosts.ts +14 -0
- package/src/ui/transcript/answer_actions.ts +165 -0
- package/src/ui/transcript/answer_stream.ts +123 -0
- package/src/ui/transcript/attachment_chip_styles.ts +116 -0
- package/src/ui/transcript/attachment_chips.ts +82 -0
- package/src/ui/transcript/build_transcript.ts +67 -0
- package/src/ui/transcript/greeting_styles.ts +171 -0
- package/src/ui/transcript/groups_tool_steps.ts +16 -0
- package/src/ui/transcript/message_action_styles.ts +155 -0
- package/src/ui/transcript/message_actions.ts +234 -0
- package/src/ui/transcript/message_styles.ts +262 -0
- package/src/ui/transcript/render_markdown.ts +181 -0
- package/src/ui/transcript/render_or_warn.ts +22 -0
- package/src/ui/transcript/reveal_words.ts +41 -0
- package/src/ui/transcript/starter_chips.ts +42 -0
- package/src/ui/transcript/stick_to_bottom.ts +126 -0
- package/src/ui/transcript/suggestion_chips.ts +73 -0
- package/src/ui/transcript/transcript.ts +555 -0
- package/src/ui/transcript/transcript_styles.ts +153 -0
- package/src/ui/ui_strings.ts +550 -0
- package/src/version.ts +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suggestion_chips.d.ts","sourceRoot":"","sources":["../../../src/ui/transcript/suggestion_chips.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,IAAI,CAAC;AAEjC,4EAA4E;AAC5E,eAAO,MAAM,oBAAoB,MAAM,CAAC;AAExC,sFAAsF;AACtF,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,GAAG,IAAI,CAcnE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,SAAS,EAClB,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,GAC/B,WAAW,GAAG,IAAI,CAuBpB"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { type ToolGroupDisplayMode } from "../../constants.js";
|
|
2
|
+
import type { AgUiToolCall } from "../../core/agui_client.js";
|
|
3
|
+
import type { MessageRole } from "../../core/message_role.js";
|
|
4
|
+
import type { ChartRenderer, ClientTool } from "../../tools/client_tool_registry.js";
|
|
5
|
+
import { ThoughtsBlock } from "../progress/thoughts_block.js";
|
|
6
|
+
import { ToolCallCard, type ToolDisplayMode, type ToolPayload } from "../progress/tool_call_card.js";
|
|
7
|
+
import type { UiStrings } from "../ui_strings.js";
|
|
8
|
+
/** What the transcript needs from the element that owns it. */
|
|
9
|
+
export interface TranscriptHost {
|
|
10
|
+
/** The custom element: its text-animation attribute, and the `data-empty` stamp. */
|
|
11
|
+
readonly element: HTMLElement;
|
|
12
|
+
/** The scrolling message list. */
|
|
13
|
+
readonly messages: HTMLDivElement;
|
|
14
|
+
/** The empty-state region at the top of the list. */
|
|
15
|
+
readonly emptyWrap: HTMLDivElement;
|
|
16
|
+
/** The resolved string table. */
|
|
17
|
+
readonly strings: () => UiStrings;
|
|
18
|
+
/** The element's `allowImages`, read per render. */
|
|
19
|
+
readonly allowImages: () => boolean;
|
|
20
|
+
/** Resolve a frontend tool by name, for its `x-summary`. */
|
|
21
|
+
readonly resolveTool: (name: string) => ClientTool | null;
|
|
22
|
+
/** The element's `toolSummaries`, read per card. */
|
|
23
|
+
readonly toolSummaries: () => Record<string, string>;
|
|
24
|
+
/** The server catalog's label for a tool, if it sent one. */
|
|
25
|
+
readonly serverSummary: (name: string) => string | undefined;
|
|
26
|
+
/** The element's `formatToolPayload`, asked per region of a card. */
|
|
27
|
+
readonly formatToolPayload: (payload: ToolPayload) => Node | string | null;
|
|
28
|
+
/** The element's `toolDisplay`, read per card: it decides whether calls fold into a step group. */
|
|
29
|
+
readonly toolDisplay: () => ToolDisplayMode;
|
|
30
|
+
/** The element's `toolGroupDisplay`, read per row: it decides what a lone step offers. */
|
|
31
|
+
readonly toolGroupDisplay: () => ToolGroupDisplayMode;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The transcript: the bubbles, the open answer group, the pending dots, the
|
|
35
|
+
* reasoning region, the tool cards by call id, and the scroller that follows
|
|
36
|
+
* the foot.
|
|
37
|
+
*
|
|
38
|
+
* The hub most other parts of the element draw into, so it holds only the
|
|
39
|
+
* transcript's own state and asks the element for nothing but configuration.
|
|
40
|
+
*
|
|
41
|
+
* Owned one-to-one by an `<ag-ui-chat>`, and holding no state outside the
|
|
42
|
+
* instance.
|
|
43
|
+
*/
|
|
44
|
+
export declare class Transcript {
|
|
45
|
+
#private;
|
|
46
|
+
constructor(host: TranscriptHost);
|
|
47
|
+
/**
|
|
48
|
+
* Start following the foot of the list, and wire the jump button to it.
|
|
49
|
+
* Called while rendering rather than at construction: the viewport has to
|
|
50
|
+
* exist and the observer has to have something to observe. The button
|
|
51
|
+
* outlives a connection, so its listener goes under `signal`.
|
|
52
|
+
*/
|
|
53
|
+
mountScroller(jumpButton: HTMLButtonElement, signal: AbortSignal): void;
|
|
54
|
+
/** Stop following, when the element leaves the document. */
|
|
55
|
+
disposeScroller(): void;
|
|
56
|
+
/** Keep the list at its foot, if the reader is there. */
|
|
57
|
+
follow(): void;
|
|
58
|
+
/** Go to the foot, whether or not the reader had scrolled away. */
|
|
59
|
+
jump(): void;
|
|
60
|
+
/** Whether the empty-state region is showing, which is when nothing else is. */
|
|
61
|
+
isEmpty(): boolean;
|
|
62
|
+
/** The card drawn for a call id, while it is still awaiting execution. */
|
|
63
|
+
card(callId: string): ToolCallCard | undefined;
|
|
64
|
+
/** Every card still awaiting execution. */
|
|
65
|
+
cards(): IterableIterator<ToolCallCard>;
|
|
66
|
+
/** Stop tracking a call's card as awaiting execution. */
|
|
67
|
+
forgetCard(callId: string): void;
|
|
68
|
+
/** Remember the element a call's card is, for a renderer to place itself against. */
|
|
69
|
+
setCardElement(callId: string, element: HTMLElement): void;
|
|
70
|
+
/** Record that a call's card was settled from a streamed server-side result. */
|
|
71
|
+
markServerSettled(callId: string): void;
|
|
72
|
+
/** Whether a call's card was settled from a streamed server-side result. */
|
|
73
|
+
isServerSettled(callId: string): boolean;
|
|
74
|
+
/** Fold the reasoning region away, once the answer has begun. */
|
|
75
|
+
collapseThoughts(): void;
|
|
76
|
+
/**
|
|
77
|
+
* Stop the reasoning region's clock and settle its header, when reasoning
|
|
78
|
+
* ends or whatever replaces its end arrives first. A no-op without one.
|
|
79
|
+
*/
|
|
80
|
+
settleThoughts(): void;
|
|
81
|
+
/**
|
|
82
|
+
* Close the turn's answer group. Drop it if the turn rendered nothing
|
|
83
|
+
* (e.g. a server-only round that streamed no text/card) so an opted-in
|
|
84
|
+
* well leaves no empty box behind.
|
|
85
|
+
*/
|
|
86
|
+
closeGroup(): void;
|
|
87
|
+
/**
|
|
88
|
+
* Let go of the open turn: its group, its reasoning region, its pending dots
|
|
89
|
+
* and the cards awaiting execution. The first half of wiping the transcript.
|
|
90
|
+
*/
|
|
91
|
+
releaseTurn(): void;
|
|
92
|
+
/** Forget which cards settled from the server and where each card is. */
|
|
93
|
+
forgetCards(): void;
|
|
94
|
+
/** Remember the card of a call being run, for {@link setAsking}. */
|
|
95
|
+
holdRunning(callId: string, card: ToolCallCard): void;
|
|
96
|
+
/**
|
|
97
|
+
* Say whether a prompt is open on the card of a running call. A call id of
|
|
98
|
+
* none, or one no card was held for, has no card to say it on.
|
|
99
|
+
*/
|
|
100
|
+
setAsking(callId: string | undefined, asking: boolean): void;
|
|
101
|
+
/** Empty the list back to its empty-state region. The last half of wiping it. */
|
|
102
|
+
empty(): void;
|
|
103
|
+
/** The bubble behind `AgUiChat.appendMessage`, whose doc is the contract. */
|
|
104
|
+
append(role: MessageRole, content: string): HTMLDivElement;
|
|
105
|
+
/**
|
|
106
|
+
* The open answer group, creating and appending it on first use. Everything a
|
|
107
|
+
* single assistant turn renders (text, tool cards, the pending indicator)
|
|
108
|
+
* goes inside it, so the opt-in `data-answer-well` styling can box the whole
|
|
109
|
+
* turn. Idempotent across the turn's runs — it persists until the run's
|
|
110
|
+
* settle closes it, see {@link closeGroup}.
|
|
111
|
+
*/
|
|
112
|
+
ensureGroup(): HTMLDivElement;
|
|
113
|
+
/**
|
|
114
|
+
* Word-by-word reveal for the `word` text-animation mode, applied to a
|
|
115
|
+
* completed assistant bubble. `fade` is pure CSS (no JS); `none` is a no-op.
|
|
116
|
+
*/
|
|
117
|
+
revealWords(bubble: HTMLDivElement): void;
|
|
118
|
+
/**
|
|
119
|
+
* Hide the empty-state region once the message list holds anything else, and
|
|
120
|
+
* say so on the host as `data-empty`.
|
|
121
|
+
*
|
|
122
|
+
* Stamped on the host because the layout has to answer it: where the
|
|
123
|
+
* composer sits is decided outside the list this region lives in, and no
|
|
124
|
+
* selector reaches from inside the list back up to the list's siblings. It is
|
|
125
|
+
* also a documented styling hook for a host's own chrome around a full-page
|
|
126
|
+
* chat.
|
|
127
|
+
*/
|
|
128
|
+
updateEmptyState(): void;
|
|
129
|
+
/** A muted "⏹ Stopped" line in the transcript (distinct from the ⚠️ error bubble). */
|
|
130
|
+
appendStoppedNote(): void;
|
|
131
|
+
/**
|
|
132
|
+
* Show a "thinking" indicator while the agent is being awaited — both the
|
|
133
|
+
* silent stretch before the first token and the gap after a tool result
|
|
134
|
+
* while the next round is requested. Idempotent.
|
|
135
|
+
*/
|
|
136
|
+
showPending(): void;
|
|
137
|
+
/** Remove the pending indicator if shown. */
|
|
138
|
+
hidePending(): void;
|
|
139
|
+
/**
|
|
140
|
+
* The current turn's thoughts region, creating it (at the top of the answer
|
|
141
|
+
* group, above any streamed text or tool cards) on first sight. Idempotent
|
|
142
|
+
* across a turn's reasoning tokens.
|
|
143
|
+
*/
|
|
144
|
+
showThoughts(): ThoughtsBlock;
|
|
145
|
+
/**
|
|
146
|
+
* Render a skill notice for a `load_capability` call; ``true`` when handled.
|
|
147
|
+
*
|
|
148
|
+
* Shared by the live stream and history replay so the transcript looks the
|
|
149
|
+
* same before and after a reload.
|
|
150
|
+
*/
|
|
151
|
+
noticeIfSkillLoad(call: AgUiToolCall): boolean;
|
|
152
|
+
/**
|
|
153
|
+
* An inline notice about something the run did.
|
|
154
|
+
*
|
|
155
|
+
* Goes through {@link ensureGroup} like a tool card so it lands *inside* the
|
|
156
|
+
* assistant turn it annotates rather than floating between turns, and does
|
|
157
|
+
* the same empty-state and scroll bookkeeping afterwards.
|
|
158
|
+
*
|
|
159
|
+
* `undo` is offered only where the agent rearranged the user's own window --
|
|
160
|
+
* see {@link renderRunNotice} for why a notice may carry that one control and
|
|
161
|
+
* nothing else.
|
|
162
|
+
*/
|
|
163
|
+
appendNotice(icon: string, text: string, kind: string, undo?: {
|
|
164
|
+
readonly label: string;
|
|
165
|
+
readonly onActivate: () => void;
|
|
166
|
+
}): void;
|
|
167
|
+
/**
|
|
168
|
+
* Place a tool's rendered node against its own card.
|
|
169
|
+
*
|
|
170
|
+
* Anchored rather than appended because a client tool's handler does not run
|
|
171
|
+
* until the round is over: appending would put the node after everything the
|
|
172
|
+
* model said next, visibly detached from the call that produced it, and in a
|
|
173
|
+
* different order than the same transcript takes on reload. The card was
|
|
174
|
+
* created inline, in the right place, so anchoring makes *when* the handler
|
|
175
|
+
* runs stop mattering.
|
|
176
|
+
*/
|
|
177
|
+
renderToolOutput(render: ChartRenderer, call: AgUiToolCall): void;
|
|
178
|
+
/** Update the empty state and follow the foot, after the transcript grew. */
|
|
179
|
+
afterGrew(): void;
|
|
180
|
+
/**
|
|
181
|
+
* The card for ``call``, creating and appending it on first sight.
|
|
182
|
+
*
|
|
183
|
+
* The run's tool-call handler creates the card (pending) during the run; the
|
|
184
|
+
* tool's execution later retrieves the same card to settle it.
|
|
185
|
+
*/
|
|
186
|
+
cardFor(call: AgUiToolCall): ToolCallCard;
|
|
187
|
+
/** Redraw every step group's row, for a change of the inner display, which no card announces. */
|
|
188
|
+
refreshStepGroups(): void;
|
|
189
|
+
/**
|
|
190
|
+
* Open the step group ``card`` sits in, at once, ahead of a prompt about to be
|
|
191
|
+
* drawn inside it. A no-op for a card drawn in a card display mode, which has
|
|
192
|
+
* no group.
|
|
193
|
+
*/
|
|
194
|
+
revealStep(card: ToolCallCard): void;
|
|
195
|
+
}
|
|
196
|
+
//# sourceMappingURL=transcript.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transcript.d.ts","sourceRoot":"","sources":["../../../src/ui/transcript/transcript.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,oBAAoB,EAAiB,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1
|
+
{"version":3,"file":"transcript_styles.d.ts","sourceRoot":"","sources":["../../../src/ui/transcript/transcript_styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,EAAE,MAsJ/B,CAAC"}
|
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The flat table of every user-facing string the chat shell renders — labels,
|
|
3
|
+
* placeholders, `aria-label`s, and `title` tooltips. A localizable seam, not a
|
|
4
|
+
* framework: a host overrides any subset (via the element's `strings` property
|
|
5
|
+
* or its `data-strings` JSON attribute) and the rest fall back to the English
|
|
6
|
+
* defaults.
|
|
7
|
+
*
|
|
8
|
+
* Some values are templates carrying `{token}` placeholders the call site fills
|
|
9
|
+
* in; the token names are noted on each key, and a translation must keep them
|
|
10
|
+
* verbatim.
|
|
11
|
+
*/
|
|
12
|
+
export interface UiStrings {
|
|
13
|
+
/** Default header title (the `title-text` attribute overrides per element). */
|
|
14
|
+
title: string;
|
|
15
|
+
/** History button + drawer dialog label. */
|
|
16
|
+
chatHistory: string;
|
|
17
|
+
/** Dismiss the chat-history list and return to the conversation. */
|
|
18
|
+
closeHistory: string;
|
|
19
|
+
/** Placeholder in the conversation-list filter. */
|
|
20
|
+
searchConversations: string;
|
|
21
|
+
/** Names the row of messages waiting for the run to finish. */
|
|
22
|
+
queued: string;
|
|
23
|
+
/** Drops one waiting message. `{text}` is the message. */
|
|
24
|
+
removeQueued: string;
|
|
25
|
+
/** Shown when a filter matches nothing, unlike having no conversations. */
|
|
26
|
+
noMatches: string;
|
|
27
|
+
/** Heading over the conversations last active today. */
|
|
28
|
+
threadsToday: string;
|
|
29
|
+
/** Heading over the conversations last active in the seven days before today. */
|
|
30
|
+
threadsPreviousWeek: string;
|
|
31
|
+
/** Heading over every older conversation, and any with no readable date. */
|
|
32
|
+
threadsOlder: string;
|
|
33
|
+
/** Notice text when the agent moved its own panel out of the way. */
|
|
34
|
+
chatMoved: string;
|
|
35
|
+
/** Notice text when the agent collapsed its own panel. */
|
|
36
|
+
chatMinimised: string;
|
|
37
|
+
/** The one control a run notice may carry. */
|
|
38
|
+
undo: string;
|
|
39
|
+
/** New-chat button (header + drawer). */
|
|
40
|
+
newChat: string;
|
|
41
|
+
/** Collapse button. */
|
|
42
|
+
collapse: string;
|
|
43
|
+
/** Expand affordance (the launcher, and the sidebar rail). */
|
|
44
|
+
expand: string;
|
|
45
|
+
/** Header control that grows the open panel; apart from {@link expand}, which opens it. */
|
|
46
|
+
maximize: string;
|
|
47
|
+
/** The same control while the panel is maximized. */
|
|
48
|
+
restore: string;
|
|
49
|
+
/**
|
|
50
|
+
* The launcher's label while unread answers wait behind it. Token: `{count}`.
|
|
51
|
+
* Replaces {@link expand} rather than appending to it, so a translation can
|
|
52
|
+
* order the two parts as its language needs.
|
|
53
|
+
*/
|
|
54
|
+
expandUnread: string;
|
|
55
|
+
/** Built-in header theme toggle (light ⇄ dark). */
|
|
56
|
+
toggleTheme: string;
|
|
57
|
+
/**
|
|
58
|
+
* The greeting over an empty conversation under `placement="page"` (or an
|
|
59
|
+
* `embedded` panel that opted in). Token: `{name}`, the `user-name` attribute.
|
|
60
|
+
*/
|
|
61
|
+
greeting: string;
|
|
62
|
+
/** The same greeting when the host named nobody: no `user-name`, or a blank one. */
|
|
63
|
+
greetingNoName: string;
|
|
64
|
+
/** `aria-label` of the scrolling message log. */
|
|
65
|
+
conversation: string;
|
|
66
|
+
/** The button offering to return to the foot of the transcript. */
|
|
67
|
+
jumpToLatest: string;
|
|
68
|
+
/** Announced when a turn starts. Screen-reader only; never rendered. */
|
|
69
|
+
announceResponding: string;
|
|
70
|
+
/** Announced when the answer has finished arriving. Screen-reader only. */
|
|
71
|
+
announceAnswerReady: string;
|
|
72
|
+
/** Announced when a card is waiting for the user's decision. Token: `{count}`. */
|
|
73
|
+
announceAwaitingDecision: string;
|
|
74
|
+
/** Announced when the user stopped the run. Screen-reader only. */
|
|
75
|
+
announceStopped: string;
|
|
76
|
+
/** Announced when the run failed. Screen-reader only. */
|
|
77
|
+
announceFailed: string;
|
|
78
|
+
/** `aria-label` of the "thinking" pending indicator, and the thoughts region's
|
|
79
|
+
* header while the model is still reasoning. */
|
|
80
|
+
thinking: string;
|
|
81
|
+
/** The thoughts region's header once reasoning has ended, and its fallback
|
|
82
|
+
* when the reasoning took under a second, too short to time. */
|
|
83
|
+
thoughts: string;
|
|
84
|
+
/** The thoughts region's header once reasoning has ended, naming how long it
|
|
85
|
+
* took in whole seconds. Token: `{seconds}`. */
|
|
86
|
+
thoughtFor: string;
|
|
87
|
+
/** The muted note after a cancelled run. */
|
|
88
|
+
stopped: string;
|
|
89
|
+
/** Error shown when the stream drops without a terminal AG-UI event. */
|
|
90
|
+
connectionLost: string;
|
|
91
|
+
/**
|
|
92
|
+
* Tool-result content (and card text) for a call that never produced a result
|
|
93
|
+
* and that nobody refused: the run was stopped or failed first, the page
|
|
94
|
+
* reloaded, or no tool here answered it. Sent to the agent, so it must not say
|
|
95
|
+
* a person declined.
|
|
96
|
+
*/
|
|
97
|
+
callNotFinished: string;
|
|
98
|
+
/** Tool-result content when the user declines a confirmed action. */
|
|
99
|
+
declinedAction: string;
|
|
100
|
+
/** Tool-result content (and card text) when `confirmPredicate` threw, so the call was refused. */
|
|
101
|
+
confirmCheckFailed: string;
|
|
102
|
+
/** A navigating tool's card text while the page reloads. */
|
|
103
|
+
navigating: string;
|
|
104
|
+
/** Notice shown when the server replaced the conversation wholesale. */
|
|
105
|
+
historyReplaced: string;
|
|
106
|
+
/** Notice shown when a pushed chart could not be drawn and was removed. */
|
|
107
|
+
chartUndrawable: string;
|
|
108
|
+
/** Missing-placeholder skill hint. Tokens: `{title}`, `{fields}`. */
|
|
109
|
+
skillNeeds: string;
|
|
110
|
+
/** Notice shown when the agent condensed earlier turns. Token: `{count}`. */
|
|
111
|
+
historyCompacted: string;
|
|
112
|
+
/** Notice shown when the agent loads an agent skill. Token: `{name}`. */
|
|
113
|
+
usingSkill: string;
|
|
114
|
+
/** Notice shown on mount when the previous run never produced a response. */
|
|
115
|
+
runInterrupted: string;
|
|
116
|
+
/** Tool-result content (and card text) when the page moved mid-run. */
|
|
117
|
+
pageMoved: string;
|
|
118
|
+
/** Notice when Send ran while a file was still uploading. Token: `{n}`. */
|
|
119
|
+
attachmentsStillUploading: string;
|
|
120
|
+
/** Notice shown when a message was typed at an element with no `endpoint`. */
|
|
121
|
+
notConnected: string;
|
|
122
|
+
/** Composer hint when a run continuation was picked with an empty composer. */
|
|
123
|
+
continueNeedsTurn: string;
|
|
124
|
+
/** Composer hint when a run continuation was picked while a run is in flight. */
|
|
125
|
+
continueWhileRunning: string;
|
|
126
|
+
/**
|
|
127
|
+
* Composer hint when a run continuation was picked while the stored
|
|
128
|
+
* conversation is still loading.
|
|
129
|
+
*/
|
|
130
|
+
continueWhileLoading: string;
|
|
131
|
+
/** `aria-label` of the message textarea. */
|
|
132
|
+
message: string;
|
|
133
|
+
/** Placeholder of the message textarea. */
|
|
134
|
+
inputPlaceholder: string;
|
|
135
|
+
/** Send button (idle composer). */
|
|
136
|
+
send: string;
|
|
137
|
+
/** Stop button (composer while a run is in flight). */
|
|
138
|
+
stop: string;
|
|
139
|
+
/** Attach-files button. */
|
|
140
|
+
attachFiles: string;
|
|
141
|
+
/** Mic button while idle (start recording). */
|
|
142
|
+
recordVoice: string;
|
|
143
|
+
/** Mic button while recording (stop + transcribe). */
|
|
144
|
+
stopRecording: string;
|
|
145
|
+
/** Mic button while the clip is being transcribed. */
|
|
146
|
+
transcribing: string;
|
|
147
|
+
/** Mic button fallback message when transcription fails. */
|
|
148
|
+
transcriptionFailed: string;
|
|
149
|
+
/**
|
|
150
|
+
* Mic button message after a recording hit its length cap and stopped itself.
|
|
151
|
+
* The clip is kept and transcribed, so this explains the silence rather than
|
|
152
|
+
* reporting a loss. Token: `{n}` (the cap, in minutes).
|
|
153
|
+
*/
|
|
154
|
+
recordingLimit: string;
|
|
155
|
+
/** The place chip's tooltip while the place is sent. Token: `{label}`. */
|
|
156
|
+
placeShared: string;
|
|
157
|
+
/** The place chip's tooltip while the user withholds it. Token: `{label}`. */
|
|
158
|
+
placeWithheld: string;
|
|
159
|
+
/** The place toggle while the place is sent: pressing it withholds it. */
|
|
160
|
+
placeStopSharing: string;
|
|
161
|
+
/** The place toggle while the place is withheld: pressing it sends it again. */
|
|
162
|
+
placeShareAgain: string;
|
|
163
|
+
/** Status pill while the call runs. */
|
|
164
|
+
toolRunning: string;
|
|
165
|
+
/** Status pill on a gated call the run deferred, waiting on a person. */
|
|
166
|
+
toolDeferred: string;
|
|
167
|
+
/** Status pill on success. */
|
|
168
|
+
toolDone: string;
|
|
169
|
+
/** Status pill on error. */
|
|
170
|
+
toolError: string;
|
|
171
|
+
/** Status pill on a declined call. */
|
|
172
|
+
toolDeclined: string;
|
|
173
|
+
/** Status pill on a call that ended without a result nobody refused. */
|
|
174
|
+
toolInterrupted: string;
|
|
175
|
+
/** Accessible label on the panel resize handle. */
|
|
176
|
+
resizePanel: string;
|
|
177
|
+
/** Note on a tool card whose call a human approved. */
|
|
178
|
+
decisionApproved: string;
|
|
179
|
+
/** Note on a tool card whose call a human declined. */
|
|
180
|
+
decisionDeclined: string;
|
|
181
|
+
/** Heading over a tool card's arguments region. */
|
|
182
|
+
argumentsLabel: string;
|
|
183
|
+
/** Heading over a tool card's result region when the call succeeded. */
|
|
184
|
+
resultLabel: string;
|
|
185
|
+
/** Heading over a tool card's result region when the call failed. */
|
|
186
|
+
errorLabel: string;
|
|
187
|
+
/** Heading over a tool card's result region when the call was declined. */
|
|
188
|
+
declinedLabel: string;
|
|
189
|
+
/** Heading over a tool card's result region when the call did not finish. */
|
|
190
|
+
interruptedLabel: string;
|
|
191
|
+
/** Label on the toggle that expands a tool card's body. */
|
|
192
|
+
details: string;
|
|
193
|
+
/** The group's label while a step waits on the user. Token: `{count}` (steps). */
|
|
194
|
+
toolGroupSteps: string;
|
|
195
|
+
/** The group's label while a step runs. Token: `{count}` (steps). */
|
|
196
|
+
toolGroupWorking: string;
|
|
197
|
+
/** The group's label once every step has settled. Token: `{count}` (steps). */
|
|
198
|
+
toolGroupWorked: string;
|
|
199
|
+
/** Note on the group's row: steps waiting on the user. Token: `{count}`. */
|
|
200
|
+
toolGroupWaiting: string;
|
|
201
|
+
/** Note on the group's row: steps that failed. Token: `{count}`. */
|
|
202
|
+
toolGroupFailed: string;
|
|
203
|
+
/** Note on the group's row: steps that were declined. Token: `{count}`. */
|
|
204
|
+
toolGroupDeclined: string;
|
|
205
|
+
/**
|
|
206
|
+
* Set after a step's label when an earlier step in its group has the same
|
|
207
|
+
* one, so two "Fill field" steps read "Fill field" and "Fill field (2)".
|
|
208
|
+
* Grouped mode only. Token: `{n}` (which occurrence, from 2).
|
|
209
|
+
*/
|
|
210
|
+
toolStepRepeat: string;
|
|
211
|
+
/**
|
|
212
|
+
* The delegation row's text before the server's own status line lands.
|
|
213
|
+
*
|
|
214
|
+
* A fallback, not a state: every announcement carries a pre-rendered `status`,
|
|
215
|
+
* and this only shows if one arrives unusable. The row is the expander, so it
|
|
216
|
+
* must never be blank.
|
|
217
|
+
*/
|
|
218
|
+
subAgentWorking: string;
|
|
219
|
+
/**
|
|
220
|
+
* The row's line while a delegation is running. Token: `{agent}`.
|
|
221
|
+
*
|
|
222
|
+
* Worded here rather than on the wire, unlike the two step phases. The
|
|
223
|
+
* protocol's `SUBAGENT_STARTED` carries the sub-agent's `name` and no rendered
|
|
224
|
+
* status -- which is the better shape for a localised UI, and the reason this
|
|
225
|
+
* string exists at all.
|
|
226
|
+
*/
|
|
227
|
+
subAgentDelegatedTo: string;
|
|
228
|
+
/** The row's line once a delegation completed. Token: `{agent}`. */
|
|
229
|
+
subAgentFinished: string;
|
|
230
|
+
/**
|
|
231
|
+
* The row's line for a delegation that failed and named no agent.
|
|
232
|
+
*
|
|
233
|
+
* A fallback only: `SUBAGENT_ERROR` carries a required `message`, which the
|
|
234
|
+
* server fills with the sub-agent's name and nothing else, and that text is
|
|
235
|
+
* what the row shows. This covers a server that sent an empty one.
|
|
236
|
+
*/
|
|
237
|
+
subAgentFailed: string;
|
|
238
|
+
/** `aria-label` of the region holding the sub-agent's own tool calls. */
|
|
239
|
+
subAgentSteps: string;
|
|
240
|
+
/** `aria-label` of the editable arguments field on an approval card. */
|
|
241
|
+
approvalEditArgs: string;
|
|
242
|
+
/** Shown when the edited arguments are not valid JSON. */
|
|
243
|
+
approvalArgsInvalid: string;
|
|
244
|
+
/** Shown when the edited arguments parse but are not a JSON object. */
|
|
245
|
+
approvalArgsNotAnObject: string;
|
|
246
|
+
/** `aria-label` of the follow-up suggestion chips row. */
|
|
247
|
+
suggestions: string;
|
|
248
|
+
/** `aria-label` of a message's action row. */
|
|
249
|
+
messageActions: string;
|
|
250
|
+
/** The offer that floats beside a selection in the transcript. */
|
|
251
|
+
quoteSelection: string;
|
|
252
|
+
/** Copy this message (button `title` / `aria-label`). Its confirmation and
|
|
253
|
+
* failure text are the code block's `copied` / `copyFailed`, which say the
|
|
254
|
+
* same thing about the same clipboard. */
|
|
255
|
+
copyMessage: string;
|
|
256
|
+
/** Ask for a different answer to the same question. */
|
|
257
|
+
retryMessage: string;
|
|
258
|
+
/** Rate this answer as good. */
|
|
259
|
+
feedbackUp: string;
|
|
260
|
+
/** Rate this answer as poor. */
|
|
261
|
+
feedbackDown: string;
|
|
262
|
+
/** `aria-label` of the inline confirmation card. */
|
|
263
|
+
confirmAction: string;
|
|
264
|
+
/** Waive confirmation for this tool for the rest of the session. Token: `{tool}`. */
|
|
265
|
+
confirmAlways: string;
|
|
266
|
+
/** Generic confirmation prompt when a tool has no `x-confirm`. Token: `{tool}`. */
|
|
267
|
+
confirmRun: string;
|
|
268
|
+
/** Confirm button. */
|
|
269
|
+
confirm: string;
|
|
270
|
+
/** Cancel button (confirmation + delete confirm). */
|
|
271
|
+
cancel: string;
|
|
272
|
+
/** `aria-label` of the inline server-side-tool approval card. */
|
|
273
|
+
approveAction: string;
|
|
274
|
+
/** Fallback approval prompt when the interrupt carries no message. */
|
|
275
|
+
approvalPrompt: string;
|
|
276
|
+
/** Approve button (runs the gated server-side tool). */
|
|
277
|
+
approve: string;
|
|
278
|
+
/** Deny button (declines the gated server-side tool). */
|
|
279
|
+
deny: string;
|
|
280
|
+
/** `aria-label` of the inline question card. */
|
|
281
|
+
askUserAction: string;
|
|
282
|
+
/** Radio label for the free-text "other" choice (when custom answers are allowed). */
|
|
283
|
+
otherOption: string;
|
|
284
|
+
/** Placeholder for the free-text answer field. */
|
|
285
|
+
answerPlaceholder: string;
|
|
286
|
+
/** Submit button for the question card. */
|
|
287
|
+
submit: string;
|
|
288
|
+
/** Drawer heading. */
|
|
289
|
+
chats: string;
|
|
290
|
+
/** Empty-state line when there are no threads. */
|
|
291
|
+
noConversations: string;
|
|
292
|
+
/** Rename row button (`title`). */
|
|
293
|
+
rename: string;
|
|
294
|
+
/** Rename row button `aria-label`. */
|
|
295
|
+
renameConversation: string;
|
|
296
|
+
/** Delete row button (`title`) + the inline-confirm action. */
|
|
297
|
+
delete: string;
|
|
298
|
+
/** Delete row button `aria-label`. */
|
|
299
|
+
deleteConversation: string;
|
|
300
|
+
/** Inline delete-confirm prompt. */
|
|
301
|
+
deletePrompt: string;
|
|
302
|
+
/** Oversize rejection. Token: `{size}`. */
|
|
303
|
+
tooLarge: string;
|
|
304
|
+
/** Disallowed-type rejection. */
|
|
305
|
+
fileTypeNotAllowed: string;
|
|
306
|
+
/** Generic upload failure (when the error carries no message). */
|
|
307
|
+
uploadFailed: string;
|
|
308
|
+
/** Retry-upload button (`title`). */
|
|
309
|
+
retry: string;
|
|
310
|
+
/** Retry-upload button `aria-label`. */
|
|
311
|
+
retryUpload: string;
|
|
312
|
+
/** Remove-attachment button (`title`). */
|
|
313
|
+
remove: string;
|
|
314
|
+
/** Remove-attachment button `aria-label`. */
|
|
315
|
+
removeAttachment: string;
|
|
316
|
+
/** Label on a code block's copy button. */
|
|
317
|
+
copyCode: string;
|
|
318
|
+
/** Shown on the copy button after the code reached the clipboard. */
|
|
319
|
+
copied: string;
|
|
320
|
+
/** Shown when the clipboard was unavailable or refused the write. */
|
|
321
|
+
copyFailed: string;
|
|
322
|
+
/** Title of the checkpoint panel. */
|
|
323
|
+
checkpoints: string;
|
|
324
|
+
/** Empty state when no run can be continued. */
|
|
325
|
+
noCheckpoints: string;
|
|
326
|
+
/** Action: continue a run from its last checkpoint. */
|
|
327
|
+
resumeRun: string;
|
|
328
|
+
/** Action: branch a run without touching the original. */
|
|
329
|
+
forkRun: string;
|
|
330
|
+
/** Badge on a run that branched from another. */
|
|
331
|
+
forkedRun: string;
|
|
332
|
+
/** Under a minute ago. */
|
|
333
|
+
justNow: string;
|
|
334
|
+
/** Minutes ago. Token: `{n}`. */
|
|
335
|
+
minutesAgo: string;
|
|
336
|
+
/** Hours ago. Token: `{n}`. */
|
|
337
|
+
hoursAgo: string;
|
|
338
|
+
/** Days ago. Token: `{n}`. */
|
|
339
|
+
daysAgo: string;
|
|
340
|
+
/** Weeks ago. Token: `{n}`. */
|
|
341
|
+
weeksAgo: string;
|
|
342
|
+
}
|
|
343
|
+
/** The built-in English strings — the fallback every override merges over. */
|
|
344
|
+
export declare const DEFAULT_UI_STRINGS: UiStrings;
|
|
345
|
+
/**
|
|
346
|
+
* Merge a partial set of overrides over {@link DEFAULT_UI_STRINGS}, yielding a
|
|
347
|
+
* complete {@link UiStrings}. Keys whose override is `undefined` keep the
|
|
348
|
+
* default (so a `data-strings` JSON with only a few keys — or a property carrying
|
|
349
|
+
* explicit `undefined` — leaves the rest English).
|
|
350
|
+
*/
|
|
351
|
+
export declare function mergeUiStrings(overrides: Partial<UiStrings>): UiStrings;
|
|
352
|
+
//# sourceMappingURL=ui_strings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui_strings.d.ts","sourceRoot":"","sources":["../../src/ui/ui_strings.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,WAAW,SAAS;IAExB,+EAA+E;IAC/E,KAAK,EAAE,MAAM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