Files
memex/.opencode/commands/repl-block.md
Amr Gharbeia c9cc874e53 tools: add repl-block, check-tangle; move existing tools into memex
New tools (projects/<tool>/ — standalone, git-committed):
- repl-block: extract and pipe lisp blocks from org files to the REPL
- check-tangle: tangle + compile in one step, reports errors

Existing tools moved from ~/.opencode/bin/ into memex (survives reinstalls):
- repl, tangle, org-eval, verify-repl

AGENTS.md updated:
- Tool reference table with all 7 tools
- Package reference table for passepartout and cl-tty
- Updated tangle command to use project-local tools

.opencode/commands/ added: check-parens, repl-block, check-tangle commands
2026-05-13 12:54:38 -04:00

463 B

description
description
Send a lisp block from an org file to the REPL

Extract a #+begin_src lisp block from an .org file and send it to the running daemon REPL.

Usage: /repl-block <file.org> --function /repl-block <file.org> --block /repl-block <file.org> --function --package

The --package flag wraps the block in an (in-package ...) form. Use --block to identify by 1-based index, --function to find by defun name.