unraidclaw 0.1.11 → 0.1.12

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.
@@ -49,6 +49,14 @@
49
49
  "unraid_vm_stop"
50
50
  ]
51
51
  },
52
+ "configContracts": {
53
+ "secretInputs": {
54
+ "paths": [
55
+ { "path": "apiKey", "expected": "string" },
56
+ { "path": "servers.*.apiKey", "expected": "string" }
57
+ ]
58
+ }
59
+ },
52
60
  "configSchema": {
53
61
  "type": "object",
54
62
  "additionalProperties": false,
@@ -58,8 +66,20 @@
58
66
  "description": "URL of the UnraidClaw server (single-server mode)"
59
67
  },
60
68
  "apiKey": {
61
- "type": "string",
62
- "description": "API key for authenticating with UnraidClaw (single-server mode)"
69
+ "description": "API key for authenticating with UnraidClaw (single-server mode). A plaintext string, or an OpenClaw SecretRef object resolved before the plugin loads.",
70
+ "anyOf": [
71
+ { "type": "string" },
72
+ {
73
+ "type": "object",
74
+ "required": ["source", "provider", "id"],
75
+ "properties": {
76
+ "source": { "type": "string", "enum": ["env", "file", "exec"] },
77
+ "provider": { "type": "string" },
78
+ "id": { "type": "string" }
79
+ },
80
+ "additionalProperties": false
81
+ }
82
+ ]
63
83
  },
64
84
  "tlsSkipVerify": {
65
85
  "type": "boolean",
@@ -81,8 +101,20 @@
81
101
  "description": "URL of the UnraidClaw server"
82
102
  },
83
103
  "apiKey": {
84
- "type": "string",
85
- "description": "API key for authenticating with this server"
104
+ "description": "API key for authenticating with this server. A plaintext string, or an OpenClaw SecretRef object resolved before the plugin loads.",
105
+ "anyOf": [
106
+ { "type": "string" },
107
+ {
108
+ "type": "object",
109
+ "required": ["source", "provider", "id"],
110
+ "properties": {
111
+ "source": { "type": "string", "enum": ["env", "file", "exec"] },
112
+ "provider": { "type": "string" },
113
+ "id": { "type": "string" }
114
+ },
115
+ "additionalProperties": false
116
+ }
117
+ ]
86
118
  },
87
119
  "tlsSkipVerify": {
88
120
  "type": "boolean",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unraidclaw",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "OpenClaw plugin to manage your Unraid server — Docker, VMs, array, shares, system, and more.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",