From 5d77a842ea74551ed45dea9595c685ec0893d6e0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 24 May 2026 12:19:34 +0000 Subject: [PATCH 1/3] Initial plan From 361fda3ec85b88546b681fb1ba4b4e943a0ecb25 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 24 May 2026 12:21:13 +0000 Subject: [PATCH 2/3] Add .devcontainer for one-click contributor setup --- .devcontainer/README.md | 32 ++++++++++++++++++++++++++++++++ .devcontainer/devcontainer.json | 27 +++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 .devcontainer/README.md create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/README.md b/.devcontainer/README.md new file mode 100644 index 0000000..a05227f --- /dev/null +++ b/.devcontainer/README.md @@ -0,0 +1,32 @@ +# Development Container + +This folder contains the [Dev Container](https://containers.dev/) configuration for +contributing to **AI Engineering Coach**. It provides a one-click, reproducible +development environment for the VS Code extension. + +## What you get + +- Node.js 22 (LTS) on Debian Bookworm +- `npm install` runs automatically after the container is created +- GitHub CLI (`gh`) preinstalled +- Recommended VS Code extensions preinstalled: + - ESLint (`dbaeumer.vscode-eslint`) + - TypeScript Next (`ms-vscode.vscode-typescript-next`) + - Vitest Explorer (`vitest.explorer`) + - Code Spell Checker (`streetsidesoftware.code-spell-checker`) + - Playwright Test (`ms-playwright.playwright`) + +## How to use it + +### GitHub Codespaces +Open this repository on GitHub and choose **Code → Codespaces → Create codespace +on main**. The container will build and dependencies will install automatically. + +### VS Code (Dev Containers extension) +1. Install the [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) + extension. +2. Open the cloned repository in VS Code. +3. Run **Dev Containers: Reopen in Container** from the Command Palette. + +Once the container is ready, run `npm run check` to verify your setup (typecheck, +lint, spellcheck, knip, and tests). diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..883f0ce --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,27 @@ +{ + "name": "AI Engineering Coach", + "image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm", + "features": { + "ghcr.io/devcontainers/features/github-cli:1": {} + }, + "postCreateCommand": "npm install", + "customizations": { + "vscode": { + "extensions": [ + "dbaeumer.vscode-eslint", + "ms-vscode.vscode-typescript-next", + "vitest.explorer", + "streetsidesoftware.code-spell-checker", + "ms-playwright.playwright" + ], + "settings": { + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit" + }, + "typescript.tsdk": "node_modules/typescript/lib" + } + } + }, + "remoteUser": "node" +} From 43be4c61aecab1fb07fcd65db26696931de3d8bb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 24 May 2026 12:37:48 +0000 Subject: [PATCH 3/3] fix: use exact devcontainer image tag 22-bookworm --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 883f0ce..fc91631 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "AI Engineering Coach", - "image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm", + "image": "mcr.microsoft.com/devcontainers/typescript-node:22-bookworm", "features": { "ghcr.io/devcontainers/features/github-cli:1": {} },