Skip to content

tsumugi-cli v0.1.0

Choose a tag to compare

@archfill archfill released this 16 Jun 14:52
· 47 commits to main since this release
f079e6b

Initial release of @archfill/tsumugi-cli — the npx installer for the tsumugi memory plugin (Claude Code & Codex).

Install

npx @archfill/tsumugi-cli install

対話で:

  1. tsumugi server URL を入力
  2. Install for which platform? (Claude Code / Codex / Both)

の 2 つを聞かれるだけで、marketplace 登録 / plugin 有効化 / credentials 書込 まで全部自動。

Features

  • Claude Code 対応: ~/.claude/plugins/ 配下に marketplace + plugin 登録、settings.jsonenabledPlugins に追記
  • Codex 対応: ~/.codex/plugins/marketplaces/archfill/ に clone、codex plugin marketplace add で登録 (codex CLI が PATH にある場合)
  • Both 同時インストール: --platform=both (デフォルト) で両プラットフォームに 1 コマンドで導入
  • 対話 UI: @clack/prompts ベースの polished な prompts + スピナー付きタスク進捗
  • 非対話モード: --non-interactive + --url で CI / スクリプト対応
  • fail-safe: ファイル書込は atomic (tmp + rename) で既存設定を破壊しない

What it installs

  • 3 つの inject-only hook (SessionStart / UserPromptSubmit / PreToolUse(Read)) — agent への過去 memory 注入と save_observation rubric (ADR-011)
  • tsumugi MCP server (save_observation / search_memory / trigger_dreaming / get_dreaming_status) を .mcp.json 経由で自動登録

CLI options

-u, --url <URL>           tsumugi server URL
-p, --platform <kind>     claude | codex | both
-y, --non-interactive     Skip prompts (requires --url)
-f, --force               Re-clone marketplace
-h, --help

Links