mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-21 12:55:09 +00:00
* feat: gate Moonshot AI provider behind VITE_PUBLIC_KIMI_LAUNCH flag Hide all Moonshot/Kimi provider UI when the launch flag is off: - Filter moonshot from provider templates and type dropdown - Gate Kimi flare badges in HubProviderRow - Gate Kimi auto-insertion in LLM hub storage - Add analytics events for Kimi API key configuration and guide clicks Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: allow editing existing moonshot providers when launch flag is off Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
216 lines
5.9 KiB
TypeScript
216 lines
5.9 KiB
TypeScript
/** @public */
|
|
export const MESSAGE_LIKE_EVENT = 'ui.message.like'
|
|
|
|
export const GRAPH_MESSAGE_LIKE_EVENT = 'settings.graph.message.like'
|
|
|
|
export const GRAPH_MESSAGE_DISLIKE_EVENT = 'settings.graph.message.dislike'
|
|
|
|
/** @public */
|
|
export const NEW_GRAPH_CREATED_EVENT = 'settings.graph.created'
|
|
|
|
/** @public */
|
|
export const GRAPH_SAVED_EVENT = 'settings.graph.saved'
|
|
|
|
/** @public */
|
|
export const GRAPH_UPDATED_EVENT = 'settings.graph.updated'
|
|
|
|
/** @public */
|
|
export const MESSAGE_DISLIKE_EVENT = 'ui.message.dislike'
|
|
|
|
/** @public */
|
|
export const MESSAGE_SENT_EVENT = 'ui.message.sent'
|
|
|
|
/** @public */
|
|
export const PROVIDER_SELECTED_EVENT = 'ui.provider.selected'
|
|
|
|
/** @public */
|
|
export const CONVERSATION_RESET_EVENT = 'ui.conversation.reset'
|
|
|
|
/** @public */
|
|
export const AI_PROVIDER_ADDED_EVENT = 'settings.ai_provider.added'
|
|
|
|
/** @public */
|
|
export const HUB_PROVIDER_ADDED_EVENT = 'settings.hub_provider.added'
|
|
|
|
/** @public */
|
|
export const MCP_EXTERNAL_ACCESS_ENABLED_EVENT =
|
|
'settings.mcp_external_access.enabled'
|
|
|
|
/** @public */
|
|
export const MCP_EXTERNAL_ACCESS_DISABLED_EVENT =
|
|
'settings.mcp_external_access.disabled'
|
|
|
|
/** @public */
|
|
export const MCP_SERVER_RESTARTED_EVENT = 'settings.mcp_server.restarted'
|
|
|
|
/** @public */
|
|
export const NEW_SCHEDULED_TASK_CREATED_EVENT =
|
|
'settings.scheduled_task.created'
|
|
|
|
/** @public */
|
|
export const SCHEDULED_TASK_EDITED_EVENT = 'settings.scheduled_task.edited'
|
|
|
|
/** @public */
|
|
export const SCHEDULED_TASK_DELETED_EVENT = 'settings.scheduled_task.deleted'
|
|
|
|
/** @public */
|
|
export const SCHEDULED_TASK_TOGGLED_EVENT = 'settings.scheduled_task.toggled'
|
|
|
|
/** @public */
|
|
export const SCHEDULED_TASK_TESTED_EVENT = 'settings.scheduled_task.tested'
|
|
|
|
/** @public */
|
|
export const SCHEDULED_TASK_VIEW_RESULTS_EVENT =
|
|
'settings.scheduled_task.viewed_results'
|
|
|
|
/** @public */
|
|
export const SCHEDULED_TASK_VIEW_RESULTS_IN_NEWTAB_EVENT =
|
|
'newtab.scheduled_task.viewed_results'
|
|
|
|
/** @public */
|
|
export const SCHEDULED_TASK_VIEW_MORE_IN_NEWTAB_EVENT =
|
|
'newtab.scheduled_task.view_more'
|
|
|
|
/** @public */
|
|
export const NEWTAB_OPENED_EVENT = 'newtab.opened'
|
|
|
|
/** @public */
|
|
export const NEWTAB_AI_TRIGGERED_EVENT = 'newtab.ai.triggered'
|
|
|
|
/** @public */
|
|
export const NEWTAB_SEARCH_EXECUTED_EVENT = 'newtab.search.executed'
|
|
|
|
/** @public */
|
|
export const NEWTAB_WORKSPACE_OPENED_EVENT = 'newtab.workspace.opened'
|
|
|
|
/** @public */
|
|
export const NEWTAB_TABS_OPENED_EVENT = 'newtab.tabs.opened'
|
|
|
|
/** @public */
|
|
export const NEWTAB_TAB_TOGGLED_EVENT = 'newtab.tab.toggled'
|
|
|
|
/** @public */
|
|
export const NEWTAB_TAB_REMOVED_EVENT = 'newtab.tab.removed'
|
|
|
|
/** @public */
|
|
export const NEWTAB_APPS_OPENED_EVENT = 'newtab.apps.opened'
|
|
|
|
/** @public */
|
|
export const NEWTAB_TIP_DISMISSED_EVENT = 'newtab.tip.dismissed'
|
|
|
|
/** @public */
|
|
export const NEWTAB_CHAT_STARTED_EVENT = 'newtab.chat.started'
|
|
|
|
/** @public */
|
|
export const NEWTAB_CHAT_STOPPED_EVENT = 'newtab.chat.stopped'
|
|
|
|
/** @public */
|
|
export const NEWTAB_CHAT_RESET_EVENT = 'newtab.chat.reset'
|
|
|
|
/** @public */
|
|
export const NEWTAB_CHAT_SUGGESTION_CLICKED_EVENT =
|
|
'newtab.chat.suggestion_clicked'
|
|
|
|
/** @public */
|
|
export const NEWTAB_CHAT_MODE_CHANGED_EVENT = 'newtab.chat.mode_changed'
|
|
|
|
/** @public */
|
|
export const WORKFLOW_DELETED_EVENT = 'settings.workflow.deleted'
|
|
|
|
/** @public */
|
|
export const WORKFLOW_RUN_STARTED_EVENT = 'settings.workflow.run_started'
|
|
|
|
/** @public */
|
|
export const WORKFLOW_RUN_STOPPED_EVENT = 'settings.workflow.run_stopped'
|
|
|
|
/** @public */
|
|
export const WORKFLOW_RUN_RETRIED_EVENT = 'settings.workflow.run_retried'
|
|
|
|
/** @public */
|
|
export const WORKFLOW_RUN_COMPLETED_EVENT = 'settings.workflow.run_completed'
|
|
|
|
/** @public */
|
|
export const SIDEPANEL_AI_TRIGGERED_EVENT = 'sidepanel.ai.triggered'
|
|
|
|
/** @public */
|
|
export const SIDEPANEL_MODE_CHANGED_EVENT = 'sidepanel.mode.changed'
|
|
|
|
/** @public */
|
|
export const SIDEPANEL_STOP_CLICKED_EVENT = 'sidepanel.generation.stopped'
|
|
|
|
/** @public */
|
|
export const GLOW_STOP_CLICKED_EVENT = 'glow.generation.stopped'
|
|
|
|
/** @public */
|
|
export const SIDEPANEL_MESSAGE_COPIED_EVENT = 'sidepanel.message.copied'
|
|
|
|
/** @public */
|
|
export const SIDEPANEL_SUGGESTION_CLICKED_EVENT = 'sidepanel.suggestion.clicked'
|
|
|
|
/** @public */
|
|
export const SIDEPANEL_TAB_TOGGLED_EVENT = 'sidepanel.tab.toggled'
|
|
|
|
/** @public */
|
|
export const SIDEPANEL_TAB_REMOVED_EVENT = 'sidepanel.tab.removed'
|
|
|
|
export const SETTINGS_PAGE_VIEWED_EVENT = 'settings.page.viewed'
|
|
|
|
/** @public */
|
|
export const MANAGED_MCP_ADDED_EVENT = 'settings.managed_mcp.added'
|
|
|
|
/** @public */
|
|
export const CUSTOM_MCP_ADDED_EVENT = 'settings.custom_mcp.added'
|
|
|
|
/** @public */
|
|
export const JTBD_POPUP_SHOWN_EVENT = 'ui.jtbd_popup.shown'
|
|
|
|
/** @public */
|
|
export const JTBD_POPUP_CLICKED_EVENT = 'ui.jtbd_popup.clicked'
|
|
|
|
/** @public */
|
|
export const SCHEDULED_TASK_CANCELLED_EVENT =
|
|
'settings.scheduled_task.cancelled'
|
|
|
|
/** @public */
|
|
export const SCHEDULED_TASK_RETRIED_EVENT = 'settings.scheduled_task.retried'
|
|
|
|
/** @public */
|
|
export const JTBD_POPUP_DISMISSED_EVENT = 'ui.jtbd_popup.dismissed'
|
|
|
|
/** @public */
|
|
export const SEARCH_PROVIDER_CHANGED_EVENT = 'settings.search_provider.changed'
|
|
|
|
/** @public */
|
|
export const ONBOARDING_STARTED_EVENT = 'onboarding.started'
|
|
|
|
/** @public */
|
|
export const ONBOARDING_STEP_VIEWED_EVENT = 'onboarding.step.viewed'
|
|
|
|
/** @public */
|
|
export const ONBOARDING_STEP_COMPLETED_EVENT = 'onboarding.step.completed'
|
|
|
|
/** @public */
|
|
export const ONBOARDING_ABOUT_SUBMITTED_EVENT = 'onboarding.about.submitted'
|
|
|
|
/** @public */
|
|
export const ONBOARDING_SIGNIN_COMPLETED_EVENT = 'onboarding.signin.completed'
|
|
|
|
/** @public */
|
|
export const ONBOARDING_SIGNIN_SKIPPED_EVENT = 'onboarding.signin.skipped'
|
|
|
|
/** @public */
|
|
export const ONBOARDING_DEMO_TRIGGERED_EVENT = 'onboarding.demo.triggered'
|
|
|
|
/** @public */
|
|
export const ONBOARDING_FEATURE_CLICKED_EVENT = 'onboarding.feature.clicked'
|
|
|
|
/** @public */
|
|
export const ONBOARDING_COMPLETED_EVENT = 'onboarding.completed'
|
|
|
|
/** @public */
|
|
export const KIMI_API_KEY_CONFIGURED_EVENT = 'settings.kimi.api_key_configured'
|
|
|
|
/** @public */
|
|
export const KIMI_API_KEY_GUIDE_CLICKED_EVENT =
|
|
'settings.kimi.api_key_guide_clicked'
|