Skip to content

Releases: wangyuahn/nori-code

Nori Work v1.0.0

Choose a tag to compare

@wangyuahn wangyuahn released this 24 Jul 05:17

Nori Work v1.0.0 is the first stable release of the Nori Code and Nori Work workspace.

Highlights

  • Refreshed Nori Work conversation workspace with responsive desktop controls and persistent tool panels.
  • Provider management, custom model IDs, model/provider display, API-key controls, and model selection improvements.
  • Multi-tab files, changes, browser, Git, LSP, and independent terminal tools.
  • Correct real-time work-process rendering: normal output stays normal, reasoning is independently collapsible, and completed tool calls remain visible.
  • Structured Goal and Todo presentation plus restored conversation-round navigation.
  • Local server lifecycle and version isolation fixes to avoid stale or incompatible bundled servers.
  • Full replacement Windows upgrades: old application files are removed while user data is preserved.

Downloads

  • Nori-Work-1.0.0-x64.exe: Windows x64 desktop installer.
  • kimi-code-win32-x64.zip: Windows x64 standalone CLI executable.
  • latest.yml and .blockmap: desktop update metadata.

Nori Work v1.0.0-pre.5

Pre-release

Choose a tag to compare

@wangyuahn wangyuahn released this 22 Jul 07:51

Highlights

  • Nori Work now uses the dedicated Nori server port 58771, avoiding collisions with upstream Kimi Code on 58627.
  • Health checks now identify the serving product before lock takeover, shutdown, or PID signaling, protecting unrelated processes from stale Windows locks.
  • Desktop startup replaces unhealthy same-version daemons and cleans up partial child processes after launcher timeouts.
  • Provider media errors recover with model-visible placeholders instead of permanently breaking the conversation.
  • Empty or malformed Browser screenshots return actionable tool errors rather than invalid image payloads.

Reliability fixes

  • Authenticated REST traffic now renews the daemon activity lease while WebSocket connections recover.
  • Long-polling Browser requests are force-closed during shutdown, and shutdown has a bounded deadline.
  • Startup health waits are bounded and emit useful diagnostics instead of leaving detached, wedged daemons.

Verification

  • 274 affected behavior tests passed; 23 environment-dependent tests were skipped.
  • Full workspace typecheck passed.
  • Type-aware lint on all 48 changed source/test files completed with 0 errors.
  • Windows Web assets, native SEA backend, Electron app, NSIS installer, blockmap, and updater metadata were rebuilt from source.

Windows download

Download Nori-Work-1.0.0-pre.5-x64.exe.

SHA256: 5F2C5A21E2712DDCDBE7DE427DCF39034E23CA438F27F2A7C74F0F5024212803

The Windows installer is currently unsigned and may show a Microsoft Defender SmartScreen warning.

Full diff: v1.0.0-pre.4...v1.0.0-pre.5

Nori Work v1.0.0-pre.4

Pre-release

Choose a tag to compare

@wangyuahn wangyuahn released this 19 Jul 09:15

Changes since v1.0.0-pre.3

Fixed

  • Fixed Nori Work startup failures where a stale or incompatible daemon caused server already running and left the desktop unusable.
  • Reuse a healthy daemon only when its Nori Code version matches the desktop and required desktop routes are available.
  • Replace older or unknown-version daemons with the bundled current version.
  • Discard unhealthy stale locks without signaling recycled Windows PIDs.
  • Bind replacement to the complete lock owner and re-check it after graceful shutdown and again before forced termination, preventing a concurrent replacement process from being killed.
  • Recover concurrent desktop/CLI startup races by connecting to the healthy winner.
  • Classify server already running only from the current launch output, so historical log lines cannot trigger the wrong recovery path.
  • Include exit metadata and the current server.log tail when a bundled server exits with empty stdout/stderr.
  • Detect image MIME from payload bytes instead of trusting incorrect browser metadata.
  • Repair historical image data URLs before provider dispatch; invalid pseudo-images become a model-visible omission notice instead of breaking the conversation.
  • Support PNG, JPEG, GIF, WebP, BMP, TIFF, ICO, HEIC, HEIF, AVIF, and validated SVG uploads.
  • Make clean desktop builds compile and stage Web assets explicitly, preventing stale dist-web output from entering an installer.

