clawaxis 1.0.1 → 1.0.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.
- package/openclaw.plugin.json +5 -3
- package/package.json +1 -1
- package/src/config.ts +2 -1
package/openclaw.plugin.json
CHANGED
|
@@ -10,11 +10,13 @@
|
|
|
10
10
|
"properties": {
|
|
11
11
|
"relayUrl": {
|
|
12
12
|
"type": "string",
|
|
13
|
-
"description": "ClawAxis WebSocket relay endpoint URL"
|
|
13
|
+
"description": "ClawAxis WebSocket relay endpoint URL",
|
|
14
|
+
"default": "https://fqwpwypyzcbmdeajlkzt.supabase.co/functions/v1/ws-relay"
|
|
14
15
|
},
|
|
15
16
|
"agentToken": {
|
|
16
17
|
"type": "string",
|
|
17
|
-
"description": "Agent authentication token (oc_tk_...)"
|
|
18
|
+
"description": "Agent authentication token (oc_tk_...)",
|
|
19
|
+
"default": "oc_tk_placeholder_replace_me"
|
|
18
20
|
},
|
|
19
21
|
"mediaDomain": {
|
|
20
22
|
"type": "string",
|
|
@@ -75,7 +77,7 @@
|
|
|
75
77
|
}
|
|
76
78
|
}
|
|
77
79
|
},
|
|
78
|
-
"required": [
|
|
80
|
+
"required": []
|
|
79
81
|
},
|
|
80
82
|
"uiHints": {
|
|
81
83
|
"relayUrl": { "label": "Relay URL", "placeholder": "https://your-relay.supabase.co/functions/v1/ws-relay" },
|
package/package.json
CHANGED
package/src/config.ts
CHANGED
|
@@ -57,7 +57,8 @@ export function loadConfig(apiConfig: any): ClawAxisConfig | null {
|
|
|
57
57
|
cfg = apiConfig;
|
|
58
58
|
} else {
|
|
59
59
|
cfg = apiConfig?.channels?.clawaxis
|
|
60
|
-
?? apiConfig?.plugins?.entries?.["clawaxis-plugin"]?.config
|
|
60
|
+
?? apiConfig?.plugins?.entries?.["clawaxis-plugin"]?.config
|
|
61
|
+
?? apiConfig?.plugins?.entries?.["clawaxis"]?.config;
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
if (!cfg) return null;
|