ralphctl 0.4.6 → 0.6.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.
Files changed (58) hide show
  1. package/README.md +29 -16
  2. package/dist/absolute-path-WUTZQ37D.mjs +8 -0
  3. package/dist/chunk-6RDMCLWU.mjs +108 -0
  4. package/dist/chunk-HIU74KTO.mjs +1046 -0
  5. package/dist/chunk-S3PTDH57.mjs +78 -0
  6. package/dist/chunk-WV4D2CPG.mjs +26 -0
  7. package/dist/cli.mjs +22413 -717
  8. package/dist/manifest.json +24 -0
  9. package/dist/prompt-adapter-JQICGVX7.mjs +7 -0
  10. package/dist/prompts/ideate.md +3 -1
  11. package/dist/prompts/plan-auto.md +23 -8
  12. package/dist/prompts/plan-common-examples.md +3 -3
  13. package/dist/prompts/plan-common.md +6 -5
  14. package/dist/prompts/plan-interactive.md +30 -7
  15. package/dist/prompts/repo-onboard.md +154 -64
  16. package/dist/prompts/signals-task.md +3 -0
  17. package/dist/prompts/sprint-feedback.md +3 -0
  18. package/dist/prompts/task-evaluation.md +74 -53
  19. package/dist/prompts/task-execution.md +65 -21
  20. package/dist/prompts/ticket-refine.md +11 -8
  21. package/dist/prompts/validation-checklist.md +3 -2
  22. package/dist/skills/default/abstraction-first/SKILL.md +45 -0
  23. package/dist/skills/default/alignment/SKILL.md +46 -0
  24. package/dist/skills/default/iterative-review/SKILL.md +48 -0
  25. package/dist/skills/exec/.gitkeep +0 -0
  26. package/dist/skills/plan/.gitkeep +0 -0
  27. package/dist/skills/refine/.gitkeep +0 -0
  28. package/dist/storage-paths-IPNZZM5D.mjs +15 -0
  29. package/dist/validation-error-QT6Q7FYU.mjs +7 -0
  30. package/package.json +9 -4
  31. package/dist/add-DVPVHENV.mjs +0 -18
  32. package/dist/add-YVXM34RP.mjs +0 -17
  33. package/dist/bootstrap-FMHG6DRY.mjs +0 -11
  34. package/dist/chunk-747KW2RW.mjs +0 -24
  35. package/dist/chunk-B3RCOHW3.mjs +0 -5519
  36. package/dist/chunk-BSB4EDGR.mjs +0 -260
  37. package/dist/chunk-CBMFRQ4Y.mjs +0 -441
  38. package/dist/chunk-CFUVE2BP.mjs +0 -16
  39. package/dist/chunk-FNAAA32W.mjs +0 -103
  40. package/dist/chunk-GQ2WFKBN.mjs +0 -269
  41. package/dist/chunk-IWXBJD2D.mjs +0 -27
  42. package/dist/chunk-O566EEDL.mjs +0 -5542
  43. package/dist/chunk-OGEXYSFS.mjs +0 -228
  44. package/dist/chunk-PYZEQ2VK.mjs +0 -787
  45. package/dist/chunk-VAZ3LJBI.mjs +0 -179
  46. package/dist/chunk-WDMLPXOD.mjs +0 -363
  47. package/dist/chunk-XN2UIHBY.mjs +0 -589
  48. package/dist/chunk-ZLWSPLWI.mjs +0 -1117
  49. package/dist/create-Z635FQKO.mjs +0 -15
  50. package/dist/handle-23EFF3BE.mjs +0 -22
  51. package/dist/mount-B3MLHNVY.mjs +0 -7434
  52. package/dist/project-DQHF4ISP.mjs +0 -34
  53. package/dist/prompts/check-script-discover.md +0 -69
  54. package/dist/prompts/ideate-auto.md +0 -195
  55. package/dist/prompts/task-evaluation-resume.md +0 -41
  56. package/dist/resolver-OVPYVW6Q.mjs +0 -163
  57. package/dist/sprint-4E26AB5F.mjs +0 -38
  58. package/dist/start-FP7MVN5P.mjs +0 -19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ralphctl",
3
- "version": "0.4.6",
3
+ "version": "0.6.0",
4
4
  "description": "Agent harness for long-running AI coding tasks — orchestrates Claude Code & GitHub Copilot across repositories",
5
5
  "homepage": "https://github.com/lukas-grigis/ralphctl",
6
6
  "type": "module",
@@ -54,11 +54,15 @@
54
54
  "@types/react": "^19.2.14",
55
55
  "@types/tabtab": "^3.0.4",
56
56
  "@vitest/coverage-v8": "^4.1.5",
57
+ "@vitest/eslint-plugin": "^1.6.16",
57
58
  "eslint": "^10.2.1",
58
59
  "eslint-config-prettier": "^10.1.8",
60
+ "eslint-plugin-import-x": "^4.16.2",
61
+ "eslint-plugin-react-hooks": "^7.1.1",
59
62
  "globals": "^17.5.0",
60
63
  "husky": "^9.1.7",
61
64
  "ink-testing-library": "^4.0.0",
65
+ "knip": "^6.9.0",
62
66
  "lint-staged": "^16.4.0",
63
67
  "prettier": "^3.8.3",
64
68
  "tsup": "^8.5.1",
@@ -75,8 +79,8 @@
75
79
  "*.{md,json,yml,yaml}": "prettier --write"
76
80
  },
77
81
  "scripts": {
78
- "build": "tsup && mkdir -p dist/prompts && cp src/integration/ai/prompts/*.md dist/prompts/",
79
- "dev": "tsx src/application/entrypoint.ts",
82
+ "build": "tsup && node scripts/build-assets.mjs",
83
+ "dev": "tsx src/application/cli/entrypoint.ts",
80
84
  "lint": "eslint .",
81
85
  "lint:fix": "eslint . --fix",
82
86
  "format": "prettier --write .",
@@ -84,6 +88,7 @@
84
88
  "typecheck": "tsc --noEmit",
85
89
  "test": "vitest run",
86
90
  "test:watch": "vitest",
87
- "test:coverage": "vitest run --coverage"
91
+ "test:coverage": "vitest run --coverage",
92
+ "deadcode": "knip"
88
93
  }
89
94
  }
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- addSingleTicketInteractive,
4
- ticketAddCommand
5
- } from "./chunk-OGEXYSFS.mjs";
6
- import "./chunk-GQ2WFKBN.mjs";
7
- import "./chunk-CFUVE2BP.mjs";
8
- import "./chunk-747KW2RW.mjs";
9
- import "./chunk-BSB4EDGR.mjs";
10
- import "./chunk-CBMFRQ4Y.mjs";
11
- import "./chunk-XN2UIHBY.mjs";
12
- import "./chunk-IWXBJD2D.mjs";
13
- import "./chunk-WDMLPXOD.mjs";
14
- import "./chunk-VAZ3LJBI.mjs";
15
- export {
16
- addSingleTicketInteractive,
17
- ticketAddCommand
18
- };
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- addCheckScriptToRepository,
4
- projectAddCommand
5
- } from "./chunk-PYZEQ2VK.mjs";
6
- import "./chunk-ZLWSPLWI.mjs";
7
- import "./chunk-CFUVE2BP.mjs";
8
- import "./chunk-747KW2RW.mjs";
9
- import "./chunk-BSB4EDGR.mjs";
10
- import "./chunk-XN2UIHBY.mjs";
11
- import "./chunk-IWXBJD2D.mjs";
12
- import "./chunk-WDMLPXOD.mjs";
13
- import "./chunk-VAZ3LJBI.mjs";
14
- export {
15
- addCheckScriptToRepository,
16
- projectAddCommand
17
- };
@@ -1,11 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- getPrompt,
4
- getSharedDeps,
5
- setSharedDeps
6
- } from "./chunk-747KW2RW.mjs";
7
- export {
8
- getPrompt,
9
- getSharedDeps,
10
- setSharedDeps
11
- };
@@ -1,24 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/integration/bootstrap.ts
4
- var _shared = null;
5
- function getSharedDeps() {
6
- if (!_shared) {
7
- throw new Error(
8
- "SharedDeps not initialised \u2014 the application entrypoint must call setSharedDeps() before any CLI command runs."
9
- );
10
- }
11
- return _shared;
12
- }
13
- function setSharedDeps(deps) {
14
- _shared = deps;
15
- }
16
- function getPrompt() {
17
- return getSharedDeps().prompt;
18
- }
19
-
20
- export {
21
- getSharedDeps,
22
- setSharedDeps,
23
- getPrompt
24
- };