mirror of
https://github.com/morluto/rea.git
synced 2026-11-10 08:47:00 +00:00
fix(setup)!: bind managed registrations to selected installation
Use one command owner for setup, client writers, Gemini policy and CLI defaults. Migrate recognized runner registrations with backups and remove runner prewarm. Retain unknown identities and exercise real offline npm, CLI and MCP workflows. Fixes #7757 BREAKING CHANGE: managed MCP registrations use the selected absolute runtime and REA entry script, including package-runner cache paths. Keep that installation available or restore it before setup; unknown registrations require confirmed manual repair. Setup no longer returns prewarm or emits its progress events. Assisted-by: Reimu (gensokyo-skills:reimu-incident-triage) Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing) Assisted-by: Yukari (gensokyo-skills:yukari-boundary-analysis)
This commit is contained in:
1 parent
18a8e71c9f
commit
c77735fa83
56 files changed
+768
-1346
No files matched your search
+5
-2
@@ -28,7 +28,8 @@ import {
|
||||
import { createLogger } from "./logger.js";
|
||||
import { parseLogLevel } from "./config/processStart.js";
|
||||
import { PRODUCT_IDENTITY } from "./identity.js";
|
||||
import { npxRegistrationCommand } from "./application/ClientRegistrationIdentity.js";
|
||||
import { currentClientRegistrationCommand } from "./application/ClientRegistrationIdentity.js";
|
||||
import { clientRegistrationCommandText } from "./cli/clientRegistrationCommandText.js";
|
||||
import { registerSetupCommands } from "./cli/setupCommands.js";
|
||||
import { registerCoreAnalysisCommands } from "./cli/coreAnalysisCommands.js";
|
||||
import { registerUtilityCommands } from "./cli/utilityCommands.js";
|
||||
@@ -106,7 +107,9 @@ export const createCli = (
|
||||
.describe("Write measured command timing to stderr."),
|
||||
}),
|
||||
mcp: {
|
||||
command: npxRegistrationCommand().join(" "),
|
||||
command: clientRegistrationCommandText(
|
||||
currentClientRegistrationCommand({ environment }),
|
||||
),
|
||||
instructions:
|
||||
"Ask what software, artifact, protocol, or behavior the user wants to understand, then choose the available investigation capabilities that can produce evidence.",
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user