@clawkeepers/kernel 0.1.0-beta.1

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.
@@ -0,0 +1,137 @@
1
+ {
2
+ "id": "clawos-kernel",
3
+ "name": "OpenClaw OS Kernel",
4
+ "description": "Capability model, gatekeeper registry, approval queue, and audit for OpenClaw OS.",
5
+ "contracts": {
6
+ "tools": [
7
+ "os_request_access",
8
+ "os_list_grants",
9
+ "gk_fs_dir_list",
10
+ "gk_fs_file_read",
11
+ "gk_fs_file_write",
12
+ "gk_mcp_demo_read_note",
13
+ "gk_mcp_demo_append_note"
14
+ ],
15
+ "trustedToolPolicies": [
16
+ "clawos-capability-policy"
17
+ ],
18
+ "gatewayMethodDispatch": [
19
+ "os.status",
20
+ "os.grants.list",
21
+ "os.grants.introduce",
22
+ "os.grants.revoke",
23
+ "os.approvals.list",
24
+ "os.approvals.apply",
25
+ "os.approvals.reject",
26
+ "os.approvals.revert",
27
+ "os.gatekeepers.list",
28
+ "os.gatekeepers.connect",
29
+ "os.audit.query",
30
+ "os.maintenance.set"
31
+ ]
32
+ },
33
+ "activation": {
34
+ "onStartup": true
35
+ },
36
+ "configSchema": {
37
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
38
+ "type": "object",
39
+ "additionalProperties": false,
40
+ "properties": {
41
+ "operators": {
42
+ "type": "array",
43
+ "items": {
44
+ "type": "object",
45
+ "required": [
46
+ "channel",
47
+ "senderId"
48
+ ],
49
+ "properties": {
50
+ "channel": {
51
+ "type": "string"
52
+ },
53
+ "senderId": {
54
+ "type": "string"
55
+ },
56
+ "name": {
57
+ "type": "string"
58
+ }
59
+ },
60
+ "additionalProperties": false
61
+ }
62
+ },
63
+ "autoApprove": {
64
+ "type": "array",
65
+ "items": {
66
+ "type": "string"
67
+ }
68
+ },
69
+ "install": {
70
+ "type": "object",
71
+ "properties": {
72
+ "allowSources": {
73
+ "type": "array",
74
+ "items": {
75
+ "type": "string"
76
+ }
77
+ },
78
+ "allowHashes": {
79
+ "type": "array",
80
+ "items": {
81
+ "type": "string"
82
+ }
83
+ }
84
+ },
85
+ "additionalProperties": false
86
+ },
87
+ "egress": {
88
+ "type": "object",
89
+ "properties": {
90
+ "denyPatterns": {
91
+ "type": "array",
92
+ "items": {
93
+ "type": "string"
94
+ }
95
+ }
96
+ },
97
+ "additionalProperties": false
98
+ },
99
+ "audit": {
100
+ "type": "object",
101
+ "properties": {
102
+ "llm": {
103
+ "type": "boolean"
104
+ }
105
+ },
106
+ "additionalProperties": false
107
+ },
108
+ "maintenance": {
109
+ "type": "boolean"
110
+ },
111
+ "notify": {
112
+ "type": "object",
113
+ "properties": {
114
+ "channel": {
115
+ "type": "string"
116
+ },
117
+ "target": {
118
+ "type": "string"
119
+ }
120
+ },
121
+ "additionalProperties": false
122
+ }
123
+ }
124
+ },
125
+ "clawos": {
126
+ "kernel": true,
127
+ "apiVersion": 1
128
+ },
129
+ "cliCommands": [
130
+ {
131
+ "name": "os",
132
+ "description": "OpenClaw OS kernel administration",
133
+ "hasSubcommands": true
134
+ }
135
+ ],
136
+ "version": "0.1.0-beta.1"
137
+ }
package/package.json ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "@clawkeepers/kernel",
3
+ "version": "0.1.0-beta.1",
4
+ "description": "OpenClaw OS kernel plugin: capability model, gatekeeper registry, approval queue, audit.",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "files": [
9
+ "dist",
10
+ "LICENSE",
11
+ "NOTICE",
12
+ "README.md",
13
+ "openclaw.plugin.json",
14
+ "config.schema.json"
15
+ ],
16
+ "dependencies": {
17
+ "typebox": "1.1.39",
18
+ "@clawkeepers/shared": "0.1.0-beta.1",
19
+ "@clawkeepers/gatekeeper-kit": "0.1.0-beta.1"
20
+ },
21
+ "peerDependencies": {
22
+ "openclaw": ">=2026.9.2 <2026.11.0"
23
+ },
24
+ "devDependencies": {
25
+ "tsup": "8.5.0",
26
+ "typescript": "5.9.2",
27
+ "vitest": "3.2.4",
28
+ "@types/node": "22.18.0"
29
+ },
30
+ "openclaw": {
31
+ "extensions": [
32
+ "./dist/index.js"
33
+ ],
34
+ "compat": {
35
+ "pluginApi": ">=2026.9.2 <2026.11.0",
36
+ "minGatewayVersion": "2026.9.2"
37
+ },
38
+ "build": {
39
+ "openclawVersion": "2026.9.2",
40
+ "pluginSdkVersion": "2026.9.2"
41
+ }
42
+ },
43
+ "license": "MIT",
44
+ "repository": {
45
+ "type": "git",
46
+ "url": "git+https://github.com/clawkeeper/openclaw-os.git",
47
+ "directory": "packages/clawos-kernel"
48
+ },
49
+ "private": false,
50
+ "publishConfig": {
51
+ "access": "public"
52
+ },
53
+ "exports": {
54
+ ".": {
55
+ "types": "./dist/index.d.ts",
56
+ "import": "./dist/index.js"
57
+ }
58
+ },
59
+ "engines": {
60
+ "node": ">=22.22.3"
61
+ },
62
+ "scripts": {
63
+ "build": "tsup src/index.ts --format esm --dts --clean",
64
+ "test": "vitest run",
65
+ "typecheck": "tsc -p tsconfig.json --noEmit",
66
+ "validate": "node ../../scripts/check-plugin-metadata.mjs ."
67
+ }
68
+ }