mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-06 15:31:54 +09:00
chore(release): 3.80.0 (#5056)
* chore(release): 3.80.0 (codex 3.0.9) Co-Authored-By: RuFlo <ruv@ruv.net> * fix(cli): bundled OpenRouter alternates are opt-in (#4957) #5038 loaded the bundled openrouter-alts.json for every npm install, which changes which OpenRouter models users are billed for. Its PR asked for a maintainer decision on that default. Until then, the bundled copy loads only with CLAUDE_FLOW_ROUTER_OPENROUTER_ALTS=bundled; npm installs keep the previous behaviour (no per-tier alternate). The file still ships. Co-Authored-By: RuFlo <ruv@ruv.net> * chore(release): pin @metaharness/darwin ~0.16.0; codex VERSION 3.0.9 darwin 0.16.0 is npm latest (it fixes the 0.15.0 bug that could leave SIM journals unreadable), so the metaharness pin-drift gate flags ~0.14.0 as stale. Bump the CLI dependency, MH_DARWIN_PIN and the plugin helper pin. The pnpm lock entry is edited by hand to the 0.16.0 integrity; nothing else in the lock moves. codex's exported VERSION follows the 3.0.9 bump. Co-Authored-By: RuFlo <ruv@ruv.net> * chore(ruflo-metaharness): 0.5.3 for the darwin ~0.16.0 helper pin Co-Authored-By: RuFlo <ruv@ruv.net> --------- Co-authored-by: r <r@x>
This commit is contained in:
1 parent
6822e67d69
commit
87f612cef1
14 files changed
+38
-32
No files matched your search
Generated
+3
-3
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "claude-flow",
|
||||
"version": "3.79.1",
|
||||
"version": "3.80.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "claude-flow",
|
||||
"version": "3.79.1",
|
||||
"version": "3.80.0",
|
||||
"bundleDependencies": [
|
||||
"@claude-flow/codex",
|
||||
"@claude-flow/mcp",
|
||||
@@ -13770,7 +13770,7 @@
|
||||
}
|
||||
},
|
||||
"v3/@claude-flow/codex": {
|
||||
"version": "3.0.8",
|
||||
"version": "3.0.9",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@claude-flow/security": "^3.0.0",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "claude-flow",
|
||||
"version": "3.79.1",
|
||||
"version": "3.80.0",
|
||||
"workspaces": [
|
||||
"v3/@claude-flow/codex",
|
||||
"v3/@claude-flow/mcp",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ruflo-metaharness",
|
||||
"description": "MetaHarness integration for ruflo — surfaces score/genome/mint/mcp-scan/threat-model via skills; pairs with @metaharness/router (ADR-148/149) for cost-optimal model routing; honors ADR-150's architectural constraint that MetaHarness remains an optional augmentation, never a required runtime dependency. As a mod (ADR-445): confirms flywheel promotion, keeps secrets out of inputs, /metaharness-mod, and a status file the console shows",
|
||||
"version": "0.5.2",
|
||||
"version": "0.5.3",
|
||||
"repository": "https://github.com/ruvnet/ruflo",
|
||||
"author": {
|
||||
"name": "ruvnet",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Mirrors `_harness.mjs` for the umbrella `metaharness` / `harness` binaries,
|
||||
// but targets the separate darwin binary (`metaharness-darwin`) which is
|
||||
// published as its own npm package (`@metaharness/darwin@~0.14.0`).
|
||||
// published as its own npm package (`@metaharness/darwin@~0.16.0`).
|
||||
//
|
||||
// Shared plumbing (degraded classification, --json injection, trailing-JSON
|
||||
// parse, degraded emitter) lives in `_invoke.mjs`. What stays here is the
|
||||
@@ -68,7 +68,7 @@ const DEFAULT_TIMEOUT_MS = 60_000;
|
||||
// gepa cache fallback installs; scripts/check-metaharness-pins.mjs now fails
|
||||
// when it no longer covers the declared range.
|
||||
const DARWIN_PKG = '@metaharness/darwin';
|
||||
const DARWIN_PIN_VERSION = '~0.14.0';
|
||||
const DARWIN_PIN_VERSION = '~0.16.0';
|
||||
const DARWIN_PIN = `${DARWIN_PKG}@${DARWIN_PIN_VERSION}`;
|
||||
|
||||
const REASON_PREFIX = 'metaharness-darwin';
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ruflo",
|
||||
"mcpName": "io.github.ruvnet/ruflo",
|
||||
"version": "3.79.1",
|
||||
"version": "3.80.0",
|
||||
"description": "Ruflo - Enterprise AI agent orchestration platform. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
|
||||
"main": "bin/ruflo.js",
|
||||
"type": "module",
|
||||
@@ -40,7 +40,7 @@
|
||||
"package:rvf": "bash src/scripts/package-rvf.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
"@claude-flow/cli": "3.79.1"
|
||||
"@claude-flow/cli": "3.80.0"
|
||||
},
|
||||
"optionalDependencies": {},
|
||||
"overrides": {
|
||||
|
||||
+2
-2
@@ -9,12 +9,12 @@
|
||||
"subfolder": "ruflo"
|
||||
},
|
||||
"websiteUrl": "https://github.com/ruvnet/ruflo",
|
||||
"version": "3.79.1",
|
||||
"version": "3.80.0",
|
||||
"packages": [
|
||||
{
|
||||
"registryType": "npm",
|
||||
"identifier": "ruflo",
|
||||
"version": "3.79.1",
|
||||
"version": "3.80.0",
|
||||
"runtimeHint": "npx",
|
||||
"transport": {
|
||||
"type": "stdio"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"manifest": {
|
||||
"version": "3.79.1",
|
||||
"version": "3.80.0",
|
||||
"files": {
|
||||
"auto-memory-hook.mjs": "83775ccec13ed5e63bafdd27d429535608b4626805b3f063ad8f434cd5c64518",
|
||||
"hook-handler.cjs": "f736cb7092030568ab80a1b17a2afb1e0d52e0e16f407d86393f619ae29fec90",
|
||||
@@ -12,6 +12,6 @@
|
||||
"memory.cjs": "2ef989f4640e357c1ac3eae09330242c1f6b037e6ef676a5999b8a7c11d53c33"
|
||||
}
|
||||
},
|
||||
"signature": "/Q/IGSpJxJHz3BLmrgi/eMe6a6l8ussPS19V83AwWCySn7uVhXFShIUSq/QDa3LaTtXy8hDeCzCuPucRFsiSBA==",
|
||||
"signature": "eSgtUFX3ZniFlNn6XZos4oGn/Qk+SQbQQtvhf4bFjt9o0lvM+5kt+xiFRaUgPQqEpFXPOwphMqD4JF6ju2IJBQ==",
|
||||
"algorithm": "ed25519"
|
||||
}
|
||||
@@ -29,7 +29,8 @@ describe('openrouter-alts.json resolves from the package, not the cwd (#4957)',
|
||||
rmSync(outside, { recursive: true, force: true });
|
||||
});
|
||||
|
||||
it('routes an OpenRouter user to the bundled per-tier alternate with cwd outside the repo', async () => {
|
||||
it('routes an OpenRouter user to the bundled per-tier alternate with cwd outside the repo when opted in', async () => {
|
||||
vi.stubEnv('CLAUDE_FLOW_ROUTER_OPENROUTER_ALTS', 'bundled');
|
||||
expect(process.cwd()).toBe(outside);
|
||||
const { createModelRouter } = await import('../src/ruvector/model-router.js');
|
||||
const router = createModelRouter({ statePath: join(outside, 'state.json'), autoSaveInterval: 1_000_000 });
|
||||
@@ -38,11 +39,11 @@ describe('openrouter-alts.json resolves from the package, not the cwd (#4957)',
|
||||
expect(result.openrouterModel).toBe(ALTS.tiers[result.model].openrouter_alt);
|
||||
});
|
||||
|
||||
it('an explicit CLAUDE_FLOW_ROUTER_OPENROUTER_ALTS that does not exist still falls back to the bundled file', async () => {
|
||||
vi.stubEnv('CLAUDE_FLOW_ROUTER_OPENROUTER_ALTS', join(outside, 'missing.json'));
|
||||
it('leaves npm installs on no alternate by default (opt-in until a maintainer decides)', async () => {
|
||||
const { createModelRouter } = await import('../src/ruvector/model-router.js');
|
||||
const router = createModelRouter({ statePath: join(outside, 'state.json'), autoSaveInterval: 1_000_000 });
|
||||
const result = await router.route('fix a typo in the readme');
|
||||
expect(result.openrouterModel).toBe(ALTS.tiers[result.model].openrouter_alt);
|
||||
expect(result.provider).toBe('openrouter');
|
||||
expect(result.openrouterModel).toBeUndefined();
|
||||
});
|
||||
});
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@claude-flow/cli",
|
||||
"version": "3.79.1",
|
||||
"version": "3.80.0",
|
||||
"type": "module",
|
||||
"description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
|
||||
"main": "dist/src/index.js",
|
||||
@@ -117,7 +117,7 @@
|
||||
"@claude-flow/security": "3.0.7",
|
||||
"@claude-flow/shared": "3.0.10",
|
||||
"@iarna/toml": "^2.2.5",
|
||||
"@metaharness/darwin": "~0.14.0",
|
||||
"@metaharness/darwin": "~0.16.0",
|
||||
"@noble/ed25519": "2.3.0",
|
||||
"@ruvector/rabitq-wasm": "0.1.2",
|
||||
"agentic-flow": "^3.0.0",
|
||||
|
||||
@@ -94,14 +94,16 @@ function loadOpenRouterAlts(): OpenRouterAlts | null {
|
||||
if (_altsProbeDone) return _altsCache;
|
||||
_altsProbeDone = true;
|
||||
try {
|
||||
// Probe candidate paths: explicit env override, then the copy bundled with
|
||||
// this package, then cwd-relative paths for a repo checkout.
|
||||
// Probe candidate paths: explicit env override (or the bundled copy), then
|
||||
// cwd-relative paths for a repo checkout.
|
||||
// #4957: the copy bundled with the package is opt-in for now
|
||||
// (CLAUDE_FLOW_ROUTER_OPENROUTER_ALTS=bundled). Loading it by default would
|
||||
// change which OpenRouter models npm users are billed for, so that default
|
||||
// waits for a maintainer decision. Any other value is a path to the file.
|
||||
const explicit = process.env.CLAUDE_FLOW_ROUTER_OPENROUTER_ALTS;
|
||||
const candidates: string[] = [];
|
||||
if (explicit) candidates.push(explicit);
|
||||
// #4957: resolve package-relative, as neural-router.ts does. Probing only
|
||||
// process.cwd() meant an npm install never found the file.
|
||||
candidates.push(...packageAltsPaths());
|
||||
if (explicit?.trim().toLowerCase() === 'bundled') candidates.push(...packageAltsPaths());
|
||||
else if (explicit) candidates.push(explicit);
|
||||
candidates.push(join(process.cwd(), 'v3', '@claude-flow', 'cli', 'assets', 'model-router', 'openrouter-alts.json'));
|
||||
candidates.push(join(process.cwd(), 'assets', 'model-router', 'openrouter-alts.json'));
|
||||
for (const p of candidates) {
|
||||
|
||||
@@ -53,7 +53,7 @@ import {
|
||||
// lock-step with the optionalDependencies pin in package.json and the plugin
|
||||
// darwin cache (versioned by the plugin's own `~0.14.0` pin in _darwin.mjs;
|
||||
// both are checked by scripts/check-metaharness-pins.mjs — #3366).
|
||||
export const MH_DARWIN_PIN = '0.14.0';
|
||||
export const MH_DARWIN_PIN = '0.16.0';
|
||||
|
||||
// ── Provenance ─────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@claude-flow/codex",
|
||||
"version": "3.0.8",
|
||||
"version": "3.0.9",
|
||||
"description": "Codex CLI integration for Ruflo (claude-flow) - OpenAI Codex platform adapter",
|
||||
"type": "module",
|
||||
"main": "./dist/index.js",
|
||||
|
||||
@@ -93,7 +93,7 @@ export {
|
||||
/**
|
||||
* Package version
|
||||
*/
|
||||
export const VERSION = '3.0.8';
|
||||
export const VERSION = '3.0.9';
|
||||
|
||||
/**
|
||||
* Package metadata
|
||||
|
||||
Generated
+7
-4
@@ -145,8 +145,8 @@ importers:
|
||||
specifier: ^2.2.5
|
||||
version: 2.2.5
|
||||
'@metaharness/darwin':
|
||||
specifier: ~0.14.0
|
||||
version: 0.14.0
|
||||
specifier: ~0.16.0
|
||||
version: 0.16.0
|
||||
'@metaharness/router':
|
||||
specifier: ^0.4.0
|
||||
version: 0.4.0(@ruvector/tiny-dancer@0.1.22)
|
||||
@@ -2183,13 +2183,16 @@ packages:
|
||||
dependencies:
|
||||
'@babel/parser': 7.29.13
|
||||
|
||||
/@metaharness/darwin@0.14.0:
|
||||
resolution: {integrity: sha512-rkn+HI4/fFJo2R+2UaNAUFEG6vJYg52siD/izwteQ6zJDPrLPrWeJK4U1pukjeCZ1VndtUsMbGbELJpsctUAXQ==}
|
||||
/@metaharness/darwin@0.16.0:
|
||||
resolution: {integrity: sha512-qZxwvnSIgOKX1t6XXkicXeptE5LiL+ZjZpgZ7vhfRULk/z1WHBtew9XfcqDIgOOefKhOewH6jXjkIJVPMWMJoA==}
|
||||
engines: {node: '>=20.0.0'}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
'@ruvector/rvf': '>=0.2.0'
|
||||
ruv-fann: 0.1.2
|
||||
peerDependenciesMeta:
|
||||
'@ruvector/rvf':
|
||||
optional: true
|
||||
ruv-fann:
|
||||
optional: true
|
||||
dependencies:
|
||||
|
||||
Reference in new issue
Block a user