Skip to content

Navop JavaScript packages v0.2.1

Choose a tag to compare

@feigeCode feigeCode released this 30 Jul 07:29
· 4 commits to main since this release

中文

更新内容

  • 优化 Navop Agent Skill 的数据库操作指引:优先使用 navop db ... 等领域命令,仅在没有对应领域命令时使用底层 navop tool call。
  • 补充写操作和布尔参数示例,明确 --allow-write true 等参数必须携带显式值,减少自动化调用中的参数错误。
  • 改进领域 CLI 的参数映射与帮助行为,并增加数据库写 SQL 到 db.exec 的覆盖测试。

修复与调整

  • 提升 Navop 桌面运行时启动或重启期间的连接稳定性:CLI 和 MCP bridge 会重新读取 discovery 信息,避免因短暂的旧端点或连接切换而直接失败。
  • 增强 MCP 客户端和 stdio bridge 对分段读取、连续消息、连接关闭及启动竞态的处理与测试覆盖。
  • 调整 npm 发布工作流,使部分包已经发布后的重试可以安全跳过现有精确版本并继续发布剩余包。

English

Changes

  • Improves database guidance in the Navop Agent Skill: prefer domain commands such as navop db ..., and use low-level navop tool call only when no domain command exists.
  • Adds explicit examples for write operations and boolean arguments, clarifying that options such as --allow-write true require a value and reducing invalid automated calls.
  • Improves domain CLI argument mapping and help behavior, with coverage for routing write-capable SQL to db.exec.

Fixes

  • Makes connections more resilient while the Navop desktop runtime is starting or restarting: the CLI and MCP bridge re-read discovery information instead of failing on a transient stale endpoint or connection transition.
  • Strengthens MCP client and stdio bridge handling for partial reads, consecutive messages, connection closure, and startup races, with expanded test coverage.
  • Makes the npm release workflow safely rerunnable by skipping package versions that already exist and continuing with the remaining packages.

Full Changelog: v0.2.0...v0.2.1