multicorn-shield 1.9.4 → 1.9.5

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,6 +9,17 @@ 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.5] - 2026-05-13
13
+
14
+ ### Fixed
15
+
16
+ - CLI "Try it" prompt now suggests a real tool call instead of metadata discovery
17
+ - Duplicate "Add a new agent alongside these" menu option removed
18
+
19
+ ### Changed
20
+
21
+ - CLI "Try it" prompt matches dashboard example: "Use the {agent} MCP server to list my GitHub repositories"
22
+
12
23
  ## [1.9.4] - 2026-05-13
13
24
 
14
25
  ### Fixed
@@ -2803,15 +2803,7 @@ You have ${String(agentsForPlatform.length)} agent(s) connected for ${selectedLa
2803
2803
  `);
2804
2804
  }
2805
2805
  process.stderr.write("\n" + style.bold("What would you like to do?") + "\n");
2806
- const actionIdx = await arrowSelect(
2807
- [
2808
- "Add a new agent alongside these",
2809
- "Replace an existing agent",
2810
- "Skip - choose a different platform"
2811
- ],
2812
- ask,
2813
- "Action"
2814
- );
2806
+ const actionIdx = await arrowSelect(INIT_EXISTING_AGENTS_PLATFORM_ACTIONS, ask, "Action");
2815
2807
  if (actionIdx === 2) {
2816
2808
  continue;
2817
2809
  }
@@ -3659,7 +3651,7 @@ You have ${String(agentsForPlatform.length)} agent(s) connected for ${selectedLa
3659
3651
  if (codexHostedConfigured) {
3660
3652
  const codexLabel = mcpPromptLabel2("codex-cli");
3661
3653
  blocks.push(
3662
- "\n" + style.bold("Codex CLI (hosted)") + "\n \u2192 Restart Codex CLI to load the new MCP server config\n \u2192 Verify it's connected: run /mcp in Codex CLI to see your active MCP servers\n \u2192 Try it - paste this into Codex:\n Use the " + codexLabel + " MCP server to list available tools\n"
3654
+ "\n" + style.bold("Codex CLI (hosted)") + "\n \u2192 Restart Codex CLI to load the new MCP server config\n \u2192 Verify it's connected: run /mcp in Codex CLI to see your active MCP servers\n \u2192 Try it - paste this into Codex:\n Use the " + codexLabel + " MCP server to list my GitHub repositories\n"
3663
3655
  );
3664
3656
  }
3665
3657
  if (configuredPlatforms.has("other-mcp")) {
@@ -3681,7 +3673,7 @@ You have ${String(agentsForPlatform.length)} agent(s) connected for ${selectedLa
3681
3673
  }
3682
3674
  return lastConfig;
3683
3675
  }
3684
- var SECRET_JSON_FILE_OPTIONS, style, BANNER, NativePluginPrerequisiteMissingError, CONFIG_DIR, CONFIG_PATH, OPENCLAW_CONFIG_PATH, ANSI_PATTERN, UPSTREAM_AUTH_KNOWN_SCHEME_WITH_PAYLOAD, OPENCLAW_MIN_VERSION, INIT_WIZARD_PLATFORM_REGISTRY, INIT_WIZARD_MENU_SECTIONS, INIT_WIZARD_SELECTION_MAX, PLATFORM_BY_SELECTION, HOSTED_PROXY_PLATFORMS_WITH_URL_KEY, OPENCODE_CONFIG_SCHEMA_URL, DEFAULT_SHIELD_API_BASE_URL;
3676
+ var SECRET_JSON_FILE_OPTIONS, style, BANNER, NativePluginPrerequisiteMissingError, CONFIG_DIR, CONFIG_PATH, OPENCLAW_CONFIG_PATH, ANSI_PATTERN, UPSTREAM_AUTH_KNOWN_SCHEME_WITH_PAYLOAD, OPENCLAW_MIN_VERSION, INIT_WIZARD_PLATFORM_REGISTRY, INIT_WIZARD_MENU_SECTIONS, INIT_WIZARD_SELECTION_MAX, INIT_EXISTING_AGENTS_PLATFORM_ACTIONS, PLATFORM_BY_SELECTION, HOSTED_PROXY_PLATFORMS_WITH_URL_KEY, OPENCODE_CONFIG_SCHEMA_URL, DEFAULT_SHIELD_API_BASE_URL;
3685
3677
  var init_config = __esm({
3686
3678
  "src/proxy/config.ts"() {
3687
3679
  init_consent();
@@ -3782,6 +3774,11 @@ var init_config = __esm({
3782
3774
  ];
3783
3775
  })();
3784
3776
  INIT_WIZARD_SELECTION_MAX = INIT_WIZARD_PLATFORM_REGISTRY.length;
3777
+ INIT_EXISTING_AGENTS_PLATFORM_ACTIONS = [
3778
+ "Add a new agent alongside these",
3779
+ "Replace an existing agent",
3780
+ "Skip - choose a different platform"
3781
+ ];
3785
3782
  PLATFORM_BY_SELECTION = Object.fromEntries(
3786
3783
  INIT_WIZARD_PLATFORM_REGISTRY.map((e, i) => [i + 1, e.slug])
3787
3784
  );
@@ -4738,7 +4735,7 @@ var init_package = __esm({
4738
4735
  "package.json"() {
4739
4736
  package_default = {
4740
4737
  name: "multicorn-shield",
4741
- version: "1.9.4",
4738
+ version: "1.9.5",
4742
4739
  description: "The control layer for AI agents: permissions, consent, spending limits, and audit logging.",
4743
4740
  license: "MIT",
4744
4741
  author: "Multicorn AI Pty Ltd",
@@ -1616,6 +1616,11 @@ var INIT_WIZARD_MENU_SECTIONS = (() => {
1616
1616
  ];
1617
1617
  })();
1618
1618
  var INIT_WIZARD_SELECTION_MAX = INIT_WIZARD_PLATFORM_REGISTRY.length;
1619
+ var INIT_EXISTING_AGENTS_PLATFORM_ACTIONS = [
1620
+ "Add a new agent alongside these",
1621
+ "Replace an existing agent",
1622
+ "Skip - choose a different platform"
1623
+ ];
1619
1624
  var PLATFORM_BY_SELECTION = Object.fromEntries(
1620
1625
  INIT_WIZARD_PLATFORM_REGISTRY.map((e, i) => [i + 1, e.slug])
1621
1626
  );
@@ -2897,15 +2902,7 @@ You have ${String(agentsForPlatform.length)} agent(s) connected for ${selectedLa
2897
2902
  `);
