From 1ed3d3f65288926e9e99f934de85035464b58ea6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Kaya?= Date: Sat, 21 Mar 2026 09:25:14 +0100 Subject: [PATCH] chore: initialize repo with Copilot LSP config Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/lsp.json | 14 ++++++++++++++ .gitignore | 2 ++ AGENTS.md | 19 +++++++++++++++++++ bun.lock | 23 +++++++++++++++++++++++ package.json | 28 ++++++++++++++++++++++++++++ src/index.ts | 1 + tsconfig.json | 17 +++++++++++++++++ 7 files changed, 104 insertions(+) create mode 100644 .github/lsp.json create mode 100644 .gitignore create mode 100644 AGENTS.md create mode 100644 bun.lock create mode 100644 package.json create mode 100644 src/index.ts create mode 100644 tsconfig.json diff --git a/.github/lsp.json b/.github/lsp.json new file mode 100644 index 0000000..002ecef --- /dev/null +++ b/.github/lsp.json @@ -0,0 +1,14 @@ +{ + "lspServers": { + "typescript": { + "command": "typescript-language-server", + "args": [ + "--stdio" + ], + "fileExtensions": { + ".ts": "typescript", + ".tsx": "typescript" + } + } + } +} \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ff2c585 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules/ +*.tsbuildinfo diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..a4ac967 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,19 @@ +# Agent Guidelines + +These instructions apply to any automated or semi-automated agent working in this repository. + +## Core delivery standards + +- Keep commits atomic. Each commit should represent one logical change and use a Conventional Commit message such as `feat:`, `fix:`, `refactor:`, `docs:`, `test:`, or `chore:`. +- Treat tests as part of the implementation, not as follow-up work. Every fix, behavior change, and new feature must be covered by tests, and the relevant test suite must pass before the work is considered complete. +- Do not ship quick fixes, hacks, or "temporary" patches as final solutions. Take the time to understand the problem, plan the change, and implement a maintainable solution that fits the codebase cleanly. +- Apply the same quality bar to feature work. Think through scope, edge cases, integration points, and long-term maintainability before implementing. +- When adding or updating dependencies, use the latest stable version available. If a non-latest version is required for compatibility, document the reason explicitly in the change. + +## Repository workflow expectations + +- Use Bun for dependency management and script execution. +- Prefer repository-local tooling over global machine state whenever possible. +- Keep changes focused and reviewable. Avoid mixing unrelated concerns into a single change. +- Always commit completed repository changes before handing work off. If unrelated pre-existing changes are present in the worktree, stop and ask the user how to proceed before creating the commit. +- Do not mark work as done until both the implementation and its verification are complete. diff --git a/bun.lock b/bun.lock new file mode 100644 index 0000000..343c54b --- /dev/null +++ b/bun.lock @@ -0,0 +1,23 @@ +{ + "lockfileVersion": 1, + "configVersion": 1, + "workspaces": { + "": { + "name": "kopaya", + "devDependencies": { + "@types/node": "^25.5.0", + "typescript": "^5.9.3", + "typescript-language-server": "^5.1.3", + }, + }, + }, + "packages": { + "@types/node": ["@types/node@25.5.0", "", { "dependencies": { "undici-types": "~7.18.0" } }, "sha512-jp2P3tQMSxWugkCUKLRPVUpGaL5MVFwF8RDuSRztfwgN1wmqJeMSbKlnEtQqU8UrhTmzEmZdu2I6v2dpp7XIxw=="], + + "typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="], + + "typescript-language-server": ["typescript-language-server@5.1.3", "", { "bin": { "typescript-language-server": "lib/cli.mjs" } }, "sha512-r+pAcYtWdN8tKlYZPwiiHNA2QPjXnI02NrW5Sf2cVM3TRtuQ3V9EKKwOxqwaQ0krsaEXk/CbN90I5erBuf84Vg=="], + + "undici-types": ["undici-types@7.18.2", "", {}, "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w=="], + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..4d4ec3e --- /dev/null +++ b/package.json @@ -0,0 +1,28 @@ +{ + "name": "kopaya", + "version": "1.0.0", + "description": "Terminal UI wrapper for coordinating multiple GitHub Copilot CLI sessions across projects.", + "private": true, + "scripts": { + "lsp:typescript": "typescript-language-server --stdio", + "typecheck": "tsc --noEmit", + "test": "bun run typecheck" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/davidkaya/kopaya.git" + }, + "keywords": [], + "author": "", + "license": "ISC", + "bugs": { + "url": "https://github.com/davidkaya/kopaya/issues" + }, + "homepage": "https://github.com/davidkaya/kopaya#readme", + "packageManager": "bun@1.3.6", + "devDependencies": { + "@types/node": "^25.5.0", + "typescript": "^5.9.3", + "typescript-language-server": "^5.1.3" + } +} diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/src/index.ts @@ -0,0 +1 @@ +export {}; diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..b6cf18a --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,17 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "NodeNext", + "moduleResolution": "NodeNext", + "strict": true, + "noEmit": true, + "skipLibCheck": true, + "types": [ + "node" + ] + }, + "include": [ + "src/**/*.ts", + "src/**/*.tsx" + ] +}