@pmelab/gtd 1.5.4 → 1.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.
- package/README.md +67 -8
- package/dist/gtd.bundle.mjs +828 -362
- package/package.json +5 -2
- package/schema.json +74 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pmelab/gtd",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Git-aware CLI that emits the next prompt for an autonomous coding agent based on the current repository state",
|
|
6
6
|
"bin": {
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist/",
|
|
11
11
|
"README.md",
|
|
12
|
-
"LICENSE"
|
|
12
|
+
"LICENSE",
|
|
13
|
+
"schema.json"
|
|
13
14
|
],
|
|
14
15
|
"publishConfig": {
|
|
15
16
|
"access": "public",
|
|
@@ -28,6 +29,7 @@
|
|
|
28
29
|
"prepare": "husky",
|
|
29
30
|
"dev": "node dev/run.mjs",
|
|
30
31
|
"build": "tsup",
|
|
32
|
+
"postbuild": "jiti scripts/generate-schema.ts",
|
|
31
33
|
"watch": "tsup --watch",
|
|
32
34
|
"test": "npm run format:check && npm run typecheck && npm run lint && npm run test:unit && npm run test:e2e && fallow --summary --quiet",
|
|
33
35
|
"test:unit": "vitest run --project unit",
|
|
@@ -78,6 +80,7 @@
|
|
|
78
80
|
"cosmiconfig": "^9.0.2",
|
|
79
81
|
"diff": "^9.0.0",
|
|
80
82
|
"effect": "^3.19.15",
|
|
83
|
+
"eta": "^4.6.0",
|
|
81
84
|
"prettier": "^3.8.1"
|
|
82
85
|
}
|
|
83
86
|
}
|
package/schema.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$defs": {
|
|
4
|
+
"Int": {
|
|
5
|
+
"type": "integer",
|
|
6
|
+
"description": "an integer",
|
|
7
|
+
"title": "int"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"type": "object",
|
|
11
|
+
"required": [],
|
|
12
|
+
"properties": {
|
|
13
|
+
"testCommand": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"models": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"required": [],
|
|
19
|
+
"properties": {
|
|
20
|
+
"planning": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"execution": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"states": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"required": [],
|
|
29
|
+
"properties": {
|
|
30
|
+
"decompose": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"grilling": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"building": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
"fixing": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"agentic-review": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
"clean": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"additionalProperties": false
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"additionalProperties": false
|
|
53
|
+
},
|
|
54
|
+
"agenticReview": {
|
|
55
|
+
"type": "boolean"
|
|
56
|
+
},
|
|
57
|
+
"squash": {
|
|
58
|
+
"type": "boolean"
|
|
59
|
+
},
|
|
60
|
+
"fixAttemptCap": {
|
|
61
|
+
"$ref": "#/$defs/Int",
|
|
62
|
+
"description": "a non-negative number",
|
|
63
|
+
"title": "greaterThanOrEqualTo(0)",
|
|
64
|
+
"minimum": 0
|
|
65
|
+
},
|
|
66
|
+
"reviewThreshold": {
|
|
67
|
+
"$ref": "#/$defs/Int",
|
|
68
|
+
"description": "a number greater than or equal to 1",
|
|
69
|
+
"title": "greaterThanOrEqualTo(1)",
|
|
70
|
+
"minimum": 1
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"additionalProperties": false
|
|
74
|
+
}
|