baller-maester 0.4.1 → 0.4.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/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.4.2] - 2026-05-21
11
+
12
+ ### Changed
13
+ - **Codex CLI `.codex/config.toml` `[mcp_servers.maester]` block no longer carries a `cwd` field.** Testing on Codex CLI v0.132 confirmed Codex launches the server correctly without it, so the absolute citadel path is gone and the file is now portable and safe to commit. Touches the writer (`src/core/mcp/registrations/codex.ts`), its unit tests, and the matching `gspec/architecture.md` entries that previously stated the `cwd` field was required.
14
+
10
15
  ## [0.4.1] - 2026-05-21
11
16
 
12
17
  ### Fixed
package/dist/cli/main.js CHANGED
@@ -1928,25 +1928,25 @@ async function readOrUndefined(filePath) {
1928
1928
  }
1929
1929
  }
1930
1930
  var CONFIG_FILE = path8.join(".codex", "config.toml");
1931
- function maesterBlock(repoRoot, launch) {
1932
- return { command: launch.command, args: [...launch.args], cwd: repoRoot };
1931
+ function maesterBlock(launch) {
1932
+ return { command: launch.command, args: [...launch.args] };
1933
1933
  }
1934
1934
  async function writeCodexMcpEntry(repoRoot, options = {}) {
1935
1935
  const filePath = path8.join(repoRoot, CONFIG_FILE);
1936
1936
  await promises.mkdir(path8.dirname(filePath), { recursive: true });
1937
1937
  const existingText = await readOrUndefined2(filePath);
1938
1938
  const launch = options.launch ?? resolveMaesterLaunchCommand();
1939
- const newText = renderTomlWithMaesterBlock(existingText, repoRoot, launch);
1939
+ const newText = renderTomlWithMaesterBlock(existingText, launch);
1940
1940
  if (existingText === newText) {
1941
1941
  return { filePath, action: "unchanged" };
1942
1942
  }
1943
1943
  await promises.writeFile(filePath, newText, "utf8");
1944
1944
  return { filePath, action: "written" };
1945
1945
  }
1946
- function renderTomlWithMaesterBlock(existingText, repoRoot, launch) {
1946
+ function renderTomlWithMaesterBlock(existingText, launch) {
1947
1947
  const parsed = existingText && existingText.trim().length > 0 ? TOML.parse(existingText) : {};
1948
1948
  const mcpServers = isJsonMap(parsed.mcp_servers) ? { ...parsed.mcp_servers } : {};
1949
- mcpServers.maester = maesterBlock(repoRoot, launch);
1949
+ mcpServers.maester = maesterBlock(launch);
1950
1950
  const next = { ...parsed, mcp_servers: mcpServers };
1951
1951
  return TOML.stringify(next);
1952
1952
  }
@@ -2518,7 +2518,7 @@ function validateTag(value) {
2518
2518
 
2519
2519
  // package.json
2520
2520
  var package_default = {
2521
- version: "0.4.1"};
2521
+ version: "0.4.2"};
2522
2522
  var PACKAGE_VERSION = package_default.version;
2523
2523
 
2524
2524
  // src/core/skill/version.ts