
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@ai-operations/ops-connectors
Advanced tools
Connector SDK for AI Operations OS — Gmail, Calendar, X/Twitter, Shopify with resilient fetch and retry
Connector framework with Gmail, Calendar, X/Twitter, and Shopify integrations for AI Operations OS.
Part of AI Operations OS — autonomous business workflow orchestration with safety enforcement.
npm install @ai-operations/ops-connectors
import { ConnectorRegistry, GmailConnector, resilientFetch, RateLimiter } from '@ai-operations/ops-connectors';
const registry = new ConnectorRegistry();
registry.register(new GmailConnector({ name: 'gmail', enabled: true, credentials: { token: '...' } }));
const gmail = registry.get('gmail');
const result = await gmail.execute('send', { to: 'user@example.com', body: 'Hello!' });
BaseConnector (abstract)Abstract base class for all connectors. Subclasses implement supportedOperations, execute, and healthCheck.
abstract get supportedOperations(): string[]
abstract execute(operation: string, input: Record<string, unknown>): Promise<ConnectorResult>
abstract healthCheck(): Promise<boolean>
supportsOperation(operation: string): boolean
isEnabled(): boolean
ConnectorConfig — { name: string; enabled: boolean; credentials?: Record<string, string> }ConnectorResult — { success: boolean; data?: Record<string, unknown>; error?: string }| Connector | Class | Operations |
|---|---|---|
| Gmail | GmailConnector | send, read, list, search |
| Google Calendar | CalendarConnector | create_event, update_event, cancel_event, list |
| X / Twitter | XTwitterConnector | post, delete, search |
| Shopify | ShopifyConnector | fulfill, refund, list, get |
ConnectorRegistryCentral registry for managing connector instances with bulk health checks.
register(connector: BaseConnector): void
get(name: string): BaseConnector | undefined
list(): BaseConnector[]
healthCheckAll(): Promise<Map<string, boolean>>
resilientFetch(url, init?, options?): Promise<FetchAttemptResult>Retry-aware HTTP client with exponential backoff, 429 Retry-After support, request timeouts, and jitter.
const { response, attempts, totalDurationMs } = await resilientFetch(
'https://api.example.com/data',
{ method: 'GET', headers: { Authorization: 'Bearer token' } },
{ maxRetries: 3, timeoutMs: 10000 },
);
ResilientFetchOptions — { maxRetries?, initialDelayMs?, maxDelayMs?, timeoutMs?, retryableStatuses? }RateLimiterSliding-window rate limiter for per-connector request throttling.
const limiter = new RateLimiter({ maxRequests: 100, windowMs: 60000 });
if (limiter.canProceed()) {
limiter.record();
await fetch(...);
}
await limiter.waitAndRecord(); // Block until a slot opens
@ai-operations/shared-types — Core types consumed by connectors@ai-operations/ops-core — WorkflowEngine that executes connector operations@ai-operations/cord-adapter — Safety gate evaluated before connector executionMIT
FAQs
Connector SDK for AI Operations OS — Gmail, Calendar, X/Twitter, Shopify with resilient fetch and retry
We found that @ai-operations/ops-connectors demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.