Skip to content

Miwarang Delegate v0.10.1

Choose a tag to compare

@itokun99 itokun99 released this 16 Nov 21:32
· 4 commits to main since this release

Miwarang Delegate v0.10.1

One-command installation for every supported host, from a single npm package.

Installer (npx miwarang init)

The package now ships a bin (src/installer.ts) with an interactive
target picker and non-interactive flags:

  • OMO / Senpi → copies the extension into
    ~/.omo/agent/extensions/miwarang/ (all backend/service modules plus the
    extension.js shim), and seeds
    ~/.config/miwarang/config.json from config.example.json when no config
    exists yet.
  • Pi → copies the bundled extension to
    ~/.pi/agent/extensions/miwarang.js.
  • OpenCode → copies the bundled V2 plugin into
    .opencode/plugins/miwarang/index.js, or
    ~/.config/opencode/plugins/miwarang/ with --global.
  • Claude Code → registers the MCP server in the project .mcp.json and
    ~/.claude/claude.json (mcpServers.miwarang).
  • Other MCP host → prints a ready-to-paste mcpServers snippet.

miwarang uninstall --target <same> removes the same artifacts. Home
directories are overridable with MIWARANG_HOME for testing. The package
name is now miwarang with bin.miwarang pointing at the installer.

Verification

  • bunx tsc --noEmit: exit 0.
  • bun test: 92 pass / 0 fail across 16 files (217 assertions), including
    six new installer tests (per-target placement, config seeding, uninstall).
  • Real-surface smoke: interactive init (piped stdin, target 5) printed the
    MCP snippet; init --target senpi installed all artifacts into a temp
    home (EXTENSION_COPIED: true, CONFIG_COPIED: true); the real-home
    install was verified by importing the installed
    ~/.omo/agent/extensions/miwarang/extension.ts (default export loads).