feat/platform-v3 (#1698)

* feat(fonts): season replacing geist

* feat(emcnn): created emcn

* feat(sidebar): created new sidebar with header and workflow list

* improvement(sidebar): expanded workflow/folder item text sizing and adjusted button padding

* feat(sidebar): added search UI, updated workflows styling

* improvement: globals styling with antialiased in dark mode only

* feat(sidebar): blocks and triggers ui/ux updated

* refactor(sidebar): moved logic into hooks

* feat(sidebar): improved workflow/folder dragging UI/UX; refactored logic into hooks

* improvement(sidebar): adjusted triggers/blocks padding for header

* improvement(sidebar): dragging hover handler; closed folders by default minus active path

* improvement(sidebar): panel resize logic

* improvement(sidebar): blocks and triggers expanded indicator

* feat(tooltips): new emcn component emerged

* feat(sidebar): workflow list handling updated

* refactor: added cursorrules

* feat(panel): new panel layout

* improvement(workspaces): firname's workspace instead of fn ln's workspace

* feat(platform): panel header, new emcn icons, more button variants, refactor sidebar components

* improvement(emcn): added button variants

* feat(panel): tab system

* feat(copilot): refactor, adjusted welcome and user-input UI/UX

* feat(copilot): baseline user-input ui/ux improvement

* feat(emcn): badge outline variant

* fix: build errors

* feat(copilot): base UI copilot

* refactor(workflow-block): added hooks, components

* feat(design): created design panel and removed isWide

* refactor(subblock): edited components, styling

* feat: emcn, editor

* feat(panel): toolbar, editor

* feat(workflow-block): refactor, adjust base styling

* feat(workflow-block): new block, edge

* feat: workflow-block, connections, action-bar, copilot

* feat: panel, workflow, emcn, workflow block, subblocks; clean copilot

* sim-326: remove remote code execution toggle, hide dropdown for language if E2B is not enabled

* feat: sidebar navigation, tag coloring; refactor: rebased to staging

* fix: build errors

* improvement: subblock styles

* feat: workspaces, terminal, emcn, controls

* feat: delete workflow

* fix: rebased

* fix build errors

---------

Co-authored-by: Vikhyath Mondreti <vikhyath@simstudio.ai>
This commit is contained in:
Emir Karabeg
2025-11-08 10:58:31 -08:00
committed by GitHub
parent 945405c461
commit eed2072723
593 changed files with 31386 additions and 21701 deletions

View File

@@ -94,8 +94,8 @@ export const setupStoreMocks = (options?: {
},
}))
vi.doMock('@/stores/panel/console/store', () => ({
useConsoleStore: {
vi.doMock('@/stores/terminal', () => ({
useTerminalConsoleStore: {
getState: () => ({
addConsole: consoleAddFn,
updateConsole: consoleUpdateFn,

View File

@@ -76,7 +76,6 @@ describe('FunctionBlockHandler', () => {
const expectedToolParams = {
code: inputs.code,
language: 'javascript',
useLocalVM: true,
timeout: inputs.timeout,
envVars: {},
workflowVariables: {},
@@ -110,7 +109,6 @@ describe('FunctionBlockHandler', () => {
const expectedToolParams = {
code: expectedCode,
language: 'javascript',
useLocalVM: true,
timeout: inputs.timeout,
envVars: {},
workflowVariables: {},
@@ -137,7 +135,6 @@ describe('FunctionBlockHandler', () => {
const expectedToolParams = {
code: inputs.code,
language: 'javascript',
useLocalVM: true,
timeout: DEFAULT_EXECUTION_TIMEOUT_MS,
envVars: {},
workflowVariables: {},

View File

@@ -1,14 +1,11 @@
import { DEFAULT_EXECUTION_TIMEOUT_MS } from '@/lib/execution/constants'
import { DEFAULT_CODE_LANGUAGE } from '@/lib/execution/languages'
import { createLogger } from '@/lib/logs/console/logger'
import { BlockType } from '@/executor/consts'
import type { BlockHandler, ExecutionContext } from '@/executor/types'
import { collectBlockData } from '@/executor/utils/block-data'
import type { SerializedBlock } from '@/serializer/types'
import { executeTool } from '@/tools'
const logger = createLogger('FunctionBlockHandler')
/**
* Handler for Function blocks that execute custom code.
*/
@@ -33,7 +30,6 @@ export class FunctionBlockHandler implements BlockHandler {
{
code: codeContent,
language: inputs.language || DEFAULT_CODE_LANGUAGE,
useLocalVM: !inputs.remoteExecution,
timeout: inputs.timeout || DEFAULT_EXECUTION_TIMEOUT_MS,
envVars: ctx.environmentVariables || {},
workflowVariables: ctx.workflowVariables || {},