@clawos-dev/clawd 0.2.160 → 0.2.161-beta.337.461863a
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/dist/cli.cjs +2 -2
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -32222,7 +32222,7 @@ function buildSpawnContext(state, deps) {
|
|
|
32222
32222
|
if (dispatchId) env.CLAWD_DISPATCH_ID = dispatchId;
|
|
32223
32223
|
const dispatchMcpConfigPath2 = deps.getDispatchMcpConfigPath?.() ?? null;
|
|
32224
32224
|
const ticketMcpConfigPathRaw = deps.getTicketMcpConfigPath?.() ?? null;
|
|
32225
|
-
const ticketMcpConfigPath2 = ticketMcpConfigPathRaw && file.ownerPersonaId === "persona-
|
|
32225
|
+
const ticketMcpConfigPath2 = ticketMcpConfigPathRaw && file.ownerPersonaId === "persona-ticket-manager" ? ticketMcpConfigPathRaw : null;
|
|
32226
32226
|
const ctx = {
|
|
32227
32227
|
cwd: file.cwd,
|
|
32228
32228
|
toolSessionId: file.toolSessionId,
|
|
@@ -33002,7 +33002,7 @@ var SessionRunner = class {
|
|
|
33002
33002
|
// Persona dispatch:透传 dispatch.mcp.json 路径闭包 + B→dispatchId 反查闭包。
|
|
33003
33003
|
// 见 reducer.buildSpawnContext 注 CLAWD_DISPATCH_ID env / 派生 SpawnContext.dispatchMcpConfigPath
|
|
33004
33004
|
getDispatchMcpConfigPath: this.hooks.getDispatchMcpConfigPath,
|
|
33005
|
-
// Ticket MCP:透传 ticket.mcp.json 路径闭包(reducer 内做 persona-
|
|
33005
|
+
// Ticket MCP:透传 ticket.mcp.json 路径闭包(reducer 内做 persona-ticket-manager gating)
|
|
33006
33006
|
getTicketMcpConfigPath: this.hooks.getTicketMcpConfigPath,
|
|
33007
33007
|
lookupDispatchByBSessionId: this.hooks.lookupDispatchByBSessionId,
|
|
33008
33008
|
// ReadyGate v2:透传 mode 让 reducer send / ready-detected 分支决定走暂存队列还是直写
|
package/package.json
CHANGED