New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@dittos-loop/daemon

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dittos-loop/daemon

Local agent daemon for Dittos.Loop — connects your machine's Claude Code to a Loop engine over WebSocket. Run via npx; no repo clone needed.

latest
npmnpm
Version
0.1.0
Version published
Weekly downloads
19
375%
Maintainers
1
Weekly downloads
 
Created
Source

@dittos-loop/daemon

Local agent daemon for Dittos.Loop. It connects the Claude Code on your machine to a Loop engine over WebSocket: the engine never runs the model — it dispatches each turn to this daemon, which runs claude locally and streams the result back. Run it with npx; no repo clone or npm install required.

Prerequisites

  • Node.js ≥ 20
  • Claude Code CLI on your PATH (claude --version). The daemon spawns claude to run each turn. Install: https://claude.com/claude-code

Usage

Generate a link token in the app's "链接本地 agent" panel, then run the command it shows:

ENGINE_WS_URL="wss://dittosloop.com/api/daemon/ws?token=YOUR_TOKEN" npx -y @dittos-loop/daemon

The dot in the panel turns green once it's connected.

Model

By default the daemon points Claude Code at Kimi K2.6 (Moonshot). To use a different model — e.g. your own Anthropic-authenticated Claude Code:

CLAUDE_CODE_MODEL=sonnet ENGINE_WS_URL="wss://…" npx -y @dittos-loop/daemon

Any non-Kimi value runs your machine's default Claude Code auth instead of the Moonshot endpoint.

Environment

varpurpose
ENGINE_WS_URLrequired — wss://…/api/daemon/ws?token=… from the panel
CLAUDE_CODE_MODELmodel to run (default kimi-k2.6; e.g. sonnet)
CLAUDE_CODE_BASE_URL / MOONSHOT_ANTHROPIC_BASE_URLoverride the Anthropic-compatible base URL

Keywords

dittos

FAQs

Package last updated on 23 Jun 2026

Related posts