Skip to content

Commit 4db55a5

Browse files
author
linyuan.yang
committed
fix
1 parent 8912293 commit 4db55a5

9 files changed

Lines changed: 31 additions & 11 deletions

File tree

‎packages/admin/src/i18n/en.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ export default {
187187
section_common: 'Common',
188188
section_resources_workspace: 'Knowledge & Workspace',
189189
section_automation_memory: 'Memory & Agenda',
190+
memory_label: 'Memory',
191+
agenda_label: 'Agenda',
192+
workspace_context_off: 'Workspace context: off',
193+
workspace_skills_off: 'Workspace skills: off',
190194
section_runtime: 'Runtime Controls',
191195
inherit_label: 'inherits from {source}: {value}',
192196
inherit_label_unset: 'inherits from {source} (unset)',

‎packages/admin/src/i18n/zh.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ export default {
187187
section_common: '常用',
188188
section_resources_workspace: '知识与工作区',
189189
section_automation_memory: '长期记忆与事项',
190+
memory_label: '长期记忆',
191+
agenda_label: '事项',
192+
workspace_context_off: '工作区上下文注入: 关闭',
193+
workspace_skills_off: '工作区 Skill 导入: 关闭',
190194
section_runtime: '运行控制',
191195
inherit_label: '继承自 {source}: {value}',
192196
inherit_label_unset: '继承自 {source}(未设置)',

‎packages/admin/src/views/chat/ChannelsView.vue‎

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -779,12 +779,19 @@ async function refresh() {
779779
<template #meta="{ item: c }">
780780
<span class="session-meta-id">{{ c.id }}</span>
781781
<span class="session-meta-chip">{{ t('common.storage') }}: {{ c.saver ? (saverOptions.find(s => s.id === c.saver)?.label || c.saver) : '-' }}</span>
782-
<span class="session-meta-chip" :class="Array.isArray(c.notes) && c.notes.length ? '' : 'muted'">{{ t('common.note') }}: {{ Array.isArray(c.notes) && c.notes.length ? c.notes.map(nid => noteOptions.find(n => n.id === nid)?.label || nid).join(', ') : t('common.not_configured') }}</span>
783-
<span class="session-meta-chip" :class="Array.isArray((c as any).wikis) && (c as any).wikis.length ? '' : 'muted'">{{ t('common.wiki') }}: {{ Array.isArray((c as any).wikis) && (c as any).wikis.length ? (c as any).wikis.map((wid: string) => wikiOptions.find(w => w.id === wid)?.label || wid).join(', ') : t('common.not_configured') }}</span>
784-
<span class="session-meta-chip" :class="c.workPath ? 'blue' : 'muted'">{{ t('directory.path_label') }}: {{ c.workPath || t('common.not_configured') }}</span>
785-
<span class="session-meta-chip" :class="c.streamVerbose ? 'green' : 'muted'">{{ t('channels.stream_verbose') }}: {{ c.streamVerbose ? t('common.enabled') : t('common.disabled') }}</span>
786-
<span class="session-meta-chip" :class="c.autoApproveAllTools ? 'orange' : 'muted'">{{ t('settings.auto_approve_all') }}: {{ c.autoApproveAllTools ? t('common.enabled') : t('common.disabled') }}</span>
787-
<span class="session-meta-chip" :class="c.intentModel ? '' : 'muted'">{{ t('channels.intent_model') }}: {{ c.intentModel ? (modelOptions.find(m => m.id === c.intentModel)?.label || c.intentModel) : t('common.not_configured') }}</span>
782+
<span v-if="Array.isArray(c.notes) && c.notes.length" class="session-meta-chip">{{ t('common.note') }}: {{ c.notes.map(nid => noteOptions.find(n => n.id === nid)?.label || nid).join(', ') }}</span>
783+
<span v-if="Array.isArray((c as any).wikis) && (c as any).wikis.length" class="session-meta-chip">{{ t('common.wiki') }}: {{ (c as any).wikis.map((wid: string) => wikiOptions.find(w => w.id === wid)?.label || wid).join(', ') }}</span>
784+
<span v-if="c.memory" class="session-meta-chip">{{ t('channels.memory_label') }}: {{ memoryProfileOptions.find(m => m.id === c.memory)?.label || c.memory }}</span>
785+
<span v-if="c.agenda" class="session-meta-chip">{{ t('channels.agenda_label') }}: {{ agendaProfileOptions.find(a => a.id === c.agenda)?.label || c.agenda }}</span>
786+
<span v-if="c.workPath" class="session-meta-chip blue">{{ t('directory.path_label') }}: {{ c.workPath }}</span>
787+
<span v-if="c.streamVerbose" class="session-meta-chip green">{{ t('channels.stream_verbose') }}: {{ t('common.enabled') }}</span>
788+
<span v-if="c.autoApproveAllTools" class="session-meta-chip orange">{{ t('settings.auto_approve_all') }}: {{ t('common.enabled') }}</span>
789+
<span v-if="c.disableWorkspaceContext" class="session-meta-chip orange">{{ t('channels.workspace_context_off') }}</span>
790+
<span v-if="c.disableWorkspaceSkills" class="session-meta-chip orange">{{ t('channels.workspace_skills_off') }}</span>
791+
<span v-if="c.approvalTimeout != null && c.approvalTimeout > 0" class="session-meta-chip">{{ t('channels.approval_timeout') }}: {{ c.approvalTimeout }} / {{ c.approvalTimeoutValue === ApprovalTimeoutValue.Allow ? t('channels.approval_timeout_value_allow') : t('channels.approval_timeout_value_deny') }}</span>
792+
<span v-if="c.askTimeout != null && c.askTimeout > 0" class="session-meta-chip">{{ t('channels.ask_timeout') }}: {{ c.askTimeout }}</span>
793+
<span v-if="c.mergeWindow != null && c.mergeWindow > 0" class="session-meta-chip">{{ t('channels.merge_window') }}: {{ c.mergeWindow }}ms</span>
794+
<span v-if="c.intentModel" class="session-meta-chip">{{ t('channels.intent_model') }}: {{ modelOptions.find(m => m.id === c.intentModel)?.label || c.intentModel }}</span>
788795
<span v-if="c.tools !== undefined" class="session-meta-chip" :class="c.tools.length ? '' : 'orange'">{{ t('channels.tools') }}: {{ c.tools.length ? c.tools.map(n => plugins.find(p => p.type === c.type)?.tools?.find(t => t.name === n)?.label || n).join(', ') : t('channels.tools_blocked') }}</span>
789796
<span v-if="c.triggerTools !== undefined" class="session-meta-chip" :class="c.triggerTools.length ? '' : 'orange'">{{ t('channels.trigger_tools') }}: {{ c.triggerTools.length ? c.triggerTools.map(n => plugins.find(p => p.type === c.type)?.tools?.find(t => t.name === n)?.label || n).join(', ') : t('channels.tools_blocked') }}</span>
790797
</template>
@@ -1051,6 +1058,7 @@ async function refresh() {
10511058
<AgendaListModal ref="agendaListModal" />
10521059
<PathPickerModal
10531060
ref="pathPicker"
1061+
nested
10541062
:transport="pickerTransport"
10551063
:labels="pickerLabels"
10561064
@confirm="p => { if (editingSession) sessionForm.overrides.workPath = p; else form.workPath = p }"

‎packages/admin/src/views/chat/SessionProfilesView.vue‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ async function remove(p: ProfileRow) {
328328

329329
<PathPickerModal
330330
ref="pathPicker"
331+
nested
331332
:transport="pickerTransport"
332333
:labels="pickerLabels"
333334
@confirm="p => { form.overrides.workPath = p }"

‎packages/chat-ui/src/components/PathPickerModal.vue‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import { resolveLabels } from '../labels'
88
const props = defineProps<{
99
transport: IChatTransport
1010
labels?: ChatLabels
11+
/** 从抽屉/弹层中打开时设为 true,使用更高的 z-index 盖住宿主层 */
12+
nested?: boolean
1113
}>()
1214
1315
const L = computed(() => resolveLabels(props.labels))
@@ -156,6 +158,7 @@ defineExpose({ open })
156158
:title="L.selectDirTitle"
157159
width="480px"
158160
class="chatui-picker-modal"
161+
:nested="nested"
159162
>
160163
<template #toolbar>
161164
<SInput

‎packages/docs-site/guide/features.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- **Modular composition** — Models, memory, tools, channels, and skills are independent building blocks you mix and match to assemble agents
44
- **One-command deployment** — `npm install -g` or `docker run`, native cross-platform with no extra system dependencies
55
- **Full Web UI management** — All configuration done in the browser, no manual file editing required
6-
- **Multiple LLM providers** — OpenAI, Anthropic Claude, Google Gemini, Ollama, and any OpenAI-compatible API (Azure OpenAI, Groq, Mistral, DeepSeek, etc.); automatic retry with exponential backoff on transient failures
6+
- **Multiple LLM providers** — OpenAI, Anthropic Claude, Google Gemini, xAI Grok, Ollama, and any OpenAI-compatible API (Azure OpenAI, Groq, Mistral, DeepSeek, etc.); automatic retry with exponential backoff on transient failures
77
- **Multi-agent orchestration** — Single, ReAct (recursive task decomposition), and Generative (multimodal) modes; agents can be nested and composed
88
- **ACP agent support** — Agent Client Protocol integration with persistent and transient agent modes
99
- **Knowledge base** — Built-in wiki with hybrid keyword + semantic search, referenced by agents during conversations

‎packages/docs-site/zh/guide/agent-store.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Agent 商店让你从可配置的注册源浏览并一键安装预打包 Agent
1616

1717
安装好的 Agent 与手动创建的 Agent 完全等价 —— 你可以照常编辑、复制或删除。
1818

19-
## 添加自定义注册源
19+
## 注册源
2020

2121
侧栏 → **设置** → Agent 商店注册源
2222

‎packages/docs-site/zh/guide/features.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
- **模块化组合** —— 模型、记忆、工具、渠道、技能均为独立模块,可自由搭配组装 Agent
44
- **一条命令部署** —— `npm install -g` 或 `docker run`,跨平台原生运行,无额外系统依赖
55
- **全 Web UI 管理** —— 所有配置在浏览器中完成,无需手动编辑文件
6-
- **多 LLM 供应商** —— OpenAI、Anthropic Claude、Google Gemini、Ollama,以及任何 OpenAI 兼容接口(Azure OpenAI、Groq、Mistral、DeepSeek 等);网络抖动自动指数退避重试
6+
- **多 LLM 供应商** —— OpenAI、Anthropic Claude、Google Gemini、xAI Grok、Ollama,以及任何 OpenAI 兼容接口(Azure OpenAI、Groq、Mistral、DeepSeek 等);网络抖动自动指数退避重试
77
- **多 Agent 编排** —— Single、ReAct(递归任务分解)、Generative(多模态)三种模式,Agent 可嵌套组合
88
- **ACP Agent 支持** —— Agent Client Protocol 集成,支持持久化与临时两种 Agent 模式
99
- **知识库** —— 内置 Wiki,支持关键词与语义混合检索,Agent 对话中自动引用
10-
- **长期记忆** —— 基于向量 Embedding 的语义检索,持久化上下文召回(OpenAI、Google、Ollama、Cohere、VoyageAI)
10+
- **长期记忆** —— 基于向量 Embedding 的语义检索,持久化上下文召回(OpenAI、Gemini、Ollama、Cohere、VoyageAI)
1111
- **对话压缩** —— Token 用量超阈值时自动摘要早期消息,保持上下文连续性同时降低消耗
1212
- **记忆(Memory)** —— Agent 级自动长期记忆:会话空闲后由后台 MemoryLLM 提炼持久知识,主 Agent 通过 `search_memory` / `read_memory` 召回,并有 consolidate / reconcile 维护任务
1313
- **日程(Agenda)** —— 由对话驱动的提醒、日程与周期任务,支持 absolute / interval / cron 触发器;可每轮对话后从对话自动同步,并投递到任意会话或渠道

‎packages/docs-site/zh/guide/models.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626

2727
侧栏 → **向量模型** → 新建
2828

29-
向量模型是基于向量的功能([Notes](./note)、[Wiki](./wiki) 语义检索、[Memory](./memory) 混合检索)的前置依赖。支持:OpenAI、Google、Ollama、Cohere、VoyageAI。
29+
向量模型是基于向量的功能([Notes](./note)、[Wiki](./wiki) 语义检索、[Memory](./memory) 混合检索)的前置依赖。支持:OpenAI、Gemini、Ollama、Cohere、VoyageAI。

0 commit comments

Comments
 (0)