@vtstech/pi-security 1.0.9 → 1.1.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/security.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtstech/pi-security",
3
- "version": "1.0.9",
3
+ "version": "1.1.0",
4
4
  "description": "Security extension for Pi Coding Agent",
5
5
  "main": "security.js",
6
6
  "keywords": ["pi-extensions"],
@@ -14,7 +14,7 @@
14
14
  "url": "https://github.com/VTSTech/pi-coding-agent"
15
15
  },
16
16
  "dependencies": {
17
- "@vtstech/pi-shared": "1.0.9"
17
+ "@vtstech/pi-shared": "1.1.0"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "@mariozechner/pi-coding-agent": ">=0.66"
package/security.js CHANGED
@@ -10,6 +10,7 @@ import {
10
10
  BLOCKED_URL_PATTERNS
11
11
  } from "@vtstech/pi-shared/security";
12
12
  import { section, ok, fail, warn, info } from "@vtstech/pi-shared/format";
13
+ import { EXTENSION_VERSION } from "@vtstech/pi-shared/ollama";
13
14
  function security_temp_default(pi) {
14
15
  const stats = {
15
16
  blocked: 0,
@@ -18,7 +19,7 @@ function security_temp_default(pi) {
18
19
  byRule: {}
19
20
  };
20
21
  const branding = [
21
- ` \u26A1 Pi Security Extension v1.0.9`,
22
+ ` \u26A1 Pi Security Extension v${EXTENSION_VERSION}`,
22
23
  ` Written by VTSTech`,
23
24
  ` GitHub: https://github.com/VTSTech`,
24
25
  ` Website: www.vts-tech.org`