From c2b3c52b766a2a2bfe9b9403049eff081b5f5ef7 Mon Sep 17 00:00:00 2001 From: Frank Date: Sat, 26 Jul 2025 01:03:23 -0400 Subject: [PATCH] wip: github action --- packages/web/astro.config.mjs | 1 + packages/web/src/content/docs/docs/github.mdx | 10 +++++----- packages/web/src/content/docs/docs/ide.mdx | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/web/astro.config.mjs b/packages/web/astro.config.mjs index e3f6a493..cd45f7ab 100644 --- a/packages/web/astro.config.mjs +++ b/packages/web/astro.config.mjs @@ -68,6 +68,7 @@ export default defineConfig({ "docs/modes", "docs/agents", "docs/rules", + "docs/github", "docs/config", "docs/models", "docs/themes", diff --git a/packages/web/src/content/docs/docs/github.mdx b/packages/web/src/content/docs/docs/github.mdx index ef763ee3..375a2cff 100644 --- a/packages/web/src/content/docs/docs/github.mdx +++ b/packages/web/src/content/docs/docs/github.mdx @@ -1,15 +1,15 @@ --- title: GitHub -description: Using opencode within GitHub Issues and Pull-Requests +description: Use opencode in GitHub Issues and Pull-Requests --- -opencode integrates directly into your GitHub workflow. Mention `/opencode` in your comment, and opencode will execute tasks within your GitHub Actions runner. +opencode integrates directly into your GitHub workflow. Mention `/opencode` or `/oc` in your comment, and opencode will execute tasks within your GitHub Actions runner. --- ## Features -- **Triage Issues**: Ask opencode to look into an issue and explain it to you +- **Triage Issues**: Ask opencode to look into an issue and explain it to you. - **Fix and Implement**: Ask opencode to fix an issue or implement a feature. And it will work in a new branch and submits a PR with all the changes. - **Secure**: opencode runs inside your GitHub's runners. @@ -66,14 +66,14 @@ This will walk you through installing the GitHub app, creating the workflow, and --- -### Inputs +## Configuration - `model`: The model used by opencode. Takes the format of `provider/model` (**required**) - `share`: Share the session. Sessions are shared by default for public repos. --- -### Usage Examples +## Usage Examples - Explain an issue diff --git a/packages/web/src/content/docs/docs/ide.mdx b/packages/web/src/content/docs/docs/ide.mdx index 15df9769..fd8e0bfe 100644 --- a/packages/web/src/content/docs/docs/ide.mdx +++ b/packages/web/src/content/docs/docs/ide.mdx @@ -1,6 +1,6 @@ --- title: IDE -description: Using opencode with VS Code, Cursor, and other IDEs +description: The opencode extension for VS Code, Cursor, and other IDEs --- opencode integrates with VS Code, Cursor, or any IDE that supports a terminal. Just run `opencode` in the terminal to get started.