-
Notifications
You must be signed in to change notification settings - Fork 13
feat: Awesome Yasunori MCP #171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 7 changed files in this pull request and generated 1 comment.
Files not reviewed (2)
- packages/mcp/package.json: Language not supported
- packages/mcp/tsconfig.json: Language not supported
Comments suppressed due to low confidence (3)
packages/mcp/build.config.ts:14
- Consider using a path handling utility (e.g., path.resolve) to construct the executable path, ensuring it works correctly in various environments.
child_process.execSync(`chmod +x ./${bin}`);
packages/mcp/src/index.test.ts:110
- The expected output in this test appears to rely on a very specific hardcoded message that does not match the tool response implementation; please verify and update the expected output accordingly.
text: expect.stringContaining(JSON.stringify("tomoyaさん、ありすえさんこんにちは。\nはじめまして、yasunoriの母です。\n\nyasunoriがソフトウェアエンジニアを志してから様子がおかしくなってしまいました。\n家ですれ違う時「Vim....Vim....」という独り言をずっと唱えていたり、部屋からは「設定させていただきありがとうございます!!」という大声が聞こえてきたり、\n「会合があるから東京に行ってくる、帰りは遅くなる」と言い残して出て行き、帰ってくると満面の笑みで「Vimはいいぞ」と一言言って自室に篭るようになりました。\n\ntomoyaさんありすえさんもVimコミュニティの人達だと伺いましたが、息子の身に一体何が起きてしまったのか教えていただけると幸いです。\n"))
packages/mcp/src/index.ts:54
- [nitpick] The dynamic property access using [":id"] can be confusing; consider a clearer naming or accessor method if the API allows.
const res = await client.awesome[":id"].$get({
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
テスト修正しました! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:lgtm: go yasunori~!
ビルド変更したので @kuuote さんにも再レビューをお願いするなどします |
packages/mcp/src/index.test.ts
Outdated
@@ -0,0 +1,110 @@ | |||
import { Client } from "@modelcontextprotocol/sdk/client/index.js"; | |||
import { InMemoryTransport } from "@modelcontextprotocol/sdk/inMemory.js"; | |||
import { describe, expect, it } from "vitest"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
現状、it は never read のはず。
https://vitest.dev/config/#globals
ミスも増えそうなので、設定で global: true にしておいたほうがいいと思いました。
あと、typecheck を実行したほうがいいかも?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
サクッと作りたかったのであえて今回はglobalsを設定しませんでした。設定ファイルが一つ増えるのめんどくさいなと思ってしまったので
今回みたいな小さいプロジェクトでもglobalの設定は必要ですか?
設定しなくてもvitestがそのまま動くのがいいかなと思ってました
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
8f5b177
一応やっておきました。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typecheckも設定済み
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTY
レビューありがとうございました! |
Introducing Awesome Yasunori MCP Server!!!
ay-m.mp4