diff options
| author | Shoubhit Dash <[email protected]> | 2026-04-16 17:30:14 +0530 |
|---|---|---|
| committer | Shoubhit Dash <[email protected]> | 2026-04-16 17:30:14 +0530 |
| commit | 2e18a603f0ea24154908e748493fd4bfaa74fc00 (patch) | |
| tree | b723e00af2821b213573b16fa199b64babd5f1f5 /.opencode | |
| parent | 9819eb04614fd607cacb07d754052f1531a82331 (diff) | |
| parent | 7341718f9234b0cf3a8758c87e91d2006b71bff6 (diff) | |
| download | opencode-2e18a603f0ea24154908e748493fd4bfaa74fc00.tar.gz opencode-2e18a603f0ea24154908e748493fd4bfaa74fc00.zip | |
merge dev
Diffstat (limited to '.opencode')
| -rw-r--r-- | .opencode/.gitignore | 3 | ||||
| -rw-r--r-- | .opencode/skills/effect/SKILL.md | 21 | ||||
| -rw-r--r-- | .opencode/themes/mytheme.json | 4 | ||||
| -rw-r--r-- | .opencode/tool/github-pr-search.ts | 2 | ||||
| -rw-r--r-- | .opencode/tool/github-triage.ts | 2 |
5 files changed, 27 insertions, 5 deletions
diff --git a/.opencode/.gitignore b/.opencode/.gitignore index d3bf7f8d3..c072cfe07 100644 --- a/.opencode/.gitignore +++ b/.opencode/.gitignore @@ -3,4 +3,5 @@ plans package.json bun.lock .gitignore -package-lock.json
\ No newline at end of file +package-lock.json +references/ diff --git a/.opencode/skills/effect/SKILL.md b/.opencode/skills/effect/SKILL.md new file mode 100644 index 000000000..475814637 --- /dev/null +++ b/.opencode/skills/effect/SKILL.md @@ -0,0 +1,21 @@ +--- +name: effect +description: Answer questions about the Effect framework +--- + +# Effect + +This codebase uses Effect, a framework for writing typescript. + +## How to Answer Effect Questions + +1. Clone the Effect repository: `https://github.com/Effect-TS/effect-smol` to + `.opencode/references/effect-smol` in this project NOT the skill folder. +2. Use the explore agent to search the codebase for answers about Effect patterns, APIs, and concepts +3. Provide responses based on the actual Effect source code and documentation + +## Guidelines + +- Always use the explore agent with the cloned repository when answering Effect-related questions +- Reference specific files and patterns found in the Effect codebase +- Do not answer from memory - always verify against the source diff --git a/.opencode/themes/mytheme.json b/.opencode/themes/mytheme.json index e444de807..0e6b94800 100644 --- a/.opencode/themes/mytheme.json +++ b/.opencode/themes/mytheme.json @@ -116,8 +116,8 @@ "light": "nord5" }, "diffLineNumber": { - "dark": "nord2", - "light": "nord4" + "dark": "#abafb7", + "light": "textMuted" }, "diffAddedLineNumberBg": { "dark": "#3B4252", diff --git a/.opencode/tool/github-pr-search.ts b/.opencode/tool/github-pr-search.ts index 927e68fd7..8bc8c554a 100644 --- a/.opencode/tool/github-pr-search.ts +++ b/.opencode/tool/github-pr-search.ts @@ -7,7 +7,7 @@ async function githubFetch(endpoint: string, options: RequestInit = {}) { Authorization: `Bearer ${process.env.GITHUB_TOKEN}`, Accept: "application/vnd.github+json", "Content-Type": "application/json", - ...options.headers, + ...(options.headers instanceof Headers ? Object.fromEntries(options.headers.entries()) : options.headers), }, }) if (!response.ok) { diff --git a/.opencode/tool/github-triage.ts b/.opencode/tool/github-triage.ts index c06d2407f..dcbfc8d05 100644 --- a/.opencode/tool/github-triage.ts +++ b/.opencode/tool/github-triage.ts @@ -28,7 +28,7 @@ async function githubFetch(endpoint: string, options: RequestInit = {}) { Authorization: `Bearer ${process.env.GITHUB_TOKEN}`, Accept: "application/vnd.github+json", "Content-Type": "application/json", - ...options.headers, + ...(options.headers instanceof Headers ? Object.fromEntries(options.headers.entries()) : options.headers), }, }) if (!response.ok) { |