Verification

  • 189 focused tests passed across CLI server lifecycle, Desktop startup, Web image handling, Agent Core normalization, and native Web asset collection.
  • TypeScript checks passed for Nori Code, Nori Work, Nori Web, and Agent Core.
  • Changed-file lint completed with 0 errors.
  • Rebuilt from deleted Desktop/Web/SEA output directories.
  • Native SEA smoke passed, including version/help/export/native-asset checks.
  • Packaged SEA and staged Web assets match their source build hashes.

Nori Work v1.0.0-pre.3

Pre-release

Choose a tag to compare

@wangyuahn wangyuahn released this 18 Jul 07:49

Nori Work v1.0.0-pre.3

预发布版本,基于 v1.0.0-pre.2。

🔴 关键修复:stale server lock(Windows)

问题:Nori Work 在 Windows 上可能反复报 server already running (pid=XXXX, port=58627) 然后退出,即使没有其他 Nori 实例在运行。

原因:Windows 会回收已退出进程的 PID。旧锁文件记录的 PID 恰好被分配给了一个新进程(但完全不是 Nori server),pidAlive() 探测返回 true,误判为锁仍被占用。

修复:新增 acquireLockSafe 锁获取函数,在 PID 探测之后额外通过 TCP 端口连接验证 —— 端口不通则判定锁过期,直接接管。同时 CLI daemon 和 desktop launcher 在健康检查失败后主动清理 stale lock。

如果你正在使用旧版 Nori Work 且遇到此问题,临时解决方法是手动删除锁文件:

rm ~/.nori-code/server/lock

然后重新启动 Nori Work 即可。

其他修复

  • Desktop 启动前预创建 server.log,首次失败时可定位日志
  • 记录 server stderr、退出码、signal 到 server.log
  • 替换不健康的同版本 daemon
  • SEA 按需提取原生模块,避免 30 秒超时
  • 代码预览选区不丢失、复制按钮可点击
  • Rewind 文本在窗口重获焦点后可编辑

安装包

  • Nori-Work-1.0.0-pre.3-x64.exe(Windows x64,116 MB,unsigned)

验证

  • Lock 模块:18/18 通过
  • Desktop:14/14 通过
  • Web:129/129 通过
  • 全 workspace typecheck:5 个包通过

Nori Work v1.0.0-pre.2

Pre-release

Choose a tag to compare

@wangyuahn wangyuahn released this 17 Jul 11:38

v1.0.0-pre.2 预发布说明

这是预发布版本,不是正式稳定版,也不会标记为 latest。变更基于 v1.0.0-pre.1。

新增功能

  • 自定义 Agent 可独立指定模型,未指定时继续继承父 Agent 模型;配置会立即同步到已打开会话。
  • 聊天、文件预览、知识库、审批和 Agent 输出统一支持本地 KaTeX 行内/块级数学公式渲染。
  • Windows 原生包完整内置 Pyright,并通过 Electron Node runtime 启动打包后的语言服务器。

修复问题

  • 修复 Plan/执行模式切换需要等待数秒的问题,界面立即更新并后台保存。
  • 修复已有会话无法调用新建自定义 Agent,以及手动终止 Agent 后协作入口仍保持黄色的问题。
  • 修复 Swarm Agent 与普通后台 Agent 重复计数、协作面板身份/输出投影不完整的问题。
  • 修复子 Agent 的下级 Agent 完成后,父节点仍停留在“等待中”而未恢复“运行中”的问题。
  • 修复快速流式 Markdown 更新时鼠标选区扩大或消失,以及代码复制按钮闪烁/缺失的问题。
  • 修复重启后会话实际模型正确但选择框显示旧缓存模型的问题。

验证

  • Nori Web:15 个测试文件,128/128 通过。
  • Agent Core/LSP/原生资源定向测试:5 个测试文件,63/63 通过。
  • Nori Work:4 个测试文件,13/13 通过。
  • Windows 安装包构建成功,打包后的 Pyright 完成真实 LSP initialize 握手。

