This guide covers the open-source @newtype-os/plugin edition contained in this repository.
The plugin is in maintenance mode. For product status and contribution scope, see MAINTENANCE.md.
cd ~/.config/opencode
bun add @newtype-os/pluginAdd the plugin to ~/.config/opencode/opencode.json:
{
"plugin": ["newtype-profile"]
}Restart OpenCode after changing the configuration.
The plugin uses OpenCode's namespaces:
- Global configuration:
~/.config/opencode/ - Project configuration and data:
.opencode/ - Agent configuration:
~/.config/opencode/newtype-profile.json
These paths are separate from the newtype CLI and Workstation namespaces, which use ~/.config/newtype/ and .newtype/.
Edit ~/.config/opencode/newtype-profile.json:
{
"agents": {
"chief": { "model": "your-preferred-model" },
"deputy": { "model": "your-preferred-model" },
"researcher": { "model": "your-preferred-model" },
"writer": {
"model": "your-preferred-model",
"temperature": 0.7
}
}
}Create .opencode/SOUL.md in a project to customize Chief's communication style. You can generate a starting template with:
/init-soul
Use ~/.config/opencode/newtype-profile.json:
{
"disabled_agents": ["fact-checker"],
"disabled_skills": ["super-analyst"],
"disabled_hooks": ["memory-system"],
"disabled_mcps": ["sequential-thinking"]
}git clone https://github.com/newtype-01/newtype-os.git
cd newtype-os
bun install
bun run typecheck
bun run buildLoad the local build from ~/.config/opencode/opencode.json:
{
"plugin": ["file:///absolute/path/to/newtype-os/dist/index.js"]
}Restart OpenCode after rebuilding.