@yeaft/webchat-agent 1.0.478 → 1.0.479
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 +29 -33
- 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.479"}
|
|
@@ -5383,39 +5383,35 @@ ${String(e||"").trim()}
|
|
|
5383
5383
|
<div class="agent-dropdown-list">
|
|
5384
5384
|
<div v-for="agent in onlineAgents" :key="agent.id" class="agent-dropdown-item">
|
|
5385
5385
|
<span class="status-dot" :class="{ online: agent.online, restarting: restartingAgents[agent.id], upgrading: upgradingAgents[agent.id] }"></span>
|
|
5386
|
-
<span class="agent-dropdown-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
<span v-if="restartingAgents[agent.id]" class="spinner-mini"></span>
|
|
5416
|
-
<svg v-else viewBox="0 0 24 24" width="16" height="16" aria-hidden="true"><path fill="currentColor" d="M17.65 6.35A7.958 7.958 0 0012 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0112 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/></svg>
|
|
5417
|
-
</button>
|
|
5418
|
-
</span>
|
|
5386
|
+
<span class="agent-dropdown-name" :title="agent.name">{{ agent.name }}</span>
|
|
5387
|
+
<span class="agent-dropdown-meta">
|
|
5388
|
+
<span class="agent-dropdown-status" v-if="restartingAgents[agent.id]">{{ tr('chat.agent.restarting', 'Restarting\u2026') }}</span>
|
|
5389
|
+
<span class="agent-dropdown-status" v-else-if="upgradingAgents[agent.id]">{{ tr('chat.agent.upgrading', 'Upgrading\u2026') }}</span>
|
|
5390
|
+
<span class="agent-dropdown-version" v-else-if="agent.version">v{{ agent.version }}</span>
|
|
5391
|
+
</span>
|
|
5392
|
+
<span v-if="showAgentActions" class="agent-dropdown-actions">
|
|
5393
|
+
<button
|
|
5394
|
+
type="button"
|
|
5395
|
+
class="agent-dropdown-action-btn agent-dropdown-upgrade-btn"
|
|
5396
|
+
@click.stop="$emit('upgrade-agent', agent.id)"
|
|
5397
|
+
:disabled="!agent.online || restartingAgents[agent.id] || upgradingAgents[agent.id]"
|
|
5398
|
+
:title="tr('chat.agent.upgrade', 'Upgrade')"
|
|
5399
|
+
:aria-label="tr('chat.agent.upgrade', 'Upgrade')"
|
|
5400
|
+
>
|
|
5401
|
+
<span v-if="upgradingAgents[agent.id]" class="spinner-mini"></span>
|
|
5402
|
+
<svg v-else viewBox="0 0 24 24" width="16" height="16" aria-hidden="true"><path fill="currentColor" d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"/></svg>
|
|
5403
|
+
</button>
|
|
5404
|
+
<button
|
|
5405
|
+
type="button"
|
|
5406
|
+
class="agent-dropdown-action-btn agent-dropdown-restart-btn"
|
|
5407
|
+
@click.stop="$emit('restart-agent', agent.id)"
|
|
5408
|
+
:disabled="!agent.online || restartingAgents[agent.id] || upgradingAgents[agent.id]"
|
|
5409
|
+
:title="tr('chat.agent.restart', 'Restart')"
|
|
5410
|
+
:aria-label="tr('chat.agent.restart', 'Restart')"
|
|
5411
|
+
>
|
|
5412
|
+
<span v-if="restartingAgents[agent.id]" class="spinner-mini"></span>
|
|
5413
|
+
<svg v-else viewBox="0 0 24 24" width="16" height="16" aria-hidden="true"><path fill="currentColor" d="M17.65 6.35A7.958 7.958 0 0012 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0112 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/></svg>
|
|
5414
|
+
</button>
|
|
5419
5415
|
</span>
|
|
5420
5416
|
</div>
|
|
5421
5417
|
<div v-if="onlineAgents.length === 0" class="agent-dropdown-empty">{{ tr('chat.agent.none', 'No agents online') }}</div>
|
|
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=69e1b5bc">
|
|
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=6788dc2a"></script>
|
|
20
20
|
</body>
|
|
21
21
|
</html>
|