perttool 0.5.1 → 0.5.2

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 (32) hide show
  1. package/CHANGELOG.md +20 -1
  2. package/README.md +40 -25
  3. package/dist/cli.js +18 -1
  4. package/dist/cli.js.map +1 -1
  5. package/dist/command/actuals-discovery.d.ts.map +1 -1
  6. package/dist/command/actuals-discovery.js +25 -3
  7. package/dist/command/actuals-discovery.js.map +1 -1
  8. package/dist/index.d.ts +1 -1
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js.map +1 -1
  11. package/dist/schema/registry.d.ts +19 -2
  12. package/dist/schema/registry.d.ts.map +1 -1
  13. package/dist/schema/registry.js +194 -4
  14. package/dist/schema/registry.js.map +1 -1
  15. package/dist/version.d.ts +1 -1
  16. package/dist/version.js +1 -1
  17. package/package.json +1 -1
  18. package/schemas/Perttool.AgentGuidanceResult.v1.schema.json +461 -6
  19. package/schemas/Perttool.AnalysisResult.v4.schema.json +685 -19
  20. package/schemas/Perttool.CheckResult.v3.schema.json +46 -2
  21. package/schemas/Perttool.CliError.v1.schema.json +40 -4
  22. package/schemas/Perttool.CommandHelpResult.v1.schema.json +218 -6
  23. package/schemas/Perttool.Common.v1.schema.json +1460 -75
  24. package/schemas/Perttool.GuideResult.v1.schema.json +36 -2
  25. package/schemas/Perttool.MutationResult.v3.schema.json +57 -6
  26. package/schemas/Perttool.NextResult.v5.schema.json +1137 -12
  27. package/schemas/Perttool.OverrideDecision.v1.schema.json +236 -4
  28. package/schemas/Perttool.ProjectHistoryResult.v1.schema.json +204 -60
  29. package/schemas/Perttool.ProjectResult.v3.schema.json +74 -1
  30. package/schemas/Perttool.SchemaResult.v1.schema.json +56 -3
  31. package/schemas/Perttool.UnitMigrationResult.v3.schema.json +152 -14
  32. package/schemas/Perttool.VelocityObservationResult.v1.schema.json +201 -2
@@ -58,7 +58,24 @@
58
58
  "sections": {
59
59
  "type": "array",
60
60
  "items": {
61
- "type": "object"
61
+ "type": "object",
62
+ "required": [
63
+ "id",
64
+ "title",
65
+ "body"
66
+ ],
67
+ "properties": {
68
+ "id": {
69
+ "type": "string"
70
+ },
71
+ "title": {
72
+ "type": "string"
73
+ },
74
+ "body": {
75
+ "type": "string"
76
+ }
77
+ },
78
+ "additionalProperties": false
62
79
  }
63
80
  },
64
81
  "syntax": {
@@ -70,7 +87,24 @@
70
87
  "examples": {
71
88
  "type": "array",
72
89
  "items": {
73
- "type": "object"
90
+ "type": "object",
91
+ "required": [
92
+ "id",
93
+ "title",
94
+ "text"
95
+ ],
96
+ "properties": {
97
+ "id": {
98
+ "type": "string"
99
+ },
100
+ "title": {
101
+ "type": "string"
102
+ },
103
+ "text": {
104
+ "type": "string"
105
+ }
106
+ },
107
+ "additionalProperties": false
74
108
  }
75
109
  },
76
110
  "related": {
@@ -109,17 +109,27 @@
109
109
  "type": "string"
110
110
  },
111
111
  "from_state": {
112
- "type": "string"
112
+ "enum": [
113
+ "planned",
114
+ "active",
115
+ "blocked",
116
+ "suspended",
117
+ "done"
118
+ ]
113
119
  },
114
120
  "to_state": {
115
- "type": "string"
121
+ "enum": [
122
+ "active",
123
+ "suspended",
124
+ "done"
125
+ ]
116
126
  },
117
127
  "event": {
118
128
  "$ref": "Perttool.Common.v1.schema.json#/$defs/workEvent"
119
129
  },
120
130
  "coverage": {
121
131
  "enum": [
122
- "none",
132
+ "open",
123
133
  "finish_only",
124
134
  "complete"
125
135
  ]
@@ -133,9 +143,50 @@
133
143
  ]
134
144
  },
135
145
  "advance": {
136
- "type": [
137
- "object",
138
- "null"
146
+ "oneOf": [
147
+ {
148
+ "type": "object",
149
+ "required": [
150
+ "removed_task_ids",
151
+ "removed_gate_ids",
152
+ "removed_milestone_ids",
153
+ "removed_work_event_ids",
154
+ "frontier_before",
155
+ "frontier_after",
156
+ "ready_before",
157
+ "ready_after"
158
+ ],
159
+ "properties": {
160
+ "removed_task_ids": {
161
+ "$ref": "Perttool.Common.v1.schema.json#/$defs/stringArray"
162
+ },
163
+ "removed_gate_ids": {
164
+ "$ref": "Perttool.Common.v1.schema.json#/$defs/stringArray"
165
+ },
166
+ "removed_milestone_ids": {
167
+ "$ref": "Perttool.Common.v1.schema.json#/$defs/stringArray"
168
+ },
169
+ "removed_work_event_ids": {
170
+ "$ref": "Perttool.Common.v1.schema.json#/$defs/stringArray"
171
+ },
172
+ "frontier_before": {
173
+ "$ref": "Perttool.Common.v1.schema.json#/$defs/stringArray"
174
+ },
175
+ "frontier_after": {
176
+ "$ref": "Perttool.Common.v1.schema.json#/$defs/stringArray"
177
+ },
178
+ "ready_before": {
179
+ "$ref": "Perttool.Common.v1.schema.json#/$defs/stringArray"
180
+ },
181
+ "ready_after": {
182
+ "$ref": "Perttool.Common.v1.schema.json#/$defs/stringArray"
183
+ }
184
+ },
185
+ "additionalProperties": false
186
+ },
187
+ {
188
+ "type": "null"
189
+ }
139
190
  ]
140
191
  }
141
192
  },