mirror of
https://github.com/j3ssie/osmedeus.git
synced 2026-09-22 01:24:58 +02:00
- 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
28 lines
793 B
YAML
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"'
|