feat(flows): prompt bar → instant canvas with backend-driven copilot builder (#4578)

This commit is contained in:
Steven Enamakel
2026-07-06 00:37:01 -07:00
committed by GitHub
parent 169379c2fa
commit bcc9537320
70 changed files with 4742 additions and 437 deletions
@@ -21,6 +21,7 @@ import { useEffect, useState } from 'react';
import type { NodeKind } from '../../../../lib/flows/types';
import { useT } from '../../../../lib/i18n/I18nContext';
import type { FlowConnection } from '../../../../services/api/flowsApi';
import AgentNodeInspector from '../AgentNodeInspector';
import {
ComposioActionField,
type ComposioActionSchema,
@@ -36,7 +37,6 @@ import {
ExpressionField,
JsonField,
KeyMapField,
ModelHintField,
SelectField,
TextAreaField,
TextField,
@@ -197,13 +197,10 @@ function AgentForm({ config, onChange, connections, upstreamOptions }: NodeConfi
/>
</div>
)}
<ModelHintField
label={t('flows.nodeConfig.agent.modelLabel')}
hint={t('flows.nodeConfig.agent.modelHint')}
value={configString(config, 'model')}
onChange={v => onChange({ model: v })}
testId="node-config-agent-model"
/>
{/* Harness knobs: which registered agent runs this node (Phase A routes an
`agent_ref` node through the full tool loop) + its managed model tier.
Both write onto the node config via the same shallow-merge patch. */}
<AgentNodeInspector config={config} onChange={onChange} />
<CredentialPickerField
value={configString(config, 'connection_ref')}
onChange={v => onChange({ connection_ref: v })}