Feature/skill individual consciousness 14792862208456568388 (#55)

* feat: Make skill individuals directly accessible to consciousness node

- Added `available_skills` to `ConsciousnessNodeDeps` and `ForWorkflowEngineInput`.
- Updated `WorkflowRunningEngine` to retrieve all available skills from `GlobalStateMachine` and pass them during `ForWorkflowEngineInput` creation.
- Updated `ConsciousnessNode` to dynamically inject these skills into the system prompt. This allows the AI to correctly insert `skill_individuals` into `PretorWorkflow` steps (as tools for `composite_individual` or `primary_individual`).

Co-authored-by: zhaoxi826 <198742034+zhaoxi826@users.noreply.github.com>

* feat: Expose skill individuals to consciousness node & fix frontend tool parsing

- Added `available_skills` to `ConsciousnessNodeDeps` and `ForWorkflowEngineInput`.
- Updated `WorkflowRunningEngine` to retrieve all available skills from `GlobalStateMachine` and pass them into `ForWorkflowEngineInput`.
- Updated `ConsciousnessNode` to dynamically inject these skills into the prompt, enabling AI to integrate `skill_individuals` into `PretorWorkflow` steps directly.
- Fixed a frontend parsing bug in `WorkerIndividualSettings.tsx` where backend tool responses (an array of strings) were being incorrectly flattened, resulting in arrays of index numbers instead of actual tool names.

Co-authored-by: zhaoxi826 <198742034+zhaoxi826@users.noreply.github.com>

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: zhaoxi826 <198742034+zhaoxi826@users.noreply.github.com>
This commit is contained in:
朝夕 2026-04-28 19:26:31 +08:00 committed by GitHub
parent 5eab42758b
commit e03ba31f5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available