Skip to content

@openviking/react 0.2.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 05:11
4c4100c

en-US

Minor Changes

  • 609baba: Let FileBrowser hosts load experience metrics and override individual experience dashboard sections.

  • 704bec6: Add optional FileBrowser props for hosts to save and restore expanded folders independently of the selected resource.

    Hosts can also persist explicit collapses across mounts when home alias resolution is temporarily unavailable.

Patch Changes

  • 7a15a83: Make the AgentConnect full-instruction copy button more prominent and clarify its labels. Allow the instruction header and copy button to wrap in narrow containers regardless of component stylesheet import order. Unify rounded, theme-aware instruction cards, code blocks and tables, and keep a single table border even when only a header is present.

  • 9dd10ec: Consolidate compile help under one Console entry and document the model and schedule fields in --args.

  • 8a52885: Support session auto-creation, memory policies, context token budgets, and retained message counts in Console. Send structured message parts, creation timestamps, and batch JSON. Session write commands accept boolean or JSON object telemetry options and display the server's telemetry summary with a label in the current Console language.

  • 4c11e48: Console can restore read-only command history after a refresh in the same browser tab when the host provides a scoped commandHistoryKey.

  • 9f03f45: Add Compile create before Compile in the Console quick-start actions and fill in the command syntax for both. Clarify the compile configuration and directory parameters in the built-in help, and keep parameter descriptions readable in narrow popovers.

  • 989e6c7: Show the error message directly when a command fails. If the API error message is blank, show its error code.

  • 9f03f45: Keep Console command history in local storage for each configured library and user scope. The history menu and arrow-key recall restore the same submitted commands after a reload, including asynchronous resource imports.

  • 61a0546: Keep resource URIs with spaces clickable in Console result URI fields and quoted URI arguments. In plain text, Markdown code, and free-text command arguments, link each URI token separately.

  • 8a52885: Keep the Deleted badge on confirmed file deletions in the history and comparison picker. The file must exist in the first parent. Older servers can confirm deletion through snapshot diff. Compare with an earlier version to see the removed content. Missing snapshot content for a tracked file appears as a read error.

  • 8a52885: Disable dates outside the selected search range and reject reversed ranges entered by hand.

  • 442638c: Restore compile create as a separate Console entry before compile, split their guidance, and align creation parameters with the latest product copy.

  • 94b18d3: Switch retrieval modes at the top of the FileBrowser results area, including when the result count is zero. Switching modes retains the query and compatible filters.

  • 8a52885: Show the resource name on the preview tab immediately when opening a Wiki compilation or conflict dashboard.

  • c16c4cc: VikingBot now uses dedicated controls for Wiki and scheduled update questions, supports submitting the current session for memory extraction, and presents rename and delete in a menu on each history entry.

    Console can also show a Bot activation screen and open the conversation when a host confirms the current library's Bot is ready.

  • 704bec6: Return focus to the VikingBot session history button when a session dialog closes and focus would otherwise fall back to the page. The tooltip stays hidden after mouse dismissal and remains available on hover and keyboard focus.

  • 8a52885: Keep Wiki conflict highlights visible while any part of a highlighted block remains. Open the selected conflict in the editor, close conflict tooltips when scrolling or leaving the editor, and show a success notice after saving a Wiki file.

zh-CN

功能更新

  • 609baba: 支持 FileBrowser 宿主加载经验应用指标,并按区块覆盖经验看板的展示。

  • 704bec6: FileBrowser 增加可选属性,支持宿主独立保存和恢复目录展开状态与选中资源。

    主目录别名暂时无法解析时,宿主也可通过完整快照跨挂载保存手动折叠记录。

修复与改进

  • 7a15a83: 突出 AgentConnect 完整指令复制按钮并明确其文案,支持说明标题栏和复制按钮在窄容器内换行,不受组件样式引入顺序影响。统一说明卡片、代码块和表格的圆角及主题背景,仅有表头的表格也保持单层边框。

  • 9dd10ec: 将编译指引集中到终端的一个入口,并补充 --args 的模型与定时字段说明。

  • 8a52885: Console 支持自动创建会话、配置记忆策略、设置上下文 Token 预算和保留消息数,并支持发送结构化消息片段、指定创建时间和批量写入 JSON 消息。会话写入命令接受布尔值或 JSON 对象类型的遥测参数,并展示服务端返回的遥测摘要,标签随 Console 语言切换。

  • 4c11e48: 宿主提供按身份范围隔离的 commandHistoryKey 后,Console 可在同一浏览器标签页刷新时恢复只读命令历史。

  • 9f03f45: 在 Console 快速体验中将 compile create 放在 compile 前面,点击可填入对应的命令模板。补充终端帮助中的编译配置和目录参数说明,并避免窄浮窗将说明列挤得过窄。

  • 989e6c7: 命令执行失败时,结果正文直接展示错误消息。接口返回的错误消息为空时,展示错误码。

  • 9f03f45: 按配置的库和用户作用域在本地存储中保存 Console 命令历史。刷新后,历史菜单和方向键可回查同一份已提交的命令,包括异步资源导入命令。

  • 61a0546: 终端结果的 URI 字段和带引号的 URI 参数会为含空格的资源路径保留完整链接。普通文本、Markdown 代码和自由文本参数按 URI 逐项生成链接。

  • 8a52885: 确认文件删除的版本会在文件历史和对比下拉框中保留「已删除」标记。该路径在首父提交中必须是文件,旧版服务端也可以通过快照差异确认删除。与更早的版本对比可查看删除的内容。仍在快照中跟踪的文件如果缺失存储内容,则显示读取错误。

  • 8a52885: 置灰会导致范围倒序的日期,并阻止手动输入倒序范围。

  • 442638c: 恢复独立的 compile create 终端入口并放在 compile 前,拆分两条命令的指引,按最新产品文案补齐创建参数。

  • 94b18d3: 文件浏览器在结果区顶部提供检索方式切换入口,检索到 0 条结果时也会显示条数并支持切换。切换时保留输入词和新模式支持的筛选。

  • 8a52885: 点击 Wiki 编译或冲突图标时,预览标签立即显示文件名或目录名。

  • c16c4cc: VikingBot 为创建 Wiki 和配置定时更新提供专用澄清控件,支持提交当前会话以提取记忆,并在历史记录每一项的菜单中提供重命名和删除。

    Console 也可展示 Bot 启用页,并在宿主确认当前库的 Bot 就绪后打开对话。

  • 704bec6: VikingBot 会话操作弹窗关闭后,如果焦点落到页面主体,会将焦点恢复到历史会话按钮。用鼠标关闭弹窗时保持提示隐藏,鼠标悬停和键盘聚焦时仍会显示提示。

  • 8a52885: 编辑 Wiki 冲突时,高亮保留到整段内容被删除。点击冲突的铅笔会定位到该条冲突,滚动编辑器或焦点离开时收起冲突说明。Wiki 文件保存成功后,右上角显示成功提示。