
Company News
Meet the Socket Team at RSAC and BSidesSF 2026
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.
@cmdop/core
Advanced tools
Shared TypeScript types, interfaces, and configuration for the CMDOP SDK.
npm install @cmdop/core
# or
pnpm add @cmdop/core
# or
yarn add @cmdop/core
This package provides shared code between @cmdop/node and @cmdop/react packages:
Note: This package has no protobuf/gRPC dependencies to keep the bundle small for browser usage.
import {
// Types
CMDOPConfig,
SessionInfo,
FileInfo,
AgentEvent,
// Errors
CMDOPError,
ConnectionError,
AuthenticationError,
SessionError,
TimeoutError,
NotFoundError,
PermissionError,
// Config
DEFAULT_CONFIG,
} from '@cmdop/core';
HTTP API clients for the CMDOP REST API. These are provided for convenience if you need to manage machines, workspaces, etc. via REST.
import { api } from '@cmdop/core';
// Set JWT token (from OAuth or API key exchange)
api.machines.setToken('jwt-token');
// Use REST API
const list = await api.machines.machines_machines.machinesList();
const machine = await api.machines.machines_machines.machinesRetrieve({ id: 'machine-id' });
Pre-configured for https://api.cmdop.com. For a custom URL:
import { MachinesModule } from '@cmdop/core';
const customApi = new MachinesModule.API('https://custom.api.com');
For full documentation, visit https://cmdop.com/docs
MIT
FAQs
CMDOP SDK Core - Shared types, interfaces, and configuration
The npm package @cmdop/core receives a total of 1,656 weekly downloads. As such, @cmdop/core popularity was classified as popular.
We found that @cmdop/core 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.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.

Research
/Security News
Malicious Packagist packages disguised as Laravel utilities install an encrypted PHP RAT via Composer dependencies, enabling remote access and C2 callbacks.

Research
/Security News
OpenVSX releases of Aqua Trivy 1.8.12 and 1.8.13 contained injected natural-language prompts that abuse local AI coding agents for system inspection and potential data exfiltration.