@taptap/maker 0.0.30-beta.1 → 0.0.30-beta.2
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
CHANGED
|
@@ -15,7 +15,7 @@ taptap-maker init
|
|
|
15
15
|
taptap-maker doctor
|
|
16
16
|
taptap-maker apps --json
|
|
17
17
|
taptap-maker pat set
|
|
18
|
-
taptap-maker install --ide codex,cursor,claude
|
|
18
|
+
taptap-maker install --ide codex,cursor,claude,trae,opencode,workbuddy
|
|
19
19
|
taptap-maker mcp verify
|
|
20
20
|
taptap-maker agents update
|
|
21
21
|
taptap-maker upgrade
|
|
@@ -24,7 +24,13 @@ taptap-maker dev-kit update
|
|
|
24
24
|
|
|
25
25
|
`taptap-maker install` is a shortcut alias for `taptap-maker mcp install`.
|
|
26
26
|
`taptap-maker upgrade` refreshes the current machine MCP config and the current bound project's
|
|
27
|
-
managed `AGENTS.md` policy block.
|
|
27
|
+
managed `AGENTS.md` policy block. The user-level MCP entry never stores a project `cwd`;
|
|
28
|
+
reinstall and upgrade also remove legacy project `cwd` values. On upgrade, `--target-dir` only
|
|
29
|
+
selects the project whose managed `AGENTS.md` policy is updated. Clients with one unambiguous MCP
|
|
30
|
+
Roots workspace resolve it automatically; clients without usable Roots pass `target_dir` on each
|
|
31
|
+
concrete Maker tool call. Initial install or a package/static-schema change can require one client
|
|
32
|
+
reconnect to load the new MCP tools. Binding or switching Maker projects does not rewrite MCP config
|
|
33
|
+
and does not require a new conversation.
|
|
28
34
|
|
|
29
35
|
This package contains only the Maker CLI/MCP bundle and Maker workflow skills.
|
|
30
36
|
It does not include the legacy TapTap Open API MCP server, proxy, native signer,
|
|
@@ -32,4 +38,4 @@ or OpenClaw plugin package contents.
|
|
|
32
38
|
|
|
33
39
|
Full connection and tool-call troubleshooting guide: `docs/MAKER_MCP_CONNECTION_TROUBLESHOOTING.md`.
|
|
34
40
|
|
|
35
|
-
Version: 0.0.30-beta.
|
|
41
|
+
Version: 0.0.30-beta.2
|
package/dist/maker.js
CHANGED
|
@@ -29314,8 +29314,9 @@ function createMakerAgentsPolicyBody() {
|
|
|
29314
29314
|
'- Never repair cwd by wrapping the command with `cd /d "<project>" && npx.cmd ...`.',
|
|
29315
29315
|
" Maker supports Chinese project paths; command-shell quoting or client startup can fail",
|
|
29316
29316
|
" independently of the project path.",
|
|
29317
|
-
"-
|
|
29318
|
-
"
|
|
29317
|
+
"- User-level MCP config must not contain a project cwd. If WorkBuddy does not expose Roots,",
|
|
29318
|
+
" pass target_dir on the concrete Maker tool call and record the process actual cwd only as",
|
|
29319
|
+
" diagnostic evidence.",
|
|
29319
29320
|
"- Do not assume Windows 8.3 short paths exist or differ from the original long path. Verify",
|
|
29320
29321
|
" the result first; an unchanged or missing short path is not a usable cwd workaround.",
|
|
29321
29322
|
"- Reproduce the configured Windows launch with the same direct argv boundary when possible.",
|
|
@@ -36141,7 +36142,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36141
36142
|
},
|
|
36142
36143
|
target_dir: {
|
|
36143
36144
|
type: "string",
|
|
36144
|
-
description: "Optional local Maker project directory.
|
|
36145
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36145
36146
|
}
|
|
36146
36147
|
},
|
|
36147
36148
|
required: ["prompt", "name", "target_size"]
|
|
@@ -36219,7 +36220,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36219
36220
|
},
|
|
36220
36221
|
target_dir: {
|
|
36221
36222
|
type: "string",
|
|
36222
|
-
description: "Optional local Maker project directory.
|
|
36223
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36223
36224
|
}
|
|
36224
36225
|
},
|
|
36225
36226
|
required: ["images"]
|
|
@@ -36287,7 +36288,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36287
36288
|
},
|
|
36288
36289
|
target_dir: {
|
|
36289
36290
|
type: "string",
|
|
36290
|
-
description: "Optional local Maker project directory.
|
|
36291
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36291
36292
|
}
|
|
36292
36293
|
},
|
|
36293
36294
|
required: ["image", "prompt", "name", "target_size"]
|
|
@@ -36371,7 +36372,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36371
36372
|
},
|
|
36372
36373
|
target_dir: {
|
|
36373
36374
|
type: "string",
|
|
36374
|
-
description: "Optional local Maker project directory.
|
|
36375
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36375
36376
|
}
|
|
36376
36377
|
},
|
|
36377
36378
|
required: ["action"]
|
|
@@ -36421,7 +36422,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36421
36422
|
},
|
|
36422
36423
|
target_dir: {
|
|
36423
36424
|
type: "string",
|
|
36424
|
-
description: "Optional local Maker project directory.
|
|
36425
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36425
36426
|
}
|
|
36426
36427
|
},
|
|
36427
36428
|
required: ["prompt"]
|
|
@@ -36540,7 +36541,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36540
36541
|
},
|
|
36541
36542
|
target_dir: {
|
|
36542
36543
|
type: "string",
|
|
36543
|
-
description: "Optional local Maker project directory.
|
|
36544
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36544
36545
|
}
|
|
36545
36546
|
},
|
|
36546
36547
|
required: ["mode"]
|
|
@@ -36562,7 +36563,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36562
36563
|
},
|
|
36563
36564
|
target_dir: {
|
|
36564
36565
|
type: "string",
|
|
36565
|
-
description: "Optional local Maker project directory.
|
|
36566
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36566
36567
|
}
|
|
36567
36568
|
},
|
|
36568
36569
|
required: ["task_id"]
|
|
@@ -36595,7 +36596,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36595
36596
|
},
|
|
36596
36597
|
target_dir: {
|
|
36597
36598
|
type: "string",
|
|
36598
|
-
description: "Optional local Maker project directory.
|
|
36599
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36599
36600
|
}
|
|
36600
36601
|
},
|
|
36601
36602
|
required: ["text"]
|
|
@@ -36635,7 +36636,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36635
36636
|
},
|
|
36636
36637
|
target_dir: {
|
|
36637
36638
|
type: "string",
|
|
36638
|
-
description: "Optional local Maker project directory.
|
|
36639
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36639
36640
|
}
|
|
36640
36641
|
},
|
|
36641
36642
|
required: ["sounds"]
|
|
@@ -36681,7 +36682,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36681
36682
|
},
|
|
36682
36683
|
target_dir: {
|
|
36683
36684
|
type: "string",
|
|
36684
|
-
description: "Optional local Maker project directory.
|
|
36685
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36685
36686
|
}
|
|
36686
36687
|
},
|
|
36687
36688
|
required: ["inputs"]
|
|
@@ -36715,7 +36716,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36715
36716
|
},
|
|
36716
36717
|
target_dir: {
|
|
36717
36718
|
type: "string",
|
|
36718
|
-
description: "Optional local Maker project directory.
|
|
36719
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36719
36720
|
}
|
|
36720
36721
|
},
|
|
36721
36722
|
required: ["character_name", "character_description", "audition_line"]
|
|
@@ -36737,7 +36738,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36737
36738
|
},
|
|
36738
36739
|
target_dir: {
|
|
36739
36740
|
type: "string",
|
|
36740
|
-
description: "Optional local Maker project directory.
|
|
36741
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36741
36742
|
}
|
|
36742
36743
|
},
|
|
36743
36744
|
required: ["character_name"]
|
|
@@ -36756,7 +36757,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36756
36757
|
},
|
|
36757
36758
|
target_dir: {
|
|
36758
36759
|
type: "string",
|
|
36759
|
-
description: "Optional local Maker project directory.
|
|
36760
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36760
36761
|
}
|
|
36761
36762
|
},
|
|
36762
36763
|
required: []
|
|
@@ -36774,7 +36775,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36774
36775
|
},
|
|
36775
36776
|
target_dir: {
|
|
36776
36777
|
type: "string",
|
|
36777
|
-
description: "Optional local Maker project directory.
|
|
36778
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36778
36779
|
}
|
|
36779
36780
|
},
|
|
36780
36781
|
required: ["user_id"]
|
|
@@ -36788,7 +36789,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36788
36789
|
properties: {
|
|
36789
36790
|
target_dir: {
|
|
36790
36791
|
type: "string",
|
|
36791
|
-
description: "Optional local Maker project directory.
|
|
36792
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36792
36793
|
}
|
|
36793
36794
|
},
|
|
36794
36795
|
required: []
|
|
@@ -36831,7 +36832,7 @@ var remoteProxyToolSnapshot_default = {
|
|
|
36831
36832
|
},
|
|
36832
36833
|
target_dir: {
|
|
36833
36834
|
type: "string",
|
|
36834
|
-
description: "Optional local Maker project directory.
|
|
36835
|
+
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
36835
36836
|
}
|
|
36836
36837
|
},
|
|
36837
36838
|
required: []
|
|
@@ -36987,7 +36988,7 @@ function applyDefaults(config2) {
|
|
|
36987
36988
|
var MAKER_MCP_TRACKING_ACTION = "tapmaker_mcp_call";
|
|
36988
36989
|
var MAKER_MCP_TRACKING_SOURCE = "local_mcp";
|
|
36989
36990
|
var MAKER_MCP_TRACKING_TIMEOUT_MS = 1500;
|
|
36990
|
-
var MAKER_MCP_VERSION = "0.0.30-beta.
|
|
36991
|
+
var MAKER_MCP_VERSION = "0.0.30-beta.2".trim() ? "0.0.30-beta.2".trim() : "dev";
|
|
36991
36992
|
var TRACKING_ERROR_MAX_LENGTH = 500;
|
|
36992
36993
|
function buildMakerMcpTrackingPayload(event) {
|
|
36993
36994
|
var _a3, _b, _c;
|
|
@@ -37300,7 +37301,7 @@ function createMakerRemoteProxyManager(options = {}) {
|
|
|
37300
37301
|
}
|
|
37301
37302
|
|
|
37302
37303
|
// src/maker/server/mcp.ts
|
|
37303
|
-
var VERSION = true ? "0.0.30-beta.
|
|
37304
|
+
var VERSION = true ? "0.0.30-beta.2" : "dev";
|
|
37304
37305
|
var DEFAULT_BUILD_TIMEOUT_MS = 10 * 60 * 1e3;
|
|
37305
37306
|
var DEFAULT_PROXY_RETRY_ATTEMPTS = 5;
|
|
37306
37307
|
var DEFAULT_PROXY_RETRY_DELAY_MS = 30 * 1e3;
|
|
@@ -37381,6 +37382,7 @@ var MAKER_BUILD_MULTIPLAYER_SCHEMA = {
|
|
|
37381
37382
|
}
|
|
37382
37383
|
}
|
|
37383
37384
|
};
|
|
37385
|
+
var MAKER_TARGET_DIR_SCHEMA_DESCRIPTION = "Optional Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass target_dir explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This per-call value is never persisted in user-level MCP config.";
|
|
37384
37386
|
var MakerCloneFailedError = class extends Error {
|
|
37385
37387
|
constructor(targetDir, originalError) {
|
|
37386
37388
|
const message = originalError instanceof Error ? originalError.message : String(originalError);
|
|
@@ -37400,7 +37402,7 @@ var tools = [
|
|
|
37400
37402
|
properties: {
|
|
37401
37403
|
target_dir: {
|
|
37402
37404
|
type: "string",
|
|
37403
|
-
description:
|
|
37405
|
+
description: MAKER_TARGET_DIR_SCHEMA_DESCRIPTION
|
|
37404
37406
|
},
|
|
37405
37407
|
skip_remote_sync: {
|
|
37406
37408
|
type: "boolean",
|
|
@@ -37422,7 +37424,7 @@ var tools = [
|
|
|
37422
37424
|
properties: {
|
|
37423
37425
|
target_dir: {
|
|
37424
37426
|
type: "string",
|
|
37425
|
-
description:
|
|
37427
|
+
description: MAKER_TARGET_DIR_SCHEMA_DESCRIPTION
|
|
37426
37428
|
},
|
|
37427
37429
|
entry: {
|
|
37428
37430
|
type: "string",
|
|
@@ -38180,14 +38182,18 @@ function formatMakerClientRootsSummary(roots) {
|
|
|
38180
38182
|
"- next_action: Open a single Maker workspace, or pass target_dir explicitly for this call."
|
|
38181
38183
|
);
|
|
38182
38184
|
} else if (roots.status === "unsupported") {
|
|
38183
|
-
lines.push(
|
|
38185
|
+
lines.push(
|
|
38186
|
+
"- next_action: This client did not advertise MCP Roots. Maker MCP is using process cwd only as the final fallback; pass target_dir explicitly when that is not the intended Maker project. Do not rewrite user-level MCP config."
|
|
38187
|
+
);
|
|
38184
38188
|
} else if (roots.status === "unavailable") {
|
|
38185
38189
|
lines.push(
|
|
38186
38190
|
`- failure_message: ${roots.message || "(unknown)"}`,
|
|
38187
|
-
"- next_action: Could not read MCP
|
|
38191
|
+
"- next_action: Could not read MCP Roots. Maker MCP is using process cwd only as the final fallback; pass target_dir explicitly when that is not the intended Maker project. Do not rewrite user-level MCP config."
|
|
38188
38192
|
);
|
|
38189
38193
|
} else {
|
|
38190
|
-
lines.push(
|
|
38194
|
+
lines.push(
|
|
38195
|
+
"- next_action: No MCP Roots are attached. Maker MCP is using process cwd only as the final fallback; pass target_dir explicitly when that is not the intended Maker project. Do not rewrite user-level MCP config."
|
|
38196
|
+
);
|
|
38191
38197
|
}
|
|
38192
38198
|
return lines.join("\n");
|
|
38193
38199
|
}
|
|
@@ -38283,7 +38289,7 @@ function formatMakerToolRegistrationCwdStatus(options) {
|
|
|
38283
38289
|
`- maker_project_dir: ${projectRoot}`,
|
|
38284
38290
|
`- mcp_cwd_project_dir: ${mcpProjectRoot || "(none)"}`,
|
|
38285
38291
|
"- impact: Maker proxy tools remain registered, but calls without target_dir may resolve an unbound or wrong project.",
|
|
38286
|
-
"- next_action: Open the Maker project as the active workspace, or pass
|
|
38292
|
+
"- next_action: Open the Maker project as the active workspace, or pass the Maker project directory as target_dir. Do not rewrite a shared user-level MCP cwd."
|
|
38287
38293
|
].join("\n");
|
|
38288
38294
|
}
|
|
38289
38295
|
async function formatMakerProxyToolsStatusSafely(options) {
|
|
@@ -38642,10 +38648,18 @@ function formatMakerClientRootsStatus(roots) {
|
|
|
38642
38648
|
"- next_action: Open a single Maker workspace, or pass target_dir explicitly for this call."
|
|
38643
38649
|
);
|
|
38644
38650
|
} else if (roots.status === "unsupported") {
|
|
38645
|
-
lines.push(
|
|
38651
|
+
lines.push(
|
|
38652
|
+
"- next_action: This client did not advertise MCP Roots. Maker MCP is using process cwd only as the final fallback; pass target_dir explicitly when that is not the intended Maker project. Do not rewrite user-level MCP config."
|
|
38653
|
+
);
|
|
38646
38654
|
} else if (roots.status === "unavailable") {
|
|
38647
38655
|
lines.push(`- failure_message: ${roots.message || "(unknown)"}`);
|
|
38648
|
-
lines.push(
|
|
38656
|
+
lines.push(
|
|
38657
|
+
"- next_action: Could not read MCP Roots. Maker MCP is using process cwd only as the final fallback; pass target_dir explicitly when that is not the intended Maker project. Do not rewrite user-level MCP config."
|
|
38658
|
+
);
|
|
38659
|
+
} else {
|
|
38660
|
+
lines.push(
|
|
38661
|
+
"- next_action: No MCP Roots are attached. Maker MCP is using process cwd only as the final fallback; pass target_dir explicitly when that is not the intended Maker project. Do not rewrite user-level MCP config."
|
|
38662
|
+
);
|
|
38649
38663
|
}
|
|
38650
38664
|
return lines.join("\n");
|
|
38651
38665
|
}
|
|
@@ -40404,7 +40418,7 @@ function uniqueStrings(values) {
|
|
|
40404
40418
|
}
|
|
40405
40419
|
|
|
40406
40420
|
// src/maker/cli/commands.ts
|
|
40407
|
-
var VERSION2 = true ? "0.0.30-beta.
|
|
40421
|
+
var VERSION2 = true ? "0.0.30-beta.2" : "dev";
|
|
40408
40422
|
var DEFAULT_MCP_NAME = "taptap-maker";
|
|
40409
40423
|
var MAKER_NPM_PACKAGE = "@taptap/maker";
|
|
40410
40424
|
var TWO_PART_COMMANDS = /* @__PURE__ */ new Set(["pat", "mcp", "dev-kit", "logs", "python", "lua-lsp", "agents"]);
|
|
@@ -40615,7 +40629,7 @@ async function runInit(parsed, ctx) {
|
|
|
40615
40629
|
}
|
|
40616
40630
|
const installResults = installMcpConfigs({
|
|
40617
40631
|
ides: ides.length > 0 ? ides : getDefaultMcpInstallIdes(),
|
|
40618
|
-
env,
|
|
40632
|
+
env: makerMcpConfigEnvOption(parsed),
|
|
40619
40633
|
mcpName: DEFAULT_MCP_NAME,
|
|
40620
40634
|
launcher: prepared.launcher
|
|
40621
40635
|
});
|
|
@@ -41124,19 +41138,16 @@ async function resolvePatSet(parsed, ctx) {
|
|
|
41124
41138
|
async function runMcpInstall(parsed, ctx) {
|
|
41125
41139
|
rejectPackageOption(parsed);
|
|
41126
41140
|
const ides = parseIdeList(stringOption(parsed, "ide") || stringOption(parsed, "ides") || "");
|
|
41127
|
-
const explicitTargetDir = stringOption(parsed, "target_dir");
|
|
41128
41141
|
const env = makerEnvOption(parsed);
|
|
41129
|
-
const
|
|
41130
|
-
const prepared = await prepareMcpLauncher({ env, cwd });
|
|
41142
|
+
const prepared = await prepareMcpLauncher({ env });
|
|
41131
41143
|
if (!prepared.ok) {
|
|
41132
41144
|
writeMcpLauncherFailure(ctx, prepared);
|
|
41133
41145
|
return;
|
|
41134
41146
|
}
|
|
41135
41147
|
const results = installMcpConfigs({
|
|
41136
41148
|
ides: ides.length > 0 ? ides : getDefaultMcpInstallIdes(),
|
|
41137
|
-
env,
|
|
41149
|
+
env: makerMcpConfigEnvOption(parsed),
|
|
41138
41150
|
mcpName: stringOption(parsed, "name") || DEFAULT_MCP_NAME,
|
|
41139
|
-
cwd,
|
|
41140
41151
|
launcher: prepared.launcher
|
|
41141
41152
|
});
|
|
41142
41153
|
const ok = results.every((result) => result.ok);
|
|
@@ -41158,7 +41169,6 @@ async function prepareMcpLauncher(options) {
|
|
|
41158
41169
|
return createMcpLauncherResolutionFailure(error2);
|
|
41159
41170
|
}
|
|
41160
41171
|
const verification = await verifyMakerMcpLauncher(launcher, {
|
|
41161
|
-
cwd: options.cwd,
|
|
41162
41172
|
env: options.env === "production" ? void 0 : { TAPTAP_MCP_ENV: options.env }
|
|
41163
41173
|
});
|
|
41164
41174
|
if (!verification.ok) {
|
|
@@ -41282,17 +41292,15 @@ async function runUpgrade(parsed, ctx) {
|
|
|
41282
41292
|
const targetDir = path20.resolve(explicitTargetDir || process.cwd());
|
|
41283
41293
|
const env = makerEnvOption(parsed);
|
|
41284
41294
|
const ides = parseIdeList(stringOption(parsed, "ide") || stringOption(parsed, "ides") || "");
|
|
41285
|
-
const
|
|
41286
|
-
const prepared = await prepareMcpLauncher({ env, cwd });
|
|
41295
|
+
const prepared = await prepareMcpLauncher({ env });
|
|
41287
41296
|
if (!prepared.ok) {
|
|
41288
41297
|
writeMcpLauncherFailure(ctx, prepared);
|
|
41289
41298
|
return;
|
|
41290
41299
|
}
|
|
41291
41300
|
const installResults = installMcpConfigs({
|
|
41292
41301
|
ides: ides.length > 0 ? ides : getDefaultMcpInstallIdes(),
|
|
41293
|
-
env,
|
|
41302
|
+
env: makerMcpConfigEnvOption(parsed),
|
|
41294
41303
|
mcpName: stringOption(parsed, "name") || DEFAULT_MCP_NAME,
|
|
41295
|
-
cwd,
|
|
41296
41304
|
launcher: prepared.launcher
|
|
41297
41305
|
});
|
|
41298
41306
|
const identify = identifyMakerProject({ cwd: targetDir });
|
|
@@ -41741,17 +41749,16 @@ function installMcpConfigUnsafe(ide, options) {
|
|
|
41741
41749
|
}
|
|
41742
41750
|
if (ide === "claude") {
|
|
41743
41751
|
const claudeOptions = withClientIde(options, "claude");
|
|
41744
|
-
|
|
41745
|
-
|
|
41746
|
-
|
|
41747
|
-
|
|
41748
|
-
|
|
41749
|
-
|
|
41750
|
-
|
|
41751
|
-
|
|
41752
|
-
|
|
41753
|
-
|
|
41754
|
-
}
|
|
41752
|
+
const claudeResult = tryClaudeMcpAdd(claudeOptions);
|
|
41753
|
+
if (claudeResult.ok) {
|
|
41754
|
+
return [
|
|
41755
|
+
{
|
|
41756
|
+
ide,
|
|
41757
|
+
ok: true,
|
|
41758
|
+
changed: claudeResult.changed,
|
|
41759
|
+
message: claudeResult.changed ? "✓ Claude Code MCP config updated with claude mcp add" : "✓ Claude Code MCP config already current; no update required"
|
|
41760
|
+
}
|
|
41761
|
+
];
|
|
41755
41762
|
}
|
|
41756
41763
|
const configPath = path20.join(os4.homedir(), ".claude.json");
|
|
41757
41764
|
const write = mergeJsonMcpConfig(configPath, claudeOptions);
|
|
@@ -42006,7 +42013,11 @@ function getReadableWorkBuddyTrustPath() {
|
|
|
42006
42013
|
function mergeJsonMcpConfig(configPath, options) {
|
|
42007
42014
|
const existing = readJsonObject(configPath);
|
|
42008
42015
|
const mcpServers = asObject(existing.mcpServers);
|
|
42009
|
-
|
|
42016
|
+
const desired = createJsonMcpServerConfig(options);
|
|
42017
|
+
if (deepJsonEqual(mcpServers[options.mcpName], desired)) {
|
|
42018
|
+
return { changed: false };
|
|
42019
|
+
}
|
|
42020
|
+
mcpServers[options.mcpName] = desired;
|
|
42010
42021
|
existing.mcpServers = mcpServers;
|
|
42011
42022
|
return writeConfigWithTapTapBackupIfChanged(
|
|
42012
42023
|
configPath,
|
|
@@ -42020,9 +42031,14 @@ function mergeOpenCodeMcpConfig(configPath, options) {
|
|
|
42020
42031
|
const rewroteJsonc = normalizeJsonConfigContent(rawContent, { jsonc: true }) !== rawContent;
|
|
42021
42032
|
const existing = readJsonObject(configPath, { jsonc: true });
|
|
42022
42033
|
const mcp = asObject(existing.mcp);
|
|
42023
|
-
|
|
42034
|
+
const desired = createOpenCodeMcpServerConfig(options);
|
|
42035
|
+
const legacyMcpServers = asObject(existing.mcpServers);
|
|
42036
|
+
if (deepJsonEqual(mcp[options.mcpName], desired) && !Object.prototype.hasOwnProperty.call(legacyMcpServers, options.mcpName) && existing.$schema === "https://opencode.ai/config.json") {
|
|
42037
|
+
return { changed: false, rewroteJsonc: false };
|
|
42038
|
+
}
|
|
42039
|
+
mcp[options.mcpName] = desired;
|
|
42024
42040
|
existing.mcp = mcp;
|
|
42025
|
-
const mcpServers =
|
|
42041
|
+
const mcpServers = legacyMcpServers;
|
|
42026
42042
|
if (Object.prototype.hasOwnProperty.call(mcpServers, options.mcpName)) {
|
|
42027
42043
|
delete mcpServers[options.mcpName];
|
|
42028
42044
|
if (Object.keys(mcpServers).length === 0) {
|
|
@@ -42057,7 +42073,6 @@ function mergeCodexMcpConfig(configPath, options) {
|
|
|
42057
42073
|
`[mcp_servers."${options.mcpName}"]`,
|
|
42058
42074
|
`command = "${escapeToml(launch.command)}"`,
|
|
42059
42075
|
`args = [${launch.args.map((arg) => `"${escapeToml(arg)}"`).join(", ")}]`,
|
|
42060
|
-
options.cwd ? `cwd = "${escapeToml(options.cwd)}"` : "",
|
|
42061
42076
|
...envSection,
|
|
42062
42077
|
""
|
|
42063
42078
|
].join("\n");
|
|
@@ -42117,6 +42132,15 @@ function normalizeCodexMcpTablePath(tablePath, mcpName) {
|
|
|
42117
42132
|
return `mcp_servers.${mcpName}${match[1] || ""}`;
|
|
42118
42133
|
}
|
|
42119
42134
|
function tryClaudeMcpAdd(options) {
|
|
42135
|
+
const configPath = path20.join(os4.homedir(), ".claude.json");
|
|
42136
|
+
try {
|
|
42137
|
+
const existing = readJsonObject(configPath);
|
|
42138
|
+
const server = asObject(asObject(existing.mcpServers)[options.mcpName]);
|
|
42139
|
+
if (deepJsonEqual(server, createJsonMcpServerConfig(options))) {
|
|
42140
|
+
return { ok: true, changed: false };
|
|
42141
|
+
}
|
|
42142
|
+
} catch {
|
|
42143
|
+
}
|
|
42120
42144
|
const npxLaunch = options.launcher;
|
|
42121
42145
|
const claudeArgs = [
|
|
42122
42146
|
"mcp",
|
|
@@ -42137,14 +42161,22 @@ function tryClaudeMcpAdd(options) {
|
|
|
42137
42161
|
process.platform === "win32" ? claude.args : claudeArgs,
|
|
42138
42162
|
{ encoding: "utf8" }
|
|
42139
42163
|
);
|
|
42140
|
-
|
|
42164
|
+
if (result.status !== 0) {
|
|
42165
|
+
return { ok: false, changed: false };
|
|
42166
|
+
}
|
|
42167
|
+
try {
|
|
42168
|
+
const updated = readJsonObject(configPath);
|
|
42169
|
+
const server = asObject(asObject(updated.mcpServers)[options.mcpName]);
|
|
42170
|
+
return deepJsonEqual(server, createJsonMcpServerConfig(options)) ? { ok: true, changed: true } : { ok: false, changed: false };
|
|
42171
|
+
} catch {
|
|
42172
|
+
return { ok: false, changed: false };
|
|
42173
|
+
}
|
|
42141
42174
|
}
|
|
42142
42175
|
function createJsonMcpServerConfig(options) {
|
|
42143
42176
|
const launch = options.launcher;
|
|
42144
42177
|
return {
|
|
42145
42178
|
command: launch.command,
|
|
42146
42179
|
args: launch.args,
|
|
42147
|
-
...options.cwd ? { cwd: options.cwd } : {},
|
|
42148
42180
|
...createOptionalMcpEnvironment(options.env, "env", options.clientIde),
|
|
42149
42181
|
...options.disabled !== void 0 ? { disabled: options.disabled } : {}
|
|
42150
42182
|
};
|
|
@@ -42153,7 +42185,6 @@ function createOpenCodeMcpServerConfig(options) {
|
|
|
42153
42185
|
return {
|
|
42154
42186
|
type: "local",
|
|
42155
42187
|
command: options.launcher.commandAndArgs,
|
|
42156
|
-
...options.cwd ? { cwd: options.cwd } : {},
|
|
42157
42188
|
...createOptionalMcpEnvironment(options.env, "environment", options.clientIde),
|
|
42158
42189
|
enabled: true
|
|
42159
42190
|
};
|
|
@@ -42276,7 +42307,18 @@ function parseGeneratedJsonObject(content) {
|
|
|
42276
42307
|
return parsed;
|
|
42277
42308
|
}
|
|
42278
42309
|
function deepJsonEqual(left, right) {
|
|
42279
|
-
return JSON.stringify(left) === JSON.stringify(right);
|
|
42310
|
+
return JSON.stringify(sortJsonObjectKeys(left)) === JSON.stringify(sortJsonObjectKeys(right));
|
|
42311
|
+
}
|
|
42312
|
+
function sortJsonObjectKeys(value) {
|
|
42313
|
+
if (Array.isArray(value)) {
|
|
42314
|
+
return value.map(sortJsonObjectKeys);
|
|
42315
|
+
}
|
|
42316
|
+
if (!value || typeof value !== "object") {
|
|
42317
|
+
return value;
|
|
42318
|
+
}
|
|
42319
|
+
return Object.fromEntries(
|
|
42320
|
+
Object.entries(value).sort(([left], [right]) => left.localeCompare(right)).map(([key, item]) => [key, sortJsonObjectKeys(item)])
|
|
42321
|
+
);
|
|
42280
42322
|
}
|
|
42281
42323
|
function normalizeJsonConfigContent(content, options = {}) {
|
|
42282
42324
|
const withoutBom = stripLeadingBom(content);
|
|
@@ -42541,6 +42583,9 @@ function makerEnvOption(parsed) {
|
|
|
42541
42583
|
const targetDir = stringOption(parsed, "target_dir");
|
|
42542
42584
|
return getMakerEnvironment(void 0, targetDir ? path20.resolve(targetDir) : process.cwd());
|
|
42543
42585
|
}
|
|
42586
|
+
function makerMcpConfigEnvOption(parsed) {
|
|
42587
|
+
return stringOption(parsed, "env") === "rnd" ? "rnd" : "production";
|
|
42588
|
+
}
|
|
42544
42589
|
function mcpVerifyModeOption(parsed) {
|
|
42545
42590
|
const mode = stringOption(parsed, "mode") || "npx";
|
|
42546
42591
|
if (mode === "npx" || mode === "self") {
|
|
@@ -42604,13 +42649,12 @@ function printHelp() {
|
|
|
42604
42649
|
" taptap-maker pat set [--pat-stdin] [--json]",
|
|
42605
42650
|
" taptap-maker pat set [PAT|--pat PAT] [--json] # fallback; warns: PAT appears in ps/history",
|
|
42606
42651
|
" taptap-maker install [--ide codex,cursor,claude,trae,opencode,workbuddy]",
|
|
42607
|
-
" [--target-dir DIR]",
|
|
42608
42652
|
" [--json] # alias for mcp install",
|
|
42609
42653
|
" taptap-maker mcp install [--ide codex,cursor,claude,trae,opencode,workbuddy]",
|
|
42610
|
-
" [--
|
|
42654
|
+
" [--json]",
|
|
42611
42655
|
" taptap-maker mcp verify [--mode npx|self] [--json]",
|
|
42612
42656
|
" taptap-maker agents update [--target-dir DIR] [--json]",
|
|
42613
|
-
" taptap-maker upgrade [--ide codex,cursor,claude]",
|
|
42657
|
+
" taptap-maker upgrade [--ide codex,cursor,claude,trae,opencode,workbuddy]",
|
|
42614
42658
|
" [--target-dir DIR] [--json]",
|
|
42615
42659
|
" taptap-maker dev-kit update [--target-dir DIR] [--json]",
|
|
42616
42660
|
" taptap-maker logs watch [--target-dir DIR] [--interval 5s] [--reset] [--json]",
|
|
@@ -45202,7 +45246,8 @@ function printHelp2() {
|
|
|
45202
45246
|
" taptap-maker Start MCP server mode",
|
|
45203
45247
|
" taptap-maker init [--app-id ID] [--target-dir DIR] [--pat PAT]",
|
|
45204
45248
|
" [--create --name NAME]",
|
|
45205
|
-
" [--skip-confirm] [--skip-mcp-install]
|
|
45249
|
+
" [--skip-confirm] [--skip-mcp-install]",
|
|
45250
|
+
" [--register-mcp codex,cursor,claude,trae,opencode,workbuddy]",
|
|
45206
45251
|
" [--json]",
|
|
45207
45252
|
"",
|
|
45208
45253
|
"Init flows:",
|
|
@@ -45222,14 +45267,13 @@ function printHelp2() {
|
|
|
45222
45267
|
" taptap-maker login [--json]",
|
|
45223
45268
|
" taptap-maker pat set [--pat-stdin] [--json]",
|
|
45224
45269
|
" taptap-maker pat set [PAT|--pat PAT] [--json] # fallback; warns: PAT appears in ps/history",
|
|
45225
|
-
" taptap-maker install [--ide codex,cursor,claude]",
|
|
45226
|
-
" [--target-dir DIR]",
|
|
45270
|
+
" taptap-maker install [--ide codex,cursor,claude,trae,opencode,workbuddy]",
|
|
45227
45271
|
" [--json] # alias for mcp install",
|
|
45228
|
-
" taptap-maker mcp install [--ide codex,cursor,claude]",
|
|
45229
|
-
" [--
|
|
45272
|
+
" taptap-maker mcp install [--ide codex,cursor,claude,trae,opencode,workbuddy]",
|
|
45273
|
+
" [--json]",
|
|
45230
45274
|
" taptap-maker mcp verify [--mode npx|self] [--json]",
|
|
45231
45275
|
" taptap-maker agents update [--target-dir DIR] [--json]",
|
|
45232
|
-
" taptap-maker upgrade [--ide codex,cursor,claude]",
|
|
45276
|
+
" taptap-maker upgrade [--ide codex,cursor,claude,trae,opencode,workbuddy]",
|
|
45233
45277
|
" [--target-dir DIR] [--json]",
|
|
45234
45278
|
" taptap-maker dev-kit update [--target-dir DIR] [--json]",
|
|
45235
45279
|
" taptap-maker logs watch [--target-dir DIR] [--interval 5s] [--reset] [--json]",
|
|
@@ -45239,7 +45283,7 @@ function printHelp2() {
|
|
|
45239
45283
|
"",
|
|
45240
45284
|
"Windows note:",
|
|
45241
45285
|
" Generated MCP configs prefer absolute node.exe + npm-cli.js on Windows.",
|
|
45242
|
-
"
|
|
45286
|
+
" User-level MCP config never stores a project cwd or generates cd && npx commands.",
|
|
45243
45287
|
""
|
|
45244
45288
|
].join("\n")
|
|
45245
45289
|
);
|
|
@@ -192,10 +192,11 @@ npx --version
|
|
|
192
192
|
先确认用户本地项目目录存在 `.maker-mcp/config.json`,并记录客户端当前打开的 workspace。
|
|
193
193
|
|
|
194
194
|
- 支持 MCP Roots 的客户端应只打开当前 Maker 项目,使用 workspace root 识别项目。
|
|
195
|
-
- 不支持 MCP Roots
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
195
|
+
- 不支持 MCP Roots 的客户端应由 Agent 在具体 Maker tool 调用中传入项目绝对路径作为
|
|
196
|
+
`target_dir`,不要把项目路径写入用户级 MCP 配置。
|
|
197
|
+
- 某些 WorkBuddy 版本不会把当前 workspace 暴露为 MCP Roots。此时仍禁止使用 `cd && npx`
|
|
198
|
+
补丁;应恢复不含项目 `cwd` 的标准启动配置、只打开正确项目 workspace,并收集 WorkBuddy
|
|
199
|
+
的实际进程 cwd 和启动日志作为诊断信息,不能依赖反复重写配置来切换项目。
|
|
199
200
|
- 本地配置中的项目 id 与当前项目不一致时,先检查客户端启动目录和实际读取的配置,不要重新绑定
|
|
200
201
|
或覆盖用户项目。
|
|
201
202
|
|
|
@@ -240,7 +241,7 @@ npx -y -p @taptap/maker taptap-maker help
|
|
|
240
241
|
- Node/npm/npx 缺失,或客户端 PATH 不完整。
|
|
241
242
|
- 客户端读取了错误的配置文件。
|
|
242
243
|
- WorkBuddy 未启用或未信任 MCP。
|
|
243
|
-
-
|
|
244
|
+
- 客户端未暴露 MCP Roots,且调用未传 `target_dir`。
|
|
244
245
|
- 多个 AI 对话修改了共享 MCP 配置。
|
|
245
246
|
- IDE 安装路径、shell 转义或编码导致子进程启动失败。
|
|
246
247
|
- MCP server 启动后的真实业务错误。
|
|
@@ -253,11 +254,8 @@ npx -y -p @taptap/maker taptap-maker mcp install --ide <当前客户端>
|
|
|
253
254
|
```
|
|
254
255
|
|
|
255
256
|
Windows 如无法从 PATH 运行上述恢复命令,应使用当前可用 npm 的绝对路径启动 CLI;安装器只会把
|
|
256
|
-
验证过的绝对 Node/npm launcher 写入配置。客户端不支持 MCP Roots
|
|
257
|
-
|
|
258
|
-
```text
|
|
259
|
-
--target-dir "<Maker项目绝对路径>"
|
|
260
|
-
```
|
|
257
|
+
验证过的绝对 Node/npm launcher 写入配置。客户端不支持 MCP Roots 时,不要给安装命令追加项目
|
|
258
|
+
目录;应让 Agent 在具体 Maker tool 调用中传入 `target_dir`。
|
|
261
259
|
|
|
262
260
|
不要让多个 AI 对话同时修改共享 MCP 配置。配置恢复后,在客户端 MCP 设置中 reconnect;必要时完全
|
|
263
261
|
退出并重启客户端,再新开一个对话。
|
package/package.json
CHANGED
|
@@ -284,15 +284,16 @@ for the initial diagnosis. Work offline first:
|
|
|
284
284
|
existing `cmd.exe` or `npx.cmd` configs as legacy diagnostic evidence; do not persist them as a
|
|
285
285
|
repair. Never replace cwd with a `cd /d "<project>" && npx.cmd ...` command string, including for
|
|
286
286
|
Chinese project paths.
|
|
287
|
-
8.
|
|
288
|
-
|
|
287
|
+
8. User-level MCP config must not contain a project cwd. If WorkBuddy does not expose Roots, pass
|
|
288
|
+
`target_dir` on the concrete Maker tool call and record the process actual cwd only as diagnostic
|
|
289
|
+
evidence.
|
|
289
290
|
9. Do not assume Windows 8.3 short paths exist or differ from the original long path. Verify the
|
|
290
291
|
result first; an unchanged or missing short path is not a usable cwd workaround.
|
|
291
292
|
10. Reproduce the configured Windows launch with the same direct argv boundary when possible.
|
|
292
293
|
Separate outer shell quoting or stderr decoding failures from the MCP child process result, and
|
|
293
294
|
record both without treating wrapper failures as server evidence.
|
|
294
295
|
11. Remember that multiple AI conversations share user-level MCP config. One conversation can break
|
|
295
|
-
every other conversation by rewriting the shared command or cwd.
|
|
296
|
+
every other conversation by rewriting the shared command or manually adding a project cwd.
|
|
296
297
|
12. Classify the root cause from evidence before repairing it. Do not automatically change trust
|
|
297
298
|
storage, PATH, cwd, credentials, or game code. Use `taptap-maker mcp install --ide <client>` only
|
|
298
299
|
after evidence confirms that the active config entry is damaged. Reconnect and verify again in
|
|
@@ -371,11 +372,10 @@ Workflow:
|
|
|
371
372
|
remain visible when an AI summarizes or truncates a long app list, even if another app name
|
|
372
373
|
appears to match the current directory. Users can choose `0`/`new` and enter a project name,
|
|
373
374
|
or use `taptap-maker init --create --name "my-local-game"` for non-interactive runs.
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
`taptap-maker mcp install --target-dir <PROJECT_DIR>` as a compatibility fix.
|
|
375
|
+
User-level MCP config never pins the selected Maker project directory as `cwd`. Clients that
|
|
376
|
+
support MCP Roots should let the current workspace root identify the Maker project. If a client
|
|
377
|
+
does not support MCP Roots, pass the real project directory as `target_dir` on the concrete
|
|
378
|
+
Maker tool call. Never rewrite shared user-level MCP config to switch projects.
|
|
379
379
|
Tell the user that the first Maker clone can take 20+ seconds because the server may be
|
|
380
380
|
preparing the repository, and that they should keep the command running while the CLI retries
|
|
381
381
|
transient 503/5xx failures.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: update-taptap-mcp
|
|
3
|
-
description:
|
|
3
|
+
description: Use when users ask to update, refresh, or upgrade the local TapTap Maker MCP package.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# TapTap Maker MCP Upgrade Workflow
|
|
@@ -30,7 +30,8 @@ This workflow upgrades only the current machine and the current Maker project di
|
|
|
30
30
|
Do not run any upgrade command before that explanation and approval step.
|
|
31
31
|
2. Identify the current Maker project directory. Use `--target-dir` only when the directory is
|
|
32
32
|
confirmed to be a Maker project, which means it or one of its parents contains
|
|
33
|
-
`.maker-mcp/config.json`.
|
|
33
|
+
`.maker-mcp/config.json`. This argument only selects the project whose managed `AGENTS.md` policy
|
|
34
|
+
is updated; it never writes that directory into user-level MCP config.
|
|
34
35
|
3. If the AI client has exactly one attached workspace and that workspace is the Maker project, use
|
|
35
36
|
that workspace as `<PROJECT_DIR>`. If there are multiple workspaces, or the current directory is
|
|
36
37
|
not clearly a Maker project, ask the user for the Maker project directory before using
|
|
@@ -71,7 +72,8 @@ confirmed, explain that this refresh will not update project `AGENTS.md`, then r
|
|
|
71
72
|
`taptap-maker upgrade` performs current-directory upgrade work:
|
|
72
73
|
|
|
73
74
|
- Refreshes AI client MCP config to launch `npx -y -p @taptap/maker taptap-maker`.
|
|
74
|
-
-
|
|
75
|
+
- User-level MCP config never contains a project `cwd`; unchanged entries are not rewritten.
|
|
76
|
+
- `--target-dir` only selects the project whose managed `AGENTS.md` policy is updated.
|
|
75
77
|
- Updates the current project's TapTap Maker managed `AGENTS.md` policy block when the directory is
|
|
76
78
|
bound to a Maker project.
|
|
77
79
|
- Keeps user-written `AGENTS.md` content outside the managed block.
|
|
@@ -80,8 +82,9 @@ confirmed, explain that this refresh will not update project `AGENTS.md`, then r
|
|
|
80
82
|
|
|
81
83
|
## If Upgrade Appears Not To Take Effect
|
|
82
84
|
|
|
83
|
-
If `maker://status` still shows an old package,
|
|
84
|
-
restart/reconnect,
|
|
85
|
+
If `maker://status` still shows an old package, an unexpected project context, or missing Maker
|
|
86
|
+
proxy tools after restart/reconnect, first inspect MCP Roots and the tool call's `target_dir`. Also
|
|
87
|
+
check whether a legacy project-level MCP config is overriding user/global config.
|
|
85
88
|
Common project-level files include:
|
|
86
89
|
|
|
87
90
|
- `.mcp.json`
|