fix(hands): use hand.id instead of hand.name for API calls

- Fix HandTaskPanel to use hand.id when loading runs and triggering
- Fix HandsPanel to use hand.id for getHandDetails and triggerHand
- Fix WorkflowEditor to use hand.id as option value

The API expects hand identifiers, not names. This ensures correct
hand execution and run history loading.

Also clean up old plan files and add Gateway stability plan.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
iven
2026-03-16 09:57:01 +08:00
parent a312524abb
commit 26e64a3fff
4 changed files with 217 additions and 8 deletions

View File

@@ -84,7 +84,7 @@ function StepEditor({ step, hands, index, onUpdate, onRemove, onMoveUp, onMoveDo
>
<option value=""> Hand...</option>
{hands.map(hand => (
<option key={hand.id} value={hand.name}>
<option key={hand.id} value={hand.id}>
{hand.name} - {hand.description}
</option>
))}