Complete rewrite and re-architecture Osmedeus Engine in v5

This commit is contained in:
j3ssie
2026-01-18 19:32:24 +08:00
commit 7a2c5a5dc9
743 changed files with 99767 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
name: test-sleep-module
kind: module
description: Module that simulates long-running tasks with sleep
tags: test,sleep,simulation
params:
- name: target
required: true
- name: sleep_time
default: "5"
steps:
- name: start-task
type: function
function: sleep(2)
- name: phase-1-sleep
type: bash
command: echo "[$(date +%H:%M:%S)] Starting long task for {{target}}"
- name: phase-2-sleep
type: bash
command: |
echo "[$(date +%H:%M:%S)] Phase 2: Simulating scanning..."
sleep {{sleep_time}}
echo "[$(date +%H:%M:%S)] Phase 2 complete"
- name: phase-3-sleep
type: bash
command: |
echo "[$(date +%H:%M:%S)] Phase 3: Simulating analysis..."
sleep {{sleep_time}}
echo "[$(date +%H:%M:%S)] Phase 3 complete"
- name: finish-task
type: bash
command: echo "[$(date +%H:%M:%S)] All phases complete for {{target}}"