@meistrari/chat-nuxt 2.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -9
- package/dist/module.d.mts +3 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +0 -39
- package/dist/runtime/conversations/components/chat-conversation-creator-filter.d.vue.ts +1 -1
- package/dist/runtime/conversations/components/chat-conversation-creator-filter.vue.d.ts +1 -1
- package/dist/runtime/conversations/components/chat-conversation-item.d.vue.ts +3 -3
- package/dist/runtime/conversations/components/chat-conversation-item.vue.d.ts +3 -3
- package/dist/runtime/conversations/components/chat-conversation-list.d.vue.ts +1 -1
- package/dist/runtime/conversations/components/chat-conversation-list.vue.d.ts +1 -1
- package/dist/runtime/conversations/components/chat-conversation-new-group-button.d.vue.ts +1 -1
- package/dist/runtime/conversations/components/chat-conversation-new-group-button.vue.d.ts +1 -1
- package/dist/runtime/conversations/components/chat-conversation-new-group-popover-content.d.vue.ts +4 -4
- package/dist/runtime/conversations/components/chat-conversation-new-group-popover-content.vue.d.ts +4 -4
- package/dist/runtime/conversations/components/chat-conversation-search.d.vue.ts +3 -3
- package/dist/runtime/conversations/components/chat-conversation-search.vue.d.ts +3 -3
- package/dist/runtime/conversations/components/chat-new-conversation-modal.d.vue.ts +23 -5
- package/dist/runtime/conversations/components/chat-new-conversation-modal.vue.d.ts +23 -5
- package/dist/runtime/conversations/composables/conversation-list.d.ts +58 -1
- package/dist/runtime/conversations/composables/conversations.d.ts +1 -4
- package/dist/runtime/conversations/composables/conversations.js +3 -6
- package/dist/runtime/embed/components/chat-configuration-modal.d.vue.ts +3 -3
- package/dist/runtime/embed/components/chat-configuration-modal.vue +59 -176
- package/dist/runtime/embed/components/chat-configuration-modal.vue.d.ts +3 -3
- package/dist/runtime/embed/components/chat-embed-inner.d.vue.ts +3 -3
- package/dist/runtime/embed/components/chat-embed-inner.vue +4 -35
- package/dist/runtime/embed/components/chat-embed-inner.vue.d.ts +3 -3
- package/dist/runtime/embed/components/chat-embed.d.vue.ts +6 -3
- package/dist/runtime/embed/components/chat-embed.vue +10 -2
- package/dist/runtime/embed/components/chat-embed.vue.d.ts +6 -3
- package/dist/runtime/embed/components/chat-topbar.d.vue.ts +5 -5
- package/dist/runtime/embed/components/chat-topbar.vue.d.ts +5 -5
- package/dist/runtime/embed/components/configuration/chat-configuration-agent-tab.d.vue.ts +13 -0
- package/dist/runtime/embed/components/configuration/chat-configuration-agent-tab.vue +167 -0
- package/dist/runtime/embed/components/configuration/chat-configuration-agent-tab.vue.d.ts +13 -0
- package/dist/runtime/embed/components/configuration/chat-configuration-credentials-tab.d.vue.ts +3 -3
- package/dist/runtime/embed/components/configuration/chat-configuration-credentials-tab.vue.d.ts +3 -3
- package/dist/runtime/embed/components/configuration/chat-configuration-knowledge-sources-tab.d.vue.ts +3 -3
- package/dist/runtime/embed/components/configuration/chat-configuration-knowledge-sources-tab.vue.d.ts +3 -3
- package/dist/runtime/embed/components/configuration/chat-configuration-mobile-shell.d.vue.ts +3 -3
- package/dist/runtime/embed/components/configuration/chat-configuration-mobile-shell.vue.d.ts +3 -3
- package/dist/runtime/embed/components/meistrari-chat-embed.vue +9 -1
- package/dist/runtime/embed/components/mobile/chat-mobile-bottom-sheet.d.vue.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-bottom-sheet.vue.d.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-drawer.d.vue.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-drawer.vue.d.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-file-preview.d.vue.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-file-preview.vue.d.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-files-view.d.vue.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-files-view.vue.d.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-header.d.vue.ts +5 -5
- package/dist/runtime/embed/components/mobile/chat-mobile-header.vue.d.ts +5 -5
- package/dist/runtime/embed/components/mobile/chat-mobile-home-header.d.vue.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-home-header.vue.d.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-home-recents.d.vue.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-home-recents.vue.d.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-home-suggestions.d.vue.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-home-suggestions.vue.d.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-info-bubble.d.vue.ts +1 -1
- package/dist/runtime/embed/components/mobile/chat-mobile-info-bubble.vue.d.ts +1 -1
- package/dist/runtime/embed/components/mobile/chat-mobile-outdated-settings-sheet.d.vue.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-outdated-settings-sheet.vue.d.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-shell.d.vue.ts +41 -15
- package/dist/runtime/embed/components/mobile/chat-mobile-shell.vue +2 -12
- package/dist/runtime/embed/components/mobile/chat-mobile-shell.vue.d.ts +41 -15
- package/dist/runtime/embed/components/mobile/chat-mobile-usage-view.d.vue.ts +1 -1
- package/dist/runtime/embed/components/mobile/chat-mobile-usage-view.vue.d.ts +1 -1
- package/dist/runtime/embed/components/mobile/chat-mobile-workspace-sheet.d.vue.ts +3 -3
- package/dist/runtime/embed/components/mobile/chat-mobile-workspace-sheet.vue.d.ts +3 -3
- package/dist/runtime/embed/components/powered-by-tela.d.vue.ts +1 -1
- package/dist/runtime/embed/components/powered-by-tela.vue.d.ts +1 -1
- package/dist/runtime/embed/composables/embed-config.d.ts +6 -0
- package/dist/runtime/embed/composables/embed-config.js +11 -3
- package/dist/runtime/embed/feature-config.d.ts +0 -2
- package/dist/runtime/embed/feature-config.js +0 -1
- package/dist/runtime/embed/types.d.ts +14 -0
- package/dist/runtime/files/components/audio-preview.d.vue.ts +3 -3
- package/dist/runtime/files/components/audio-preview.vue.d.ts +3 -3
- package/dist/runtime/files/components/chat-file-preview.d.vue.ts +1 -1
- package/dist/runtime/files/components/chat-file-preview.vue.d.ts +1 -1
- package/dist/runtime/files/components/chat-files-view.d.vue.ts +1 -1
- package/dist/runtime/files/components/chat-files-view.vue.d.ts +1 -1
- package/dist/runtime/files/components/chat-vault-link.d.vue.ts +1 -1
- package/dist/runtime/files/components/chat-vault-link.vue.d.ts +1 -1
- package/dist/runtime/files/components/conversation-files-panel.d.vue.ts +1 -1
- package/dist/runtime/files/components/conversation-files-panel.vue.d.ts +1 -1
- package/dist/runtime/files/components/csv-preview.d.vue.ts +3 -3
- package/dist/runtime/files/components/csv-preview.vue.d.ts +3 -3
- package/dist/runtime/files/components/file-preview-panel.d.vue.ts +1 -1
- package/dist/runtime/files/components/file-preview-panel.vue.d.ts +1 -1
- package/dist/runtime/files/components/file-uploader.d.vue.ts +3 -3
- package/dist/runtime/files/components/file-uploader.vue.d.ts +3 -3
- package/dist/runtime/files/components/image-preview.d.vue.ts +3 -3
- package/dist/runtime/files/components/image-preview.vue.d.ts +3 -3
- package/dist/runtime/files/components/pdf-preview.client.d.vue.ts +3 -3
- package/dist/runtime/files/components/pdf-preview.client.vue.d.ts +3 -3
- package/dist/runtime/files/components/pdf-viewer.client.d.vue.ts +1 -1
- package/dist/runtime/files/components/pdf-viewer.client.vue.d.ts +1 -1
- package/dist/runtime/files/components/text-preview.d.vue.ts +3 -3
- package/dist/runtime/files/components/text-preview.vue.d.ts +3 -3
- package/dist/runtime/files/components/video-preview.d.vue.ts +3 -3
- package/dist/runtime/files/components/video-preview.vue.d.ts +3 -3
- package/dist/runtime/files/composables/pdf.d.ts +248 -27
- package/dist/runtime/files/file-limits.d.ts +2 -0
- package/dist/runtime/files/file-limits.js +2 -0
- package/dist/runtime/messages/components/chat-canvas-selector-modal.d.vue.ts +23 -5
- package/dist/runtime/messages/components/chat-canvas-selector-modal.vue.d.ts +23 -5
- package/dist/runtime/messages/components/chat-context-config.d.vue.ts +52 -10
- package/dist/runtime/messages/components/chat-context-config.vue +2 -2
- package/dist/runtime/messages/components/chat-context-config.vue.d.ts +52 -10
- package/dist/runtime/messages/components/chat-mention-dropdown.d.vue.ts +27 -5
- package/dist/runtime/messages/components/chat-mention-dropdown.vue.d.ts +27 -5
- package/dist/runtime/messages/components/chat-message-bubble.d.vue.ts +3 -3
- package/dist/runtime/messages/components/chat-message-bubble.vue +8 -4
- package/dist/runtime/messages/components/chat-message-bubble.vue.d.ts +3 -3
- package/dist/runtime/messages/components/chat-message-feedback.d.vue.ts +7 -0
- package/dist/runtime/messages/components/chat-message-feedback.vue +251 -0
- package/dist/runtime/messages/components/chat-message-feedback.vue.d.ts +7 -0
- package/dist/runtime/messages/components/chat-message-input.d.vue.ts +38 -16
- package/dist/runtime/messages/components/chat-message-input.vue +1 -8
- package/dist/runtime/messages/components/chat-message-input.vue.d.ts +38 -16
- package/dist/runtime/messages/components/chat-message-list.d.vue.ts +3 -3
- package/dist/runtime/messages/components/chat-message-list.vue.d.ts +3 -3
- package/dist/runtime/messages/components/chat-workstation-selector-modal.d.vue.ts +19 -5
- package/dist/runtime/messages/components/chat-workstation-selector-modal.vue.d.ts +19 -5
- package/dist/runtime/messages/components/reasoning/chat-reasoning-message.d.vue.ts +1 -1
- package/dist/runtime/messages/components/reasoning/chat-reasoning-message.vue.d.ts +1 -1
- package/dist/runtime/messages/components/reasoning/chat-reasoning-step-item.d.vue.ts +4 -4
- package/dist/runtime/messages/components/reasoning/chat-reasoning-step-item.vue.d.ts +4 -4
- package/dist/runtime/messages/components/reasoning/chat-reasoning-steps.d.vue.ts +2 -2
- package/dist/runtime/messages/components/reasoning/chat-reasoning-steps.vue.d.ts +2 -2
- package/dist/runtime/messages/components/reasoning/chat-reasoning-thought.d.vue.ts +1 -1
- package/dist/runtime/messages/components/reasoning/chat-reasoning-thought.vue.d.ts +1 -1
- package/dist/runtime/messages/components/reasoning/chat-thinking-indicator.d.vue.ts +1 -1
- package/dist/runtime/messages/components/reasoning/chat-thinking-indicator.vue.d.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-bash-widget.d.vue.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-bash-widget.vue.d.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-doc-sdk-widget.d.vue.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-doc-sdk-widget.vue.d.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-generic-tool-widget.d.vue.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-generic-tool-widget.vue.d.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-grep-widget.d.vue.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-grep-widget.vue.d.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-read-widget.d.vue.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-read-widget.vue.d.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-tela-skill-widget.d.vue.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-tela-skill-widget.vue.d.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-thinking-widget.d.vue.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-thinking-widget.vue.d.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-web-search-widget.d.vue.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-web-search-widget.vue.d.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-workstation-query-widget.d.vue.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-workstation-query-widget.vue.d.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-write-widget.d.vue.ts +1 -1
- package/dist/runtime/messages/components/widgets/chat-write-widget.vue.d.ts +1 -1
- package/dist/runtime/messages/composables/chat-feedback.d.ts +21 -0
- package/dist/runtime/messages/composables/chat-feedback.js +12 -0
- package/dist/runtime/messages/composables/chat.d.ts +1 -1
- package/dist/runtime/messages/composables/chat.js +37 -14
- package/dist/runtime/messages/message-state.d.ts +3 -0
- package/dist/runtime/messages/message-state.js +13 -0
- package/dist/runtime/rendering/components/app-markdown-render.d.vue.ts +2 -2
- package/dist/runtime/rendering/components/app-markdown-render.vue.d.ts +2 -2
- package/dist/runtime/rendering/components/renderers/artifact-display.d.vue.ts +3 -3
- package/dist/runtime/rendering/components/renderers/artifact-display.vue.d.ts +3 -3
- package/dist/runtime/rendering/components/renderers/audio-renderer.d.vue.ts +1 -1
- package/dist/runtime/rendering/components/renderers/audio-renderer.vue.d.ts +1 -1
- package/dist/runtime/rendering/components/renderers/csv-renderer.d.vue.ts +1 -1
- package/dist/runtime/rendering/components/renderers/csv-renderer.vue.d.ts +1 -1
- package/dist/runtime/rendering/components/renderers/image-renderer.d.vue.ts +1 -1
- package/dist/runtime/rendering/components/renderers/image-renderer.vue.d.ts +1 -1
- package/dist/runtime/rendering/components/renderers/markdown-renderer.d.vue.ts +1 -1
- package/dist/runtime/rendering/components/renderers/markdown-renderer.vue.d.ts +1 -1
- package/dist/runtime/rendering/components/renderers/mermaid-diagram.d.vue.ts +1 -1
- package/dist/runtime/rendering/components/renderers/mermaid-diagram.vue.d.ts +1 -1
- package/dist/runtime/rendering/components/renderers/text-renderer.d.vue.ts +1 -1
- package/dist/runtime/rendering/components/renderers/text-renderer.vue.d.ts +1 -1
- package/dist/runtime/rendering/components/renderers/video-renderer.d.vue.ts +1 -1
- package/dist/runtime/rendering/components/renderers/video-renderer.vue.d.ts +1 -1
- package/dist/runtime/shared/chat-api-error.d.ts +1 -0
- package/dist/runtime/shared/chat-api-error.js +5 -0
- package/dist/runtime/shared/components/app-status-toast.d.vue.ts +1 -1
- package/dist/runtime/shared/components/app-status-toast.vue.d.ts +1 -1
- package/dist/runtime/shared/components/icons/anthropic.d.vue.ts +1 -1
- package/dist/runtime/shared/components/icons/anthropic.vue.d.ts +1 -1
- package/dist/runtime/shared/components/icons/tela-chat.d.vue.ts +1 -1
- package/dist/runtime/shared/components/icons/tela-chat.vue.d.ts +1 -1
- package/dist/runtime/shared/components/icons/tela-wordmark.d.vue.ts +1 -1
- package/dist/runtime/shared/components/icons/tela-wordmark.vue.d.ts +1 -1
- package/dist/runtime/types/embed.d.ts +1 -0
- package/dist/runtime/types/schemas/chat/conversations.d.ts +2 -3
- package/dist/runtime/types/schemas/chat/conversations.js +2 -3
- package/dist/runtime/types/schemas/chat/messages.d.ts +6 -48
- package/dist/runtime/types/schemas/chat/messages.js +5 -4
- package/dist/runtime/types/schemas/chat/workspace-agent.d.ts +33 -0
- package/dist/runtime/types/schemas/chat/workspace-agent.js +12 -0
- package/dist/runtime/types/schemas/chat/workspace-settings.d.ts +0 -47
- package/dist/runtime/types/schemas/chat/workspace-settings.js +0 -1
- package/dist/runtime/types/schemas/index.d.ts +1 -0
- package/dist/runtime/types/schemas/index.js +1 -0
- package/dist/runtime/types/schemas/integrations/tela-agent-api.d.ts +34 -0
- package/dist/runtime/types/schemas/integrations/tela-agent-api.js +3 -0
- package/dist/runtime/types/workspace-settings.d.ts +1 -1
- package/dist/runtime/usage/components/chat-usage-view.d.vue.ts +1 -1
- package/dist/runtime/usage/components/chat-usage-view.vue.d.ts +1 -1
- package/dist/runtime/workspace/composables/github-skills-callback.js +1 -1
- package/dist/runtime/workspace/composables/workspace-agent.d.ts +8 -0
- package/dist/runtime/workspace/composables/workspace-agent.js +89 -0
- package/dist/runtime/workspace/composables/workspace-settings.d.ts +42 -1
- package/dist/types.d.mts +1 -1
- package/package.json +15 -15
- package/dist/runtime/embed/components/configuration/chat-configuration-context-files-tab.d.vue.ts +0 -22
- package/dist/runtime/embed/components/configuration/chat-configuration-context-files-tab.vue +0 -133
- package/dist/runtime/embed/components/configuration/chat-configuration-context-files-tab.vue.d.ts +0 -22
- package/dist/runtime/embed/components/configuration/chat-configuration-external-skills-tab.d.vue.ts +0 -32
- package/dist/runtime/embed/components/configuration/chat-configuration-external-skills-tab.vue +0 -222
- package/dist/runtime/embed/components/configuration/chat-configuration-external-skills-tab.vue.d.ts +0 -32
- package/dist/runtime/embed/components/configuration/chat-configuration-personalization-tab.d.vue.ts +0 -10
- package/dist/runtime/embed/components/configuration/chat-configuration-personalization-tab.vue +0 -37
- package/dist/runtime/embed/components/configuration/chat-configuration-personalization-tab.vue.d.ts +0 -10
- package/dist/runtime/embed/components/configuration/chat-configuration-tela-tools-tab.d.vue.ts +0 -20
- package/dist/runtime/embed/components/configuration/chat-configuration-tela-tools-tab.vue +0 -146
- package/dist/runtime/embed/components/configuration/chat-configuration-tela-tools-tab.vue.d.ts +0 -20
- package/dist/runtime/internal/agent-environment-resolver.stub.d.ts +0 -2
- package/dist/runtime/internal/agent-environment-resolver.stub.js +0 -1
- package/dist/runtime/messages/components/chat-model-selector.d.vue.ts +0 -15
- package/dist/runtime/messages/components/chat-model-selector.vue +0 -42
- package/dist/runtime/messages/components/chat-model-selector.vue.d.ts +0 -15
- package/dist/runtime/messages/composables/selected-model.d.ts +0 -4
- package/dist/runtime/messages/composables/selected-model.js +0 -48
- package/dist/runtime/types/chat-agent-environment-resolver.d.ts +0 -4
- package/dist/runtime/workspace/composables/workspace-context-files.d.ts +0 -19
- package/dist/runtime/workspace/composables/workspace-context-files.js +0 -83
- package/dist/runtime/workspace/composables/workspace-external-skills.d.ts +0 -22
- package/dist/runtime/workspace/composables/workspace-external-skills.js +0 -137
- package/dist/runtime/workspace/composables/workspace-personalization.d.ts +0 -6
- package/dist/runtime/workspace/composables/workspace-personalization.js +0 -18
- package/dist/runtime/workspace/composables/workspace-tela-tools.d.ts +0 -13
- package/dist/runtime/workspace/composables/workspace-tela-tools.js +0 -91
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { useFileUpload } from "../../files/composables/file-upload";
|
|
3
|
+
import { MAX_FILE_SIZE, MAX_FILES } from "../../files/file-limits";
|
|
3
4
|
import { useInputHistory } from "../composables/input-history";
|
|
4
5
|
import { useMentionAutocomplete } from "../composables/mention-autocomplete";
|
|
5
|
-
import { MAX_FILE_SIZE, MAX_FILES } from "../../workspace/composables/workspace-context-files";
|
|
6
|
-
import { defaultChatModel } from "../../types/schemas/chat/models.js";
|
|
7
6
|
import { getAgentInputReadiness } from "../input-readiness";
|
|
8
7
|
import { formatFileSize } from "../../files/formatting";
|
|
9
8
|
import { getMimeIcon, getMimeLabel } from "../../files/icons";
|
|
@@ -18,17 +17,13 @@ const props = defineProps({
|
|
|
18
17
|
messages: { type: Array, required: false },
|
|
19
18
|
conversationFiles: { type: Array, required: false },
|
|
20
19
|
workspaceSettings: { type: null, required: false },
|
|
21
|
-
allowModelSelection: { type: Boolean, required: false },
|
|
22
20
|
agentInputSchema: { type: [Array, null], required: false },
|
|
23
21
|
agentInputSchemaLoading: { type: Boolean, required: false },
|
|
24
|
-
showModelSelector: { type: Boolean, required: false },
|
|
25
22
|
showCancelButton: { type: Boolean, required: false }
|
|
26
23
|
});
|
|
27
24
|
const emit = defineEmits(["send", "cancel"]);
|
|
28
|
-
const selectedModel = defineModel("model", { type: null, ...{ default: defaultChatModel } });
|
|
29
25
|
const { uploadFiles, uploading, uploadError } = useFileUpload();
|
|
30
26
|
const isCancelEnabled = computed(() => props.showCancelButton === true);
|
|
31
|
-
const isModelSelectorEnabled = computed(() => props.showModelSelector === true && props.allowModelSelection !== false);
|
|
32
27
|
const content = ref("");
|
|
33
28
|
const editorRef = ref(null);
|
|
34
29
|
const fileInputRef = ref(null);
|
|
@@ -240,7 +235,6 @@ async function handleSend() {
|
|
|
240
235
|
"send",
|
|
241
236
|
taggedContent.trim(),
|
|
242
237
|
files,
|
|
243
|
-
isModelSelectorEnabled.value ? selectedModel.value : void 0,
|
|
244
238
|
agentInputs.length > 0 ? agentInputs : void 0
|
|
245
239
|
);
|
|
246
240
|
content.value = "";
|
|
@@ -639,7 +633,6 @@ defineExpose({
|
|
|
639
633
|
@blur="handleBlur"
|
|
640
634
|
/>
|
|
641
635
|
<div flex items-center gap-8px>
|
|
642
|
-
<ChatModelSelector v-if="isModelSelectorEnabled" v-model="selectedModel" :disabled="isLocked" @click.stop />
|
|
643
636
|
<div flex-1 />
|
|
644
637
|
<TelaTooltip :content="pendingFiles.length >= MAX_FILES ? 'Limite de arquivos atingido' : 'Anexar arquivo'" side="top">
|
|
645
638
|
<TelaIconButton
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { DeepReadonly } from 'vue';
|
|
2
2
|
import type { Message } from '../../types/schemas/chat/conversations.js';
|
|
3
3
|
import type { ConversationFile } from '../../types/schemas/chat/files.js';
|
|
4
|
-
import type { ChatModel } from '../../types/schemas/chat/models.js';
|
|
5
4
|
import type { WorkspaceSettingsResponse as WorkspaceSettings } from '../../types/schemas/chat/workspace-settings.js';
|
|
6
5
|
import type { TelaAgentInputVariable } from '../../types/schemas/integrations/tela-agent-api.js';
|
|
7
6
|
type __VLS_Props = {
|
|
@@ -15,30 +14,53 @@ type __VLS_Props = {
|
|
|
15
14
|
messages?: Message[];
|
|
16
15
|
conversationFiles?: ConversationFile[];
|
|
17
16
|
workspaceSettings?: DeepReadonly<WorkspaceSettings> | null;
|
|
18
|
-
allowModelSelection?: boolean;
|
|
19
17
|
agentInputSchema?: readonly TelaAgentInputVariable[] | null;
|
|
20
18
|
agentInputSchemaLoading?: boolean;
|
|
21
|
-
showModelSelector?: boolean;
|
|
22
19
|
showCancelButton?: boolean;
|
|
23
20
|
};
|
|
24
21
|
declare function addFiles(files: File[], inputName?: string): void;
|
|
25
22
|
declare function setDraft(text: string): void;
|
|
26
|
-
|
|
27
|
-
'model'?: ChatModel;
|
|
28
|
-
};
|
|
29
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
30
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
23
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {
|
|
31
24
|
addFiles: typeof addFiles;
|
|
32
25
|
setDraft: typeof setDraft;
|
|
33
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
-
"update:model": (value: ChatModel) => any;
|
|
35
|
-
} & {
|
|
26
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {} & {
|
|
36
27
|
cancel: () => any;
|
|
37
|
-
send: (content: string, files:
|
|
38
|
-
|
|
28
|
+
send: (content: string, files: {
|
|
29
|
+
url: string;
|
|
30
|
+
name: string;
|
|
31
|
+
mimeType?: string | undefined;
|
|
32
|
+
vaultReference?: string | undefined;
|
|
33
|
+
size?: number | undefined;
|
|
34
|
+
}[], agentInputs?: ({
|
|
35
|
+
type: "file";
|
|
36
|
+
name: string;
|
|
37
|
+
vaultRef: string;
|
|
38
|
+
filename: string;
|
|
39
|
+
metadata?: string | undefined;
|
|
40
|
+
} | {
|
|
41
|
+
type: "text";
|
|
42
|
+
name: string;
|
|
43
|
+
content: string;
|
|
44
|
+
})[] | undefined) => any;
|
|
45
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
39
46
|
onCancel?: (() => any) | undefined;
|
|
40
|
-
onSend?: ((content: string, files:
|
|
41
|
-
|
|
42
|
-
|
|
47
|
+
onSend?: ((content: string, files: {
|
|
48
|
+
url: string;
|
|
49
|
+
name: string;
|
|
50
|
+
mimeType?: string | undefined;
|
|
51
|
+
vaultReference?: string | undefined;
|
|
52
|
+
size?: number | undefined;
|
|
53
|
+
}[], agentInputs?: ({
|
|
54
|
+
type: "file";
|
|
55
|
+
name: string;
|
|
56
|
+
vaultRef: string;
|
|
57
|
+
filename: string;
|
|
58
|
+
metadata?: string | undefined;
|
|
59
|
+
} | {
|
|
60
|
+
type: "text";
|
|
61
|
+
name: string;
|
|
62
|
+
content: string;
|
|
63
|
+
})[] | undefined) => any) | undefined;
|
|
64
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
43
65
|
declare const _default: typeof __VLS_export;
|
|
44
66
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_Props = {
|
|
|
3
3
|
messages: readonly Message[];
|
|
4
4
|
loading?: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {} & {
|
|
7
7
|
retry: (messageId: string) => any;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
9
|
onRetry?: ((messageId: string) => any) | undefined;
|
|
10
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_Props = {
|
|
|
3
3
|
messages: readonly Message[];
|
|
4
4
|
loading?: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {} & {
|
|
7
7
|
retry: (messageId: string) => any;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
9
|
onRetry?: ((messageId: string) => any) | undefined;
|
|
10
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
export default _default;
|
|
@@ -3,12 +3,26 @@ type __VLS_Props = {
|
|
|
3
3
|
open: boolean;
|
|
4
4
|
knowledgeSources: readonly KnowledgeSource[] | KnowledgeSource[] | null;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {} & {
|
|
7
7
|
close: () => any;
|
|
8
|
-
save: (sources:
|
|
9
|
-
|
|
8
|
+
save: (sources: {
|
|
9
|
+
type: "workstation";
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
projectId: string;
|
|
13
|
+
description?: string | undefined;
|
|
14
|
+
taskCount?: number | undefined;
|
|
15
|
+
}[]) => any;
|
|
16
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
17
|
onClose?: (() => any) | undefined;
|
|
11
|
-
onSave?: ((sources:
|
|
12
|
-
|
|
18
|
+
onSave?: ((sources: {
|
|
19
|
+
type: "workstation";
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
projectId: string;
|
|
23
|
+
description?: string | undefined;
|
|
24
|
+
taskCount?: number | undefined;
|
|
25
|
+
}[]) => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
13
27
|
declare const _default: typeof __VLS_export;
|
|
14
28
|
export default _default;
|
|
@@ -3,12 +3,26 @@ type __VLS_Props = {
|
|
|
3
3
|
open: boolean;
|
|
4
4
|
knowledgeSources: readonly KnowledgeSource[] | KnowledgeSource[] | null;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {} & {
|
|
7
7
|
close: () => any;
|
|
8
|
-
save: (sources:
|
|
9
|
-
|
|
8
|
+
save: (sources: {
|
|
9
|
+
type: "workstation";
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
projectId: string;
|
|
13
|
+
description?: string | undefined;
|
|
14
|
+
taskCount?: number | undefined;
|
|
15
|
+
}[]) => any;
|
|
16
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
17
|
onClose?: (() => any) | undefined;
|
|
11
|
-
onSave?: ((sources:
|
|
12
|
-
|
|
18
|
+
onSave?: ((sources: {
|
|
19
|
+
type: "workstation";
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
projectId: string;
|
|
23
|
+
description?: string | undefined;
|
|
24
|
+
taskCount?: number | undefined;
|
|
25
|
+
}[]) => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
13
27
|
declare const _default: typeof __VLS_export;
|
|
14
28
|
export default _default;
|
|
@@ -8,6 +8,6 @@ type __VLS_Props = {
|
|
|
8
8
|
isPreviewMode?: boolean;
|
|
9
9
|
completed?: boolean;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
13
13
|
export default _default;
|
|
@@ -8,6 +8,6 @@ type __VLS_Props = {
|
|
|
8
8
|
isPreviewMode?: boolean;
|
|
9
9
|
completed?: boolean;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
13
13
|
export default _default;
|
|
@@ -15,18 +15,18 @@ declare var __VLS_7: {};
|
|
|
15
15
|
type __VLS_Slots = {} & {
|
|
16
16
|
default?: (props: typeof __VLS_7) => any;
|
|
17
17
|
};
|
|
18
|
-
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
19
|
-
isError: boolean;
|
|
18
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
20
19
|
completed: boolean;
|
|
21
|
-
isActive: boolean;
|
|
22
20
|
icon: string;
|
|
21
|
+
isError: boolean;
|
|
22
|
+
isActive: boolean;
|
|
23
23
|
isLast: boolean;
|
|
24
24
|
isFirst: boolean;
|
|
25
25
|
defaultExpanded: boolean;
|
|
26
26
|
hasResult: boolean;
|
|
27
27
|
isTextStep: boolean;
|
|
28
28
|
hideExpand: boolean;
|
|
29
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
32
32
|
export default _default;
|
|
@@ -15,18 +15,18 @@ declare var __VLS_7: {};
|
|
|
15
15
|
type __VLS_Slots = {} & {
|
|
16
16
|
default?: (props: typeof __VLS_7) => any;
|
|
17
17
|
};
|
|
18
|
-
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
19
|
-
isError: boolean;
|
|
18
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
20
19
|
completed: boolean;
|
|
21
|
-
isActive: boolean;
|
|
22
20
|
icon: string;
|
|
21
|
+
isError: boolean;
|
|
22
|
+
isActive: boolean;
|
|
23
23
|
isLast: boolean;
|
|
24
24
|
isFirst: boolean;
|
|
25
25
|
defaultExpanded: boolean;
|
|
26
26
|
hasResult: boolean;
|
|
27
27
|
isTextStep: boolean;
|
|
28
28
|
hideExpand: boolean;
|
|
29
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
32
32
|
export default _default;
|
|
@@ -5,8 +5,8 @@ type __VLS_Props = {
|
|
|
5
5
|
completed?: boolean;
|
|
6
6
|
isPreviewMode?: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
8
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {
|
|
9
9
|
sentinelRef: any;
|
|
10
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
export default _default;
|
|
@@ -5,8 +5,8 @@ type __VLS_Props = {
|
|
|
5
5
|
completed?: boolean;
|
|
6
6
|
isPreviewMode?: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
8
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {
|
|
9
9
|
sentinelRef: any;
|
|
10
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
export default _default;
|
|
@@ -6,6 +6,6 @@ type __VLS_Props = {
|
|
|
6
6
|
createdAt: Date | string;
|
|
7
7
|
updatedAt?: Date | string | null;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const _default: typeof __VLS_export;
|
|
11
11
|
export default _default;
|
|
@@ -6,6 +6,6 @@ type __VLS_Props = {
|
|
|
6
6
|
createdAt: Date | string;
|
|
7
7
|
updatedAt?: Date | string | null;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const _default: typeof __VLS_export;
|
|
11
11
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
declare const _default: typeof __VLS_export;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
declare const _default: typeof __VLS_export;
|
|
3
3
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -3,6 +3,6 @@ type __VLS_Props = {
|
|
|
3
3
|
isActive?: boolean;
|
|
4
4
|
completed?: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
declare const _default: typeof __VLS_export;
|
|
8
8
|
export default _default;
|
|
@@ -3,6 +3,6 @@ type __VLS_Props = {
|
|
|
3
3
|
isActive?: boolean;
|
|
4
4
|
completed?: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
declare const _default: typeof __VLS_export;
|
|
8
8
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -5,6 +5,6 @@ type __VLS_Props = {
|
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
isBashExecution?: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
declare const _default: typeof __VLS_export;
|
|
10
10
|
export default _default;
|
|
@@ -5,6 +5,6 @@ type __VLS_Props = {
|
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
isBashExecution?: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
declare const _default: typeof __VLS_export;
|
|
10
10
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,6 @@ type __VLS_Props = {
|
|
|
4
4
|
toolResult?: ToolResult;
|
|
5
5
|
isActive?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
9
9
|
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type MessageFeedbackRating = 'positive' | 'negative';
|
|
2
|
+
export type MessageFeedbackConfig = {
|
|
3
|
+
/** Reason chips offered on a positive vote. Empty or omitted: 👍 submits directly. */
|
|
4
|
+
positiveReasons?: readonly string[];
|
|
5
|
+
/** Reason chips offered on a negative vote. */
|
|
6
|
+
negativeReasons?: readonly string[];
|
|
7
|
+
/** Require a justification on a negative vote: at least one reason chip when negativeReasons are configured, otherwise a non-empty comment. */
|
|
8
|
+
requireReason?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export type MessageFeedbackPayload = {
|
|
11
|
+
conversationId: string;
|
|
12
|
+
messageId: string;
|
|
13
|
+
rating: MessageFeedbackRating;
|
|
14
|
+
reasons: string[];
|
|
15
|
+
comment: string;
|
|
16
|
+
};
|
|
17
|
+
export type MessageFeedbackHandler = (payload: MessageFeedbackPayload) => void;
|
|
18
|
+
export declare function provideMessageFeedback(handler: MessageFeedbackHandler): void;
|
|
19
|
+
export declare function useMessageFeedback(): {
|
|
20
|
+
emit(payload: MessageFeedbackPayload): void;
|
|
21
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const MESSAGE_FEEDBACK_KEY = Symbol("chat-nuxt:message-feedback");
|
|
2
|
+
export function provideMessageFeedback(handler) {
|
|
3
|
+
provide(MESSAGE_FEEDBACK_KEY, handler);
|
|
4
|
+
}
|
|
5
|
+
export function useMessageFeedback() {
|
|
6
|
+
const handler = inject(MESSAGE_FEEDBACK_KEY, null);
|
|
7
|
+
return {
|
|
8
|
+
emit(payload) {
|
|
9
|
+
handler?.(payload);
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -14,7 +14,7 @@ export declare function useChat(): {
|
|
|
14
14
|
animatedTitle: any;
|
|
15
15
|
loadConversation: (id: string) => Promise<void>;
|
|
16
16
|
setConversation: (conv: Conversation | ConversationWithMessages) => void;
|
|
17
|
-
sendMessage: (content: string, files?: FileUploadInput[],
|
|
17
|
+
sendMessage: (content: string, files?: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[]) => Promise<Message | null>;
|
|
18
18
|
retryMessage: (messageId: string) => Promise<boolean>;
|
|
19
19
|
cancelConversation: () => Promise<boolean>;
|
|
20
20
|
startPolling: () => void;
|