@ghl-ai/aw 0.1.36-beta.112 → 0.1.36-beta.113

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.
Files changed (2) hide show
  1. package/mcp.mjs +6 -0
  2. package/package.json +1 -1
package/mcp.mjs CHANGED
@@ -297,10 +297,16 @@ export async function setupMcp(cwd, namespace, { silent = false } = {}) {
297
297
  }
298
298
 
299
299
  // ── Codex: ~/.codex/config.toml (TOML format) ──
300
+ // Also merge into the ECC source file (~/.aw-ecc/.codex/config.toml) so
301
+ // that when installAwEcc re-copies it on subsequent inits the ghl-ai entry
302
+ // survives — without this, each re-init overwrites ~/.codex/config.toml
303
+ // from the ECC source which doesn't have the ghl-ai block.
300
304
  const codexTomlPath = join(HOME, '.codex', 'config.toml');
301
305
  if (mergeTomlMcpServer(codexTomlPath, 'ghl-ai', ghlAiServerLocal)) {
302
306
  updatedFiles.push(codexTomlPath);
303
307
  }
308
+ const eccCodexTomlPath = join(HOME, '.aw-ecc', '.codex', 'config.toml');
309
+ mergeTomlMcpServer(eccCodexTomlPath, 'ghl-ai', ghlAiServerLocal);
304
310
 
305
311
  // Deduplicate
306
312
  const unique = [...new Set(updatedFiles)];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghl-ai/aw",
3
- "version": "0.1.36-beta.112",
3
+ "version": "0.1.36-beta.113",
4
4
  "description": "Agentic Workspace CLI — pull, push & manage agents, skills and commands from the registry",
5
5
  "type": "module",
6
6
  "bin": "bin.js",