u-foo 3.0.19 → 3.0.20

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/bin/ufoo.js CHANGED
@@ -21,7 +21,7 @@ function printMcpHelp() {
21
21
  console.log("Options:");
22
22
  console.log(" --no-auto-start Do not auto-start the home-scoped global controller daemon");
23
23
  console.log(" --json Print status or restart results as JSON");
24
- console.log(" --dry-run Print a Codex HTTP configuration without writing it");
24
+ console.log(" --dry-run Print a sanitized Codex migration preview without writing it");
25
25
  console.log(" -h, --help Display help for the MCP bridge command");
26
26
  console.log("");
27
27
  console.log("Notes:");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "u-foo",
3
- "version": "3.0.19",
3
+ "version": "3.0.20",
4
4
  "description": "Multi-Agent Workspace Protocol. Just add u. claude → uclaude, codex → ucodex.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "homepage": "https://ufoo.dev",
@@ -97,7 +97,7 @@ function configureCodexMcp(options = {}) {
97
97
  const existing = fs.existsSync(target) ? fs.readFileSync(target, "utf8") : "";
98
98
  const next = renderCodexConfig(existing, connection);
99
99
  if (options.dryRun === true) {
100
- const redacted = renderCodexConfig(existing, {
100
+ const managedBlock = buildCodexManagedBlock({
101
101
  ...connection,
102
102
  token: "<redacted>",
103
103
  });
@@ -108,7 +108,7 @@ function configureCodexMcp(options = {}) {
108
108
  transport: "streamable_http",
109
109
  endpoint: connection.endpoint,
110
110
  changed: next !== existing,
111
- content: redacted,
111
+ managed_block: managedBlock,
112
112
  };
113
113
  }
114
114
 
@@ -151,7 +151,10 @@ function runMcpConfigureCli(host, options = {}) {
151
151
  }
152
152
  const result = configureCodexMcp(options);
153
153
  if (options.dryRun === true) {
154
- process.stdout.write(result.content);
154
+ process.stdout.write(`Target: ${result.target}\n`);
155
+ process.stdout.write(`Changed: ${result.changed ? "yes" : "no"}\n`);
156
+ process.stdout.write(`Transport: Streamable HTTP ${result.endpoint}\n\n`);
157
+ process.stdout.write(`${result.managed_block}\n`);
155
158
  } else {
156
159
  process.stdout.write(`Configured Codex MCP at ${result.target}\n`);
157
160
  process.stdout.write(`Transport: Streamable HTTP ${result.endpoint}\n`);