- Bun v1.0+
- Python 3.9+
- An OpenCode installation for manual testing
git clone https://github.com/DEVtheOPS/opencode-mempalace
cd opencode-mempalace
bun installPoint your local OpenCode config at the repo so changes are picked up immediately without a build step. In ~/.config/opencode/opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["/path/to/opencode-mempalace/src/index.ts"]
}OpenCode loads TypeScript natively via Bun, so there is no build step required during development.
| Command | Description |
|---|---|
bun run typecheck |
Type-check all sources without emitting |
bun test |
Run the test suite |
src/
├── index.ts - Plugin entrypoint and Python package bootstrap
└── config.ts - Runtime config injection for MCP, commands, and skills
skills/
└── mempalace/
└── SKILL.md - Bundled MemPalace skill definition
tests/
└── config.test.ts - Config injection regression tests
Use a local OpenCode config that points at this checkout, then start OpenCode and verify:
- the plugin loads without errors
- the
mempalaceMCP server appears if it was not already configured - the
mempalaceskill is available - the
/mempalace-*commands appear and execute correctly
This project follows Conventional Commits.
| Type | When to use |
|---|---|
feat |
A new feature |
fix |
A bug fix |
perf |
A performance improvement |
refactor |
Code change that is neither a fix nor a feature |
test |
Adding or updating tests |
docs |
Documentation only changes |
ci |
CI/CD configuration changes |
chore |
Maintenance tasks |
build |
Changes to the build system |
- Create a branch from
main - Make your changes and ensure
bun run typecheckandbun testpass - Commit using Conventional Commits
- Open a pull request with a clear description and link related issues