@cdot65/prisma-airs 0.1.2 → 0.1.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.
@@ -1,11 +1,14 @@
1
1
  ---
2
2
  name: prisma-airs-guard
3
- emoji: "\U0001F6E1"
4
- events:
5
- - agent:bootstrap
6
- requires:
7
- env:
8
- - PANW_AI_SEC_API_KEY
3
+ description: "Injects security scanning reminder into agent bootstrap context"
4
+ metadata:
5
+ openclaw:
6
+ emoji: "🛡"
7
+ events:
8
+ - agent:bootstrap
9
+ requires:
10
+ env:
11
+ - PANW_AI_SEC_API_KEY
9
12
  ---
10
13
 
11
14
  # Prisma AIRS Security Reminder
@@ -48,7 +48,7 @@ If scan returns action="warn":
48
48
  - Consider asking for clarification
49
49
  `;
50
50
 
51
- export const handler: HookHandler = async (event: HookEvent) => {
51
+ const handler: HookHandler = async (event: HookEvent) => {
52
52
  // Only handle agent bootstrap events
53
53
  if (event.type !== "agent" || event.action !== "bootstrap") {
54
54
  return;
@@ -67,3 +67,5 @@ export const handler: HookHandler = async (event: HookEvent) => {
67
67
  ctx.systemPromptAppend = existing + SECURITY_REMINDER;
68
68
  }
69
69
  };
70
+
71
+ export default handler;
package/index.ts CHANGED
@@ -108,7 +108,7 @@ export default function register(api: PluginApi): void {
108
108
  const hasApiKey = isConfigured();
109
109
  respond(true, {
110
110
  plugin: "prisma-airs",
111
- version: "0.1.2",
111
+ version: "0.1.3",
112
112
  config: {
113
113
  profile_name: cfg.profile_name ?? "default",
114
114
  app_name: cfg.app_name ?? "openclaw",
@@ -197,7 +197,7 @@ export default function register(api: PluginApi): void {
197
197
  const hasKey = isConfigured();
198
198
  console.log("Prisma AIRS Plugin Status");
199
199
  console.log("-------------------------");
200
- console.log(`Version: 0.1.2`);
200
+ console.log(`Version: 0.1.3`);
201
201
  console.log(`Profile: ${cfg.profile_name ?? "default"}`);
202
202
  console.log(`App Name: ${cfg.app_name ?? "openclaw"}`);
203
203
  console.log(`Reminder: ${cfg.reminder_enabled ?? true}`);
@@ -248,7 +248,7 @@ export default function register(api: PluginApi): void {
248
248
  // Export plugin metadata for discovery
249
249
  export const id = "prisma-airs";
250
250
  export const name = "Prisma AIRS Security";
251
- export const version = "0.1.2";
251
+ export const version = "0.1.3";
252
252
 
253
253
  // Re-export scanner types and functions
254
254
  export { scan, isConfigured } from "./src/scanner";
@@ -2,7 +2,7 @@
2
2
  "id": "prisma-airs",
3
3
  "name": "Prisma AIRS Security",
4
4
  "description": "AI Runtime Security scanning via Palo Alto Networks - TypeScript implementation with Gateway RPC, agent tool, and bootstrap reminder hook",
5
- "version": "0.1.2",
5
+ "version": "0.1.3",
6
6
  "hooks": ["hooks/prisma-airs-guard"],
7
7
  "configSchema": {
8
8
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdot65/prisma-airs",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Prisma AIRS (AI Runtime Security) plugin for OpenClaw - TypeScript implementation with Gateway RPC, agent tool, and bootstrap hook",
5
5
  "type": "module",
6
6
  "main": "index.ts",