Skip to content

v0.9.3

Latest

Choose a tag to compare

@r1n7aro r1n7aro released this 05 Nov 13:01

English

Added

  • Blender integration. Detect or add Blender installations in Settings > Integrations > Blender and install or update the add-on in one click. The Agent runs bpy code on the main thread of a running Blender through blender_execute and gets back printed output, the return value, and viewport images; the Python SDK adds locus.blender. The chat status bar shows the Blender connection, and background instances have a limit on how many run at once and an idle shutdown time.
  • Remote access from a phone (experimental, off by default). Turn it on in Settings > Connections > Remote Access and pair the Android app Locus Remote by scanning a QR code. From the phone you can browse sessions and live output, send messages, stop runs, answer questions, and read project files and knowledge documents. Phones connect over the LAN, directly over Tailscale, or through a tunnel to a local address. Paired devices can only view and chat by default; approving tool calls and changing content requires Full control.
  • New installer Windows x64 - with Locus Remote (Android), which bundles the matching Locus Remote app so a phone can download it from the computer while pairing.
  • Settings is reorganized into seven groups (Models, Agent, Workspace, Integrations, Interface, Connections, System) and can be searched. All settings are stored in one place, and older settings, including interface preferences, migrate automatically. Project settings are saved in the project's Locus/config.json and can be shared through the repository.
  • The Agent can read and change Locus settings through config_query and config_set. Changing settings and changing sensitive settings are controlled separately under Tool Permissions.
  • When the main model is Claude Code and Multi-Agent is on, delegation can use Claude Code's own Agent and SendMessage tools (requires Claude Code 2.1.312 or later). A one-line notice appears in the conversation when a background agent finishes, and tool confirmations from sub-agents appear in the current conversation with their source.
  • Each run of a native Claude subagent (its prompt, thinking, replies, tool calls, and full results) is recorded as a read-only child session of the conversation. Expand the conversation in the session list or click View run on the Agent card to open it; to give the subagent more instructions, have the main agent continue it with SendMessage. Agent cards of Claude Code built-in types show the model the subagent actually uses once it sends its first request.
  • With Multi-Agent on, agents get a send_message tool to message their parent, sub-agents, or sibling agents directly. The background tasks panel can stop all agents at once.
  • Subagent models can be multi-selected. The delegating agent picks one per task; the first is the default.
  • LaTeX preview. .tex files can be previewed next to the editor and recompile after edits only while the preview is visible; a failed build keeps the last successful result. The toolchain is detected from PATH and the default MiKTeX and TeX Live install locations; documents fall back to PDF when dvisvgm is missing or the document needs it.
  • File previews show FBX and GLB models with grid, wireframe, and clay display, play animation clips, and list mesh, triangle, and bone counts and the model size.
  • PDF files open in the workspace file editor, including PDFs inside Unity project folders, instead of the asset inspector.
  • Images in chat and Markdown open in a lightbox where you can zoom, fit to the window, or view the original size.
  • The message context menu adds Copy as image, which copies the message as rendered to the clipboard as a PNG.
  • The folder for pasted images can be set in the project settings or chosen per document in the editor; documents reference the images by relative path.
  • When adding a workspace, choose Auto, Lazy, or Off for Unity and for Blender. A new global Enable Unity switch stops connecting to the Unity Editor, scanning assets, and offering Unity tools when turned off.
  • Files and folders can be dragged from the system file manager into the workspace explorer to import them; Locus asks before overwriting a file with the same name.
  • After selecting text in a document, Quote in new conversation opens a new session that quotes it. The editor tab context menu adds Reveal in Workspace and Open in File Browser.
  • unity_execute adds a timeout parameter (10 minutes by default, up to 1 hour). Runtime exceptions in snippets show line numbers within the snippet, and a snippet that is a single expression returns its value.
  • unity_code_usages finds [SerializeReference] instances (including overrides on prefab instances, variants, and nested prefabs) and serialized values of plain [Serializable] types. code_diagnostics checks that the types recorded by [SerializeReference] still exist.
  • Merging several selected commits applies them in order, like a series of cherry-picks, and a whole branch can be merged as one squash. change_summary() summarizes changes per file, deleting an object is a single decision, and merged scenes are written in Unity's own fileID order.

