Skip to content

tsumugi-cli v0.1.4

Choose a tag to compare

@archfill archfill released this 26 Jun 13:40
· 28 commits to main since this release

Feature release. Codex の marketplace 登録を local path ではなく Git marketplace に切り替え、CLI から Claude Code / Codex の更新を明示的に実行できるようにした。

What changed

Codex marketplace registration

  • Codex の登録を local path marketplace から Git marketplace に変更:
codex plugin marketplace add archfill/tsumugi --ref main
codex plugin add tsumugi@archfill
  • これにより、以後の更新は Codex CLI 標準の marketplace upgrade で取得できる:
codex plugin marketplace upgrade archfill

CLI update command

  • tsumugi-cli update を追加。
  • Claude Code:
    • local marketplace clone を git pull --ff-only
    • known_marketplaces.json / installed_plugins.json を再登録
  • Codex:
    • Git marketplace 登録を保証
    • codex plugin marketplace upgrade archfill
    • codex plugin add tsumugi@archfill で plugin install/enabled 状態を更新

Docs

  • apps/cli/README.md の install/update 説明を Git marketplace 前提に更新。
  • integrations/codex/README.md の manual install/update 手順を更新。

Hooks metadata

  • integrations/codex/hooks/hooks.json から top-level description metadata を削除。
  • hook 本体の event / matcher / command は変更なし。

Upgrade

CLI を更新:

npm install -g @archfill/tsumugi-cli@0.1.4

または都度実行:

npx @archfill/tsumugi-cli@0.1.4 update

Codex だけ更新する場合:

npx @archfill/tsumugi-cli@0.1.4 update --platform=codex

Claude Code だけ更新する場合:

npx @archfill/tsumugi-cli@0.1.4 update --platform=claude

Notes

  • CLI package version は 0.1.4
  • plugin metadata version は引き続き 0.1.0。これは Claude Code の installed plugin metadata 用で、CLI package version とは別管理。
  • v0.1.4 以降の Codex 更新は codex plugin marketplace upgrade archfill が使える。

Verification

  • node --check apps/cli/bin/cli.mjs
  • node apps/cli/bin/cli.mjs --help
  • node apps/cli/bin/cli.mjs update --help
  • pnpm --filter @archfill/tsumugi-cli typecheck
  • node apps/cli/bin/cli.mjs update --platform=codex
  • codex plugin marketplace upgrade archfill --json
  • pnpm --filter @archfill/tsumugi-cli test
  • pnpm --filter @archfill/tsumugi-cli pack:dry
  • main CI: build & typecheck / db integration

Links