8 Commits

Author SHA1 Message Date
colem 57821ba227 build(opencode): add playwright mcp server configuration
Register the @playwright/mcp server in opencode.jsonc and reformat
the watcher ignore list across multiple lines for readability.
2026-07-31 11:00:46 -05:00
colem 4f6136e88c fix(opencode): load global rules by renaming RULES.md to AGENTS.md
RULES.md was not an opencode-recognized rules filename, so global
rules (including the "no AI co-author" Git rule) were never loaded;
only the stale, un-version-controlled ~/.claude/CLAUDE.md fallback
applied, which lacked that rule. Rename to AGENTS.md so opencode
loads it natively as the global rules file.

Also add watcher.ignore for node_modules/.git/dist/.venv/target dirs.
2026-07-31 09:37:17 -05:00
colem e94d6b3c14 feat(opencode): add ibmi column-info tool and harden permissions
- add the get_column_info custom tool for the ibmi-mcp-server and
  relocate its --tools path from a hardcoded absolute path into the
  version-controlled tree via {env:HOME} interpolation
- reorder permission rules so "rm -rf *" (deny) is no longer shadowed
  by "rm *" (ask); last-match-wins now resolves rm -rf to deny
- add allow rules for the Python toolchain (unittest, py_compile,
  venv activation, ruff check/format)
- rename plugin/ to plugins/ to match the documented plural convention
- commit package.json and package-lock.json so the ibmi-gate plugin
  resolves @opencode-ai/plugin on a fresh stow
- correct the README opencode directory description
2026-07-31 09:14:29 -05:00
colem 4038a5ccbe feat(opencode): add git-message command for conventional commit generation 2026-07-31 08:39:30 -05:00
cole-maxwell1 13e26f720d Add: allow which and find.
- Removes "opencode.jsonc": "deny"
2026-07-29 21:18:20 -05:00
cole-maxwell1 a80e6df2b5 Swap opencode-glm-quota for @slkiser/opencode-quota 2026-07-29 21:09:57 -05:00
cole-maxwell1 28582d56c0 Add: gate ibmi-server MCP on required env vars
opencode's config schema types mcp.<name>.enabled as a static boolean and only interpolates {env:VAR} for string values, so conditional enablement is not expressible in opencode.jsonc alone.

Add a config-hook plugin that flips ibmi-server.enabled to true only when DB2i_HOST, DB2i_USER, and DB2i_PASS are all set. The config retains enabled: false as a fallback if the plugin fails to load.
2026-07-29 20:39:24 -05:00
colem 892aca56df Add opencode config 2026-07-29 10:38:06 -05:00