Fixed

  • With many session tabs open, each editor group keeps only the 6 most recent sessions loaded by default (adjustable in Settings), and hidden sessions and previews stop rendering updates. Long sessions load the latest 120 messages first and earlier messages on demand.
  • The thinking indicator, running session titles, and tab animations run on the compositor only and no longer repaint the whole window.
  • Unity connection, code analysis, knowledge indexing, asset scanning, background tasks, and Claude connection status are pushed by the backend instead of polled on a timer.
  • Any window can act as the primary window. Locus exits or minimizes to the tray only when the last window closes, and pop-out windows close with the window that opened them.
  • The workspace layout tree and file order are stored in the Locus data directory instead of the project's Locus/workspace-trees and Locus/workspace-file-order.json. Existing data is imported automatically.
  • Moving a PDF tab after its preview data expired reads the PDF again instead of failing to load it.
  • Workspaces outside a Git repository no longer show the worktree picker.
  • Long commands (over about 8 KB) run through sh on Windows are no longer cut off.
  • After Claude Code compacts the context natively, Locus appends the user's own messages, the task list, and excerpts of files read through Locus tools to the summary.
  • File paths in streaming replies become clickable references while the reply is still streaming. Selections inside Markdown table cells display correctly.
  • Tracebacks from the python tool show line numbers that match the submitted code.
  • Unity YAML with empty-string keys (such as plugin .meta files) can be parsed, edited, and merged. Large scenes are handed to the Editor through staged files in the project's Library, so they are no longer limited by the connection's request size.
  • The Unity native plugin is renamed to locus_unity_native.dll and shares a new native communication layer with Blender; the old locus_native.dll is removed automatically on update.
  • Find-in-document highlights are easier to see, and the current match uses a darker color.

Removed

  • The Settings > Experimental page is removed and its options moved to the relevant pages. Async tasks no longer need a switch: bash, unity_test_run, and task can always run in the background.

中文

新增

  • 新增 Blender 集成。在“设置 > 集成 > Blender”中检测或手动添加 Blender,并一键安装或更新插件。Agent 通过 blender_execute 在正在运行的 Blender 主线程上执行 bpy 代码,返回打印输出、返回值和视图截图;Python SDK 新增 locus.blender。对话状态栏显示 Blender 连接状态;后台实例可以设置同时运行的上限和空闲关闭时间。
  • 新增手机远程访问(实验性,默认关闭)。在“设置 > 连接 > 远程访问”中开启后,用 Android 版 Locus Remote 扫码配对,就可以在手机上浏览会话和实时输出、发送消息、停止运行、回答提问,并阅读项目文件和知识文档。连接方式支持局域网、Tailscale 直连和本机地址隧道转发。设备默认只能查看和对话,开启“完全控制”后才能批准工具调用和修改内容。
  • 新增安装包“Windows x64 - with Locus Remote (Android)”,内置与当前版本一致的 Locus Remote。手机配对时可以直接从电脑下载 App。
  • 设置页重新整理为模型、Agent、工作区、集成、界面、连接、系统七个分组,可以搜索设置项。所有设置统一保存,旧版设置(包括界面偏好)会自动迁移。项目级设置保存在项目的 Locus/config.json 中,可以随仓库共享。
  • Agent 可以通过 config_query 和 config_set 读取和修改 Locus 设置。“修改设置”和“修改敏感设置”分别在“工具权限”中控制。
  • 主模型为 Claude Code 并开启 Multi-Agent 时,可以改用 Claude Code 自带的 Agent 和 SendMessage 委派(需要 Claude Code 2.1.312 或更高版本)。后台 Agent 结束时,对话中会显示一行提示;子 Agent 的工具确认显示在当前对话里,并标注来源。
  • Claude 原生子 Agent 的工作过程(每次运行的 prompt、思考、回复、工具调用和完整结果)会记录为主对话下的只读子会话,可以在会话列表中展开主对话,或点击 Agent 卡片上的“查看过程”打开;需要补充指示时,让主 Agent 用 SendMessage 继续它。Claude Code 内置类型的 Agent 卡片会在子 Agent 发出第一次请求后显示它实际使用的模型。
  • 开启 Multi-Agent 后,Agent 多了 send_message 工具,可以直接给父 Agent、子 Agent 或同级 Agent 发消息。后台任务面板可以一次停止全部 Agent。
  • 子代理模型可以多选。委派时 Agent 按任务从中选择,第一个为默认。
  • 新增 LaTeX 预览。.tex 文件可以在编辑器旁预览,修改后只在预览可见时重新编译;编译失败时保留上一次成功的结果。工具链从 PATH 以及 MiKTeX、TeX Live 的默认安装目录检测;缺少 dvisvgm 或文档需要时改用 PDF 显示。
  • 文件预览可以查看 FBX 和 GLB 模型,支持网格、线框和白模显示,可以播放动画片段,并显示网格、三角面、骨骼数量和尺寸。
  • PDF 文件在工作区文件编辑器中打开,Unity 项目文件夹里的 PDF 也一样,不再进入资产检查器。
  • 聊天和 Markdown 中的图片点击后在大图中打开,可以缩放、适应窗口或查看原始大小。
  • 消息右键菜单新增“复制为图片”,按界面渲染效果复制为 PNG。
  • 粘贴图片的保存位置可以在项目设置中指定,也可以在编辑器中为某个文档单独选择,文档里用相对路径引用。
  • 添加工作区时,可以分别为 Unity 和 Blender 选择“自动 / 按需 / 关闭”。新增全局“启用 Unity”开关,关闭后不连接 Unity Editor、不扫描资源,也不提供 Unity 工具。
  • 可以把系统文件管理器里的文件和文件夹拖进工作区资源管理器导入,遇到同名文件会先询问是否覆盖。
  • 在文档中选中文字后,可以“打开新会话并引用”。编辑器标签页的右键菜单新增“在工作区中定位”和“在文件浏览器中打开”。
  • unity_execute 新增 timeout 参数(默认 10 分钟,最长 1 小时)。代码片段的运行时异常会显示片段内的行号;整个片段只有一个表达式时,直接返回它的值。
  • unity_code_usages 可以查到 [SerializeReference] 实例(包括预制体实例、变体和嵌套预制体上的覆盖)和普通 [Serializable] 类型的序列化值。code_diagnostics 会检查 [SerializeReference] 记录的类型是否还存在。
  • 合并时选择的多个提交按顺序应用,效果类似连续 cherry-pick;支持把整条分支合并为一次(squash)。change_summary() 按文件汇总变更。删除一个对象只需要做一次决定。合并后的场景按 Unity 自己的 fileID 顺序写入。

