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 3b05b50b47 tools: pipe stdin JSON via heredoc for elevated calls
The elevation broker protocol doesn't support stdin piping.
When a promoted tool runs elevated, wrap the command as:
  cat <<'OLLIE_EOF' | /path/to/tool
  {json}
  OLLIE_EOF

This ensures elevated tools receive their JSON args.
2026-07-29 08:52:53 +02:00
..
testdata merge registry into execute: one server, one routing table, deterministic arg ordering 2026-07-28 22:08:44 +02:00
code.go add elevated flag to shell and callPromotedTool; thread through to executeElevated 2026-07-29 00:41:40 +02:00
detach.go
…
registry.go tools: pipe JSON args to stdin, sort tool/skill lists 2026-07-29 08:47:06 +02:00
schema.go tools: pipe JSON args to stdin, sort tool/skill lists 2026-07-29 08:47:06 +02:00
server.go tools: pipe stdin JSON via heredoc for elevated calls 2026-07-29 08:52:53 +02:00
skills.go add skills registry and skill_list/skill_load/skill_active built-in dispatchers 2026-07-29 00:16:54 +02:00
tier.go tool registry: cache tier/parallel metadata in ToolInfo, drop hard-coded tables 2026-07-28 23:15:52 +02:00
tool.go tool registry: cache tier/parallel metadata in ToolInfo, drop hard-coded tables 2026-07-28 23:15:52 +02:00