diff --git a/.claude/checkpoints/1754489235.json b/.claude/checkpoints/1754489235.json new file mode 100644 index 0000000000..c21e468263 --- /dev/null +++ b/.claude/checkpoints/1754489235.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250806-140714", "file": "/workspaces/claude-code-flow/coder-test/integration-test.ts", "timestamp": "2025-08-06T14:07:15Z", "type": "pre-edit", "original_branch": "alpha-88"} diff --git a/.claude/checkpoints/1754489236.json b/.claude/checkpoints/1754489236.json new file mode 100644 index 0000000000..f4595b5e4f --- /dev/null +++ b/.claude/checkpoints/1754489236.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250806-140716", "file": "/workspaces/claude-code-flow/coder-test/integration-test.ts", "timestamp": "2025-08-06T14:07:16Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1754489231.json | 1 + .claude/checkpoints/1754489233.json | 1 + claude-flow-wiki | 0 coder-test/integration-test.ts | 342 +++++++++++++++++++++++++++++++++ 6 files changed, 348 insertions(+), 4 deletions(-) "} diff --git a/coder-test/package.json b/coder-test/package.json new file mode 100644 index 0000000000..88cc05ba49 --- /dev/null +++ b/coder-test/package.json @@ -0,0 +1,55 @@ +{ + "name": "coder-agent-test", + "version": "1.0.0", + "description": "Comprehensive test suite for coder agent functionality", + "main": "index.ts", + "scripts": { + "test": "jest --coverage", + "test:watch": "jest --watch", + "test:unit": "jest test-coder-agent.ts", + "test:integration": "ts-node integration-test.ts", + "test:performance": "ts-node performance-benchmark.ts", + "test:all": "npm run test:unit && npm run test:integration && npm run test:performance", + "benchmark": "ts-node performance-benchmark.ts", + "lint": "eslint . --ext .ts", + "typecheck": "tsc --noEmit" + }, + "keywords": [ + "coder", + "agent", + "testing", + "swarm", + "claude-flow" + ], + "author": "Claude Flow Team", + "license": "MIT", + "dependencies": { + "@types/node": "^20.0.0", + "typescript": "^5.0.0" + }, + "devDependencies": { + "@jest/globals": "^29.0.0", + "@types/jest": "^29.0.0", + "eslint": "^8.0.0", + "jest": "^29.0.0", + "ts-jest": "^29.0.0", + "ts-node": "^10.0.0" + }, + "jest": { + "preset": "ts-jest", + "testEnvironment": "node", + "collectCoverageFrom": [ + "**/*.ts", + "!**/node_modules/**", + "!**/dist/**" + ], + "coverageThreshold": { + "global": { + "branches": 80, + "functions": 80, + "lines": 80, + "statements": 80 + } + } + } +} \ No newline at end of file diff --git a/user-service/.gitignore b/user-service/.gitignore new file mode 100644 index 0000000000..a9197f652a --- /dev/null +++ b/user-service/.gitignore @@ -0,0 +1,43 @@ +# Dependencies +node_modules/ +package-lock.json +yarn.lock + +# Production build +dist/ +build/ + +# Environment files +.env +.env.local +.env.production +.env.test + +# Logs +logs/ +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Testing +coverage/ +.nyc_output/ + +# IDE +.vscode/ +.idea/ +*.swp +*.swo +.DS_Store + +# Temporary files +tmp/ +temp/ + +# Database +*.sqlite +*.sqlite3 + +# OS files +Thumbs.db \ No newline at end of file