Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 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

ci: publish three-package stable train (#2827)

rUv74c5b2244778
diff --git a/.github/workflows/stable-npm-release.yml b/.github/workflows/stable-npm-release.yml
index 86e8c0d70a..181395bce9 100644
--- a/.github/workflows/stable-npm-release.yml
+++ b/.github/workflows/stable-npm-release.yml
@@ -7,18 +7,6 @@ on:
description: Existing v-prefixed Git tag to publish
required: true
type: string
- security_version:
- description: Policy runtime version bundled by this release
- required: true
- type: string
- codex_version:
- description: Codex adapter version bundled by this release
- required: true
- type: string
- federation_version:
- description: Agent federation plugin version bundled by this release
- required: true
- type: string
permissions:
contents: read
@@ -42,18 +30,6 @@ jobs:
echo "::error::tag must start with v"
exit 1
fi
- if [[ ! "${{ inputs.security_version }}" =~ ^3\.0\.0-alpha\.[0-9]+$ ]]; then
- echo "::error::security_version must be a 3.0.0 alpha"
- exit 1
- fi
- if [[ ! "${{ inputs.codex_version }}" =~ ^3\.[0-9]+\.[0-9]+$ ]]; then
- echo "::error::codex_version must be a stable 3.x version"
- exit 1
- fi
- if [[ ! "${{ inputs.federation_version }}" =~ ^1\.0\.0-alpha\.[0-9]+$ ]]; then
- echo "::error::federation_version must be a 1.0.0 alpha"
- exit 1
- fi
- name: Checkout immutable release tag
uses: actions/checkout@v4
@@ -89,33 +65,9 @@ jobs:
throw new Error(`${pkg.name}: expected ${expected}, got ${pkg.version}`);
}
}
- const security = require('./v3/@claude-flow/security/package.json');
- if (security.version !== process.env.SECURITY_VERSION) {
- throw new Error(
- `${security.name}: expected ${process.env.SECURITY_VERSION}, got ${security.version}`,
- );
- }
- const cli = packages[2];
- if (cli.optionalDependencies['@claude-flow/security']
- !== `^${process.env.SECURITY_VERSION}`) {
- throw new Error('CLI security dependency is not in release lockstep');
- }
- const codex = require('./v3/@claude-flow/codex/package.json');
- if (codex.version !== process.env.CODEX_VERSION) {
- throw new Error(`${codex.name}: expected ${process.env.CODEX_VERSION}, got ${codex.version}`);
- }
- const federation = require('./v3/@claude-flow/plugin-agent-federation/package.json');
- if (federation.version !== process.env.FEDERATION_VERSION) {
- throw new Error(
- `${federation.name}: expected ${process.env.FEDERATION_VERSION}, got ${federation.version}`,
- );
- }
NODE
env:
RELEASE_TAG: ${{ inputs.tag }}
- SECURITY_VERSION: ${{ inputs.security_version }}
- CODEX_VERSION: ${{ inputs.codex_version }}
- FEDERATION_VERSION: ${{ inputs.federation_version }}
- name: Install and build publishable packages
working-directory: v3
@@ -173,56 +125,14 @@ jobs:
pack_dir="$(mktemp -d)"
trap 'rm -rf "$pack_dir"' EXIT
- npm pack --ignore-scripts --pack-destination "$pack_dir" ./v3/@claude-flow/security
- npm pack --ignore-scripts --pack-destination "$pack_dir" ./v3/@claude-flow/codex
- npm pack --ignore-scripts --pack-destination "$pack_dir" ./v3/@claude-flow/plugin-agent-federation
npm pack --ignore-scripts --pack-destination "$pack_dir" ./v3/@claude-flow/cli
npm pack --ignore-scripts --pack-destination "$pack_dir" .
npm pack --ignore-scripts --pack-destination "$pack_dir" ./ruflo
- test "$(find "$pack_dir" -maxdepth 1 -name '*.tgz' | wc -l)" -eq 6
+ test "$(find "$pack_dir" -maxdepth 1 -name '*.tgz' | wc -l)" -eq 3
while IFS= read -r archive; do
tar -tzf "$archive" >/dev/null
done < <(find "$pack_dir" -maxdepth 1 -name '*.tgz' -print)
- - name: Publish policy runtime
- working-directory: v3/@claude-flow/security
- shell: bash
- run: |
- if npm view "@claude-flow/security@${SECURITY_VERSION}" version >/dev/null 2>&1; then
- echo "@claude-flow/security@${SECURITY_VERSION} already published"
- else
- npm publish --ignore-scripts --access public --tag v3alpha
- fi
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- SECURITY_VERSION: ${{ inputs.security_version }}
-
- - name: Publish Codex adapter
- working-directory: v3/@claude-flow/codex
- shell: bash
- run: |
- if npm view "@claude-flow/codex@${CODEX_VERSION}" version >/dev/null 2>&1; then
- echo "@claude-flow/codex@${CODEX_VERSION} already published"
- else
- npm publish --ignore-scripts --access public --tag latest
- fi
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- CODEX_VERSION: ${{ inputs.codex_version }}
-
- - name: Publish agent federation plugin
- working-directory: v3/@claude-flow/plugin-agent-federation
- shell: bash
- run: |
- if npm view "@claude-flow/plugin-agent-federation@${FEDERATION_VERSION}" version >/dev/null 2>&1; then
- echo "@claude-flow/plugin-agent-federation@${FEDERATION_VERSION} already published"
- else
- npm publish --ignore-scripts --access public --tag v3alpha
- fi
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- FEDERATION_VERSION: ${{ inputs.federation_version }}
-
- name: Publish CLI
working-directory: v3/@claude-flow/cli
shell: bash
@@ -268,14 +178,8 @@ jobs:
shell: bash
run: |
version="${RELEASE_TAG#v}"
- test "$(npm view "@claude-flow/security@${SECURITY_VERSION}" version)" = "${SECURITY_VERSION}"
- test "$(npm view "@claude-flow/codex@${CODEX_VERSION}" version)" = "${CODEX_VERSION}"
- test "$(npm view "@claude-flow/plugin-agent-federation@${FEDERATION_VERSION}" version)" = "${FEDERATION_VERSION}"
test "$(npm view "@claude-flow/cli@${version}" version)" = "${version}"
test "$(npm view "claude-flow@${version}" version)" = "${version}"
test "$(npm view "ruflo@${version}" version)" = "${version}"
env:
RELEASE_TAG: ${{ inputs.tag }}
- SECURITY_VERSION: ${{ inputs.security_version }}
- CODEX_VERSION: ${{ inputs.codex_version }}
- FEDERATION_VERSION: ${{ inputs.federation_version }}