@shield-agent/kya 0.1.27 → 0.1.28

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/README.md CHANGED
@@ -10,6 +10,8 @@ Walkthrough: [how you use it](https://shield-agent.com/how-kya-works#using).
10
10
  npx @shield-agent/kya@latest --help
11
11
  ```
12
12
 
13
+ Requires **Node.js 24+** (`engines.node: >=24`).
14
+
13
15
  It works with any host that speaks MCP or OpenAPI. Vertical packs are optional. Shield is the only policy decision point: this gate never auto-approves an irreversible side effect.
14
16
 
15
17
  If `KYA_API_KEY` is empty against an authenticated plane, network commands exit non-zero. `eval-tool`, `wrap`, and `invoke` exit `0` on ALLOW, `4` on REQUIRE_APPROVE, and `1` on DENY or unknown, so a line like `eval-tool && write` cannot skip the gate.
package/dist/client.js CHANGED
@@ -29,7 +29,7 @@ export class KyaHttpClient {
29
29
  this.agentId = options.agentId;
30
30
  const fetchImpl = options.fetch ?? globalThis.fetch;
31
31
  if (typeof fetchImpl !== "function") {
32
- throw new KyaError("global fetch unavailable; Node 20+ required", "NO_FETCH");
32
+ throw new KyaError("global fetch unavailable; Node 24+ required", "NO_FETCH");
33
33
  }
34
34
  this.fetchImpl = fetchImpl;
35
35
  }
package/manifest.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "manifest_version": "0.3",
3
3
  "name": "shield-kya",
4
4
  "display_name": "Shield KYA",
5
- "version": "0.1.27",
5
+ "version": "0.1.28",
6
6
  "description": "Know Your Agent MCP gate: ALLOW / DENY / REQUIRE_APPROVE. Sole PEP is Shield.",
7
7
  "long_description": "Local Claude Desktop extension that runs the packaged `dist/cli.js serve-mcp --stdio` against your Shield control plane (local or https://shield-agent.com). Tools evaluate policy, ingest session risk, and open Hold tickets. They never execute irreversible side effects.",
8
8
  "author": {
@@ -67,7 +67,7 @@
67
67
  "linux"
68
68
  ],
69
69
  "runtimes": {
70
- "node": ">=20.0.0"
70
+ "node": ">=24.0.0"
71
71
  }
72
72
  },
73
73
  "user_config": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shield-agent/kya",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "Know Your Agent light CLI + local MCP gate (provider-agnostic, zero vertical packs required).",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -45,7 +45,7 @@
45
45
  "url": "https://github.com/The-Pixel-Boys/shield-kya/issues"
46
46
  },
47
47
  "engines": {
48
- "node": ">=20"
48
+ "node": ">=24"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/node": "^22.10.5",
package/server.json CHANGED
@@ -7,12 +7,12 @@
7
7
  "url": "https://github.com/The-Pixel-Boys/shield-kya",
8
8
  "source": "github"
9
9
  },
10
- "version": "0.1.27",
10
+ "version": "0.1.28",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "@shield-agent/kya",
15
- "version": "0.1.27",
15
+ "version": "0.1.28",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },