Files
osmedeus/test/testdata/demo/demo-bash.yaml
T
j3ssie 1403d20a4d feat: add LLM step executor with vision and tool support, event workflow system, and inheritance
- Add LLM executor supporting OpenAI vision, tool calling, embeddings, and structured outputs
- Introduce event emitter/receiver workflows with deduplication and filtering (generate_event functions)
- Add workflow extends/override system enabling inheritance chains and step merge modes
- Update function naming to snake_case across all testdata (fileExists→file_exists, etc.)
- Add comprehensive test fixtures for linter, events, CDN, step dependencies, and extends workflows
2026-01-20 18:23:57 +08:00

28 lines
793 B
YAML

kind: module
name: demo-bash
description: Demo bash steps with functions and exports
params:
- name: target
required: true
- name: threads
default: "5"
steps:
- name: setup
type: bash
command: mkdir -p {{Output}}/demo && echo "{{Target}}" > {{Output}}/demo/target.txt
exports:
target_file: "{{Output}}/demo/target.txt"
- name: run-parallel
type: bash
parallel_commands:
- 'echo "Thread 1: {{Target}}" >> {{Output}}/demo/results.txt'
- 'echo "Thread 2: {{Target}}" >> {{Output}}/demo/results.txt'
- name: check-result
type: function
function: 'file_length("{{Output}}/demo/results.txt")'
exports:
line_count: "output"
- name: summary
type: bash
command: 'echo "Processed {{Target}} with {{line_count}} lines"'