multicorn-shield 1.9.2 → 1.9.3

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
@@ -9,11 +9,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  - Bump `version` in `package.json` before publishing to npm.
11
11
 
12
+ ## [1.9.3] - 2026-05-13
13
+
14
+ ### Fixed
15
+
16
+ - Codex CLI hosted proxy snippet uses `http_headers` with inline API key instead of `bearer_token_env_var` (no env var setup needed)
17
+ - Removed "Set MULTICORN_API_KEY environment variable" instruction from hosted proxy next-steps
18
+ - Added `/mcp` verification step to Codex CLI hosted proxy next-steps
19
+
12
20
  ## [1.9.2] - 2026-05-12
13
21
 
14
22
  ### Fixed
15
23
 
16
- - Codex CLI hosted proxy next-steps now includes /mcp verification step
24
+ - Include `plugins/codex-cli` in published npm package (missing from `files` in package.json)
17
25
 
18
26
  ## [1.9.1] - 2026-05-12
19
27
 
@@ -2395,7 +2395,9 @@ mcpServers:
2395
2395
  } else if (platform === "codex-cli") {
2396
2396
  snippetText = `[mcp_servers.${shortName}]
2397
2397
  url = "${urlInSnippet}"
2398
- bearer_token_env_var = "MULTICORN_API_KEY"
2398
+
2399
+ [mcp_servers.${shortName}.http_headers]
2400
+ Authorization = "Bearer ${authHeader}"
2399
2401
  `;
2400
2402
  } else {
2401
2403
  const urlKey = platform === "windsurf" ? "serverUrl" : "url";
@@ -2443,7 +2445,7 @@ bearer_token_env_var = "MULTICORN_API_KEY"
2443
2445
  } else if (platform === "codex-cli") {
2444
2446
  process.stderr.write(
2445
2447
  "\n" + style.dim(
2446
- "Add this to ~/.codex/config.toml (create the file if it does not exist). Set the MULTICORN_API_KEY environment variable to your Shield API key. Restart Codex CLI after saving."
2448
+ "Add this to ~/.codex/config.toml (create the file if it does not exist). Restart Codex CLI after saving."
2447
2449
  ) + "\n\n"
2448
2450
  );
2449
2451
  } else if (platform === "github-copilot") {
@@ -3241,8 +3243,8 @@ You have ${String(agentsForPlatform.length)} agent(s) connected for ${selectedLa
3241
3243
  );
3242
3244
  process.stderr.write(
3243
3245
  "\n" + style.dim(
3244
- "Add the TOML snippet above to ~/.codex/config.toml. Then set the environment variable:"
3245
- ) + "\n\n " + style.cyan(`export MULTICORN_API_KEY="${apiKey}"`) + "\n\n" + style.dim("Restart Codex CLI after saving config.toml.") + "\n"
3246
+ "Add the TOML snippet above to ~/.codex/config.toml. Restart Codex CLI after saving."
3247
+ ) + "\n"
3246
3248
  );