安装包

  • Nori-Work-1.0.0-pre.2-x64.exe
  • SHA-256: 78D1B4A26AD25EE0AEF9841D3928FB1C2E09908F178D3F25761F7F2BE6A76BD4

完整变更记录见仓库中的 V1.0.0_PRE2_CHANGES.md

Nori Work v1.0.0-pre.1

Pre-release

Choose a tag to compare

@wangyuahn wangyuahn released this 17 Jul 04:26

This prerelease contains the changes since v1.0.0-pre.0.

Features

  • Add a session-scoped Cron Job page with create, list, refresh, and delete controls, recurring and one-shot schedules, next/last-run metadata, validation, and a live sidebar count.
  • Add an opt-in Loop switch to the composer. Enabled requests receive a goal-intake reminder so the main model creates a checkable goal before entering the loop state machine.
  • Turn the send action into a real-time Guide action while the model is working, inserting the user's guidance into the visible transcript immediately instead of leaving it in the normal prompt queue.
  • Add file-workflow shortcuts: reveal files and folders in the native file manager, refresh previews manually, jump from a changed-file card to Preview, and automatically refresh the active preview after Edit or Write changes that file.
  • Add a deterministic native SEA build pipeline for the bundled Nori server, including bundle, blob, injection, signing, verification, packaging, and smoke-test stages.

Fixes

  • Open files and folders from Nori Work through Electron's native shell so the file manager is brought forward instead of being launched by the background server.
  • Detect and replace a same-version background server when it lacks desktop-required routes, preventing a stale daemon from disabling Cron Jobs after an updated build.
  • Move website permission requests out of the browser header and into the existing permission dock above the chat composer, including the same AUTO/YOLO switching actions used by ordinary tool approvals.
  • Highlight Cron Job navigation in yellow and show the current session's scheduled-job count, updating immediately after create/delete and periodically in the background.
  • Keep the shared background server alive only while clients are connected, then retain the existing 60-second idle shutdown grace after Nori Work closes.
  • Keep terminal startup from stealing focus after the user has returned to the chat composer, while still focusing a newly opened terminal when appropriate.
  • Preserve the current chat/composer focus while an Agent activates tabs or sends input to the built-in browser, without overriding a later focus change made by the user.
  • Preserve the original new-task flow: opening a blank task does not create a session or lock a project, and the project picker appears only when the first message needs a session.
  • Keep the same composer DOM node after rewind so Windows/Electron input methods can immediately edit the restored prompt without requiring a window focus cycle.
  • Send live guidance through the supported Prompt collection action endpoint instead of the malformed double-colon URL that returned unsupported action: prompts.steer.
  • Serialize close, archive, delete, reload, and resume operations for the same session so overlapping lifecycle requests cannot leave stale active-session state.
  • Accept both supported provider-auth status response shapes when detecting configured credentials.
  • Add direct regression coverage for main-model AgentSwarm projection: project/session grouping, internal Agent cards, Markdown output, terminal states, and nested child Swarms all render without leaking subagent transcripts into chat.

Nori Work v1.0.0-pre.0 (Preview)

Pre-release

Choose a tag to compare

@wangyuahn wangyuahn released this 16 Jul 11:10

Preview release: this is not the final stable 1.0 release. Back up important work before testing.

Highlights

  • Multi-tab embedded Browser controlled by the main Agent: navigation, stable-reference snapshots, click/type/upload, screenshots, console/network diagnostics, annotations, safe local HTML, and user takeover.
  • Built-in LSP operations and common language-server discovery.
  • Custom Agent roles with explicit read/write/terminal/web/delegation permissions.
  • Background Agent and AgentSwarm execution with project/session ownership, nested activity, output previews, token accounting, controls, and completion/failure wakeups.
  • Project-scoped change/Git inspector, persistent terminal, Markdown rendering/copying, file references, and movable/standalone inspector tools.
  • Obsidian-compatible Vault links, backlinks, graph, migration, and optional dedicated vector-retrieval provider.

