Talk to wren nodes from the chat's Control tab, opened from Home

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013GAeg4Jo6xjZzjwy9QDWMQ
This commit is contained in:
2026-10-05 20:59:11 +02:00
co-authored by Claude Opus 5.5
parent d8edce55f9
commit 673061d9fb
11 changed files with 417 additions and 42 deletions
+29
View File
@@ -565,6 +565,35 @@ export const ChatItemSchema = {
title: 'ChatItem'
} as const;
export const ControlNodeSchema = {
properties: {
id: {
type: 'string',
title: 'Id'
},
flow: {
type: 'string',
title: 'Flow'
},
title: {
type: 'string',
title: 'Title'
},
prompt_msg: {
type: 'string',
title: 'Prompt Msg'
},
actions_msg: {
type: 'string',
title: 'Actions Msg'
}
},
type: 'object',
required: ['id', 'flow', 'title', 'prompt_msg', 'actions_msg'],
title: 'ControlNode',
description: 'A wren node the chat can talk to: where it sends and where it reads.'
} as const;
export const DTypeSchema = {
type: 'string',
enum: ['float', 'int', 'str', 'bool', 'json', 'series', 'record', 'list', 'artifact', 'image', 'audio', 'video'],