Files
Markus Fritsche dd987e4c1e contrib: sic companion helpers (lmcp-tool, sicwrite, sicedit)
lmcp-tool drives a host's lmcp (MCP) tools over a stateless tools/call via sic —
list for discovery, key=value args so a model never embeds JSON in a shell (apostrophe-safe).
sicwrite/sicedit pass file content as argv since sicd consumes stdin for the frame.
References the lmcp server project: git.reauktion.de/marfrit/lmcp

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EWpfhDgYNA21tETDP9ueBE
2026-07-19 20:36:05 +02:00

6 lines
264 B
Bash
Executable File

#!/bin/sh
# sicwrite <path> <content> — write content (passed as one argv by sic, so any
# bytes survive) to path. Replaces the write_file tool for sic on any host.
[ $# -ge 2 ] || { echo "usage: sicwrite <path> <content>" >&2; exit 2; }
printf '%s' "$2" > "$1"