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

588 B
Raw Blame
import { describe, expect, it } from 'vitest';
import * as security from '../src/index.js';

describe('OAuth public export surface', () => {
  it('exports every primitive required by ruflo auth', () => {
    for (const name of [
      'authorizeUrl',
      'exchangeCode',
      'refreshToken',
      'exchangeManualCode',
      'generatePkce',
      'CallbackServer',
      'openBrowser',
      'createKeychainAdapter',
      'OAuthError',
    ] as const) {
      expect(security[name]).toBeTypeOf('function');
    }
    expect(security.OOB_REDIRECT_URI).toBeTypeOf('string');
  });
});