This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-core/pkg/tools/execute
Levi Neely cf25268d80 execute: refactor execute_code to parallel steps; add parallel pipe stages
- execute_code now takes steps:[{code,language}|{tool,args}] instead of
  a single code/language pair. Single-step calls return raw output;
  multi-step calls run in parallel and return results under === step N ===
  headers in submission order.
- execute_pipe stages may now include {parallel:[...]} to fan out
  concurrently within a pipeline. Parallel outputs are concatenated in
  submission order and fed as stdin to the next stage.
- Stage execution is now Go-level (stdin chaining) rather than a single
  bash pipeline string, enabling parallel stages and tool/code mixing.
- CodeStep and resolveCodeStep are the shared primitives for both
  execute_code and execute_pipe parallel stages.
- executeWithStdin added to Server for stdin chaining between stages.
- Tool steps use shebang detection; language field applies only to
  inline code steps (default: bash).
- ListTools schemas and descriptions updated throughout.
2026-04-16 20:06:05 +02:00
..
code.go execute: refactor execute_code to parallel steps; add parallel pipe stages 2026-04-16 20:06:05 +02:00
pipe.go execute: refactor execute_code to parallel steps; add parallel pipe stages 2026-04-16 20:06:05 +02:00
server.go execute: refactor execute_code to parallel steps; add parallel pipe stages 2026-04-16 20:06:05 +02:00
tool.go Revert "execute_tool: resolve tools from $OLLIE/t" 2026-04-15 11:13:37 +02:00