From f1e6a119e824d73cef7d18e64155eca8a710bcba Mon Sep 17 00:00:00 2001 From: roboomp Date: Sat, 4 Jul 2026 19:02:39 +0000 Subject: [PATCH] fix(metadata): corrected collab package contracts Updated collab-web package metadata to the current published version and aligned swarm-extension with the matching pi-coding-agent major. Documented the pi-uu-grep clap-only fields with dead_code allow reasons so the lint exceptions remain intentional. Fixes #4549 --- bun.lock | 4 ++-- crates/pi-uu-grep/src/lib.rs | 6 +++--- packages/collab-web/CHANGELOG.md | 4 ++++ packages/collab-web/package.json | 2 +- packages/swarm-extension/CHANGELOG.md | 4 ++++ packages/swarm-extension/package.json | 2 +- 6 files changed, 15 insertions(+), 7 deletions(-) diff --git a/bun.lock b/bun.lock index 09cfaca7e..bb31f382e 100644 --- a/bun.lock +++ b/bun.lock @@ -121,7 +121,7 @@ }, "packages/collab-web": { "name": "@oh-my-pi/collab-web", - "version": "15.11.7", + "version": "16.3.4", "dependencies": { "@oh-my-pi/pi-wire": "catalog:", "lucide-react": "catalog:", @@ -232,7 +232,7 @@ "@types/bun": "^1.3.14", }, "peerDependencies": { - "@oh-my-pi/pi-coding-agent": "^13", + "@oh-my-pi/pi-coding-agent": "^16", }, }, "packages/terminal-bench": { diff --git a/crates/pi-uu-grep/src/lib.rs b/crates/pi-uu-grep/src/lib.rs index 7a8455e0b..97f59e753 100644 --- a/crates/pi-uu-grep/src/lib.rs +++ b/crates/pi-uu-grep/src/lib.rs @@ -122,7 +122,7 @@ struct Cli { quiet: bool, /// Print a help message. - #[allow(dead_code)] + #[allow(dead_code, reason = "clap consumes help before the parsed options are inspected")] #[arg(long = "help", action = clap::ArgAction::Help)] help: Option, @@ -131,7 +131,7 @@ struct Cli { /// GNU grep ships a `--version`, and shell startup scripts probe it. /// Routed through clap so output lands on the in-process stdout via the /// same path as `--help`. - #[allow(dead_code)] + #[allow(dead_code, reason = "clap consumes version before the parsed options are inspected")] #[arg(short = 'V', long = "version", action = clap::ArgAction::Version)] version: Option, @@ -140,7 +140,7 @@ struct Cli { /// (often a pipe consumed by another tool), so injecting ANSI escapes /// would corrupt downstream output. The common `alias grep='grep /// --color=auto'` from distro bashrc files passes through unchanged. - #[allow(dead_code)] + #[allow(dead_code, reason = "GNU grep compatibility flag is accepted but intentionally ignored")] #[arg( long = "color", alias = "colour", diff --git a/packages/collab-web/CHANGELOG.md b/packages/collab-web/CHANGELOG.md index 676fc3ef6..f9e8db4e4 100644 --- a/packages/collab-web/CHANGELOG.md +++ b/packages/collab-web/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +### Fixed + +- Fixed the stale package version metadata so the collab web workspace advertises `16.3.4` instead of the old `15.11.7` pin. ([#4549](https://github.com/can1357/oh-my-pi/issues/4549)) + ## [16.3.3] - 2026-07-02 ### Fixed diff --git a/packages/collab-web/package.json b/packages/collab-web/package.json index 21b332cfe..16f02cfb1 100644 --- a/packages/collab-web/package.json +++ b/packages/collab-web/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "@oh-my-pi/collab-web", - "version": "15.11.7", + "version": "16.3.4", "private": true, "description": "Browser guest client and local relay tools for omp collab live sessions", "homepage": "https://omp.sh", diff --git a/packages/swarm-extension/CHANGELOG.md b/packages/swarm-extension/CHANGELOG.md index 4058cc1a8..3a463853b 100644 --- a/packages/swarm-extension/CHANGELOG.md +++ b/packages/swarm-extension/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +### Fixed + +- Fixed the peer dependency range for `@oh-my-pi/pi-coding-agent` to match the current `^16` major. ([#4549](https://github.com/can1357/oh-my-pi/issues/4549)) + ## [15.9.0] - 2026-06-04 ### Fixed diff --git a/packages/swarm-extension/package.json b/packages/swarm-extension/package.json index fbffd98d1..e61e5a510 100644 --- a/packages/swarm-extension/package.json +++ b/packages/swarm-extension/package.json @@ -37,7 +37,7 @@ "@types/bun": "^1.3.14" }, "peerDependencies": { - "@oh-my-pi/pi-coding-agent": "^13" + "@oh-my-pi/pi-coding-agent": "^16" }, "engines": { "bun": ">=1.3.14"