Fixed bugs

  • Browser actions no longer wait for the 90-second timeout when no page is open; the model is told to navigate first immediately.
  • Browser tools no longer disappear while the desktop bridge starts or reconnects; independent heartbeats keep long actions alive.
  • Local .html/.htm pages now open safely without enabling arbitrary file:// access.
  • Desktop packaging rejects stale Web/SEA inputs, preventing a new UI from shipping with an old backend.
  • Startup recovers stale or incompatible server locks instead of silently attaching to an old process.
  • Ordinary Agent and Swarm activity now reports project/session/nested ownership, output, completion counts, and completed/failed states correctly.
  • Chat navigation returns to the conversation view and session list.
  • Vault no longer creates duplicate empty plural folders; Related resolves full Obsidian paths and backlinks.
  • LSP discovery checks supported installed/configured servers before reporting that no language server is available.

Download

Windows x64: Nori-Work-1.0.0-pre.0-x64.exe

The Windows build is unsigned. latest.yml and the blockmap are attached for preview update testing; stable-channel users should not be auto-upgraded to this prerelease.

Verification

Focused release suites passed: Desktop 10, Web 91, Server 32, Agent Core 158, OAuth 41, Protocol 22; TypeScript checks, native smoke, Browser Electron smoke, and packaging freshness checks passed.

The repository-wide legacy suite is not fully green in this preview: 8,386 tests pass and 253 legacy/environment-sensitive tests still fail, mainly old Kimi-brand assertions, Windows symlink/Unix-command assumptions, and ACP/SDK fixtures that have not yet migrated to current contracts.

Nori Work v0.1.18

Choose a tag to compare

@wangyuahn wangyuahn released this 15 Jul 11:35

Nori Work 0.1.18

  • Project changes now update immediately for main-agent and subagent Edit/Write operations, persist for non-Git projects, and remain cached across sessions in the same project.
  • Background Agent and Agent Swarm wake-up output merges into the active assistant turn without requiring a session reload.
  • First-message conversation titles are generated by the main Agent, with reminder metadata kept out of the visible conversation.
  • Provider settings reliably enter a clean New Provider state.
  • Custom OpenAI-compatible providers support API roots with or without /v1 and receive actionable model-discovery errors instead of raw JSON parse failures.
  • Agent Swarm navigation uses its normal idle color when no agent is active.

Download

Use Nori-Work-0.1.18-x64.exe for Windows x64. latest.yml and the blockmap support desktop auto-update.

Nori Work v0.1.17

Choose a tag to compare

@wangyuahn wangyuahn released this 15 Jul 09:38

Nori Work v0.1.17 修复桌面安装包的实时连接和媒体工作流:

  • 修复 Electron file:// Origin 被本地服务误判为跨域,恢复工具调用后的持续流式输出。
  • WebSocket 订阅改为 ACK 驱动,并在重连后正确恢复订阅。
  • 聊天历史与即时消息均可显示用户图片,图片与用户消息右侧对齐。
  • ReadMediaFile 始终注册,并在执行时按当前模型能力明确拒绝不支持的媒体类型。
  • 桌面端检测并替换旧版本后台服务,避免新版 UI 复用旧服务。
  • 更改页在空状态下保留重新计算按钮,并先刷新 Git 状态再重建缓存。

Nori Work v0.1.16

Choose a tag to compare

@wangyuahn wangyuahn released this 15 Jul 08:09

Nori Work v0.1.16

  • Restored authenticated real-time streaming, including output after tool calls.
  • Added background Agent/Swarm execution, nested task management, completion/failure wakeups, and usage accounting.
  • Added project-scoped change and Git caching, richer change cards, file previews, Git controls, and stable same-project session switching.
  • Added usage dashboards, lazy sessions, slash commands, Plan/Code switching, multimodal Kimi detection, and improved Swarm views.
  • Added a separate OpenAI-compatible embedding provider for hybrid vector/full-text/link Memory retrieval.
  • Improved Markdown rendering, vault graph interaction, loading feedback, theme behavior, and regression coverage.

Windows builds are unsigned and may show a Microsoft Defender SmartScreen warning.