multicorn-shield 0.13.0 → 1.0.0

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.
@@ -696,7 +696,7 @@ async function beforeToolCall(event, ctx) {
696
696
  );
697
697
  if (config.apiKey.length === 0) {
698
698
  pluginLogger?.warn(
699
- "Multicorn Shield: No API key found. Run 'npx multicorn-proxy init' or set MULTICORN_API_KEY."
699
+ "Multicorn Shield: No API key found. Run 'npx multicorn-shield init' or set MULTICORN_API_KEY."
700
700
  );
701
701
  console.error("[SHIELD] DECISION: allow (no API key)");
702
702
  return void 0;
@@ -886,7 +886,7 @@ var plugin = {
886
886
  api.logger.info("Multicorn Shield plugin registered.");
887
887
  if (config.apiKey.length === 0) {
888
888
  api.logger.error(
889
- "Multicorn Shield: No API key found. Run 'npx multicorn-proxy init' or set MULTICORN_API_KEY."
889
+ "Multicorn Shield: No API key found. Run 'npx multicorn-shield init' or set MULTICORN_API_KEY."
890
890
  );
891
891
  } else {
892
892
  api.logger.info(`Multicorn Shield connecting to ${config.baseUrl}`);
package/dist/proxy.cjs CHANGED
@@ -76,7 +76,7 @@ function buildServiceUnreachableResponse(id, dashboardUrl) {
76
76
  };
77
77
  }
78
78
  function buildAuthErrorResponse(id) {
79
- const message = "Action blocked: Shield API key is invalid or has been revoked. Run npx multicorn-proxy init to reconfigure.";
79
+ const message = "Action blocked: Shield API key is invalid or has been revoked. Run npx multicorn-shield init to reconfigure.";
80
80
  return {
81
81
  jsonrpc: "2.0",
82
82
  id,
package/dist/proxy.js CHANGED
@@ -74,7 +74,7 @@ function buildServiceUnreachableResponse(id, dashboardUrl) {
74
74
  };
75
75
  }
76
76
  function buildAuthErrorResponse(id) {
77
- const message = "Action blocked: Shield API key is invalid or has been revoked. Run npx multicorn-proxy init to reconfigure.";
77
+ const message = "Action blocked: Shield API key is invalid or has been revoked. Run npx multicorn-shield init to reconfigure.";
78
78
  return {
79
79
  jsonrpc: "2.0",
80
80
  id,
@@ -22359,7 +22359,7 @@ async function writeExtensionBackup(claudeDesktopConfigPath, mcpServers) {
22359
22359
 
22360
22360
  // package.json
22361
22361
  var package_default = {
22362
- version: "0.13.0"};
22362
+ version: "1.0.0"};
22363
22363
 
22364
22364
  // src/package-meta.ts
22365
22365
  var PACKAGE_VERSION = package_default.version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multicorn-shield",
3
- "version": "0.13.0",
3
+ "version": "1.0.0",
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",
@@ -31,8 +31,8 @@
31
31
  }
32
32
  },
33
33
  "bin": {
34
- "multicorn-proxy": "./dist/multicorn-proxy.js",
35
- "multicorn-shield": "./dist/multicorn-shield.js"
34
+ "multicorn-shield": "./dist/multicorn-shield.js",
35
+ "multicorn-proxy": "./dist/multicorn-proxy.js"
36
36
  },
37
37
  "files": [
38
38
  "dist",
@@ -13,7 +13,7 @@ Native Shield integration for [Windsurf](https://windsurf.com) using [Cascade Ho
13
13
  2. Run the wizard and pick **Windsurf**, then **Native plugin (recommended)**.
14
14
 
15
15
  ```bash
16
- npx multicorn-proxy init
16
+ npx multicorn-shield init
17
17
  ```
18
18
 
19
19
  3. Restart Windsurf (quit fully, then reopen) so hooks load.
@@ -43,7 +43,7 @@ Hooks run shell commands with **your user permissions**. They can read the JSON
43
43
 
44
44
  ## Hosted proxy alternative
45
45
 
46
- If you only need MCP traffic governed, use **Hosted proxy** in `npx multicorn-proxy init` and paste the proxy URL into `~/.codeium/windsurf/mcp_config.json` instead.
46
+ If you only need MCP traffic governed, use **Hosted proxy** in `npx multicorn-shield init` and paste the proxy URL into `~/.codeium/windsurf/mcp_config.json` instead.
47
47
 
48
48
  ## Windows
49
49