@yeaft/webchat-agent 1.0.320 → 1.0.322
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/local-runtime/version.json +1 -1
- package/local-runtime/web/app.bundle.js +22 -19
- package/local-runtime/web/app.bundle.js.gz +0 -0
- package/local-runtime/web/index.html +2 -2
- package/local-runtime/web/style.bundle.css +1 -1
- package/local-runtime/web/style.bundle.css.gz +0 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.0.
|
|
1
|
+
{"version":"1.0.322"}
|
|
@@ -473,13 +473,11 @@ The agent will restart after upgrading.`,"chat.agent.alreadyLatest":"Agent is al
|
|
|
473
473
|
</div>
|
|
474
474
|
</div>
|
|
475
475
|
<div v-if="sessionActions" class="message-user-actions">
|
|
476
|
-
<button type="button" class="message-action-btn" @click="$emit('quote', userQuote)" :title="$t('message.quote')">
|
|
476
|
+
<button type="button" class="message-action-btn" @click="$emit('quote', userQuote)" :title="$t('message.quote')" :aria-label="$t('message.quote')">
|
|
477
477
|
<svg viewBox="0 0 24 24" width="13" height="13" aria-hidden="true"><path fill="currentColor" d="M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"/></svg>
|
|
478
|
-
<span>{{ $t('message.quote') }}</span>
|
|
479
478
|
</button>
|
|
480
|
-
<button type="button" class="message-action-btn" @click="$emit('edit-as-new', displayContent)" :title="$t('message.editAsNew')">
|
|
479
|
+
<button type="button" class="message-action-btn" @click="$emit('edit-as-new', displayContent)" :title="$t('message.editAsNew')" :aria-label="$t('message.editAsNew')">
|
|
481
480
|
<svg viewBox="0 0 24 24" width="13" height="13" aria-hidden="true"><path fill="currentColor" d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>
|
|
482
|
-
<span>{{ $t('message.editAsNew') }}</span>
|
|
483
481
|
</button>
|
|
484
482
|
</div>
|
|
485
483
|
</template>
|
|
@@ -811,33 +809,29 @@ ${String(e||"").trim()}
|
|
|
811
809
|
:title="turnTimeFull"
|
|
812
810
|
:aria-label="$t('yeaft.message.timeAria', { time: turnTimeFull })"
|
|
813
811
|
>{{ turnTime }}</span>
|
|
814
|
-
<button v-if="sessionActions" type="button" class="message-action-btn" @click="$emit('quote', assistantQuote)" :title="$t('message.quote')">
|
|
812
|
+
<button v-if="sessionActions" type="button" class="message-action-btn" @click="$emit('quote', assistantQuote)" :title="$t('message.quote')" :aria-label="$t('message.quote')">
|
|
815
813
|
<svg viewBox="0 0 24 24" width="13" height="13" aria-hidden="true"><path fill="currentColor" d="M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"/></svg>
|
|
816
|
-
<span>{{ $t('message.quote') }}</span>
|
|
817
814
|
</button>
|
|
818
|
-
<button v-if="turn.textContent" class="screenshot-btn" @click="screenshotContent" :title="screenshotting ? $t('message.screenshotting') : $t('message.screenshot')">
|
|
815
|
+
<button v-if="turn.textContent" class="screenshot-btn" @click="screenshotContent" :title="screenshotting ? $t('message.screenshotting') : $t('message.screenshot')" :aria-label="screenshotting ? $t('message.screenshotting') : $t('message.screenshot')">
|
|
819
816
|
<svg v-if="!screenshotting" viewBox="0 0 24 24" width="14" height="14">
|
|
820
817
|
<path fill="currentColor" d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"/>
|
|
821
818
|
</svg>
|
|
822
819
|
<svg v-else class="screenshot-spinner" viewBox="0 0 24 24" width="14" height="14">
|
|
823
820
|
<circle cx="12" cy="12" r="10" stroke="currentColor" stroke-width="2" fill="none" stroke-dasharray="30 70" />
|
|
824
821
|
</svg>
|
|
825
|
-
<span class="screenshot-label">{{ screenshotting ? $t('message.screenshotting') : $t('message.screenshot') }}</span>
|
|
826
822
|
</button>
|
|
827
|
-
<button v-if="turn.textContent" class="export-md-btn" @click="exportMarkdown" :title="$t('message.exportMd')">
|
|
823
|
+
<button v-if="turn.textContent" class="export-md-btn" @click="exportMarkdown" :title="$t('message.exportMd')" :aria-label="$t('message.exportMd')">
|
|
828
824
|
<svg viewBox="0 0 24 24" width="14" height="14">
|
|
829
825
|
<path fill="currentColor" d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/>
|
|
830
826
|
</svg>
|
|
831
|
-
<span class="export-md-label">{{ $t('message.exportMd') }}</span>
|
|
832
827
|
</button>
|
|
833
|
-
<button v-if="turn.textContent" class="copy-full-btn" @click="copyFullResponse" :title="fullCopied ? $t('message.copied') : $t('message.copyAll')">
|
|
828
|
+
<button v-if="turn.textContent" class="copy-full-btn" @click="copyFullResponse" :title="fullCopied ? $t('message.copied') : $t('message.copyAll')" :aria-label="fullCopied ? $t('message.copied') : $t('message.copyAll')">
|
|
834
829
|
<svg v-if="!fullCopied" viewBox="0 0 24 24" width="14" height="14">
|
|
835
830
|
<path fill="currentColor" d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/>
|
|
836
831
|
</svg>
|
|
837
832
|
<svg v-else viewBox="0 0 24 24" width="14" height="14">
|
|
838
833
|
<path fill="currentColor" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/>
|
|
839
834
|
</svg>
|
|
840
|
-
<span class="copy-full-label">{{ fullCopied ? $t('message.copied') : $t('message.copyAll') }}</span>
|
|
841
835
|
</button>
|
|
842
836
|
<button
|
|
843
837
|
v-if="responseCollapsible"
|
|
@@ -852,7 +846,6 @@ ${String(e||"").trim()}
|
|
|
852
846
|
<path v-if="responseCollapsed" fill="currentColor" d="M7 10l5 5 5-5z"/>
|
|
853
847
|
<path v-else fill="currentColor" d="M7 14l5-5 5 5z"/>
|
|
854
848
|
</svg>
|
|
855
|
-
<span class="response-collapse-label">{{ responseToggleLabel }}</span>
|
|
856
849
|
</button>
|
|
857
850
|
<!-- H2.f.6: Fork-from-here button removed (single-conversation model). -->
|
|
858
851
|
</div>
|
|
@@ -4724,8 +4717,14 @@ ${String(e||"").trim()}
|
|
|
4724
4717
|
<span v-if="isUnread(row)" class="sidebar-session-unread" :aria-label="$t('sidebar.sessions.unread')"></span>
|
|
4725
4718
|
</span>
|
|
4726
4719
|
</span>
|
|
4727
|
-
<span v-if="canEditRow(row)" class="session-actions">
|
|
4728
|
-
<button type="button" class="session-
|
|
4720
|
+
<span v-if="canEditRow(row)" class="session-actions" :class="{ 'menu-open': openMenuKey === row.catalogKey }">
|
|
4721
|
+
<button type="button" class="session-quick-action" @click.stop="runAction('pin', row)" :title="row.pinned ? $t('chat.sidebar.unpin') : $t('chat.sidebar.pin')" :aria-label="row.pinned ? $t('chat.sidebar.unpin') : $t('chat.sidebar.pin')">
|
|
4722
|
+
<svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M16 12V4h1V2H7v2h1v8l-2 2v2h5.2v6h1.6v-6H18v-2l-2-2z"/></svg>
|
|
4723
|
+
</button>
|
|
4724
|
+
<button type="button" class="session-quick-action" @click.stop="runAction('delete', row)" :title="row.runtimeProvider === 'yeaft' ? $t('yeaft.session.removeFromList') : $t('common.delete')" :aria-label="row.runtimeProvider === 'yeaft' ? $t('yeaft.session.removeFromList') : $t('common.delete')">
|
|
4725
|
+
<svg viewBox="0 0 24 24" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round" d="M4 7h16v13H4zM3 4h18v3H3zm6 7h6"/></svg>
|
|
4726
|
+
</button>
|
|
4727
|
+
<button type="button" class="session-dots-btn" :class="{ 'menu-open': openMenuKey === row.catalogKey }" @click.stop="toggleSessionMenu(row, true, $event)" :aria-label="$t('sidebar.sessions.menu')"><svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M6 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm6 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm6 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4z"/></svg></button>
|
|
4729
4728
|
</span>
|
|
4730
4729
|
</div>
|
|
4731
4730
|
<div v-if="(rowsByProject.get(projectKey(project)) || []).length === 0" class="sidebar-section-empty">{{ $t('sidebar.projects.noSessions') }}</div>
|
|
@@ -4757,8 +4756,14 @@ ${String(e||"").trim()}
|
|
|
4757
4756
|
<span v-if="isUnread(row)" class="sidebar-session-unread" :aria-label="$t('sidebar.sessions.unread')"></span>
|
|
4758
4757
|
</span>
|
|
4759
4758
|
</span>
|
|
4760
|
-
<span v-if="canEditRow(row)" class="session-actions">
|
|
4761
|
-
<button type="button" class="session-
|
|
4759
|
+
<span v-if="canEditRow(row)" class="session-actions" :class="{ 'menu-open': openMenuKey === row.catalogKey }">
|
|
4760
|
+
<button type="button" class="session-quick-action" @click.stop="runAction('pin', row)" :title="row.pinned ? $t('chat.sidebar.unpin') : $t('chat.sidebar.pin')" :aria-label="row.pinned ? $t('chat.sidebar.unpin') : $t('chat.sidebar.pin')">
|
|
4761
|
+
<svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M16 12V4h1V2H7v2h1v8l-2 2v2h5.2v6h1.6v-6H18v-2l-2-2z"/></svg>
|
|
4762
|
+
</button>
|
|
4763
|
+
<button type="button" class="session-quick-action" @click.stop="runAction('delete', row)" :title="row.runtimeProvider === 'yeaft' ? $t('yeaft.session.removeFromList') : $t('common.delete')" :aria-label="row.runtimeProvider === 'yeaft' ? $t('yeaft.session.removeFromList') : $t('common.delete')">
|
|
4764
|
+
<svg viewBox="0 0 24 24" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round" d="M4 7h16v13H4zM3 4h18v3H3zm6 7h6"/></svg>
|
|
4765
|
+
</button>
|
|
4766
|
+
<button type="button" class="session-dots-btn" :class="{ 'menu-open': openMenuKey === row.catalogKey }" @click.stop="toggleSessionMenu(row, false, $event)" :aria-label="$t('sidebar.sessions.menu')"><svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M6 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm6 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm6 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4z"/></svg></button>
|
|
4762
4767
|
</span>
|
|
4763
4768
|
</div>
|
|
4764
4769
|
<div v-if="recentRows.length === 0" class="sidebar-section-empty">{{ $t('sidebar.recents.empty') }}</div>
|
|
@@ -4778,7 +4783,6 @@ ${String(e||"").trim()}
|
|
|
4778
4783
|
<div v-if="projectMoveTargets(floatingMenu.row, floatingMenu.currentProject).length === 0" class="session-menu-empty">{{ $t('sidebar.projects.moveEmpty') }}</div>
|
|
4779
4784
|
</template>
|
|
4780
4785
|
<template v-else>
|
|
4781
|
-
<button class="session-menu-item" @click.stop="runAction('pin', floatingMenu.row)">{{ floatingMenu.row.pinned ? $t('chat.sidebar.unpin') : $t('chat.sidebar.pin') }}</button>
|
|
4782
4786
|
<button class="session-menu-item" @click.stop="runAction('rename', floatingMenu.row)">{{ $t('chat.sidebar.renameConv') }}</button>
|
|
4783
4787
|
<template v-if="floatingMenu.row.runtimeProvider === 'yeaft'">
|
|
4784
4788
|
<button class="session-menu-item" @click.stop="runAction('settings', floatingMenu.row)">{{ $t('yeaft.session.openSettings') }}</button>
|
|
@@ -4788,7 +4792,6 @@ ${String(e||"").trim()}
|
|
|
4788
4792
|
<span aria-hidden="true">›</span>
|
|
4789
4793
|
</button>
|
|
4790
4794
|
</template>
|
|
4791
|
-
<button class="session-menu-item danger" @click.stop="runAction('delete', floatingMenu.row)">{{ $t('common.delete') }}</button>
|
|
4792
4795
|
<div class="sidebar-session-menu-info">
|
|
4793
4796
|
<strong :title="agentLabel(floatingMenu.row)">{{ agentLabel(floatingMenu.row) }}</strong>
|
|
4794
4797
|
<strong>{{ providerLabel(floatingMenu.row) }}</strong>
|
|
Binary file
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
|
|
6
6
|
<title>Yeaft</title>
|
|
7
7
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><rect width='32' height='32' rx='8' fill='%232c2c2c'/><path d='M16 22V13M16 13L10 8M16 13L22 8' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/><circle cx='10' cy='8' r='2.4' fill='white'/><circle cx='22' cy='8' r='2.4' fill='white'/><circle cx='16' cy='22' r='2.4' fill='white'/></svg>">
|
|
8
|
-
<link rel="stylesheet" href="style.bundle.css?v=
|
|
8
|
+
<link rel="stylesheet" href="style.bundle.css?v=c20a4d5f">
|
|
9
9
|
<script src="vendor.bundle.js?v=103fd8e7"></script>
|
|
10
10
|
<script defer src="jszip.min.js"></script>
|
|
11
11
|
<script defer src="docx-preview.min.js"></script>
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
</head>
|
|
17
17
|
<body>
|
|
18
18
|
<div id="app"></div>
|
|
19
|
-
<script type="module" src="app.bundle.js?v=
|
|
19
|
+
<script type="module" src="app.bundle.js?v=59f9fe04"></script>
|
|
20
20
|
</body>
|
|
21
21
|
</html>
|