π The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
fix(metaharness-ci): explicit npm install for sharp in pnpm store (iter 138)
ruv5c47de352920
diff --git a/.github/workflows/metaharness-ci.yml b/.github/workflows/metaharness-ci.ymlindex 94a082a3fe..d0cfb83ea0 100644--- a/.github/workflows/metaharness-ci.yml+++ b/.github/workflows/metaharness-ci.yml@@ -153,15 +153,19 @@ jobs:# [email protected] matches v3/package.json's packageManager pin.cd v3npx -y [email protected] install --frozen-lockfile --reporter=append-only- # iter 134 β pnpm 8.15 sandboxes some postinstall scripts in CI,- # leaving [email protected] without its linux-x64 .node binary. The- # CLI's transitive agentic-flow chain require()'s sharp at- # bootstrap, so eject + similarity dispatch fail at runtime with- # "Cannot find module '../build/Release/sharp-linux-x64.node'".- # Explicitly rebuild sharp's native bindings; `|| true` because- # if it fails the worst case is the pre-existing missing-binary- # which the runtime path already handles (sharp is optional).- npx -y [email protected] rebuild sharp 2>/dev/null || true+ # iter 138 β pnpm rebuild sharp (iter 134) didn't fix the missing+ # linux-x64 .node binary because pnpm 8.15's store doesn't honor+ # sharp's vendored download script in some CI configs. Force the+ # platform-specific install directly into the workspace's sharp+ # node_modules path. The CLI's transitive agentic-flow chain+ # require()s sharp at bootstrap; without this binary the CLI+ # crashes with "Cannot find module '../build/Release/+ # sharp-linux-x64.node'" before eject's action even runs.+ SHARP_DIR=$(find node_modules/.pnpm -maxdepth 4 -type d -name sharp 2>/dev/null | head -1)+ if [ -n "$SHARP_DIR" ]; then+ ( cd "$SHARP_DIR" && npm install --no-audit --no-fund --ignore-scripts=false 2>&1 | tail -3 || true )+ ls "$SHARP_DIR/build/Release/" 2>&1 | grep -E '\.node$' || echo "sharp prebuild missing β runtime may fall back to optional path"+ fi# iter 127b β `|| true` because cli's tsc emits TS6305 ("Output# file has not been built from source file") for cross-package# relative imports from @claude-flow/swarm/src/..., even though@@ -232,15 +236,19 @@ jobs:# [email protected] matches v3/package.json's packageManager pin.cd v3npx -y [email protected] install --frozen-lockfile --reporter=append-only- # iter 134 β pnpm 8.15 sandboxes some postinstall scripts in CI,- # leaving [email protected] without its linux-x64 .node binary. The- # CLI's transitive agentic-flow chain require()'s sharp at- # bootstrap, so eject + similarity dispatch fail at runtime with- # "Cannot find module '../build/Release/sharp-linux-x64.node'".- # Explicitly rebuild sharp's native bindings; `|| true` because- # if it fails the worst case is the pre-existing missing-binary- # which the runtime path already handles (sharp is optional).- npx -y [email protected] rebuild sharp 2>/dev/null || true+ # iter 138 β pnpm rebuild sharp (iter 134) didn't fix the missing+ # linux-x64 .node binary because pnpm 8.15's store doesn't honor+ # sharp's vendored download script in some CI configs. Force the+ # platform-specific install directly into the workspace's sharp+ # node_modules path. The CLI's transitive agentic-flow chain+ # require()s sharp at bootstrap; without this binary the CLI+ # crashes with "Cannot find module '../build/Release/+ # sharp-linux-x64.node'" before eject's action even runs.+ SHARP_DIR=$(find node_modules/.pnpm -maxdepth 4 -type d -name sharp 2>/dev/null | head -1)+ if [ -n "$SHARP_DIR" ]; then+ ( cd "$SHARP_DIR" && npm install --no-audit --no-fund --ignore-scripts=false 2>&1 | tail -3 || true )+ ls "$SHARP_DIR/build/Release/" 2>&1 | grep -E '\.node$' || echo "sharp prebuild missing β runtime may fall back to optional path"+ fi# iter 127b β `|| true` because cli's tsc emits TS6305 ("Output# file has not been built from source file") for cross-package# relative imports from @claude-flow/swarm/src/..., even though@@ -414,15 +422,19 @@ jobs:# [email protected] matches v3/package.json's packageManager pin.cd v3npx -y [email protected] install --frozen-lockfile --reporter=append-only- # iter 134 β pnpm 8.15 sandboxes some postinstall scripts in CI,- # leaving [email protected] without its linux-x64 .node binary. The- # CLI's transitive agentic-flow chain require()'s sharp at- # bootstrap, so eject + similarity dispatch fail at runtime with- # "Cannot find module '../build/Release/sharp-linux-x64.node'".- # Explicitly rebuild sharp's native bindings; `|| true` because- # if it fails the worst case is the pre-existing missing-binary- # which the runtime path already handles (sharp is optional).- npx -y [email protected] rebuild sharp 2>/dev/null || true+ # iter 138 β pnpm rebuild sharp (iter 134) didn't fix the missing+ # linux-x64 .node binary because pnpm 8.15's store doesn't honor+ # sharp's vendored download script in some CI configs. Force the+ # platform-specific install directly into the workspace's sharp+ # node_modules path. The CLI's transitive agentic-flow chain+ # require()s sharp at bootstrap; without this binary the CLI+ # crashes with "Cannot find module '../build/Release/+ # sharp-linux-x64.node'" before eject's action even runs.+ SHARP_DIR=$(find node_modules/.pnpm -maxdepth 4 -type d -name sharp 2>/dev/null | head -1)+ if [ -n "$SHARP_DIR" ]; then+ ( cd "$SHARP_DIR" && npm install --no-audit --no-fund --ignore-scripts=false 2>&1 | tail -3 || true )+ ls "$SHARP_DIR/build/Release/" 2>&1 | grep -E '\.node$' || echo "sharp prebuild missing β runtime may fall back to optional path"+ fi# iter 127b β `|| true` because cli's tsc emits TS6305 ("Output# file has not been built from source file") for cross-package# relative imports from @claude-flow/swarm/src/..., even though@@ -530,15 +542,19 @@ jobs:# [email protected] matches v3/package.json's packageManager pin.cd v3npx -y [email protected] install --frozen-lockfile --reporter=append-only- # iter 134 β pnpm 8.15 sandboxes some postinstall scripts in CI,- # leaving [email protected] without its linux-x64 .node binary. The- # CLI's transitive agentic-flow chain require()'s sharp at- # bootstrap, so eject + similarity dispatch fail at runtime with- # "Cannot find module '../build/Release/sharp-linux-x64.node'".- # Explicitly rebuild sharp's native bindings; `|| true` because- # if it fails the worst case is the pre-existing missing-binary- # which the runtime path already handles (sharp is optional).- npx -y [email protected] rebuild sharp 2>/dev/null || true+ # iter 138 β pnpm rebuild sharp (iter 134) didn't fix the missing+ # linux-x64 .node binary because pnpm 8.15's store doesn't honor+ # sharp's vendored download script in some CI configs. Force the+ # platform-specific install directly into the workspace's sharp+ # node_modules path. The CLI's transitive agentic-flow chain+ # require()s sharp at bootstrap; without this binary the CLI+ # crashes with "Cannot find module '../build/Release/+ # sharp-linux-x64.node'" before eject's action even runs.+ SHARP_DIR=$(find node_modules/.pnpm -maxdepth 4 -type d -name sharp 2>/dev/null | head -1)+ if [ -n "$SHARP_DIR" ]; then+ ( cd "$SHARP_DIR" && npm install --no-audit --no-fund --ignore-scripts=false 2>&1 | tail -3 || true )+ ls "$SHARP_DIR/build/Release/" 2>&1 | grep -E '\.node$' || echo "sharp prebuild missing β runtime may fall back to optional path"+ fi# iter 127b β `|| true` because cli's tsc emits TS6305 ("Output# file has not been built from source file") for cross-package# relative imports from @claude-flow/swarm/src/..., even though