修复

  • 打开多个会话标签页时,每个编辑器组默认只保持最近 6 个会话加载(可以在设置中调整),隐藏的会话和预览不再渲染更新。很长的会话先加载最近 120 条消息,更早的消息按需加载。
  • 思考提示、运行中的会话标题和标签页动画只在合成层播放,不再让整个窗口重绘。
  • Unity 连接、代码分析、知识库索引、资源扫描、后台任务和 Claude 连接状态改为由后端推送,不再定时轮询。
  • 任何窗口都可以作为主窗口。只有关闭最后一个窗口时才会退出或最小化到托盘;弹出窗口跟随打开它的窗口一起关闭。
  • 工作区布局树和文件排序改为保存在 Locus 数据目录中,不再写入项目的 Locus/workspace-trees 和 Locus/workspace-file-order.json。已有数据会自动导入。
  • 移动标签页后,预览数据已经过期的 PDF 会重新读取,不再加载失败。
  • 不在 Git 仓库里的工作区不再显示 worktree 选择器。
  • 在 Windows 上通过 sh 运行的长命令(超过约 8 KB)不再被截断。
  • Claude Code 原生压缩上下文后,Locus 会在摘要后补上用户自己的消息、任务列表和通过 Locus 工具读过的文件摘录。
  • 流式回复中的文件路径在输出过程中就能识别为可点击的引用。Markdown 表格单元格里的选区可以正常显示。
  • python 工具报错时,回溯里的行号对应提交的代码。
  • 可以解析、编辑和合并包含空字符串键的 Unity YAML(例如插件的 .meta 文件)。写入大场景时,内容通过项目 Library 中的暂存文件交给 Editor,不再受连接请求大小限制。
  • Unity 原生插件改名为 locus_unity_native.dll,和 Blender 共用新的原生通信层;更新时会自动移除旧的 locus_native.dll。
  • 文档内查找的匹配高亮更清晰,当前匹配使用更深的颜色。

移除

  • 移除“设置 > 实验性”页面,其中的选项移到了对应的页面。“异步任务”不再需要开关,bash、unity_test_run、task 始终可以在后台运行。