@kagayoi/hatena-blog-mcp 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/DESIGN.md +2 -0
- package/README.en.md +2 -0
- package/README.md +2 -0
- package/dist/mcp/server.d.ts +1 -1
- package/dist/mcp/server.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/DESIGN.md
CHANGED
|
@@ -102,6 +102,8 @@ AtomPubのPUTは部分patchではないため、`update_entry` と `update_page`
|
|
|
102
102
|
|
|
103
103
|
## buildと検証境界
|
|
104
104
|
|
|
105
|
+
npm公開用publish.ymlは、npm Trusted Publishingとprovenanceのcloud-hosted build要件に合わせ、install・検証・build・pack・公開をGitHub-hosted ubuntu-latest内で実行します。通常のdependency-validationはM3 Linux ARM64を使います。保存公開tokenは使わず、OIDCと--provenanceを維持します。一回packした同じtarballのSHA-512と既存版のintegrityを確認し、作り直さず公開します。workflow filenameと従来のrelease/manual条件を維持します。
|
|
106
|
+
|
|
105
107
|
`tsconfig.json` は開発時の型検査、`tsconfig.build.json` は `dist/` のJavaScriptと型宣言生成を定義する。`package.json` はCLI、library export、npm配布version、tarball内容、public accessを定義する。MCP initializeで公開するversionは `src/mcp/server.ts` の `SERVER_INFO.version` が保持し、同一リリースを表すためnpm配布versionと常に一致させる。
|
|
106
108
|
|
|
107
109
|
自動テストはNode上のVitestでclients、XML、MCP handlers、認証、stdio adapterを検証する。`scripts/smoke-stdio.mjs` はbuild済みCLIを実プロセスとして起動し、MCP initialize、13ツールの列挙、アイキャッチschemaを検証する。coverage要件と必須コマンドは [AGENTS.md](./AGENTS.md) を参照する。
|
package/README.en.md
CHANGED
|
@@ -49,6 +49,8 @@ If a Windows client cannot find `npx`, use `npx.cmd`. Prefer the client's or ope
|
|
|
49
49
|
|
|
50
50
|
The `@latest` spec resolves npm's `latest` dist-tag when the MCP process starts. The MCP does not rewrite itself or contact a custom update service while running. For reproducible installs, replace `latest` with the exact release version you intend to use.
|
|
51
51
|
|
|
52
|
+
If you already registered the server with a pinned version (for example `@kagayoi/hatena-blog-mcp@1.0.6`), change the package argument in that registration to `@kagayoi/hatena-blog-mcp@latest`. Updating this README does not change existing registrations, but after that edit each launch uses the latest release automatically.
|
|
53
|
+
|
|
52
54
|
### Run from source
|
|
53
55
|
|
|
54
56
|
```sh
|
package/README.md
CHANGED
|
@@ -49,6 +49,8 @@ Windowsでクライアントが `npx` を見つけられない場合は、`comma
|
|
|
49
49
|
|
|
50
50
|
`@latest` を指定すると、MCPプロセスの起動時にnpmの `latest` dist-tagを解決します。MCP自身が実行中にファイルを書き換えたり、独自の更新サーバーへ問い合わせたりはしません。再現性を優先する場合は、`latest` を実際に利用するリリースversionへ置き換えて固定できます。
|
|
51
51
|
|
|
52
|
+
すでに `@kagayoi/hatena-blog-mcp@1.0.6` のような固定版で登録している場合は、登録済みの起動引数を `@kagayoi/hatena-blog-mcp@latest` に書き換えると、以後は起動のたびに自動で最新版になります(README の更新だけでは既存の登録は変わりません)。
|
|
53
|
+
|
|
52
54
|
### ソースから起動
|
|
53
55
|
|
|
54
56
|
```sh
|
package/dist/mcp/server.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import type { ToolContext } from "./context.js";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare const SERVER_INFO: {
|
|
10
10
|
readonly name: "hatena-blog-mcp";
|
|
11
|
-
readonly version: "1.0.
|
|
11
|
+
readonly version: "1.0.7";
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* Build a fresh {@link McpServer} scoped to the supplied credentials.
|
package/dist/mcp/server.js
CHANGED