🌊 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
Checkpoint: File edits
rUv28b5bdd24731
diff --git a/v3/@claude-flow/guidance/src/crypto-utils.ts b/v3/@claude-flow/guidance/src/crypto-utils.tsnew file mode 100644index 0000000000..f72081f0ba--- /dev/null+++ b/v3/@claude-flow/guidance/src/crypto-utils.ts@@ -0,0 +1,26 @@+/**+ * Shared Cryptographic Utilities+ *+ * Centralises timing-safe comparison so every module that verifies+ * HMAC signatures uses the same constant-time implementation.+ *+ * @module @claude-flow/guidance/crypto-utils+ */++import { timingSafeEqual as nodeTimingSafeEqual } from 'node:crypto';++/**+ * Constant-time string comparison to prevent timing attacks on HMAC signatures.+ *+ * Delegates to Node.js `crypto.timingSafeEqual` via `Buffer.from` for+ * encoding-safe comparison. Falls back to a manual XOR loop when the+ * buffers have different byte lengths (which the native function rejects).+ */+export function timingSafeEqual(a: string, b: string): boolean {+ const bufA = Buffer.from(a, 'utf-8');+ const bufB = Buffer.from(b, 'utf-8');++ if (bufA.length !== bufB.length) return false;++ return nodeTimingSafeEqual(bufA, bufB);+}diff --git a/v3/@claude-flow/guidance/tmp.json b/v3/@claude-flow/guidance/tmp.jsonnew file mode 100644index 0000000000..e69de29bb2diff --git a/v3/package-lock.json b/v3/package-lock.jsonindex 902c7b5711..236dec0430 100644--- a/v3/package-lock.json+++ b/v3/package-lock.json@@ -2072,7 +2072,6 @@},"claude-flow": {"version": "3.0.0-alpha.52",- "extraneous": true,"license": "MIT","dependencies": {"@claude-flow/aidefence": "^3.0.2",@@ -2095,6 +2094,21 @@"node": ">=18.0.0"}},+ "claude-flow/node_modules/@claude-flow/cli": {+ "version": "3.0.0-alpha.101",+ "resolved": "https://registry.npmjs.org/@claude-flow/cli/-/cli-3.0.0-alpha.101.tgz",+ "integrity": "sha512-iusqgcV3WgCxPN3BePt2MWr8nEodomc7pkz94sXm+nfkfSKEseJ4le9llOAuqovuFbsAgimUfWuTZmdcV4vaGg==",+ "dependencies": {+ "@claude-flow/aidefence": "^3.0.2",+ "@claude-flow/embeddings": "^3.0.0-alpha.12",+ "@claude-flow/shared": "^3.0.0-alpha.1"+ },+ "bin": {+ "claude-flow": "bin/cli.js",+ "claude-flow-mcp": "bin/mcp-server.js",+ "cli": "bin/cli.js"+ }+ },"node_modules/@actions/core": {"version": "2.0.1","resolved": "https://registry.npmjs.org/@actions/core/-/core-2.0.1.tgz",@@ -9833,6 +9847,10 @@"license": "MIT","optional": true},+ "node_modules/claude-flow": {+ "resolved": "claude-flow",+ "link": true+ },"node_modules/clean-stack": {"version": "5.3.0","resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-5.3.0.tgz",