Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@agentick/kernel

Package Overview
Dependencies
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agentick/kernel - npm Package Compare versions

Comparing version
0.2.0
to
0.2.1
+8
-8
package.json
{
"name": "@agentick/kernel",
"version": "0.2.0",
"version": "0.2.1",
"description": "Kernel for Agentick",

@@ -11,2 +11,7 @@ "keywords": [

"author": "Ryan Lindgren",
"repository": {
"type": "git",
"url": "git+https://github.com/agenticklabs/agentick.git",
"directory": "packages/kernel"
},
"files": [

@@ -32,5 +37,5 @@ "dist"

"pino": "^9.6.0",
"zod": "^4.2.1",
"zod": "^4.3.6",
"zod-to-json-schema": "^3.25.1",
"@agentick/shared": "0.2.0"
"@agentick/shared": "0.2.1"
},

@@ -40,7 +45,2 @@ "devDependencies": {

},
"repository": {
"type": "git",
"url": "git+https://github.com/agenticklabs/agentick.git",
"directory": "packages/kernel"
},
"scripts": {

@@ -47,0 +47,0 @@ "build": "tsc -p tsconfig.build.json",

@@ -30,3 +30,3 @@ # @agentick/kernel

return await db.users.find(id);
}
},
);

@@ -293,10 +293,10 @@

// Factories
GuardError.role(["admin"]); // "Requires one of roles [admin]"
GuardError.denied("Custom reason"); // Custom denial
GuardError.role(["admin"]); // "Requires one of roles [admin]"
GuardError.denied("Custom reason"); // Custom denial
// Type guard
if (isGuardError(error)) {
error.code; // "GUARD_DENIED"
error.guardType; // "role", "custom", etc.
error.details; // { roles: [...], guard: "name", ... }
error.code; // "GUARD_DENIED"
error.guardType; // "role", "custom", etc.
error.details; // { roles: [...], guard: "name", ... }
}

@@ -303,0 +303,0 @@ ```

Sorry, the diff of this file is not supported yet