Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

OpenCode Configuration

This repository contains an enterprise-focused OpenCode configuration that you might use at your day job or in situations where you don't have source control that can compensate for unwanted changes. It has the share feature disabled, has permissions configured to ask bash and edit operations and includes an additional primary agent called "web" optimized for web research tasks, with tools limited to webfetch, todowrite, and todoread, and a prompt tailored for web research purposes.

Installation

To clone this repository directly into your home directory at the correct location, run: ##WARNING this will delete your existing opencode config WARNING##

rm -r ~/.config/opencode
git clone https://github.com/jasontally/opencode-config-enterprise.git ~/.config/opencode

This will create the ~/.config/opencode directory and download all configuration files into it.

Contents

  • opencode.jsonc - Main OpenCode configuration file
  • prompts/ - Directory containing custom prompts
    • web.txt - Web-related prompts

Usage

After cloning, OpenCode should automatically detect and use these configuration files when you run it from any directory. Use the TAB key to switch between the default plan and bulid agents in addition to the web agent that this config adds.

Customization

Feel free to modify these files to suit your needs. The main configuration is in opencode.jsonc and custom prompts can be added to the prompts/ directory.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors