perttool 0.4.0 → 0.5.1
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 +63 -1
- package/README.md +107 -34
- package/dist/actuals/lifecycle.d.ts +101 -0
- package/dist/actuals/lifecycle.d.ts.map +1 -0
- package/dist/actuals/lifecycle.js +329 -0
- package/dist/actuals/lifecycle.js.map +1 -0
- package/dist/actuals/source.d.ts +36 -0
- package/dist/actuals/source.d.ts.map +1 -0
- package/dist/actuals/source.js +119 -0
- package/dist/actuals/source.js.map +1 -0
- package/dist/analysis/temporal-deadline.d.ts +2 -2
- package/dist/analysis/temporal-deadline.d.ts.map +1 -1
- package/dist/analysis/temporal-deadline.js.map +1 -1
- package/dist/analysis/temporal-precedence.d.ts +2 -2
- package/dist/analysis/temporal-precedence.d.ts.map +1 -1
- package/dist/analysis/temporal-precedence.js +2 -0
- package/dist/analysis/temporal-precedence.js.map +1 -1
- package/dist/analysis/temporal-resource.d.ts +2 -2
- package/dist/analysis/temporal-resource.d.ts.map +1 -1
- package/dist/analysis/temporal-resource.js +2 -0
- package/dist/analysis/temporal-resource.js.map +1 -1
- package/dist/application/analyze.d.ts +1 -0
- package/dist/application/analyze.d.ts.map +1 -1
- package/dist/application/analyze.js +38 -29
- package/dist/application/analyze.js.map +1 -1
- package/dist/application/check.d.ts +3 -0
- package/dist/application/check.d.ts.map +1 -1
- package/dist/application/check.js +17 -1
- package/dist/application/check.js.map +1 -1
- package/dist/application/contract6-actuals.d.ts +24 -0
- package/dist/application/contract6-actuals.d.ts.map +1 -0
- package/dist/application/contract6-actuals.js +51 -0
- package/dist/application/contract6-actuals.js.map +1 -0
- package/dist/application/contract6-mutation.d.ts +18 -0
- package/dist/application/contract6-mutation.d.ts.map +1 -0
- package/dist/application/contract6-mutation.js +173 -0
- package/dist/application/contract6-mutation.js.map +1 -0
- package/dist/application/contract6-projection.d.ts +9 -0
- package/dist/application/contract6-projection.d.ts.map +1 -0
- package/dist/application/contract6-projection.js +105 -0
- package/dist/application/contract6-projection.js.map +1 -0
- package/dist/application/init.d.ts +1 -1
- package/dist/application/init.js +3 -3
- package/dist/application/project.js +2 -2
- package/dist/application/target-actuals-advance.d.ts +12 -0
- package/dist/application/target-actuals-advance.d.ts.map +1 -0
- package/dist/application/target-actuals-advance.js +113 -0
- package/dist/application/target-actuals-advance.js.map +1 -0
- package/dist/application/target-actuals-analysis.d.ts +76 -0
- package/dist/application/target-actuals-analysis.d.ts.map +1 -0
- package/dist/application/target-actuals-analysis.js +250 -0
- package/dist/application/target-actuals-analysis.js.map +1 -0
- package/dist/application/target-actuals-mutation.d.ts +28 -0
- package/dist/application/target-actuals-mutation.d.ts.map +1 -0
- package/dist/application/target-actuals-mutation.js +404 -0
- package/dist/application/target-actuals-mutation.js.map +1 -0
- package/dist/application/target-actuals-write.d.ts +7 -0
- package/dist/application/target-actuals-write.d.ts.map +1 -0
- package/dist/application/target-actuals-write.js +37 -0
- package/dist/application/target-actuals-write.js.map +1 -0
- package/dist/application/target-governance-init.d.ts +3 -3
- package/dist/application/target-governance-init.d.ts.map +1 -1
- package/dist/application/target-governance-init.js +20 -10
- package/dist/application/target-governance-init.js.map +1 -1
- package/dist/application/target-governance-project.d.ts +4 -4
- package/dist/application/target-governance-project.d.ts.map +1 -1
- package/dist/application/target-governance-project.js +4 -2
- package/dist/application/target-governance-project.js.map +1 -1
- package/dist/application/target-governance-write.d.ts +8 -0
- package/dist/application/target-governance-write.d.ts.map +1 -1
- package/dist/application/target-governance-write.js +1 -1
- package/dist/application/target-governance-write.js.map +1 -1
- package/dist/application/target-mutate.d.ts +3 -1
- package/dist/application/target-mutate.d.ts.map +1 -1
- package/dist/application/target-mutate.js +34 -2
- package/dist/application/target-mutate.js.map +1 -1
- package/dist/application/target-project-history.d.ts +18 -0
- package/dist/application/target-project-history.d.ts.map +1 -0
- package/dist/application/target-project-history.js +279 -0
- package/dist/application/target-project-history.js.map +1 -0
- package/dist/application/target-temporal-analysis.d.ts +7 -1
- package/dist/application/target-temporal-analysis.d.ts.map +1 -1
- package/dist/application/target-temporal-analysis.js +10 -8
- package/dist/application/target-temporal-analysis.js.map +1 -1
- package/dist/application/target-temporal-input.d.ts +6 -4
- package/dist/application/target-temporal-input.d.ts.map +1 -1
- package/dist/application/target-temporal-input.js +10 -1
- package/dist/application/target-temporal-input.js.map +1 -1
- package/dist/application/target-unit-migration-candidate.d.ts +2 -2
- package/dist/application/target-unit-migration-candidate.d.ts.map +1 -1
- package/dist/application/target-unit-migration-candidate.js +21 -10
- package/dist/application/target-unit-migration-candidate.js.map +1 -1
- package/dist/application/target-unit-migration-request.d.ts +4 -4
- package/dist/application/target-unit-migration-request.d.ts.map +1 -1
- package/dist/application/target-unit-migration-request.js +6 -4
- package/dist/application/target-unit-migration-request.js.map +1 -1
- package/dist/application/target-unit-migration-result.d.ts +5 -5
- package/dist/application/target-unit-migration-result.d.ts.map +1 -1
- package/dist/application/target-unit-migration-result.js +1 -1
- package/dist/application/target-unit-migration-result.js.map +1 -1
- package/dist/application/target-velocity-observation.d.ts +11 -0
- package/dist/application/target-velocity-observation.d.ts.map +1 -0
- package/dist/application/target-velocity-observation.js +201 -0
- package/dist/application/target-velocity-observation.js.map +1 -0
- package/dist/application/unit-migration.d.ts +2 -2
- package/dist/application/unit-migration.d.ts.map +1 -1
- package/dist/application/unit-migration.js +2 -2
- package/dist/cli.js +309 -45
- package/dist/cli.js.map +1 -1
- package/dist/command/actuals-discovery.d.ts +26 -0
- package/dist/command/actuals-discovery.d.ts.map +1 -0
- package/dist/command/actuals-discovery.js +328 -0
- package/dist/command/actuals-discovery.js.map +1 -0
- package/dist/command/actuals-usage.d.ts +22 -0
- package/dist/command/actuals-usage.d.ts.map +1 -0
- package/dist/command/actuals-usage.js +122 -0
- package/dist/command/actuals-usage.js.map +1 -0
- package/dist/formatter/source-formatter.d.ts +3 -3
- package/dist/formatter/source-formatter.d.ts.map +1 -1
- package/dist/formatter/source-formatter.js +53 -5
- package/dist/formatter/source-formatter.js.map +1 -1
- package/dist/formatter/target-source-formatter.d.ts +2 -1
- package/dist/formatter/target-source-formatter.d.ts.map +1 -1
- package/dist/formatter/target-source-formatter.js +18 -2
- package/dist/formatter/target-source-formatter.js.map +1 -1
- package/dist/governance/authority.d.ts +7 -3
- package/dist/governance/authority.d.ts.map +1 -1
- package/dist/governance/authority.js.map +1 -1
- package/dist/governance/source.d.ts +2 -2
- package/dist/governance/source.d.ts.map +1 -1
- package/dist/governance/source.js.map +1 -1
- package/dist/help/actuals-guide.d.ts +10 -0
- package/dist/help/actuals-guide.d.ts.map +1 -0
- package/dist/help/actuals-guide.js +23 -0
- package/dist/help/actuals-guide.js.map +1 -0
- package/dist/help/guide.d.ts +1 -1
- package/dist/help/guide.d.ts.map +1 -1
- package/dist/help/registry.d.ts.map +1 -1
- package/dist/help/registry.js +97 -7
- package/dist/help/registry.js.map +1 -1
- package/dist/history/git-probe.d.ts +56 -0
- package/dist/history/git-probe.d.ts.map +1 -0
- package/dist/history/git-probe.js +574 -0
- package/dist/history/git-probe.js.map +1 -0
- package/dist/history/project-history.d.ts +112 -0
- package/dist/history/project-history.d.ts.map +1 -0
- package/dist/history/project-history.js +786 -0
- package/dist/history/project-history.js.map +1 -0
- package/dist/history/velocity-observation.d.ts +69 -0
- package/dist/history/velocity-observation.d.ts.map +1 -0
- package/dist/history/velocity-observation.js +604 -0
- package/dist/history/velocity-observation.js.map +1 -0
- package/dist/index.d.ts +21 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -5
- package/dist/index.js.map +1 -1
- package/dist/io/target-safe-write.d.ts +4 -1
- package/dist/io/target-safe-write.d.ts.map +1 -1
- package/dist/io/target-safe-write.js +19 -1
- package/dist/io/target-safe-write.js.map +1 -1
- package/dist/migration/conversion.d.ts +1 -1
- package/dist/migration/conversion.d.ts.map +1 -1
- package/dist/migration/grammar-boundary.d.ts +1 -1
- package/dist/migration/grammar-boundary.d.ts.map +1 -1
- package/dist/migration/grammar-boundary.js +11 -3
- package/dist/migration/grammar-boundary.js.map +1 -1
- package/dist/migration/request.d.ts +5 -5
- package/dist/migration/request.d.ts.map +1 -1
- package/dist/migration/request.js +15 -2
- package/dist/migration/request.js.map +1 -1
- package/dist/model/calendar.d.ts +2 -0
- package/dist/model/calendar.d.ts.map +1 -1
- package/dist/model/calendar.js +19 -0
- package/dist/model/calendar.js.map +1 -1
- package/dist/model/declaration-fields.d.ts +8 -0
- package/dist/model/declaration-fields.d.ts.map +1 -1
- package/dist/model/declaration-fields.js +13 -0
- package/dist/model/declaration-fields.js.map +1 -1
- package/dist/model/exact-person-hours-source.d.ts +2 -0
- package/dist/model/exact-person-hours-source.d.ts.map +1 -0
- package/dist/model/exact-person-hours-source.js +10 -0
- package/dist/model/exact-person-hours-source.js.map +1 -0
- package/dist/model/syntax.d.ts +23 -8
- package/dist/model/syntax.d.ts.map +1 -1
- package/dist/model/syntax.js.map +1 -1
- package/dist/mutation/actuals.d.ts +17 -0
- package/dist/mutation/actuals.d.ts.map +1 -0
- package/dist/mutation/actuals.js +90 -0
- package/dist/mutation/actuals.js.map +1 -0
- package/dist/mutation/advance.d.ts +9 -3
- package/dist/mutation/advance.d.ts.map +1 -1
- package/dist/mutation/advance.js +41 -12
- package/dist/mutation/advance.js.map +1 -1
- package/dist/mutation/entity-editor.d.ts +2 -2
- package/dist/mutation/entity-editor.d.ts.map +1 -1
- package/dist/mutation/entity-editor.js.map +1 -1
- package/dist/mutation/project.d.ts +2 -0
- package/dist/mutation/project.d.ts.map +1 -1
- package/dist/mutation/project.js +13 -4
- package/dist/mutation/project.js.map +1 -1
- package/dist/mutation/source.d.ts +3 -3
- package/dist/mutation/source.d.ts.map +1 -1
- package/dist/mutation/source.js.map +1 -1
- package/dist/parser/document-parser.d.ts +8 -1
- package/dist/parser/document-parser.d.ts.map +1 -1
- package/dist/parser/document-parser.js +151 -23
- package/dist/parser/document-parser.js.map +1 -1
- package/dist/recommendation/override-types.d.ts +2 -2
- package/dist/recommendation/override.d.ts +2 -2
- package/dist/recommendation/override.d.ts.map +1 -1
- package/dist/recommendation/override.js +2 -2
- package/dist/recommendation/override.js.map +1 -1
- package/dist/schema/registry.d.ts +36 -0
- package/dist/schema/registry.d.ts.map +1 -0
- package/dist/schema/registry.js +156 -0
- package/dist/schema/registry.js.map +1 -0
- package/dist/semantic/target-validator.d.ts +13 -2
- package/dist/semantic/target-validator.d.ts.map +1 -1
- package/dist/semantic/target-validator.js +46 -2
- package/dist/semantic/target-validator.js.map +1 -1
- package/dist/semantic/validator.d.ts +4 -1
- package/dist/semantic/validator.d.ts.map +1 -1
- package/dist/semantic/validator.js +152 -6
- package/dist/semantic/validator.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +7 -3
- package/schemas/Perttool.AgentGuidanceResult.v1.schema.json +152 -0
- package/schemas/Perttool.AnalysisResult.v4.schema.json +124 -0
- package/schemas/Perttool.CheckResult.v3.schema.json +159 -0
- package/schemas/Perttool.CliError.v1.schema.json +83 -0
- package/schemas/Perttool.CommandHelpResult.v1.schema.json +165 -0
- package/schemas/Perttool.Common.v1.schema.json +508 -0
- package/schemas/Perttool.ExportResult.v1.schema.json +96 -0
- package/schemas/Perttool.FormatResult.v1.schema.json +82 -0
- package/schemas/Perttool.GuideResult.v1.schema.json +104 -0
- package/schemas/Perttool.ImportResult.v1.schema.json +111 -0
- package/schemas/Perttool.InitResult.v1.schema.json +70 -0
- package/schemas/Perttool.MutationResult.v3.schema.json +143 -0
- package/schemas/Perttool.NextResult.v5.schema.json +139 -0
- package/schemas/Perttool.OverrideDecision.v1.schema.json +170 -0
- package/schemas/Perttool.ProjectHistoryResult.v1.schema.json +139 -0
- package/schemas/Perttool.ProjectResult.v3.schema.json +144 -0
- package/schemas/Perttool.SchemaResult.v1.schema.json +84 -0
- package/schemas/Perttool.UnitMigrationResult.v3.schema.json +205 -0
- package/schemas/Perttool.VelocityObservationResult.v1.schema.json +102 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/mako10k/perttool/schemas/Perttool.GuideResult.v1.schema.json",
|
|
4
|
+
"title": "Perttool.GuideResult.v1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"schema_version",
|
|
8
|
+
"cli_contract_version",
|
|
9
|
+
"tool_version",
|
|
10
|
+
"operation",
|
|
11
|
+
"ok",
|
|
12
|
+
"diagnostics",
|
|
13
|
+
"topic_id",
|
|
14
|
+
"level",
|
|
15
|
+
"title",
|
|
16
|
+
"summary",
|
|
17
|
+
"sections",
|
|
18
|
+
"syntax",
|
|
19
|
+
"examples",
|
|
20
|
+
"related",
|
|
21
|
+
"topics"
|
|
22
|
+
],
|
|
23
|
+
"properties": {
|
|
24
|
+
"schema_version": {
|
|
25
|
+
"const": "Perttool.GuideResult.v1"
|
|
26
|
+
},
|
|
27
|
+
"cli_contract_version": {
|
|
28
|
+
"const": 6
|
|
29
|
+
},
|
|
30
|
+
"tool_version": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"operation": {
|
|
34
|
+
"const": "guide"
|
|
35
|
+
},
|
|
36
|
+
"ok": {
|
|
37
|
+
"type": "boolean"
|
|
38
|
+
},
|
|
39
|
+
"diagnostics": {
|
|
40
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/diagnostics"
|
|
41
|
+
},
|
|
42
|
+
"topic_id": {
|
|
43
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/nullableString"
|
|
44
|
+
},
|
|
45
|
+
"level": {
|
|
46
|
+
"enum": [
|
|
47
|
+
"index",
|
|
48
|
+
"quick",
|
|
49
|
+
"detail"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"title": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"summary": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"sections": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"items": {
|
|
61
|
+
"type": "object"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"syntax": {
|
|
65
|
+
"type": "array",
|
|
66
|
+
"items": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"examples": {
|
|
71
|
+
"type": "array",
|
|
72
|
+
"items": {
|
|
73
|
+
"type": "object"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"related": {
|
|
77
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/stringArray"
|
|
78
|
+
},
|
|
79
|
+
"topics": {
|
|
80
|
+
"type": "array",
|
|
81
|
+
"items": {
|
|
82
|
+
"type": "object",
|
|
83
|
+
"required": [
|
|
84
|
+
"id",
|
|
85
|
+
"title",
|
|
86
|
+
"summary"
|
|
87
|
+
],
|
|
88
|
+
"properties": {
|
|
89
|
+
"id": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
},
|
|
92
|
+
"title": {
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
"summary": {
|
|
96
|
+
"type": "string"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"additionalProperties": false
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"additionalProperties": false
|
|
104
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/mako10k/perttool/schemas/Perttool.ImportResult.v1.schema.json",
|
|
4
|
+
"title": "Perttool.ImportResult.v1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"schema_version",
|
|
8
|
+
"cli_contract_version",
|
|
9
|
+
"tool_version",
|
|
10
|
+
"operation",
|
|
11
|
+
"ok",
|
|
12
|
+
"document_id",
|
|
13
|
+
"source",
|
|
14
|
+
"source_digest",
|
|
15
|
+
"diagnostics",
|
|
16
|
+
"diagnostics_truncated",
|
|
17
|
+
"artifact_format",
|
|
18
|
+
"profile",
|
|
19
|
+
"analysis",
|
|
20
|
+
"capacity_overrides",
|
|
21
|
+
"artifact",
|
|
22
|
+
"artifact_digest",
|
|
23
|
+
"loss_report",
|
|
24
|
+
"generated_ids",
|
|
25
|
+
"write"
|
|
26
|
+
],
|
|
27
|
+
"properties": {
|
|
28
|
+
"schema_version": {
|
|
29
|
+
"const": "Perttool.ImportResult.v1"
|
|
30
|
+
},
|
|
31
|
+
"cli_contract_version": {
|
|
32
|
+
"const": 6
|
|
33
|
+
},
|
|
34
|
+
"tool_version": {
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"operation": {
|
|
38
|
+
"const": "dag.import"
|
|
39
|
+
},
|
|
40
|
+
"ok": {
|
|
41
|
+
"type": "boolean"
|
|
42
|
+
},
|
|
43
|
+
"document_id": {
|
|
44
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/nullableString"
|
|
45
|
+
},
|
|
46
|
+
"source": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"source_digest": {
|
|
50
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/digest"
|
|
51
|
+
},
|
|
52
|
+
"diagnostics": {
|
|
53
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/diagnostics"
|
|
54
|
+
},
|
|
55
|
+
"diagnostics_truncated": {
|
|
56
|
+
"type": "boolean"
|
|
57
|
+
},
|
|
58
|
+
"artifact_format": {
|
|
59
|
+
"const": "pert"
|
|
60
|
+
},
|
|
61
|
+
"profile": {
|
|
62
|
+
"enum": [
|
|
63
|
+
"perttool",
|
|
64
|
+
"plain"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"analysis": {
|
|
68
|
+
"enum": [
|
|
69
|
+
"none",
|
|
70
|
+
"precedence",
|
|
71
|
+
"resource",
|
|
72
|
+
"both"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"capacity_overrides": {
|
|
76
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/capacityOverrides"
|
|
77
|
+
},
|
|
78
|
+
"artifact": {
|
|
79
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/nullableString"
|
|
80
|
+
},
|
|
81
|
+
"artifact_digest": {
|
|
82
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/nullableDigest"
|
|
83
|
+
},
|
|
84
|
+
"loss_report": {
|
|
85
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/lossReport"
|
|
86
|
+
},
|
|
87
|
+
"generated_ids": {
|
|
88
|
+
"type": "array",
|
|
89
|
+
"items": {
|
|
90
|
+
"type": "object",
|
|
91
|
+
"required": [
|
|
92
|
+
"source_element",
|
|
93
|
+
"generated_id"
|
|
94
|
+
],
|
|
95
|
+
"properties": {
|
|
96
|
+
"source_element": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
"generated_id": {
|
|
100
|
+
"type": "string"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"additionalProperties": false
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"write": {
|
|
107
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/write"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"additionalProperties": false
|
|
111
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/mako10k/perttool/schemas/Perttool.InitResult.v1.schema.json",
|
|
4
|
+
"title": "Perttool.InitResult.v1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"schema_version",
|
|
8
|
+
"cli_contract_version",
|
|
9
|
+
"tool_version",
|
|
10
|
+
"operation",
|
|
11
|
+
"ok",
|
|
12
|
+
"document_id",
|
|
13
|
+
"source",
|
|
14
|
+
"source_digest",
|
|
15
|
+
"candidate_text",
|
|
16
|
+
"candidate_digest",
|
|
17
|
+
"edits",
|
|
18
|
+
"write",
|
|
19
|
+
"diagnostics",
|
|
20
|
+
"diagnostics_truncated"
|
|
21
|
+
],
|
|
22
|
+
"properties": {
|
|
23
|
+
"schema_version": {
|
|
24
|
+
"const": "Perttool.InitResult.v1"
|
|
25
|
+
},
|
|
26
|
+
"cli_contract_version": {
|
|
27
|
+
"const": 6
|
|
28
|
+
},
|
|
29
|
+
"tool_version": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"operation": {
|
|
33
|
+
"const": "project.init"
|
|
34
|
+
},
|
|
35
|
+
"ok": {
|
|
36
|
+
"type": "boolean"
|
|
37
|
+
},
|
|
38
|
+
"document_id": {
|
|
39
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/nullableString"
|
|
40
|
+
},
|
|
41
|
+
"source": {
|
|
42
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/nullableString"
|
|
43
|
+
},
|
|
44
|
+
"source_digest": {
|
|
45
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/nullableDigest"
|
|
46
|
+
},
|
|
47
|
+
"candidate_text": {
|
|
48
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/nullableString"
|
|
49
|
+
},
|
|
50
|
+
"candidate_digest": {
|
|
51
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/nullableDigest"
|
|
52
|
+
},
|
|
53
|
+
"edits": {
|
|
54
|
+
"type": "array",
|
|
55
|
+
"items": {
|
|
56
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/edit"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"write": {
|
|
60
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/write"
|
|
61
|
+
},
|
|
62
|
+
"diagnostics": {
|
|
63
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/diagnostics"
|
|
64
|
+
},
|
|
65
|
+
"diagnostics_truncated": {
|
|
66
|
+
"type": "boolean"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"additionalProperties": false
|
|
70
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/mako10k/perttool/schemas/Perttool.MutationResult.v3.schema.json",
|
|
4
|
+
"title": "Perttool.MutationResult.v3",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"schema_version",
|
|
8
|
+
"cli_contract_version",
|
|
9
|
+
"tool_version",
|
|
10
|
+
"operation",
|
|
11
|
+
"ok",
|
|
12
|
+
"document_id",
|
|
13
|
+
"source",
|
|
14
|
+
"source_digest",
|
|
15
|
+
"diagnostics",
|
|
16
|
+
"diagnostics_truncated",
|
|
17
|
+
"changed",
|
|
18
|
+
"original_digest",
|
|
19
|
+
"updated_digest",
|
|
20
|
+
"updated_text",
|
|
21
|
+
"diff",
|
|
22
|
+
"edits",
|
|
23
|
+
"write",
|
|
24
|
+
"governance",
|
|
25
|
+
"lifecycle"
|
|
26
|
+
],
|
|
27
|
+
"properties": {
|
|
28
|
+
"schema_version": {
|
|
29
|
+
"const": "Perttool.MutationResult.v3"
|
|
30
|
+
},
|
|
31
|
+
"cli_contract_version": {
|
|
32
|
+
"const": 6
|
|
33
|
+
},
|
|
34
|
+
"tool_version": {
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"operation": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"ok": {
|
|
41
|
+
"type": "boolean"
|
|
42
|
+
},
|
|
43
|
+
"document_id": {
|
|
44
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/nullableString"
|
|
45
|
+
},
|
|
46
|
+
"source": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"source_digest": {
|
|
50
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/digest"
|
|
51
|
+
},
|
|
52
|
+
"diagnostics": {
|
|
53
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/diagnostics"
|
|
54
|
+
},
|
|
55
|
+
"diagnostics_truncated": {
|
|
56
|
+
"type": "boolean"
|
|
57
|
+
},
|
|
58
|
+
"changed": {
|
|
59
|
+
"type": "boolean"
|
|
60
|
+
},
|
|
61
|
+
"original_digest": {
|
|
62
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/nullableDigest"
|
|
63
|
+
},
|
|
64
|
+
"updated_digest": {
|
|
65
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/nullableDigest"
|
|
66
|
+
},
|
|
67
|
+
"updated_text": {
|
|
68
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/nullableString"
|
|
69
|
+
},
|
|
70
|
+
"diff": {
|
|
71
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/nullableString"
|
|
72
|
+
},
|
|
73
|
+
"edits": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": {
|
|
76
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/edit"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"write": {
|
|
80
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/write"
|
|
81
|
+
},
|
|
82
|
+
"governance": {
|
|
83
|
+
"oneOf": [
|
|
84
|
+
{
|
|
85
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/governanceDecision"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "null"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"lifecycle": {
|
|
93
|
+
"oneOf": [
|
|
94
|
+
{
|
|
95
|
+
"type": "object",
|
|
96
|
+
"required": [
|
|
97
|
+
"model_version",
|
|
98
|
+
"task_id",
|
|
99
|
+
"from_state",
|
|
100
|
+
"to_state",
|
|
101
|
+
"event",
|
|
102
|
+
"coverage"
|
|
103
|
+
],
|
|
104
|
+
"properties": {
|
|
105
|
+
"model_version": {
|
|
106
|
+
"const": 1
|
|
107
|
+
},
|
|
108
|
+
"task_id": {
|
|
109
|
+
"type": "string"
|
|
110
|
+
},
|
|
111
|
+
"from_state": {
|
|
112
|
+
"type": "string"
|
|
113
|
+
},
|
|
114
|
+
"to_state": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
},
|
|
117
|
+
"event": {
|
|
118
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/workEvent"
|
|
119
|
+
},
|
|
120
|
+
"coverage": {
|
|
121
|
+
"enum": [
|
|
122
|
+
"none",
|
|
123
|
+
"finish_only",
|
|
124
|
+
"complete"
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"additionalProperties": false
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"type": "null"
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
"advance": {
|
|
136
|
+
"type": [
|
|
137
|
+
"object",
|
|
138
|
+
"null"
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"additionalProperties": false
|
|
143
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/mako10k/perttool/schemas/Perttool.NextResult.v5.schema.json",
|
|
4
|
+
"title": "Perttool.NextResult.v5",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"schema_version",
|
|
8
|
+
"cli_contract_version",
|
|
9
|
+
"recommendation_interface_version",
|
|
10
|
+
"tool_version",
|
|
11
|
+
"operation",
|
|
12
|
+
"ok",
|
|
13
|
+
"document_id",
|
|
14
|
+
"source",
|
|
15
|
+
"source_digest",
|
|
16
|
+
"diagnostics",
|
|
17
|
+
"diagnostics_truncated",
|
|
18
|
+
"grammar_version",
|
|
19
|
+
"temporal"
|
|
20
|
+
],
|
|
21
|
+
"properties": {
|
|
22
|
+
"schema_version": {
|
|
23
|
+
"const": "Perttool.NextResult.v5"
|
|
24
|
+
},
|
|
25
|
+
"cli_contract_version": {
|
|
26
|
+
"const": 6
|
|
27
|
+
},
|
|
28
|
+
"recommendation_interface_version": {
|
|
29
|
+
"const": 1
|
|
30
|
+
},
|
|
31
|
+
"tool_version": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"operation": {
|
|
35
|
+
"const": "dag.next"
|
|
36
|
+
},
|
|
37
|
+
"ok": {
|
|
38
|
+
"type": "boolean"
|
|
39
|
+
},
|
|
40
|
+
"document_id": {
|
|
41
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/nullableString"
|
|
42
|
+
},
|
|
43
|
+
"source": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
"source_digest": {
|
|
47
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/digest"
|
|
48
|
+
},
|
|
49
|
+
"diagnostics": {
|
|
50
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/diagnostics"
|
|
51
|
+
},
|
|
52
|
+
"diagnostics_truncated": {
|
|
53
|
+
"type": "boolean"
|
|
54
|
+
},
|
|
55
|
+
"grammar_version": {
|
|
56
|
+
"type": [
|
|
57
|
+
"integer",
|
|
58
|
+
"null"
|
|
59
|
+
],
|
|
60
|
+
"minimum": 1,
|
|
61
|
+
"maximum": 5
|
|
62
|
+
},
|
|
63
|
+
"precision": {
|
|
64
|
+
"type": "integer",
|
|
65
|
+
"minimum": 0,
|
|
66
|
+
"maximum": 9
|
|
67
|
+
},
|
|
68
|
+
"duration_unit": {
|
|
69
|
+
"enum": [
|
|
70
|
+
"day",
|
|
71
|
+
"hour",
|
|
72
|
+
"point"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"velocity": {
|
|
76
|
+
"type": [
|
|
77
|
+
"object",
|
|
78
|
+
"null"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"velocity_forecast": {
|
|
82
|
+
"type": [
|
|
83
|
+
"object",
|
|
84
|
+
"null"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"capacity_overrides": {
|
|
88
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/capacityOverrides"
|
|
89
|
+
},
|
|
90
|
+
"recommendation": {
|
|
91
|
+
"type": "object"
|
|
92
|
+
},
|
|
93
|
+
"groups": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"required": [
|
|
96
|
+
"active",
|
|
97
|
+
"ready",
|
|
98
|
+
"runnable_now",
|
|
99
|
+
"blocked_now",
|
|
100
|
+
"upcoming",
|
|
101
|
+
"suspended"
|
|
102
|
+
],
|
|
103
|
+
"properties": {
|
|
104
|
+
"active": {
|
|
105
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/stringArray"
|
|
106
|
+
},
|
|
107
|
+
"ready": {
|
|
108
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/stringArray"
|
|
109
|
+
},
|
|
110
|
+
"runnable_now": {
|
|
111
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/stringArray"
|
|
112
|
+
},
|
|
113
|
+
"blocked_now": {
|
|
114
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/stringArray"
|
|
115
|
+
},
|
|
116
|
+
"upcoming": {
|
|
117
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/stringArray"
|
|
118
|
+
},
|
|
119
|
+
"suspended": {
|
|
120
|
+
"$ref": "Perttool.Common.v1.schema.json#/$defs/stringArray"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"additionalProperties": false
|
|
124
|
+
},
|
|
125
|
+
"tasks": {
|
|
126
|
+
"type": "array",
|
|
127
|
+
"items": {
|
|
128
|
+
"type": "object"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"temporal": {
|
|
132
|
+
"type": [
|
|
133
|
+
"object",
|
|
134
|
+
"null"
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"additionalProperties": false
|
|
139
|
+
}
|