Skip to content

Conversation

kechirojp
Copy link

概要

Qwen3 Coder環境への対応を追加し、--targetオプションでClaude CodeとQwen3 Coderの両方に対応できるようにしました。

変更内容

  • --target qwenオプションでQwen3 Coder環境にインストール可能
  • .tsumikirc設定ファイルサポートによるデフォルト環境設定
  • config.tstarget.tsユーティリティ関数の追加
  • クロスプラットフォーム対応のビルドスクリプト改善
  • README.mdにアンインストール手順とQwen3 Coder対応の説明を追加

使用方法

# Qwen3 Coder環境にインストール
npx tsumiki install --target qwen

# 設定ファイルでデフォルト指定
echo 'target = "qwen"' > .tsumikirc
npx tsumiki install

# Qwen3 Coder環境からアンインストール
npx tsumiki uninstall --target qwen

設定ファイル(`.tsumikirc`)でターゲットを指定している場合は、オプションなしでも適切な環境からアンインストールされます。

- Add --target qwen option for Qwen3 Coder environment
- Implement .tsumikirc configuration file support
- Add config and target utility functions
- Update CLI to support multiple Coder environments
- Fix Ink rendering issues in install/uninstall components
- Add uninstall documentation to README.md
- Update build scripts for cross-platform compatibility

This enables Tsumiki to work seamlessly with both Claude Code and Qwen3 Coder environments.
@cm-dyoshikawa cm-dyoshikawa self-requested a review August 7, 2025 08:16
Copy link
Contributor

@cm-dyoshikawa cm-dyoshikawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR作成ありがとうございます。
基本的なアイデアは賛成です!
実装についてコメントをしたので対応をお願いできれば幸いです。

@@ -0,0 +1 @@
target = "qwen"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.tsumikirc を設けるのは良いアイデアだと思います!ただしインターフェースはJSONでお願いしたいです。

@@ -40,12 +40,15 @@
"dist"
],
"scripts": {
"build": "rm -rf dist && mkdir -p dist/commands dist/agents && cp ./commands/*.md ./commands/*.sh dist/commands/ 2>/dev/null || true && cp ./agents/*.md dist/agents/ 2>/dev/null || true && tsup",
"build": "rimraf dist && mkdirp dist/commands && copyfiles -u 1 commands/*.md commands/*.sh dist/commands/ && tsup",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rimrafとmkdirpについては現在開発が活発ではないようなので、採用は見送りたいです。Windows環境の場合も、devconainerの開発環境でこれらコマンドの実行は可能と考えています。

"@types/node": "24.1.0",
"@types/react": "19.1.9",
"@typescript/native-preview": "7.0.0-dev.20250729.2",
"copyfiles": "2.4.1",
"jest": "30.0.5",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

本プロジェクトにおいては、テスティングフレームワークはvitestを採用したいと考えています。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants