r2pde-ai 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/LICENSE +21 -0
- package/README.md +373 -0
- package/dist/cli.js +97 -0
- package/dist/commands/config-lang.js +32 -0
- package/dist/commands/config-set.js +38 -0
- package/dist/commands/contract-create.js +101 -0
- package/dist/commands/contract-delete.js +45 -0
- package/dist/commands/doctor.js +112 -0
- package/dist/commands/init.js +190 -0
- package/dist/commands/logs.js +35 -0
- package/dist/commands/manifesto-create.js +93 -0
- package/dist/commands/manifesto-delete.js +45 -0
- package/dist/commands/requirement-create.js +100 -0
- package/dist/commands/requirement-delete.js +46 -0
- package/dist/commands/reset.js +33 -0
- package/dist/commands/score-config.js +31 -0
- package/dist/commands/score.js +43 -0
- package/dist/commands/wave-prompt.js +130 -0
- package/dist/core/ai/adapter-factory.js +9 -0
- package/dist/core/ai/ai-adapter.js +1 -0
- package/dist/core/ai/api-adapter.js +38 -0
- package/dist/core/ai/mock-adapter.js +28 -0
- package/dist/core/config.js +61 -0
- package/dist/core/git.js +20 -0
- package/dist/core/logger.js +22 -0
- package/dist/core/paths.js +17 -0
- package/dist/core/scorer.js +135 -0
- package/dist/index.js +1 -0
- package/dist/templates/contract.template.md +14 -0
- package/dist/templates/manifesto.template.md +15 -0
- package/dist/templates/requirement.template.md +17 -0
- package/package.json +50 -0
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "r2pde-ai",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Pilot Driven Engineering — A CLI framework that bridges the gap between architectural intent and AI-generated code.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"r2pde-ai": "dist/cli.js"
|
|
9
|
+
},
|
|
10
|
+
"type": "module",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"lint": "echo \"Linting not configured\"",
|
|
13
|
+
"build": "rimraf dist && tsc && npm run copy-templates",
|
|
14
|
+
"copy-templates": "node -e \"const fs=require('fs');const path=require('path');const src=path.join('src','templates');const dest=path.join('dist','templates');fs.mkdirSync(dest,{recursive:true});fs.readdirSync(src).forEach(f=>fs.copyFileSync(path.join(src,f),path.join(dest,f)));\"",
|
|
15
|
+
"dev": "ts-node src/cli.ts",
|
|
16
|
+
"start": "node dist/cli.js",
|
|
17
|
+
"test": "vitest run",
|
|
18
|
+
"test:watch": "vitest",
|
|
19
|
+
"test:coverage": "vitest run --coverage"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@inquirer/prompts": "^8.4.3",
|
|
23
|
+
"chalk": "^5.6.2",
|
|
24
|
+
"commander": "^14.0.3",
|
|
25
|
+
"fs-extra": "^11.3.5",
|
|
26
|
+
"inquirer": "^13.4.3",
|
|
27
|
+
"ora": "^9.4.0"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@types/fs-extra": "^11.0.4",
|
|
31
|
+
"@types/inquirer": "^9.0.9",
|
|
32
|
+
"@types/node": "^25.7.0",
|
|
33
|
+
"@vitest/coverage-v8": "^4.1.6",
|
|
34
|
+
"rimraf": "^6.1.3",
|
|
35
|
+
"ts-node": "^10.9.2",
|
|
36
|
+
"typescript": "^6.0.3",
|
|
37
|
+
"vitest": "^4.1.6"
|
|
38
|
+
},
|
|
39
|
+
"files": ["dist", "README.md", "LICENSE", "CHANGELOG.md"],
|
|
40
|
+
"engines": { "node": ">=20.0.0" },
|
|
41
|
+
"keywords": ["cli", "ai", "copilot", "engineering", "pde", "pilot-driven", "scaffold", "typescript"],
|
|
42
|
+
"repository": {
|
|
43
|
+
"type": "git",
|
|
44
|
+
"url": "https://github.com/rodneyrinaldi/r2pde-ai.git"
|
|
45
|
+
},
|
|
46
|
+
"bugs": {
|
|
47
|
+
"url": "https://github.com/rodneyrinaldi/r2pde-ai/issues"
|
|
48
|
+
},
|
|
49
|
+
"homepage": "https://r2pde-ai.rrs.net.br"
|
|
50
|
+
}
|