working out the worker/execution interface
This commit is contained in:
@@ -12,37 +12,24 @@ runner_type: shell
|
||||
# Entry point is the shell command or script to execute
|
||||
entry_point: echo.sh
|
||||
|
||||
# Parameter delivery: stdin for secure parameter passing (no env vars)
|
||||
parameter_delivery: stdin
|
||||
parameter_format: dotenv
|
||||
|
||||
# Output format: text (no structured data parsing)
|
||||
output_format: text
|
||||
|
||||
# Action parameters schema (standard JSON Schema format)
|
||||
parameters:
|
||||
type: object
|
||||
properties:
|
||||
message:
|
||||
type: string
|
||||
description: "Message to echo"
|
||||
default: "Hello, World!"
|
||||
uppercase:
|
||||
type: boolean
|
||||
description: "Convert message to uppercase before echoing"
|
||||
default: false
|
||||
required:
|
||||
- message
|
||||
description: "Message to echo (empty string if not provided)"
|
||||
required: []
|
||||
|
||||
# Output schema
|
||||
output_schema:
|
||||
type: object
|
||||
properties:
|
||||
stdout:
|
||||
type: string
|
||||
description: "Standard output from the echo command"
|
||||
stderr:
|
||||
type: string
|
||||
description: "Standard error output (usually empty)"
|
||||
exit_code:
|
||||
type: integer
|
||||
description: "Exit code of the command (0 = success)"
|
||||
result:
|
||||
type: string
|
||||
description: "The echoed message"
|
||||
# Output schema: not applicable for text output format
|
||||
# The action outputs plain text to stdout
|
||||
|
||||
# Tags for categorization
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user