diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index d92173a..5363b6b 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -37,7 +37,7 @@ Copyright (c) Jonathan D.A. Jewell ## Banned Languages - No TypeScript (use AffineScript) -- No Node.js / npm / bun (use Deno) +- No Node.js (use Bun); prefer Bun, then Deno, pnpm, and npm (last resort) - No Go (use Rust) - No Python (use Julia or Rust) diff --git a/.github/copilot/coding-agent.yml b/.github/copilot/coding-agent.yml index a719a77..c4db76f 100644 --- a/.github/copilot/coding-agent.yml +++ b/.github/copilot/coding-agent.yml @@ -1,6 +1,7 @@ mcp_servers: boj-server: - command: npx - args: ["-y", "@hyperpolymath/boj-server@latest"] + command: bunx + # boj-server 0.5.0 (main 4379e6c); 0.4.7 needs Deno, 0.5.0 is not on npm yet + args: ["--bun", "github:hyperpolymath/boj-server#4379e6c4a62afa564fa115b3910ef21c4238aa15"] env: BOJ_URL: http://localhost:7700 diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml new file mode 100644 index 0000000..c660eb3 --- /dev/null +++ b/.github/workflows/copilot-setup-steps.yml @@ -0,0 +1,22 @@ +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) +name: Copilot Setup Steps + +on: + workflow_dispatch: + push: + paths: [.github/workflows/copilot-setup-steps.yml] + pull_request: + paths: [.github/workflows/copilot-setup-steps.yml] + +permissions: + contents: read + +jobs: + copilot-setup-steps: + runs-on: ubuntu-latest + steps: + - name: Install Bun for the BoJ MCP server + uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2 + with: + bun-version: 1.4.2