3247
3249
  configuredAgents.push({
3248
3250
  selection,
@@ -3581,7 +3583,7 @@ You have ${String(agentsForPlatform.length)} agent(s) connected for ${selectedLa
3581
3583
  }
3582
3584
  if (codexHostedConfigured) {
3583
3585
  blocks.push(
3584
- "\n" + style.bold("Codex CLI (hosted)") + "\n \u2192 Set the MULTICORN_API_KEY environment variable to your Shield API key\n \u2192 Restart Codex CLI after saving config.toml\n \u2192 Verify it's connected: run /mcp in Codex CLI to see your active MCP servers\n \u2192 Try it: make a request that uses an MCP tool through Shield\n"
3586
+ "\n" + style.bold("Codex CLI (hosted)") + "\n \u2192 Restart Codex CLI after saving config.toml\n \u2192 Verify it's connected: run /mcp in Codex CLI to see your active MCP servers\n \u2192 Try it: make a request that uses an MCP tool through Shield\n"
3585
3587
  );
3586
3588
  }
3587
3589
  if (configuredPlatforms.has("other-mcp")) {
@@ -4660,7 +4662,7 @@ var init_package = __esm({
4660
4662
  "package.json"() {
4661
4663
  package_default = {
4662
4664
  name: "multicorn-shield",
4663
- version: "1.9.2",
4665
+ version: "1.9.3",
4664
4666
  description: "The control layer for AI agents: permissions, consent, spending limits, and audit logging.",
4665
4667
  license: "MIT",
4666
4668
  author: "Multicorn AI Pty Ltd",
@@ -2488,7 +2488,9 @@ mcpServers:
2488
2488
  } else if (platform === "codex-cli") {
2489
2489
  snippetText = `[mcp_servers.${shortName}]
2490
2490
  url = "${urlInSnippet}"
2491
- bearer_token_env_var = "MULTICORN_API_KEY"
2491
+
2492
+ [mcp_servers.${shortName}.http_headers]
2493
+ Authorization = "Bearer ${authHeader}"
2492
2494
  `;
2493
2495
  } else {
2494
2496
  const urlKey = platform === "windsurf" ? "serverUrl" : "url";
@@ -2536,7 +2538,7 @@ bearer_token_env_var = "MULTICORN_API_KEY"
2536
2538
  } else if (platform === "codex-cli") {
2537
2539
  process.stderr.write(
2538
2540
  "\n" + style.dim(
2539
- "Add this to ~/.codex/config.toml (create the file if it does not exist). Set the MULTICORN_API_KEY environment variable to your Shield API key. Restart Codex CLI after saving."
2541
+ "Add this to ~/.codex/config.toml (create the file if it does not exist). Restart Codex CLI after saving."
2540
2542
  ) + "\n\n"
2541
2543
  );
2542
2544
  } else if (platform === "github-copilot") {
@@ -3335,8 +3337,8 @@ You have ${String(agentsForPlatform.length)} agent(s) connected for ${selectedLa
3335
3337
  );
3336
3338
  process.stderr.write(
3337
3339
  "\n" + style.dim(
3338
- "Add the TOML snippet above to ~/.codex/config.toml. Then set the environment variable:"
3339
- ) + "\n\n " + style.cyan(`export MULTICORN_API_KEY="${apiKey}"`) + "\n\n" + style.dim("Restart Codex CLI after saving config.toml.") + "\n"
3340
+ "Add the TOML snippet above to ~/.codex/config.toml. Restart Codex CLI after saving."
3341
+ ) + "\n"
3340
3342
  );
3341
3343
  configuredAgents.push({
3342
3344
  selection,
@@ -3675,7 +3677,7 @@ You have ${String(agentsForPlatform.length)} agent(s) connected for ${selectedLa
3675
3677
  }
3676
3678
  if (codexHostedConfigured) {
3677
3679
  blocks.push(
3678
- "\n" + style.bold("Codex CLI (hosted)") + "\n \u2192 Set the MULTICORN_API_KEY environment variable to your Shield API key\n \u2192 Restart Codex CLI after saving config.toml\n \u2192 Verify it's connected: run /mcp in Codex CLI to see your active MCP servers\n \u2192 Try it: make a request that uses an MCP tool through Shield\n"
3680
+ "\n" + style.bold("Codex CLI (hosted)") + "\n \u2192 Restart Codex CLI after saving config.toml\n \u2192 Verify it's connected: run /mcp in Codex CLI to see your active MCP servers\n \u2192 Try it: make a request that uses an MCP tool through Shield\n"
3679
3681
  );
3680
3682
  }
3681
3683
  if (configuredPlatforms.has("other-mcp")) {
@@ -4583,7 +4585,7 @@ async function restoreClaudeDesktopMcpFromBackup() {
4583
4585
 
4584
4586
  // package.json
4585
4587
  var package_default = {
4586
- version: "1.9.2"};
4588
+ version: "1.9.3"};
4587
4589
 
4588
4590
  // src/package-meta.ts
4589
4591
  var PACKAGE_VERSION = package_default.version;
@@ -22517,7 +22517,7 @@ async function writeExtensionBackup(claudeDesktopConfigPath, mcpServers) {
22517
22517
 
22518
22518
  // package.json
22519
22519
  var package_default = {
22520
- version: "1.9.2"};
22520
+ version: "1.9.3"};
22521
22521
 
22522
22522
  // src/package-meta.ts
22523
22523
  var PACKAGE_VERSION = package_default.version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multicorn-shield",
3
- "version": "1.9.2",
3
+ "version": "1.9.3",
4
4
  "description": "The control layer for AI agents: permissions, consent, spending limits, and audit logging.",
5
5
  "license": "MIT",
6
6
  "author": "Multicorn AI Pty Ltd",