mirror of
https://github.com/soconnor0919/hristudio.git
synced 2026-03-23 19:27:51 -04:00
feat: Implement dynamic plugin definition loading from remote/local sources and standardize action IDs using plugin metadata.
This commit is contained in:
@@ -149,10 +149,10 @@ export function convertActionToDatabase(
|
||||
pluginVersion: action.source.pluginVersion,
|
||||
robotId: action.source.robotId,
|
||||
baseActionId: action.source.baseActionId,
|
||||
transport: action.execution.transport,
|
||||
ros2: action.execution.ros2,
|
||||
rest: action.execution.rest,
|
||||
retryable: action.execution.retryable,
|
||||
transport: action.execution?.transport,
|
||||
ros2: action.execution?.ros2,
|
||||
rest: action.execution?.rest,
|
||||
retryable: action.execution?.retryable,
|
||||
parameterSchemaRaw: action.parameterSchemaRaw,
|
||||
sourceKind: action.source.kind,
|
||||
category: action.category,
|
||||
|
||||
@@ -267,7 +267,7 @@ export function parseVisualDesignSteps(raw: unknown): {
|
||||
if (!act.source.kind) {
|
||||
issues.push(`Action "${act.id}" missing source.kind`);
|
||||
}
|
||||
if (!act.execution.transport) {
|
||||
if (!act.execution?.transport) {
|
||||
issues.push(`Action "${act.id}" missing execution transport`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user