@intra-mart/accel 0.6.0-dev.202609250429 → 0.6.0-rc.202609281227
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/README.md +2 -1
- package/dist/core/constants.js +1 -1
- package/dist/utils/mcp-generate.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -319,7 +319,8 @@ accel init my-project --juggling-project /path/to/juggling-project
|
|
|
319
319
|
|
|
320
320
|
資材リポジトリが提供するテンプレートから、コーディングエージェント用の MCP 設定ファイルを自動生成します。iAP への接続先 URL と API キーは生成時に埋め込まれるため、手動で設定する必要はありません。
|
|
321
321
|
|
|
322
|
-
- 生成先は選択したエージェントに応じて `.mcp.json`(claude-code)/ `.vscode/mcp.json`(github-copilot)/ `.codex/config.toml`(codex)です。
|
|
322
|
+
- 生成先は選択したエージェントに応じて `.mcp.json`(claude-code)/ `.github/mcp.json`・`.vscode/mcp.json`(github-copilot)/ `.codex/config.toml`(codex)です。
|
|
323
|
+
- github-copilot の生成先は利用するツールによって異なります。GitHub Copilot CLI は `.github/mcp.json` を読み込みます。VS Code の GitHub Copilot は `.vscode/mcp.json` を読み込みます。
|
|
323
324
|
- 資材の配備(`init` / `attach` / `update` / `switch`)と接続情報の保存(`login` / `deploy`)のタイミングで生成・更新されます。iAP の接続情報を必要とするエントリは、`accel login` などで接続情報を設定するまで生成されません。
|
|
324
325
|
- 既存の MCP 設定ファイルがある場合はエントリ単位でマージします。**ユーザーが追加したエントリには触れず**、CLI が生成したエントリのみを最新の内容に保ちます。
|
|
325
326
|
- テンプレートがサーバー定義以外の設定(Codex の `[features]` 等)を含む場合も同じファイルへ反映します。これらの設定は**ユーザーが値を変更していない間だけ** CLI が更新・削除し、変更した値はそのまま残します。
|
package/dist/core/constants.js
CHANGED
|
@@ -36,7 +36,7 @@ export const DEFAULT_SETTINGS = {
|
|
|
36
36
|
group: "com.example",
|
|
37
37
|
projectVersion: "0.1.0",
|
|
38
38
|
description: "",
|
|
39
|
-
accelplatformVersion: { label: "2026-
|
|
39
|
+
accelplatformVersion: { label: "2026-autumn", semver: "8.0.40" },
|
|
40
40
|
modules: [],
|
|
41
41
|
features: [],
|
|
42
42
|
database: "postgresql",
|
|
@@ -21,6 +21,7 @@ const UNSAFE_KEYS = new Set([
|
|
|
21
21
|
]);
|
|
22
22
|
const OUTPUT_TARGETS = new Map([
|
|
23
23
|
[".mcp.json", { format: "json", containerKey: "mcpServers" }],
|
|
24
|
+
[".github/mcp.json", { format: "json", containerKey: "mcpServers" }],
|
|
24
25
|
[".vscode/mcp.json", { format: "json", containerKey: "servers" }],
|
|
25
26
|
[".codex/config.toml", { format: "toml", containerKey: "mcp_servers" }],
|
|
26
27
|
]);
|