README debugging sample shows a stale version and tool count

未關閉 適合新手
#94 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
1/5
預估耗時
1 小時以內
新手友好度
82/100
Issue 類型
文件
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
markdown, typescript
領域
documentation

研究方向

過時的範例是 Debugging 章節中 README.md:152 的啟動日誌行;真正的日誌行是在 src/index.ts 中建構的,因此請先閱讀該檔案,了解版本號和工具數量是如何產生的。將 README 範例中寫死的版本號和工具數量替換為佔位符,然後執行 npm test,確認文件漂移測試仍然通過。當 Debugging 範例不再顯示固定的版本號或工具數量時,即完成。

由索引模型根據 Issue 內容生成。

描述

documentation good first issue priority: low

Summary

The sample log in the README's Debugging section shows a version and tool count that no longer match the server, which is confusing next to the 39-tool badge.

Where

  • README.md:152 (Debugging section sample output)

Details

[steam-mcp] v0.9.1 started: 26 tools, STEAM_API_KEY set

The package is at 0.9.0, and the default bin now loads more than 26 tools (39 in total, with mutations off by default). The startup line is built from the real version and tool count (src/index.ts), so the sample has drifted from what users will see.

Impact

Minor. A user comparing their log with the README may think the wrong version is installed or that tools are missing.

Suggested fix

Replace the version and tool count in the sample with placeholders (for example vX.Y.Z started: N tools), so it cannot drift again. Or use values that match the default toolsets at the next release.

Acceptance criteria

  • The Debugging sample no longer shows a stale version or tool count.

Getting started

  • Relevant files: README.md, src/index.ts (startup line)
  • How to run tests: npm test (the docs-drift test checks the tool counts elsewhere in the README)

Filed by repo-audit/fix-issues at 818d386. Severity: low. Effort: S. audit-key: documentation|README.md|debugging-sample

主要語言
TypeScript
星號
5
分支
2
平均合併
1 小時 32 分鐘
30 天內合併 PR
3

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

TMHSDigital/steam-mcp 的其他 Issue

查看 TMHSDigital/steam-mcp 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。