2898
2903
  }
2899
2904
  process.stderr.write("\n" + style.bold("What would you like to do?") + "\n");
2900
- const actionIdx = await arrowSelect(
2901
- [
2902
- "Add a new agent alongside these",
2903
- "Replace an existing agent",
2904
- "Skip - choose a different platform"
2905
- ],
2906
- ask,
2907
- "Action"
2908
- );
2905
+ const actionIdx = await arrowSelect(INIT_EXISTING_AGENTS_PLATFORM_ACTIONS, ask, "Action");
2909
2906
  if (actionIdx === 2) {
2910
2907
  continue;
2911
2908
  }
@@ -3753,7 +3750,7 @@ You have ${String(agentsForPlatform.length)} agent(s) connected for ${selectedLa
3753
3750
  if (codexHostedConfigured) {
3754
3751
  const codexLabel = mcpPromptLabel2("codex-cli");
3755
3752
  blocks.push(
3756
- "\n" + style.bold("Codex CLI (hosted)") + "\n \u2192 Restart Codex CLI to load the new MCP server config\n \u2192 Verify it's connected: run /mcp in Codex CLI to see your active MCP servers\n \u2192 Try it - paste this into Codex:\n Use the " + codexLabel + " MCP server to list available tools\n"
3753
+ "\n" + style.bold("Codex CLI (hosted)") + "\n \u2192 Restart Codex CLI to load the new MCP server config\n \u2192 Verify it's connected: run /mcp in Codex CLI to see your active MCP servers\n \u2192 Try it - paste this into Codex:\n Use the " + codexLabel + " MCP server to list my GitHub repositories\n"
3757
3754
  );
3758
3755
  }
3759
3756
  if (configuredPlatforms.has("other-mcp")) {
@@ -4661,7 +4658,7 @@ async function restoreClaudeDesktopMcpFromBackup() {
4661
4658
 
4662
4659
  // package.json
4663
4660
  var package_default = {
4664
- version: "1.9.4"};
4661
+ version: "1.9.5"};
4665
4662
 
4666
4663
  // src/package-meta.ts
4667
4664
  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.4"};
22520
+ version: "1.9.5"};
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.4",
3
+ "version": "1.9.5",
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",