Repository navigation
@openviking/react 0.4.0
en-US
Minor Changes
-
8d5ca19: AgentConnect now uses the language set by
initI18nfor both interface text and the catalog. Remove thelocaleprop and initialize the library language at the app entry instead. -
8d5ca19: Components and modules use their own i18next instance with the
openviking-uinamespace and default to Chinese. ImportinitI18nandgetI18nfrom@openviking/react/i18n. Uselabelsfor individual copy overrides. Existinglocaleprops affect formatting and layout only. Open views update when new translations arrive.Load an Arco Design stylesheet at the application entry. React 19 hosts must also load the Arco React 19 adapter. See the package README for the migration steps.
-
8d5ca19: Use Arco Design Tooltip throughout the React package. Install
@arco-design/web-react@2.66.15in the host and load Arco's default stylesheet or the host's Arco theme once at the application entry.
Patch Changes
-
8d5ca19: Load the Agent Connect catalog, icons and guides from the official OpenViking docs. Use the bundled catalog in the current language if the initial request fails at the network level or times out before receiving a response. Offer a retry for HTTP errors and invalid catalogs. Hosts with a Content Security Policy should allow
https://docs.openviking.netinconnect-srcandimg-src.Add Qoder and CodeBuddy with one-click instructions for personal and team onboarding. The catalog also provides the installer command template and each agent's
--harnessvalue. -
8d5ca19: Show the restore-inheritance confirmation as a compact dialog with a scrollable list that shows affected grants and their permission changes. Show the stop-inheritance confirmation in the same dialog and update the authorization list avatars and layout.
-
8d5ca19: Keep fixed Wiki conflict cards compact and open repair summaries, including the resolver when available, in a popover.
Use the same user and system avatars as the compile task table. -
8d5ca19: URI popovers open on hover only; focus and restored focus leave them closed. When several source directories are selected, hover over the
+Nbadge to see the list.Match compact progress badges and prevent the selected-source button from covering the dropdown's bottom border.
Match the selector hover border.Align Bot daily report and Wiki creation with the console flow: context-aware step titles, source summaries, and validated Skill suggestions. Keep recommended save locations on the card and open a directory picker for a custom location, with write checks before advancing. Keep additional instructions before scheduling and preserve answers when returning to a previous step. Match the console's shortcut spacing, tooltip appearance, Chinese descriptions and card spacing, and omit redundant source-picker help. Leave sources unselected when no directory is attached, and show removable tags for selected source paths.
Hide the built-in compile shortcuts while the Bot generates a reply.
Allow hosts to render the selected source directory with their own tag component.
In the custom save location picker, select a writable parent to create and select a subdirectory.
-
8d5ca19: Let Console adapters resume a running conversation and replace a partial reply with the recovered history. Support host-provided commands and let hosts guard dashboard tab switches or supply editing for a specific system file.
-
8d5ca19: Show a single hover hint for file tree rows with an information popover.
-
8d5ca19: Match the background behind sticky dashboard icons to the highlighted directory rows during the directory selection guide.
-
8d5ca19: Share the directory selection guide artwork, content and animated tree highlight across hosts. Add a Console shortcut notification callback that preserves built-in draft filling.
Fit the highlight to the rendered directory rows and add a 200ms fade-in with a subtle 4px lift when the guide becomes visible, respecting reduced-motion preferences.
Align the selection guide card to the highlight's top and use the shared neutral SVG close icon.
-
8d5ca19: Apply the configured width to the trajectory details dialog and keep the document pane readable as the viewport narrows.
-
8d5ca19: File Browser accepts
openResource(uri, { view: 'dashboard' })to open a resource dashboard from a host link. Resources without a dashboard still open in the file preview. -
8d5ca19: Allow FileBrowser hosts to render a footer below the scrollable directory tree. The footer follows the width of the tree pane.
-
8d5ca19: Keep file tree indentation guides visible on hovered rows as they are on selected rows.
-
8d5ca19: Keep file names and pinned row actions highlighted together when the pointer moves quickly between file tree rows.
-
8d5ca19: Restore the arrow pointing to the directory row in file tree information popovers.
-
8d5ca19: Keep the time filter's radio outlines continuous in the file search advanced options.
-
8d5ca19: Keep file drafts when the server content has changed or a dashboard navigation is cancelled. Exclude chat inputs with unconfirmed delivery from automatic replay.
-
8d5ca19: Use an upper-right close button for image previews, including video frames and images in Markdown. Navigate between sibling files and extracted frames using the overlay arrows or the keyboard.
-
8d5ca19: Preview imported SVG images whose stored filename has a raster image extension.
-
8d5ca19: Restore syntax highlighting in the formatted JSON preview while preserving line numbers and folding.
-
8d5ca19: When the browser tab becomes visible again, refresh directory listings only if the last completed request was more than 30 minutes ago. Manual refresh remains available at any time.
-
8d5ca19: Show a retry button when the Agent Connect catalog returns an HTTP error or invalid data. Transport errors and timeouts still use the bundled catalog in the active language.
-
8d5ca19: Add terminal commands for native privacy field metadata and content scanning. Scans are read-only unless explicitly run with
--fix. -
8d5ca19: TaskNoticeCenter can poll host-discovered tasks across page navigation. Hosts can share a display key across equivalent notifications and hide the resource URI in the body while keeping the result action available.
-
8d5ca19: VikingBot and its composer can use the host's tooltip component for shortcut descriptions via
renderQuickInputTooltip. -
8d5ca19: Center shared icon buttons, attach copy hint arrows to their popovers, and restore single dialog headings and compact Wiki severity filters. Keep preview controls visible when switching between inline Markdown summaries and use a single background highlight for keyboard focus on the summary tabs.
-
8d5ca19: Restore file preview toolbar icon alignment and menu spacing, summary tab alignment and file tree information cards after the Arco migration. Apply colors and borders to the rendered popup surfaces in search, permissions and session history.
-
8d5ca19: Restore the history dialog width and label the raw content view Source.
-
8d5ca19: Restore pending compile cards when a chat integration confirms the last historical reply completed normally.
-
8d5ca19: Restore the file browser's accented toolbar actions, visible panel divider, and single-row search dialog. Load the bundled monochrome AgentConnect logos reliably on each host.
-
8d5ca19: Preserve FileBrowser home-alias lookup errors and honor cancellation and timeouts even while host identity resolution is pending. Keep Console task polling scoped to the hosts that still list a task. Keep keyboard focus on visible task notification controls and use the host theme for the history overlay. Let users confirm a retry of an unacknowledged VikingBot memory extraction, after checking for an existing task.
-
8d5ca19: Make the session transcript preview fill the file preview pane, even when it contains only a short message.
-
8d5ca19: - Render processed videos with the transcript and extracted-frame tabs from the first frame of the preview, and keep the expand control readable in both themes.
- Fall back to native video controls when the lookup for transcript and extracted frames times out.
- Keep the loading indicator in place until the downloaded video can display its first frame, then show the player and available tabs together.
-
8d5ca19: Use an opaque theme surface for task notifications and a secondary surface for collapsed rear cards. Keep each rear layer's shadow outside its clipping window.
Space expanded task notification cards 10px apart and exclude collapsed footer margins from measured layer heights.
Render expanded shadows behind all card surfaces so they do not tint neighboring cards. Use the standard secondary button variant for non-primary notification actions.
Remove reserved footer space from every expanded card and align each close button with its title.
Dim the underlying Bot conversation with a theme surface veil and soften the expanded scroll area's edges so shadows fade smoothly.
-
8d5ca19: Hosts can preserve command history when users start a new terminal session. The command console identifies unfilled argument placeholders. FileBrowser can reveal the initial URI and reload a single directory, and switching summary levels keeps the selected view. Directory popovers point to their row, and disabled VikingBot buttons show a disabled hover cursor.
-
8d5ca19: Show the VikingBot attachment tooltip as a bordered surface with an arrow that follows its placement.
-
8d5ca19: Use the same bordered tooltip with an arrow for the VikingBot Add resource and Reference file or directory buttons.
-
8d5ca19: Use the same bordered tooltip with an arrow for VikingBot quick inputs, session controls, and other hover hints.
-
8d5ca19: Center the send arrow in the circular VikingBot button. Show the Wiki dashboard icon in teal when there are no pending conflicts.
-
8d5ca19: Allow Wiki Dashboard hosts to provide expanded conflict details while retaining the built-in conflict list and actions.
zh-CN
功能更新
-
8d5ca19: AgentConnect 的界面文案和目录统一跟随
initI18n设置的语言。请移除locale属性,改在应用入口初始化组件库语言。 -
8d5ca19: 组件与区块使用独立的 i18next 实例和
openviking-ui命名空间,默认中文。从@openviking/react/i18n导入initI18n和getI18n。通过labels覆盖单条文案。现有locale仅用于格式和布局。已打开的视图会在收到新词条后更新。宿主需在应用入口加载 Arco Design 样式,React 19 宿主还需加载 Arco React 19 适配器。接入步骤见包 README。
-
8d5ca19: React 组件库统一使用 Arco Design Tooltip。宿主需要安装
@arco-design/web-react@2.66.15,并在应用入口加载一次 Arco 默认样式或宿主的 Arco 主题。
修复与改进
-
8d5ca19: 从 OpenViking 官方文档站加载 Agent Connect 目录、图标和接入说明。首次请求在收到响应前遇到网络错误或超时,使用随包发布的同语言目录;遇到 HTTP 错误或无效目录时显示重试入口。启用内容安全策略的宿主需在
connect-src和img-src中允许https://docs.openviking.net。新增 Qoder 和 CodeBuddy,支持一键复制个人版或团队版的完整接入指令。目录也配置安装命令模板和各 Agent 的
--harness参数。 -
8d5ca19: 恢复继承权限时使用紧凑的确认弹窗,列表展示受影响的直接授权及权限变化,并支持滚动。停止继承时直接在当前弹窗确认,同时调整授权列表头像和布局。
-
8d5ca19: 已修复的 Wiki 冲突以精简卡片展示,修复总结和修复人在浮层中查看。
修复人复用编译任务列表的普通用户和系统头像。 -
8d5ca19: 路径气泡仅在鼠标悬停时显示,聚焦或弹窗关闭后的焦点恢复不会触发气泡。选择多个源目录后,悬停在
+N上可查看列表。序号使用控制台的紧凑样式,修复已选来源按钮遮住下拉框底边的问题。
选择框的 hover 边框对齐控制台。同步 Bot 日报和 Wiki 创建流程:按入口显示步骤标题,精简来源目录展示,校验推荐 Skill。保存目录在卡片上展示推荐路径,点击自定义位置打开目录选择弹窗,继续前校验写入权限。补充要求先于定时配置,回退步骤时保留已选内容。快捷入口的间距、气泡样式、中文提示和配置卡片间距对齐控制台,来源选择器不重复展示接口说明。未提供源目录时默认留空,选中后展示可移除的路径标签。
Bot 生成回复时隐藏内置编译快捷入口。
宿主可以用自己的标签组件展示已选源目录。
自定义保存目录时,选中有写入权限的父目录后,可以新建并选择子目录。
-
8d5ca19: 支持 Console 的宿主适配器订阅运行中的会话,并用回读的历史替换断线留下的残缺回复。宿主可接入自己的终端命令、确认看板切换,以及为指定系统文件提供编辑。
-
8d5ca19: 文件树行已有说明浮层时,悬停只显示一份提示。
-
8d5ca19: 目录选择引导显示时,目录树末端的固定看板图标使用与高亮行一致的底色。
-
8d5ca19: 跨宿主共享目录选择引导的图片、内容和目录树高亮动画。为 Console 快捷入口增加通知回调,并保留内置的草稿填充行为。
高亮区域与实际渲染的目录行保持一致。引导显示时增加 200ms 渐入及 4px 轻微上移效果,并适配减少动态效果偏好。
目录选择引导卡片与高亮区域顶部对齐,并使用共享的中性 SVG 关闭图标。
-
8d5ca19: 让轨迹详情弹窗应用设定的宽度,并在视口变窄时为轨迹正文保留足够空间。
-
8d5ca19: 文件浏览器支持通过
openResource(uri, { view: 'dashboard' })从宿主链接打开资源看板。没有看板的资源仍打开普通预览。 -
8d5ca19: FileBrowser 支持在目录树滚动区下方传入页脚内容,页脚宽度随目录树面板调整。
-
8d5ca19: 文件树悬停行与选中行一样保留清晰的缩进引导线。
-
8d5ca19: 鼠标快速划过文件树时,文件名与固定在行尾的操作图标同步高亮。
-
8d5ca19: 恢复文件树目录说明浮层指向对应目录行的箭头。
-
8d5ca19: 修复文件搜索高级选项中时间单选框的描边显示。
-
8d5ca19: 服务端正文变化或取消离开看板时保留文件草稿。送达结果不明的对话输入不再随下一条消息自动补发。
-
8d5ca19: 图片预览改用右上角关闭按钮,适用于普通图片、视频抽帧和 Markdown 内嵌图片。同目录图片和同一段视频的抽帧支持用遮罩层箭头或键盘切换。
-
8d5ca19: 支持预览以位图扩展名保存的导入 SVG 图片。
-
8d5ca19: 恢复格式化 JSON 预览的语法高亮,保留行号和折叠功能。
-
8d5ca19: 切回浏览器标签页时,仅在目录列表上次请求完成已超过 30 分钟时自动刷新。手动刷新随时可用。
-
8d5ca19: Agent Connect 目录返回 HTTP 错误或数据无效时显示重试按钮。网络错误或超时仍使用当前语言的内置目录。
-
8d5ca19: 终端支持通过原生接口查询隐私字段元数据并扫描文件内容。扫描默认只读,显式使用
--fix才修复命中项。 -
8d5ca19: TaskNoticeCenter 支持跨页面轮询宿主发现的任务。宿主可以让同一任务的通知共用展示标识,也可以隐藏正文中的产物 URI 并保留查看结果的操作。
-
8d5ca19: VikingBot 和输入区可通过
renderQuickInputTooltip接入宿主的气泡组件,展示快捷入口说明。 -
8d5ca19: 修复共享图标按钮对齐、复制提示箭头与浮层脱离,弹窗标题重复和 Wiki 严重程度筛选的布局。切换 Markdown 摘要与概览时保留预览工具栏,标签的键盘焦点统一用底色提示。
-
8d5ca19: 修复迁移到 Arco 后的文件预览工具栏图标居中、菜单间距、摘要页签对齐和目录树说明卡样式,并恢复搜索、权限和会话历史弹层的配色与边框。
-
8d5ca19: 恢复历史版本弹窗宽度,并将原始内容视图命名为「源码」。
-
8d5ca19: 聊天接入方确认历史中的最后一轮回复正常结束后,恢复待答的编译卡片。
-
8d5ca19: 恢复文件浏览的主色工具栏按钮、可见的分栏线和单行搜索弹窗。Agent 接入使用包内的单色图标,确保不同宿主都能显示。
-
8d5ca19: 保留 FileBrowser home 别名查询的错误。即使宿主身份仍在解析,导航也能及时取消或返回超时错误。Console 只在仍有宿主登记任务时保留其轮询。任务通知的键盘焦点只进入可见控件,历史蒙层跟随宿主主题。VikingBot 记忆抽取请求结果未确认时,先检查已有任务,再允许用户确认重试。
-
8d5ca19: 让会话记录预览铺满文件预览区域,即使会话中只有一条短消息。
-
8d5ca19: - 处理后的视频从首次渲染起就显示转录文稿和抽帧图片页签,并让全屏按钮在浅色和深色主题下都清晰可见。
- 转录文稿和抽帧图片的目录查询超时后,使用原生播放器控件继续预览。
- 下载视频后的首帧解码期间保持加载提示的位置,首帧可用后一起显示播放器和可用页签。
-
8d5ca19: 任务通知使用不透明的主题底色,折叠后的后层卡片使用次级底色。将后层投影放在裁切窗口外,完整显示堆叠投影。
展开后的任务通知卡片间距统一为 10px,修正层高计算包含底栏留白导致前几张卡片间距偏大的问题。
展开后将所有投影置于卡片底面后方,避免投影覆盖相邻卡片。通知中的次要操作统一使用标准次级按钮样式。
展开后移除所有卡片的底栏占位,关闭按钮与标题对齐。
展开时用主题蒙层淡化下方 Bot 对话,滚动区域边缘渐隐,让投影平滑过渡。
-
8d5ca19: 宿主可以在用户新建终端会话时保留命令历史。命令控制台会提示替换未填写的参数占位符。FileBrowser 支持定位初始 URI 和单独刷新目录。切换摘要层级时保留选中的视图。目录浮层指向对应行,VikingBot 的禁用按钮悬停时显示禁用光标。
-
8d5ca19: 为 VikingBot 的附件提示加上细边框和随浮层位置翻转的箭头。
-
8d5ca19: VikingBot 输入区的「添加资源」和「引用文件或目录」统一使用带细边框和箭头的提示。
-
8d5ca19: VikingBot 的快捷操作、会话控件等悬停提示统一使用带细边框和箭头的样式。
-
8d5ca19: 将 VikingBot 发送箭头居中显示在圆形按钮内。Wiki 看板没有待确认冲突时,将目录中的看板图标显示为青色。
-
8d5ca19: Wiki 看板支持由宿主提供冲突展开详情,同时复用内置的冲突列表和操作。