From 6328671d1de6ad5af5d683f8da520c9c069a1562 Mon Sep 17 00:00:00 2001 From: can1357 Date: Sat, 11 Jul 2026 08:33:32 +0200 Subject: [PATCH] chore(coding-agent): updated legacy pi module import path - Updated the import path for `isEnoent` in the legacy virtual module script. - Corrected the CHANGELOG entry position to maintain document structure. --- packages/coding-agent/CHANGELOG.md | 4 +--- packages/coding-agent/scripts/legacy-pi-virtual-module.ts | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index 24ccd57a2..442d2c126 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -19,6 +19,7 @@ ### Fixed +- Fixed advisor config preserving an explicit empty tool list so `/advisor config` can disable all advisor tools. ([#5155](https://github.com/can1357/oh-my-pi/issues/5155)) - Fixed npm bundle generation failing on Linux with E2BIG by building dist/cli.js in-process via Bun.build instead of passing the embedded docs payload as a CLI --define argument. - Fixed compiled-binary extensions failing to load native .node FFI dependencies by resolving platform-specific packages against the extension's own node_modules. - Fixed a hang in omp search and omp q CLI commands by ensuring the AuthStorage connection is properly closed upon completion. @@ -42,9 +43,6 @@ ### Removed - Removed the bundled plan subagent from available task agents. -### Fixed - -- Fixed advisor config preserving an explicit empty tool list so `/advisor config` can disable all advisor tools. ([#5155](https://github.com/can1357/oh-my-pi/issues/5155)) ## [16.4.2] - 2026-07-10 diff --git a/packages/coding-agent/scripts/legacy-pi-virtual-module.ts b/packages/coding-agent/scripts/legacy-pi-virtual-module.ts index a5a3dcfa3..9679a9fd1 100644 --- a/packages/coding-agent/scripts/legacy-pi-virtual-module.ts +++ b/packages/coding-agent/scripts/legacy-pi-virtual-module.ts @@ -1,5 +1,5 @@ import * as path from "node:path"; -import { isEnoent } from "@oh-my-pi/pi-utils"; +import { isEnoent } from "@oh-my-pi/pi-utils/fs-error"; /** Build-time specifier resolved to bundled legacy Pi module namespaces. */ export const LEGACY_PI_MODULES_SPECIFIER = "omp-legacy-pi-modules";