@agent-teams/engineering-foundation 0.8.0 → 0.9.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/dist/capabilities/contract-protobuf-evolution/adapters/outbound/qualification/filesystem-buf-breaking-qualification-evidence.js +1 -1
- package/dist/capabilities/contract-protobuf-evolution/application/model/buf-breaking-qualification.d.ts +2 -2
- package/dist/capabilities/contract-protobuf-evolution/application/model/buf-breaking-qualification.js +2 -2
- package/dist/capabilities/contract-protobuf-evolution/application/model/protobuf-release-evidence.d.ts +4 -4
- package/dist/capabilities/contract-protobuf-evolution/application/model/protobuf-release-evidence.d.ts.map +1 -1
- package/dist/capabilities/contract-protobuf-evolution/contract/config.d.ts +1 -1
- package/dist/capabilities/contract-protobuf-evolution/contract/config.js +4 -4
- package/dist/capabilities/contract-protobuf-evolution/contract/config.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/api-extractor/microsoft-public-api-extractor.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/api-extractor/microsoft-public-api-extractor.js +1 -14
- package/dist/capabilities/public-api-compatibility/adapters/outbound/api-extractor/microsoft-public-api-extractor.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/public-api-baseline-mapper.d.ts +4 -4
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/public-api-baseline-mapper.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/public-api-baseline-mapper.js +34 -46
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/public-api-baseline-mapper.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/model/public-api.d.ts +18 -75
- package/dist/capabilities/public-api-compatibility/application/model/public-api.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/model/public-api.js +7 -29
- package/dist/capabilities/public-api-compatibility/application/model/public-api.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/accepted-breaking-change.d.ts +1 -5
- package/dist/capabilities/public-api-compatibility/application/policies/accepted-breaking-change.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/accepted-breaking-change.js +1 -8
- package/dist/capabilities/public-api-compatibility/application/policies/accepted-breaking-change.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-public-api-compatibility.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-public-api-compatibility.js +5 -38
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-public-api-compatibility.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/validate-package-export-coverage.d.ts +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/validate-package-export-coverage.js +2 -2
- package/dist/capabilities/public-api-compatibility/application/policies/validate-package-export-coverage.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/analyze-public-api-compatibility.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/analyze-public-api-compatibility.js +0 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/analyze-public-api-compatibility.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/promote-public-api-baselines.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/promote-public-api-baselines.js +0 -38
- package/dist/capabilities/public-api-compatibility/application/use-cases/promote-public-api-baselines.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/contract/config.d.ts +1 -1
- package/dist/capabilities/public-api-compatibility/contract/config.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/contract/config.js +32 -106
- package/dist/capabilities/public-api-compatibility/contract/config.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-authority-workspace.js +1 -1
- package/dist/scaffolding/adapters/node/filesystem-authority-workspace.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-journal-state.js +1 -1
- package/dist/scaffolding/adapters/node/filesystem-journal.js +3 -3
- package/dist/scaffolding/adapters/node/filesystem-journal.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-operation-state.d.ts +4 -11
- package/dist/scaffolding/adapters/node/filesystem-operation-state.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-operation-state.js +0 -24
- package/dist/scaffolding/adapters/node/filesystem-operation-state.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-path-guard.d.ts +1 -1
- package/dist/scaffolding/adapters/node/filesystem-path-guard.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/node-authority-input-loader.js +7 -7
- package/dist/scaffolding/adapters/node/node-authority-input-loader.js.map +1 -1
- package/dist/scaffolding/adapters/node/node-authority-receipt-validator.js +1 -1
- package/dist/scaffolding/adapters/node/node-authority-receipt-validator.js.map +1 -1
- package/dist/scaffolding/contract/receipt-authority-types.d.ts +2 -2
- package/dist/scaffolding/contract/scaffold-contract.d.ts +8 -8
- package/dist/scaffolding/contract/types.d.ts +9 -214
- package/dist/scaffolding/contract/types.d.ts.map +1 -1
- package/dist/scaffolding/definitions/registry.d.ts +0 -1
- package/dist/scaffolding/definitions/registry.d.ts.map +1 -1
- package/dist/scaffolding/definitions/registry.js +0 -3
- package/dist/scaffolding/definitions/registry.js.map +1 -1
- package/dist/scaffolding/kernel/authority-compiler.js +2 -2
- package/dist/scaffolding/kernel/authority-receipt.js +3 -3
- package/dist/scaffolding/kernel/plan-validation.js +1 -1
- package/dist/schema-catalog.js +3 -3
- package/dist/schema-catalog.js.map +1 -1
- package/dist/schema-ids.d.ts +2 -5
- package/dist/schema-ids.d.ts.map +1 -1
- package/dist/schema-ids.js +4 -15
- package/dist/schema-ids.js.map +1 -1
- package/package.json +8 -13
- package/schemas/contract-protobuf-breaking-qualification/v1.schema.json +5 -1
- package/schemas/contract-protobuf-evolution/v1.schema.json +47 -15
- package/schemas/package-public-api-baseline/v1.schema.json +49 -12
- package/schemas/package-public-api-compatibility/v1.schema.json +46 -5
- package/schemas/{scaffold-authority-evidence.schema.json → scaffold-authority-evidence/v1.schema.json} +1 -1
- package/schemas/{scaffold-intent.schema.json → scaffold-intent/v1.schema.json} +1 -1
- package/schemas/{scaffold-plan.schema.json → scaffold-plan/v1.schema.json} +3 -3
- package/schemas/{scaffold-receipt.schema.json → scaffold-receipt/v1.schema.json} +3 -3
- package/schemas/{scaffold-recovery-journal.schema.json → scaffold-recovery-journal/v1.schema.json} +3 -3
- package/schemas/{scaffold-target-catalog.schema.json → scaffold-target-catalog/v1.schema.json} +2 -2
- package/schemas/{scaffolding-config.schema.json → scaffolding-config/v1.schema.json} +2 -2
- package/dist/scaffolding/adapters/memory/memory-workspace.d.ts +0 -9
- package/dist/scaffolding/adapters/memory/memory-workspace.d.ts.map +0 -1
- package/dist/scaffolding/adapters/memory/memory-workspace.js +0 -93
- package/dist/scaffolding/adapters/memory/memory-workspace.js.map +0 -1
- package/dist/scaffolding/adapters/node/filesystem-rendering-journal.d.ts +0 -6
- package/dist/scaffolding/adapters/node/filesystem-rendering-journal.d.ts.map +0 -1
- package/dist/scaffolding/adapters/node/filesystem-rendering-journal.js +0 -80
- package/dist/scaffolding/adapters/node/filesystem-rendering-journal.js.map +0 -1
- package/dist/scaffolding/adapters/node/filesystem-workspace.d.ts +0 -14
- package/dist/scaffolding/adapters/node/filesystem-workspace.d.ts.map +0 -1
- package/dist/scaffolding/adapters/node/filesystem-workspace.js +0 -207
- package/dist/scaffolding/adapters/node/filesystem-workspace.js.map +0 -1
- package/dist/scaffolding/adapters/node/node-input-loader.d.ts +0 -17
- package/dist/scaffolding/adapters/node/node-input-loader.d.ts.map +0 -1
- package/dist/scaffolding/adapters/node/node-input-loader.js +0 -107
- package/dist/scaffolding/adapters/node/node-input-loader.js.map +0 -1
- package/dist/scaffolding/adapters/node/node-receipt-validator.d.ts +0 -4
- package/dist/scaffolding/adapters/node/node-receipt-validator.d.ts.map +0 -1
- package/dist/scaffolding/adapters/node/node-receipt-validator.js +0 -10
- package/dist/scaffolding/adapters/node/node-receipt-validator.js.map +0 -1
- package/dist/scaffolding/adapters/node/node-rendering-plan-authority.d.ts +0 -3
- package/dist/scaffolding/adapters/node/node-rendering-plan-authority.d.ts.map +0 -1
- package/dist/scaffolding/adapters/node/node-rendering-plan-authority.js +0 -18
- package/dist/scaffolding/adapters/node/node-rendering-plan-authority.js.map +0 -1
- package/dist/scaffolding/internal-rendering-regression-api.d.ts +0 -8
- package/dist/scaffolding/internal-rendering-regression-api.d.ts.map +0 -1
- package/dist/scaffolding/internal-rendering-regression-api.js +0 -8
- package/dist/scaffolding/internal-rendering-regression-api.js.map +0 -1
- package/dist/scaffolding/kernel/receipt.d.ts +0 -35
- package/dist/scaffolding/kernel/receipt.d.ts.map +0 -1
- package/dist/scaffolding/kernel/receipt.js +0 -206
- package/dist/scaffolding/kernel/receipt.js.map +0 -1
- package/dist/scaffolding/kernel/rendering-plan-compiler.d.ts +0 -4
- package/dist/scaffolding/kernel/rendering-plan-compiler.d.ts.map +0 -1
- package/dist/scaffolding/kernel/rendering-plan-compiler.js +0 -43
- package/dist/scaffolding/kernel/rendering-plan-compiler.js.map +0 -1
- package/dist/scaffolding/kernel/rendering-plan-validation.d.ts +0 -3
- package/dist/scaffolding/kernel/rendering-plan-validation.d.ts.map +0 -1
- package/dist/scaffolding/kernel/rendering-plan-validation.js +0 -10
- package/dist/scaffolding/kernel/rendering-plan-validation.js.map +0 -1
- package/dist/scaffolding/service.d.ts +0 -8
- package/dist/scaffolding/service.d.ts.map +0 -1
- package/dist/scaffolding/service.js +0 -16
- package/dist/scaffolding/service.js.map +0 -1
- package/schemas/contract-protobuf-breaking-qualification/v2.schema.json +0 -93
- package/schemas/contract-protobuf-evolution/v2.schema.json +0 -147
- package/schemas/package-public-api-baseline/v2.schema.json +0 -62
- package/schemas/package-public-api-compatibility/v2.schema.json +0 -113
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-teams/engineering-foundation",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Versioned engineering policy, tooling, and conformance for Agent Teams repositories.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -29,33 +29,28 @@
|
|
|
29
29
|
"dist",
|
|
30
30
|
"presets",
|
|
31
31
|
"schemas/architecture-source-dependencies/v1.schema.json",
|
|
32
|
-
"schemas/architecture-source-dependencies/v2.schema.json",
|
|
33
32
|
"schemas/contract-json-schema-release-baseline/v1.schema.json",
|
|
34
33
|
"schemas/contract-json-schema-releases/v1.schema.json",
|
|
35
34
|
"schemas/contract-protobuf-breaking-qualification/v1.schema.json",
|
|
36
|
-
"schemas/contract-protobuf-breaking-qualification/v2.schema.json",
|
|
37
35
|
"schemas/contract-protobuf-evolution-baseline/v1.schema.json",
|
|
38
36
|
"schemas/contract-protobuf-evolution/v1.schema.json",
|
|
39
|
-
"schemas/contract-protobuf-evolution/v2.schema.json",
|
|
40
37
|
"schemas/documentation-local-references/v1.schema.json",
|
|
41
38
|
"schemas/foundation-check-report/v1.schema.json",
|
|
42
39
|
"schemas/foundation-config/v1.schema.json",
|
|
43
40
|
"schemas/governance-architecture-decision-baseline/v1.schema.json",
|
|
44
41
|
"schemas/governance-architecture-decisions/v1.schema.json",
|
|
45
42
|
"schemas/package-public-api-baseline/v1.schema.json",
|
|
46
|
-
"schemas/package-public-api-baseline/v2.schema.json",
|
|
47
43
|
"schemas/package-public-api-compatibility/v1.schema.json",
|
|
48
|
-
"schemas/package-public-api-compatibility/v2.schema.json",
|
|
49
44
|
"schemas/quality-suppression-governance/v1.schema.json",
|
|
50
45
|
"schemas/repository-agent-workflow/v1.schema.json",
|
|
51
46
|
"schemas/repository-security-baseline/v1.schema.json",
|
|
52
|
-
"schemas/scaffold-authority-evidence.schema.json",
|
|
53
|
-
"schemas/scaffold-intent.schema.json",
|
|
54
|
-
"schemas/scaffold-plan.schema.json",
|
|
55
|
-
"schemas/scaffold-receipt.schema.json",
|
|
56
|
-
"schemas/scaffold-recovery-journal.schema.json",
|
|
57
|
-
"schemas/scaffold-target-catalog.schema.json",
|
|
58
|
-
"schemas/scaffolding-config.schema.json",
|
|
47
|
+
"schemas/scaffold-authority-evidence/v1.schema.json",
|
|
48
|
+
"schemas/scaffold-intent/v1.schema.json",
|
|
49
|
+
"schemas/scaffold-plan/v1.schema.json",
|
|
50
|
+
"schemas/scaffold-receipt/v1.schema.json",
|
|
51
|
+
"schemas/scaffold-recovery-journal/v1.schema.json",
|
|
52
|
+
"schemas/scaffold-target-catalog/v1.schema.json",
|
|
53
|
+
"schemas/scaffolding-config/v1.schema.json",
|
|
59
54
|
"schemas/workspace-dependency-declarations/v1.schema.json",
|
|
60
55
|
"LICENSE",
|
|
61
56
|
"README.md"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schemas.agent-teams.ai/engineering-foundation/contract-protobuf-breaking-qualification/v1",
|
|
4
|
-
"title": "Buf FILE breaking qualification evidence",
|
|
4
|
+
"title": "Hardened Buf FILE breaking qualification evidence",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
7
7
|
"required": [
|
|
@@ -13,10 +13,12 @@
|
|
|
13
13
|
"bufVersion",
|
|
14
14
|
"modulePath",
|
|
15
15
|
"bufConfigPath",
|
|
16
|
+
"evidencePath",
|
|
16
17
|
"bufConfigDigest",
|
|
17
18
|
"baselineDescriptorImagePath",
|
|
18
19
|
"baselineDescriptorImageDigest",
|
|
19
20
|
"candidateDescriptorImageDigest",
|
|
21
|
+
"breakingPolicyConfigDigest",
|
|
20
22
|
"invocationDigest",
|
|
21
23
|
"result",
|
|
22
24
|
"evidenceDigest"
|
|
@@ -30,10 +32,12 @@
|
|
|
30
32
|
"bufVersion": { "type": "string", "minLength": 1, "maxLength": 80 },
|
|
31
33
|
"modulePath": { "$ref": "#/$defs/repositoryPath" },
|
|
32
34
|
"bufConfigPath": { "$ref": "#/$defs/repositoryPath" },
|
|
35
|
+
"evidencePath": { "$ref": "#/$defs/repositoryPath" },
|
|
33
36
|
"bufConfigDigest": { "$ref": "#/$defs/digest" },
|
|
34
37
|
"baselineDescriptorImagePath": { "$ref": "#/$defs/repositoryPath" },
|
|
35
38
|
"baselineDescriptorImageDigest": { "$ref": "#/$defs/digest" },
|
|
36
39
|
"candidateDescriptorImageDigest": { "$ref": "#/$defs/digest" },
|
|
40
|
+
"breakingPolicyConfigDigest": { "$ref": "#/$defs/digest" },
|
|
37
41
|
"invocationDigest": { "$ref": "#/$defs/digest" },
|
|
38
42
|
"result": {
|
|
39
43
|
"type": "object",
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schemas.agent-teams.ai/engineering-foundation/contract-protobuf-evolution/v1",
|
|
4
|
-
"title": "Protobuf contract evolution
|
|
4
|
+
"title": "Protobuf contract evolution with qualified Buf FILE evidence",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
7
|
-
"required": [
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"releasedBaselinePath",
|
|
10
|
+
"approvedBreakingChanges",
|
|
11
|
+
"qualification",
|
|
12
|
+
"current"
|
|
13
|
+
],
|
|
8
14
|
"properties": {
|
|
9
15
|
"schemaVersion": { "const": 1 },
|
|
10
16
|
"releasedBaselinePath": { "$ref": "#/$defs/releasedBaselinePath" },
|
|
@@ -15,6 +21,7 @@
|
|
|
15
21
|
"maxItems": 100,
|
|
16
22
|
"items": { "$ref": "#/$defs/breakingApproval" }
|
|
17
23
|
},
|
|
24
|
+
"qualification": { "$ref": "#/$defs/qualification" },
|
|
18
25
|
"current": { "$ref": "#/$defs/current" }
|
|
19
26
|
},
|
|
20
27
|
"$defs": {
|
|
@@ -26,6 +33,12 @@
|
|
|
26
33
|
"type": "string",
|
|
27
34
|
"pattern": "^[a-z][a-z0-9.-]{1,119}$"
|
|
28
35
|
},
|
|
36
|
+
"repositoryPath": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"minLength": 1,
|
|
39
|
+
"maxLength": 300,
|
|
40
|
+
"pattern": "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*//)[^\\u0000]+$"
|
|
41
|
+
},
|
|
29
42
|
"releasedBaselinePath": {
|
|
30
43
|
"type": "string",
|
|
31
44
|
"minLength": 1,
|
|
@@ -59,6 +72,37 @@
|
|
|
59
72
|
"version": { "type": "string", "minLength": 1, "maxLength": 240 }
|
|
60
73
|
}
|
|
61
74
|
},
|
|
75
|
+
"qualification": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"additionalProperties": false,
|
|
78
|
+
"required": [
|
|
79
|
+
"modulePath",
|
|
80
|
+
"bufConfigPath",
|
|
81
|
+
"releasedDescriptorImagePath",
|
|
82
|
+
"evidencePath"
|
|
83
|
+
],
|
|
84
|
+
"properties": {
|
|
85
|
+
"modulePath": { "$ref": "#/$defs/repositoryPath" },
|
|
86
|
+
"bufConfigPath": {
|
|
87
|
+
"allOf": [
|
|
88
|
+
{ "$ref": "#/$defs/repositoryPath" },
|
|
89
|
+
{ "type": "string", "pattern": "\\.ya?ml$" }
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"releasedDescriptorImagePath": {
|
|
93
|
+
"allOf": [
|
|
94
|
+
{ "$ref": "#/$defs/repositoryPath" },
|
|
95
|
+
{ "type": "string", "pattern": "^architecture/contracts/.+\\.binpb$" }
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"evidencePath": {
|
|
99
|
+
"allOf": [
|
|
100
|
+
{ "$ref": "#/$defs/repositoryPath" },
|
|
101
|
+
{ "type": "string", "pattern": "^architecture/evidence/protobuf/.+\\.json$" }
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
62
106
|
"current": {
|
|
63
107
|
"type": "object",
|
|
64
108
|
"additionalProperties": false,
|
|
@@ -69,10 +113,8 @@
|
|
|
69
113
|
"bufVersion",
|
|
70
114
|
"bufConfigDigest",
|
|
71
115
|
"descriptorImageDigest",
|
|
72
|
-
"releasedDescriptorImageDigest",
|
|
73
116
|
"generatorVersions",
|
|
74
|
-
"generationDrift"
|
|
75
|
-
"breaking"
|
|
117
|
+
"generationDrift"
|
|
76
118
|
],
|
|
77
119
|
"properties": {
|
|
78
120
|
"schemaVersion": { "const": 1 },
|
|
@@ -81,7 +123,6 @@
|
|
|
81
123
|
"bufVersion": { "type": "string", "minLength": 1, "maxLength": 80 },
|
|
82
124
|
"bufConfigDigest": { "$ref": "#/$defs/digest" },
|
|
83
125
|
"descriptorImageDigest": { "$ref": "#/$defs/digest" },
|
|
84
|
-
"releasedDescriptorImageDigest": { "$ref": "#/$defs/digest" },
|
|
85
126
|
"generatorVersions": {
|
|
86
127
|
"type": "array",
|
|
87
128
|
"maxItems": 100,
|
|
@@ -95,15 +136,6 @@
|
|
|
95
136
|
"expectedGeneratedOutputDigest": { "$ref": "#/$defs/digest" },
|
|
96
137
|
"observedGeneratedOutputDigest": { "$ref": "#/$defs/digest" }
|
|
97
138
|
}
|
|
98
|
-
},
|
|
99
|
-
"breaking": {
|
|
100
|
-
"type": "object",
|
|
101
|
-
"additionalProperties": false,
|
|
102
|
-
"required": ["status"],
|
|
103
|
-
"properties": {
|
|
104
|
-
"status": { "enum": ["compatible", "breaking", "not-run"] },
|
|
105
|
-
"fingerprint": { "$ref": "#/$defs/digest" }
|
|
106
|
-
}
|
|
107
139
|
}
|
|
108
140
|
}
|
|
109
141
|
},
|
|
@@ -8,8 +8,17 @@
|
|
|
8
8
|
"schemaVersion",
|
|
9
9
|
"packageName",
|
|
10
10
|
"packageVersion",
|
|
11
|
-
"extractorVersion"
|
|
12
|
-
|
|
11
|
+
"extractorVersion"
|
|
12
|
+
],
|
|
13
|
+
"oneOf": [
|
|
14
|
+
{
|
|
15
|
+
"required": ["entrypoints"],
|
|
16
|
+
"properties": { "entrypoints": {} }
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"required": ["items"],
|
|
20
|
+
"properties": { "items": {} }
|
|
21
|
+
}
|
|
13
22
|
],
|
|
14
23
|
"properties": {
|
|
15
24
|
"schemaVersion": { "const": 1 },
|
|
@@ -19,19 +28,47 @@
|
|
|
19
28
|
"pattern": "^(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)(?:-(?:(?:0|[1-9][0-9]*|[0-9]*[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9][0-9]*|[0-9]*[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$"
|
|
20
29
|
},
|
|
21
30
|
"extractorVersion": { "type": "string", "minLength": 1, "maxLength": 40 },
|
|
31
|
+
"entrypoints": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"minItems": 1,
|
|
34
|
+
"maxItems": 100,
|
|
35
|
+
"items": { "$ref": "#/$defs/entrypoint" }
|
|
36
|
+
},
|
|
22
37
|
"items": {
|
|
23
38
|
"type": "array",
|
|
24
39
|
"maxItems": 100000,
|
|
25
|
-
"items": {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
40
|
+
"items": { "$ref": "#/$defs/item" }
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"$defs": {
|
|
44
|
+
"exportPath": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"minLength": 1,
|
|
47
|
+
"maxLength": 300,
|
|
48
|
+
"pattern": "^(?:\\.|\\./[^\\\\/].*)$"
|
|
49
|
+
},
|
|
50
|
+
"item": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"additionalProperties": false,
|
|
53
|
+
"required": ["canonicalReference", "kind", "parentKind", "signature"],
|
|
54
|
+
"properties": {
|
|
55
|
+
"canonicalReference": { "type": "string", "minLength": 1, "maxLength": 1000 },
|
|
56
|
+
"kind": { "type": "string", "minLength": 1, "maxLength": 80 },
|
|
57
|
+
"parentReference": { "type": "string", "minLength": 1, "maxLength": 1000 },
|
|
58
|
+
"parentKind": { "type": "string", "minLength": 1, "maxLength": 80 },
|
|
59
|
+
"signature": { "type": "string", "maxLength": 10000 }
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"entrypoint": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"additionalProperties": false,
|
|
65
|
+
"required": ["exportPath", "items"],
|
|
66
|
+
"properties": {
|
|
67
|
+
"exportPath": { "$ref": "#/$defs/exportPath" },
|
|
68
|
+
"items": {
|
|
69
|
+
"type": "array",
|
|
70
|
+
"maxItems": 100000,
|
|
71
|
+
"items": { "$ref": "#/$defs/item" }
|
|
35
72
|
}
|
|
36
73
|
}
|
|
37
74
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"title": "Public API compatibility capability configuration",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
7
|
-
"required": ["schemaVersion", "changesetDirectory", "packages"],
|
|
7
|
+
"required": ["schemaVersion", "acceptedDecisionBaselinePath", "changesetDirectory", "packages"],
|
|
8
8
|
"properties": {
|
|
9
9
|
"schemaVersion": { "const": 1 },
|
|
10
10
|
"changesetDirectory": { "$ref": "#/$defs/repositoryPath" },
|
|
@@ -30,10 +30,37 @@
|
|
|
30
30
|
"maxLength": 214,
|
|
31
31
|
"pattern": "^(?:@[a-z0-9][a-z0-9._-]*/)?[a-z0-9][a-z0-9._-]*$"
|
|
32
32
|
},
|
|
33
|
+
"exportPath": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"minLength": 1,
|
|
36
|
+
"maxLength": 300,
|
|
37
|
+
"pattern": "^(?:\\.|\\./[^\\\\/].*)$"
|
|
38
|
+
},
|
|
33
39
|
"fingerprint": {
|
|
34
40
|
"type": "string",
|
|
35
41
|
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
36
42
|
},
|
|
43
|
+
"entrypoint": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"required": ["exportPath", "declarationEntryPoint"],
|
|
47
|
+
"properties": {
|
|
48
|
+
"exportPath": { "$ref": "#/$defs/exportPath" },
|
|
49
|
+
"declarationEntryPoint": { "$ref": "#/$defs/repositoryPath" }
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"nonTypeExportKind": {
|
|
53
|
+
"enum": ["data", "runtime", "wildcard"]
|
|
54
|
+
},
|
|
55
|
+
"nonTypeExport": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"additionalProperties": false,
|
|
58
|
+
"required": ["exportPath", "kind"],
|
|
59
|
+
"properties": {
|
|
60
|
+
"exportPath": { "$ref": "#/$defs/exportPath" },
|
|
61
|
+
"kind": { "$ref": "#/$defs/nonTypeExportKind" }
|
|
62
|
+
}
|
|
63
|
+
},
|
|
37
64
|
"package": {
|
|
38
65
|
"type": "object",
|
|
39
66
|
"additionalProperties": false,
|
|
@@ -41,7 +68,8 @@
|
|
|
41
68
|
"packageName",
|
|
42
69
|
"packageRoot",
|
|
43
70
|
"manifestPath",
|
|
44
|
-
"
|
|
71
|
+
"entrypoints",
|
|
72
|
+
"nonTypeExports",
|
|
45
73
|
"tsconfigPath",
|
|
46
74
|
"releasedBaselinePath",
|
|
47
75
|
"approvedBreakingChanges"
|
|
@@ -50,7 +78,17 @@
|
|
|
50
78
|
"packageName": { "$ref": "#/$defs/packageName" },
|
|
51
79
|
"packageRoot": { "$ref": "#/$defs/repositoryPath" },
|
|
52
80
|
"manifestPath": { "$ref": "#/$defs/repositoryPath" },
|
|
53
|
-
"
|
|
81
|
+
"entrypoints": {
|
|
82
|
+
"type": "array",
|
|
83
|
+
"minItems": 1,
|
|
84
|
+
"maxItems": 100,
|
|
85
|
+
"items": { "$ref": "#/$defs/entrypoint" }
|
|
86
|
+
},
|
|
87
|
+
"nonTypeExports": {
|
|
88
|
+
"type": "array",
|
|
89
|
+
"maxItems": 100,
|
|
90
|
+
"items": { "$ref": "#/$defs/nonTypeExport" }
|
|
91
|
+
},
|
|
54
92
|
"tsconfigPath": { "$ref": "#/$defs/repositoryPath" },
|
|
55
93
|
"releasedBaselinePath": { "$ref": "#/$defs/repositoryPath" },
|
|
56
94
|
"approvedBreakingChanges": {
|
|
@@ -59,10 +97,13 @@
|
|
|
59
97
|
"items": {
|
|
60
98
|
"type": "object",
|
|
61
99
|
"additionalProperties": false,
|
|
62
|
-
"required": ["fingerprint", "
|
|
100
|
+
"required": ["fingerprint", "decisionId"],
|
|
63
101
|
"properties": {
|
|
64
102
|
"fingerprint": { "$ref": "#/$defs/fingerprint" },
|
|
65
|
-
"
|
|
103
|
+
"decisionId": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"pattern": "^ADR-[0-9]{4}$"
|
|
106
|
+
}
|
|
66
107
|
}
|
|
67
108
|
}
|
|
68
109
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://agent-teams.ai/schemas/scaffold-authority-evidence",
|
|
3
|
+
"$id": "https://agent-teams.ai/schemas/scaffold-authority-evidence/v1",
|
|
4
4
|
"title": "Scaffold Authority Evidence",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://agent-teams.ai/schemas/scaffold-plan",
|
|
3
|
+
"$id": "https://agent-teams.ai/schemas/scaffold-plan/v1",
|
|
4
4
|
"title": "Scaffold Plan",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
7
7
|
"required": ["schemaVersion", "protocolVersion", "compiler", "projectId", "authority", "authorityEvidence", "intent", "intentDigest", "authoritySnapshotDigest", "composition", "definitions", "resolved", "target", "readSet", "requiredAdapterCapabilities", "operations", "diagnostics", "planDigest"],
|
|
8
8
|
"properties": {
|
|
9
|
-
"schemaVersion": { "const":
|
|
10
|
-
"protocolVersion": { "const":
|
|
9
|
+
"schemaVersion": { "const": 1 },
|
|
10
|
+
"protocolVersion": { "const": 1 },
|
|
11
11
|
"compiler": {
|
|
12
12
|
"type": "object",
|
|
13
13
|
"additionalProperties": false,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://agent-teams.ai/schemas/scaffold-receipt",
|
|
3
|
+
"$id": "https://agent-teams.ai/schemas/scaffold-receipt/v1",
|
|
4
4
|
"title": "Scaffold Receipt",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
7
7
|
"required": ["schemaVersion", "protocolVersion", "planDigest", "adapter", "outcome", "commit", "operations", "diagnostics", "receiptDigest"],
|
|
8
8
|
"properties": {
|
|
9
|
-
"schemaVersion": { "const":
|
|
10
|
-
"protocolVersion": { "const":
|
|
9
|
+
"schemaVersion": { "const": 1 },
|
|
10
|
+
"protocolVersion": { "const": 1 },
|
|
11
11
|
"planDigest": { "$ref": "#/$defs/digest" },
|
|
12
12
|
"adapter": { "$ref": "#/$defs/filesystemAdapter" },
|
|
13
13
|
"outcome": { "enum": ["already-applied", "applied", "authority-stale", "failed-recovered", "recovery-required", "rejected"] },
|
package/schemas/{scaffold-recovery-journal.schema.json → scaffold-recovery-journal/v1.schema.json}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://agent-teams.ai/schemas/scaffold-recovery-journal",
|
|
3
|
+
"$id": "https://agent-teams.ai/schemas/scaffold-recovery-journal/v1",
|
|
4
4
|
"title": "Scaffold Recovery Journal",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
7
7
|
"required": ["schemaVersion", "state", "plan", "operations"],
|
|
8
8
|
"properties": {
|
|
9
|
-
"schemaVersion": { "const":
|
|
9
|
+
"schemaVersion": { "const": 1 },
|
|
10
10
|
"state": { "const": "PREPARED" },
|
|
11
|
-
"plan": { "$ref": "https://agent-teams.ai/schemas/scaffold-plan" },
|
|
11
|
+
"plan": { "$ref": "https://agent-teams.ai/schemas/scaffold-plan/v1" },
|
|
12
12
|
"operations": {
|
|
13
13
|
"type": "array",
|
|
14
14
|
"minItems": 1,
|
package/schemas/{scaffold-target-catalog.schema.json → scaffold-target-catalog/v1.schema.json}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://agent-teams.ai/schemas/scaffold-target-catalog",
|
|
3
|
+
"$id": "https://agent-teams.ai/schemas/scaffold-target-catalog/v1",
|
|
4
4
|
"title": "Scaffold Target Catalog",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
7
7
|
"required": ["version", "packages"],
|
|
8
8
|
"properties": {
|
|
9
|
-
"version": { "const":
|
|
9
|
+
"version": { "const": 1 },
|
|
10
10
|
"packages": {
|
|
11
11
|
"type": "array",
|
|
12
12
|
"maxItems": 4096,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://agent-teams.ai/schemas/scaffolding-config",
|
|
3
|
+
"$id": "https://agent-teams.ai/schemas/scaffolding-config/v1",
|
|
4
4
|
"title": "Scaffolding Configuration",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
7
7
|
"required": ["schemaVersion", "projectId", "targetCatalogPath", "compositions"],
|
|
8
8
|
"properties": {
|
|
9
|
-
"schemaVersion": { "const":
|
|
9
|
+
"schemaVersion": { "const": 1 },
|
|
10
10
|
"projectId": { "$ref": "#/$defs/id" },
|
|
11
11
|
"targetCatalogPath": { "$ref": "#/$defs/repositoryPath" },
|
|
12
12
|
"compositions": {
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ScaffoldPlanV1, ScaffoldReceiptV1 } from "../../contract/types.js";
|
|
2
|
-
export declare class MemoryScaffoldWorkspace {
|
|
3
|
-
#private;
|
|
4
|
-
constructor(files?: Readonly<Record<string, string | Uint8Array>>);
|
|
5
|
-
read(path: string): Uint8Array | undefined;
|
|
6
|
-
entries(): Readonly<Record<string, Uint8Array>>;
|
|
7
|
-
apply(plan: ScaffoldPlanV1): Promise<ScaffoldReceiptV1>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=memory-workspace.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"memory-workspace.d.ts","sourceRoot":"","sources":["../../../../src/scaffolding/adapters/memory/memory-workspace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,cAAc,EACd,iBAAiB,EAClB,MAAM,yBAAyB,CAAC;AAMjC,qBAAa,uBAAuB;;IAGlC,YAAY,KAAK,GAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC,CAAM,EASpE;IAED,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAGzC;IAED,OAAO,IAAI,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAM9C;IAEK,KAAK,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,CA0E5D;CACF"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { sha256Bytes } from "../../kernel/canonical-json.js";
|
|
2
|
-
import { assertScaffoldPlanDigest } from "../../kernel/rendering-plan-validation.js";
|
|
3
|
-
import { createScaffoldReceipt } from "../../kernel/receipt.js";
|
|
4
|
-
import { assertSchema } from "../../../schema-catalog.js";
|
|
5
|
-
export class MemoryScaffoldWorkspace {
|
|
6
|
-
#files;
|
|
7
|
-
constructor(files = {}) {
|
|
8
|
-
this.#files = new Map(Object.entries(files).map(([path, content]) => [
|
|
9
|
-
path,
|
|
10
|
-
typeof content === "string"
|
|
11
|
-
? Buffer.from(content, "utf8")
|
|
12
|
-
: Uint8Array.from(content)
|
|
13
|
-
]));
|
|
14
|
-
}
|
|
15
|
-
read(path) {
|
|
16
|
-
const value = this.#files.get(path);
|
|
17
|
-
return value === undefined ? undefined : Uint8Array.from(value);
|
|
18
|
-
}
|
|
19
|
-
entries() {
|
|
20
|
-
return Object.fromEntries([...this.#files.entries()]
|
|
21
|
-
.toSorted(([left], [right]) => (left < right ? -1 : left > right ? 1 : 0))
|
|
22
|
-
.map(([path, content]) => [path, Uint8Array.from(content)]));
|
|
23
|
-
}
|
|
24
|
-
async apply(plan) {
|
|
25
|
-
await assertSchema("scaffold-plan/v1", plan, "scaffold-memory-apply-plan");
|
|
26
|
-
assertScaffoldPlanDigest(plan);
|
|
27
|
-
const diagnostics = [];
|
|
28
|
-
const classifications = plan.operations.map((operation) => {
|
|
29
|
-
const current = this.#files.get(operation.path);
|
|
30
|
-
if (current === undefined) {
|
|
31
|
-
return { operation, state: "absent" };
|
|
32
|
-
}
|
|
33
|
-
if (sha256Bytes(current) === operation.after.digest) {
|
|
34
|
-
return { operation, state: "after" };
|
|
35
|
-
}
|
|
36
|
-
diagnostics.push({
|
|
37
|
-
ruleId: "scaffolding.apply.precondition-conflict",
|
|
38
|
-
severity: "error",
|
|
39
|
-
phase: "apply",
|
|
40
|
-
subject: operation.path,
|
|
41
|
-
message: "Workspace content matches neither the Plan precondition nor its desired result.",
|
|
42
|
-
remediation: "Create a new Intent and Plan from the current workspace state."
|
|
43
|
-
});
|
|
44
|
-
return { operation, state: "conflict" };
|
|
45
|
-
});
|
|
46
|
-
if (classifications.some(({ state }) => state === "conflict")) {
|
|
47
|
-
return createScaffoldReceipt({
|
|
48
|
-
plan,
|
|
49
|
-
adapterId: "foundation.memory/v1",
|
|
50
|
-
outcome: "rejected",
|
|
51
|
-
commitState: "rejected",
|
|
52
|
-
atomicity: "memory-atomic",
|
|
53
|
-
operations: classifications.map(({ operation, state }) => ({
|
|
54
|
-
operationId: operation.id,
|
|
55
|
-
path: operation.path,
|
|
56
|
-
outcome: state === "conflict"
|
|
57
|
-
? "conflict"
|
|
58
|
-
: state === "after"
|
|
59
|
-
? "already-satisfied"
|
|
60
|
-
: "not-applied",
|
|
61
|
-
...(state === "after" ? { resultDigest: operation.after.digest } : {})
|
|
62
|
-
})),
|
|
63
|
-
diagnostics
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
const next = new Map(this.#files);
|
|
67
|
-
const receipts = classifications.map(({ operation, state }) => {
|
|
68
|
-
if (state === "absent") {
|
|
69
|
-
next.set(operation.path, Buffer.from(operation.after.contentBase64, "base64"));
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
operationId: operation.id,
|
|
73
|
-
path: operation.path,
|
|
74
|
-
outcome: state === "absent" ? "applied" : "already-satisfied",
|
|
75
|
-
resultDigest: operation.after.digest
|
|
76
|
-
};
|
|
77
|
-
});
|
|
78
|
-
this.#files.clear();
|
|
79
|
-
for (const [path, content] of next) {
|
|
80
|
-
this.#files.set(path, content);
|
|
81
|
-
}
|
|
82
|
-
const changed = classifications.some(({ state }) => state === "absent");
|
|
83
|
-
return createScaffoldReceipt({
|
|
84
|
-
plan,
|
|
85
|
-
adapterId: "foundation.memory/v1",
|
|
86
|
-
outcome: changed ? "applied" : "already-applied",
|
|
87
|
-
commitState: "committed",
|
|
88
|
-
atomicity: "memory-atomic",
|
|
89
|
-
operations: receipts
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
//# sourceMappingURL=memory-workspace.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,CAAC,SAAS,CAAC,CAAC,CAAC,mBAAmB;gBAC7D,YAAY,EAAE,SAAS,CAAC,KAAK,CAAC,MAAM;aACrC,CAAC;QACJ,CAAC,CACF,CAAC;QACF,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;QACpB,KAAK,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC;YACnC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACjC,CAAC;QACD,MAAM,OAAO,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC;QACxE,OAAO,qBAAqB,CAAC;YAC3B,IAAI;YACJ,SAAS,EAAE,sBAAsB;YACjC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,iBAAiB;YAChD,WAAW,EAAE,WAAW;YACxB,SAAS,EAAE,eAAe;YAC1B,UAAU,EAAE,QAAQ;SACrB,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ScaffoldPlanV1 } from "../../contract/types.js";
|
|
2
|
-
export declare const SCAFFOLD_JOURNAL_FILE = "scaffolding-transaction.json";
|
|
3
|
-
export declare function writeScaffoldJournal(path: string, plan: ScaffoldPlanV1): Promise<void>;
|
|
4
|
-
export declare function readScaffoldJournal(path: string): Promise<ScaffoldPlanV1 | undefined>;
|
|
5
|
-
export declare function removeScaffoldJournal(path: string, faultInjector?: () => Promise<void> | void): Promise<void>;
|
|
6
|
-
//# sourceMappingURL=filesystem-rendering-journal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filesystem-rendering-journal.d.ts","sourceRoot":"","sources":["../../../../src/scaffolding/adapters/node/filesystem-rendering-journal.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAS9D,eAAO,MAAM,qBAAqB,iCAAiC,CAAC;AAUpE,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,IAAI,CAAC,CAuBf;AAED,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAiDrC;AAED,wBAAsB,qBAAqB,CACzC,IAAI,EAAE,MAAM,EACZ,aAAa,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,GACzC,OAAO,CAAC,IAAI,CAAC,CAIf"}
|