@aifabrix/builder 2.59.0 → 2.61.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.
- package/README.md +14 -11
- package/docs/README.md +80 -0
- package/docs/builder-help/evidence-patterns.json +155 -0
- package/docs/builder-help/golden-examples/crm-company.json +30 -0
- package/docs/builder-help/golden-examples/crm-deal.json +29 -0
- package/docs/builder-help/golden-examples/document-storage-keyed-get.json +85 -0
- package/docs/builder-help/golden-examples/document-storage.json +30 -0
- package/docs/builder-help/golden-examples/meeting-transcript.json +29 -0
- package/docs/builder-help/golden-examples/repository-template.json +29 -0
- package/docs/builder-help/golden-examples/service-ticket.json +29 -0
- package/docs/builder-help/platform-roles.json +98 -0
- package/docs/builder-help/resource-type-catalog.json +402 -0
- package/lib/agent-kit/git-identity.js +180 -0
- package/lib/agent-kit/setup.js +3 -0
- package/lib/agent-kit/start.js +45 -1
- package/lib/api/configuration.api.js +131 -0
- package/lib/api/role-assistant-test-job.api.js +60 -0
- package/lib/api/system-secrets.api.js +72 -0
- package/lib/api/work-search.api.js +13 -6
- package/lib/app/deploy.js +8 -1
- package/lib/app/run-docker-fallback.js +6 -1
- package/lib/app/run-helpers.js +2 -1
- package/lib/app/run-parameter-sync.js +142 -0
- package/lib/app/show-display.js +1 -0
- package/lib/app/show-online.js +15 -0
- package/lib/build/docker-build-args.js +5 -2
- package/lib/build/index.js +3 -2
- package/lib/build/standard-docker-build.js +6 -3
- package/lib/cli/setup-app.js +19 -1
- package/lib/cli/setup-environment.js +156 -0
- package/lib/cli/setup-utility.js +24 -1
- package/lib/commands/datasource-capability-upsert-cli.js +112 -0
- package/lib/commands/datasource-capability.js +4 -2
- package/lib/commands/env-secret-context.js +113 -0
- package/lib/commands/env-secret-list.js +200 -0
- package/lib/commands/env-secret-push-confirm.js +54 -0
- package/lib/commands/env-secret-push-run.js +227 -0
- package/lib/commands/env-secret-push.js +168 -0
- package/lib/commands/repair-datasource-apply.js +2 -0
- package/lib/commands/repair-datasource-keyed-document.js +122 -0
- package/lib/commands/repair-datasource-run.js +1 -0
- package/lib/commands/role-assistant.js +7 -0
- package/lib/commands/setup-modes.js +1 -8
- package/lib/commands/setup-prompts.js +2 -180
- package/lib/commands/verify-operations-skip-e2e.js +25 -1
- package/lib/commands/verify-operations-steps.js +13 -1
- package/lib/commands/wizard-config-normalizer.js +7 -4
- package/lib/commands/wizard-core.js +5 -157
- package/lib/commands/wizard-file-saving.js +163 -0
- package/lib/core/env-platform-expand.js +97 -0
- package/lib/core/secrets-env-content.js +42 -4
- package/lib/core/secrets-env-write.js +10 -3
- package/lib/core/secrets-load.js +4 -2
- package/lib/datasource/binary-documents-validator.js +190 -0
- package/lib/datasource/capability/run-capability-upsert.js +202 -0
- package/lib/datasource/capability/upsert-ingredients.js +291 -0
- package/lib/datasource/capability/upsert-operations.js +138 -0
- package/lib/datasource/capability/upsert-test-scaffold.js +189 -0
- package/lib/datasource/validate.js +12 -5
- package/lib/deployment/installation/azure-infra-stage.js +3 -1
- package/lib/deployment/installation/infra-catalog.js +2 -5
- package/lib/generator/builders.js +17 -0
- package/lib/generator/helpers.js +23 -2
- package/lib/generator/index.js +13 -6
- package/lib/lifecycle/product-model.js +4 -3
- package/lib/lifecycle/report-display.js +3 -2
- package/lib/parameters/infra-parameter-catalog.js +1 -1
- package/lib/programmatic/builder-help-enterprise-sync-fabrix.js +1 -1
- package/lib/programmatic/builder-help-governance.js +1 -1
- package/lib/programmatic/builder-help.js +1 -1
- package/lib/role-assistant/test-cases-search.js +3 -0
- package/lib/role-assistant/test-job-runner.js +125 -0
- package/lib/role-assistant/test-runner-search.js +44 -2
- package/lib/role-assistant/test-runner-workhub-answers.js +4 -1
- package/lib/role-assistant/test-runner-workhub-missing-fields.js +42 -0
- package/lib/role-assistant/test-runner-workhub-wait-stop.js +94 -0
- package/lib/role-assistant/test-runner-workhub.js +28 -19
- package/lib/schema/application-schema.json +205 -2
- package/lib/schema/external-datasource.schema.json +23 -3
- package/lib/schema/infra-parameter.schema.json +139 -33
- package/lib/schema/infra.parameter.yaml +416 -66
- package/lib/schema/infrastructure-schema.json +10 -35
- package/lib/utils/compose-generate-docker-compose.js +16 -9
- package/lib/utils/datasource-binary-evidence.js +92 -0
- package/lib/utils/datasource-test-run-capability-scope.js +44 -1
- package/lib/utils/datasource-test-run-debug-display.js +2 -0
- package/lib/utils/datasource-test-run-display.js +8 -2
- package/lib/utils/datasource-test-run-issue-guidance.js +176 -0
- package/lib/utils/datasource-test-run-tty-log.js +2 -0
- package/lib/utils/docker-build.js +29 -8
- package/lib/utils/docker-manifest-public-port.js +36 -0
- package/lib/utils/env-copy.js +11 -10
- package/lib/utils/external-system-system-test-tty.js +3 -2
- package/lib/utils/image-tags.js +2 -2
- package/lib/utils/platform-kv-ref.js +1 -1
- package/lib/utils/platform-resolution.js +226 -0
- package/lib/utils/prepare-local-data-mount.js +58 -0
- package/lib/utils/resolve-docker-image-ref.js +8 -3
- package/lib/utils/secrets-helpers.js +0 -1
- package/lib/utils/system-secret-mapping.js +125 -0
- package/lib/utils/test-log-writer.js +2 -1
- package/lib/validation/external-manifest-validator.js +5 -0
- package/lib/validation/openapi-contract-surface-validator.js +3 -1
- package/lib/validation/validate-external-file.js +5 -1
- package/package.json +5 -4
- package/templates/README.md +2 -1
- package/templates/agent-kit/agent-kit.yaml +4 -1
- package/templates/agent-kit/instructions/AGENTKIT.md +1 -1
- package/templates/agent-kit/instructions/root.AGENTS.md +2 -0
- package/templates/agent-kit/skills/aifabrix-connected-system/SKILL.md +35 -2
- package/templates/agent-kit/skills/aifabrix-connected-system/references/delivery-gates.md +15 -0
- package/templates/agent-kit/skills/aifabrix-connected-system/scripts/delivery-verdict.js +176 -0
- package/templates/agent-kit/skills/aifabrix-plan/SKILL.md +6 -2
- package/templates/agent-kit/skills/aifabrix-prove/SKILL.md +28 -2
- package/templates/agent-kit/skills/aifabrix-prove/references/evidence-lifecycle.md +22 -0
- package/templates/agent-kit/skills/aifabrix-role-assistant/SKILL.md +28 -1
- package/templates/agent-kit/skills/aifabrix-role-assistant/references/testing-playbook.md +117 -0
- package/templates/agent-kit/skills/shared/feedback.md +31 -0
- package/templates/agent-kit/skills/shared/hosts.md +13 -3
- package/templates/agent-kit/skills/shared/interaction.md +83 -0
- package/templates/agent-kit/skills/shared/status.md +76 -0
- package/templates/agent-kit/workspace/BUILDER_IMPROVEMENT_FINDINGS.md +27 -0
- package/templates/applications/builder-api/application.yaml +1 -1
- package/templates/applications/builder-api/env.template +5 -1
- package/templates/applications/dataplane/application.yaml +30 -2
- package/templates/applications/dataplane/env.template +36 -5
- package/templates/applications/keycloak/application.yaml +6 -1
- package/templates/applications/miso-controller/application.yaml +96 -1
- package/templates/applications/miso-controller/env.template +63 -37
- package/templates/applications/miso-controller/rbac.yaml +17 -0
- package/templates/external-system/external-datasource.yaml.hbs +7 -1
- package/templates/marketplace/main.json +73 -225
- package/templates/python/Dockerfile.hbs +2 -0
- package/templates/python/docker-compose.hbs +1 -1
- package/templates/typescript/Dockerfile.hbs +2 -0
- package/templates/typescript/docker-compose.hbs +12 -0
- package/templates/agent-kit/skills/aifabrix-plan/references/interaction.md +0 -34
- /package/{lib/programmatic/help-content → docs/builder-help/content}/channel-onboarding.md +0 -0
- /package/{lib/programmatic/help-content → docs/builder-help/content}/cip-overview.md +0 -0
- /package/{lib/programmatic/help-content → docs/builder-help/content}/connected-system-ui.md +0 -0
- /package/{lib/programmatic/help-content → docs/builder-help/content}/dimensions-guide.md +0 -0
- /package/{lib/programmatic/help-content → docs/builder-help/content}/enterprise-sync-fabrix.md +0 -0
- /package/{lib/programmatic/help-content → docs/builder-help/content}/overview.md +0 -0
- /package/{lib/programmatic/help-content → docs/builder-help/content}/subscription-guide.md +0 -0
- /package/{lib/programmatic/help-content → docs/builder-help/content}/workflow.md +0 -0
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
"$id": "aifabrix://schema/infra-parameter.schema.json",
|
|
4
4
|
"title": "Infra parameter catalog",
|
|
5
5
|
"type": "object",
|
|
6
|
-
"required": [
|
|
6
|
+
"required": [
|
|
7
|
+
"version",
|
|
8
|
+
"parameters"
|
|
9
|
+
],
|
|
7
10
|
"additionalProperties": false,
|
|
8
11
|
"properties": {
|
|
9
12
|
"version": {
|
|
@@ -12,7 +15,10 @@
|
|
|
12
15
|
},
|
|
13
16
|
"standardUpInfraEnsureKeys": {
|
|
14
17
|
"type": "array",
|
|
15
|
-
"items": {
|
|
18
|
+
"items": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"minLength": 1
|
|
21
|
+
},
|
|
16
22
|
"description": "Extra keys always merged on up-infra (e.g. default miso-controller DB pair when no workspace template lists them)."
|
|
17
23
|
},
|
|
18
24
|
"defaults": {
|
|
@@ -20,28 +26,47 @@
|
|
|
20
26
|
"additionalProperties": false,
|
|
21
27
|
"description": "Default values for {{adminPassword}}, {{adminEmail}}, {{userPassword}} in literal generator values; overridden by aifabrix up-infra flags.",
|
|
22
28
|
"properties": {
|
|
23
|
-
"adminEmail": {
|
|
24
|
-
|
|
25
|
-
|
|
29
|
+
"adminEmail": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"adminPassword": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"userPassword": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
}
|
|
26
38
|
}
|
|
27
39
|
},
|
|
28
40
|
"parameters": {
|
|
29
41
|
"type": "array",
|
|
30
|
-
"items": {
|
|
42
|
+
"items": {
|
|
43
|
+
"$ref": "#/definitions/parameterEntry"
|
|
44
|
+
}
|
|
31
45
|
}
|
|
32
46
|
},
|
|
33
47
|
"definitions": {
|
|
34
48
|
"ensureOnEnum": {
|
|
35
49
|
"type": "string",
|
|
36
|
-
"enum": [
|
|
50
|
+
"enum": [
|
|
51
|
+
"upInfra",
|
|
52
|
+
"resolveApp",
|
|
53
|
+
"appRegister"
|
|
54
|
+
]
|
|
37
55
|
},
|
|
38
56
|
"scopeEnum": {
|
|
39
57
|
"type": "string",
|
|
40
|
-
"enum": [
|
|
58
|
+
"enum": [
|
|
59
|
+
"infra",
|
|
60
|
+
"app",
|
|
61
|
+
"shared-service",
|
|
62
|
+
"system"
|
|
63
|
+
]
|
|
41
64
|
},
|
|
42
65
|
"generator": {
|
|
43
66
|
"type": "object",
|
|
44
|
-
"required": [
|
|
67
|
+
"required": [
|
|
68
|
+
"type"
|
|
69
|
+
],
|
|
45
70
|
"additionalProperties": false,
|
|
46
71
|
"properties": {
|
|
47
72
|
"type": {
|
|
@@ -67,17 +92,47 @@
|
|
|
67
92
|
"maximum": 512,
|
|
68
93
|
"description": "For randomAlphanumeric: character count (default 32). For password: default 8. Charset [a-zA-Z0-9]."
|
|
69
94
|
},
|
|
70
|
-
"pairId": {
|
|
71
|
-
|
|
95
|
+
"pairId": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"minLength": 1
|
|
98
|
+
},
|
|
99
|
+
"part": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"enum": [
|
|
102
|
+
"private",
|
|
103
|
+
"public"
|
|
104
|
+
]
|
|
105
|
+
}
|
|
72
106
|
},
|
|
73
107
|
"allOf": [
|
|
74
108
|
{
|
|
75
|
-
"if": {
|
|
76
|
-
|
|
109
|
+
"if": {
|
|
110
|
+
"properties": {
|
|
111
|
+
"type": {
|
|
112
|
+
"const": "literal"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"then": {
|
|
117
|
+
"required": [
|
|
118
|
+
"value"
|
|
119
|
+
]
|
|
120
|
+
}
|
|
77
121
|
},
|
|
78
122
|
{
|
|
79
|
-
"if": {
|
|
80
|
-
|
|
123
|
+
"if": {
|
|
124
|
+
"properties": {
|
|
125
|
+
"type": {
|
|
126
|
+
"const": "rsaKeyPair"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"then": {
|
|
131
|
+
"required": [
|
|
132
|
+
"pairId",
|
|
133
|
+
"part"
|
|
134
|
+
]
|
|
135
|
+
}
|
|
81
136
|
}
|
|
82
137
|
]
|
|
83
138
|
},
|
|
@@ -85,19 +140,32 @@
|
|
|
85
140
|
"type": "object",
|
|
86
141
|
"additionalProperties": false,
|
|
87
142
|
"properties": {
|
|
88
|
-
"vaultSecretName": {
|
|
89
|
-
|
|
143
|
+
"vaultSecretName": {
|
|
144
|
+
"type": "string"
|
|
145
|
+
},
|
|
146
|
+
"vaultSecretNamePattern": {
|
|
147
|
+
"type": "string"
|
|
148
|
+
},
|
|
90
149
|
"legacyVaultSecretNames": {
|
|
91
150
|
"type": "array",
|
|
92
|
-
"items": {
|
|
151
|
+
"items": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"minLength": 1
|
|
154
|
+
},
|
|
93
155
|
"uniqueItems": true
|
|
94
156
|
},
|
|
95
|
-
"notes": {
|
|
157
|
+
"notes": {
|
|
158
|
+
"type": "string"
|
|
159
|
+
}
|
|
96
160
|
}
|
|
97
161
|
},
|
|
98
162
|
"parameterEntry": {
|
|
99
163
|
"type": "object",
|
|
100
|
-
"required": [
|
|
164
|
+
"required": [
|
|
165
|
+
"scope",
|
|
166
|
+
"generator",
|
|
167
|
+
"ensureOn"
|
|
168
|
+
],
|
|
101
169
|
"additionalProperties": false,
|
|
102
170
|
"properties": {
|
|
103
171
|
"key": {
|
|
@@ -108,8 +176,13 @@
|
|
|
108
176
|
"type": "string",
|
|
109
177
|
"minLength": 1
|
|
110
178
|
},
|
|
111
|
-
"category": {
|
|
112
|
-
|
|
179
|
+
"category": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"minLength": 1
|
|
182
|
+
},
|
|
183
|
+
"sensitive": {
|
|
184
|
+
"type": "boolean"
|
|
185
|
+
},
|
|
113
186
|
"valueSource": {
|
|
114
187
|
"type": "string",
|
|
115
188
|
"enum": [
|
|
@@ -120,31 +193,64 @@
|
|
|
120
193
|
"optionalInput"
|
|
121
194
|
]
|
|
122
195
|
},
|
|
123
|
-
"requiredOnSystemOnboarding": {
|
|
124
|
-
|
|
196
|
+
"requiredOnSystemOnboarding": {
|
|
197
|
+
"type": "boolean"
|
|
198
|
+
},
|
|
199
|
+
"ownerAppKey": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"minLength": 1
|
|
202
|
+
},
|
|
125
203
|
"sharedWithAppKeys": {
|
|
126
204
|
"type": "array",
|
|
127
|
-
"items": {
|
|
205
|
+
"items": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"minLength": 1
|
|
208
|
+
},
|
|
128
209
|
"minItems": 1,
|
|
129
210
|
"uniqueItems": true,
|
|
130
211
|
"description": "Named applications, other than ownerAppKey, that may read this value."
|
|
131
212
|
},
|
|
132
|
-
"
|
|
133
|
-
|
|
213
|
+
"visibility": {
|
|
214
|
+
"type": "array",
|
|
215
|
+
"items": {
|
|
216
|
+
"type": "string"
|
|
217
|
+
},
|
|
218
|
+
"description": "App keys allowed to read this parameter. Canonical field in the Miso catalog that lib/schema/infra.parameter.yaml mirrors; sharedWithAppKeys is the older Builder spelling."
|
|
219
|
+
},
|
|
220
|
+
"scope": {
|
|
221
|
+
"$ref": "#/definitions/scopeEnum"
|
|
222
|
+
},
|
|
223
|
+
"generator": {
|
|
224
|
+
"$ref": "#/definitions/generator"
|
|
225
|
+
},
|
|
134
226
|
"ensureOn": {
|
|
135
227
|
"type": "array",
|
|
136
228
|
"minItems": 1,
|
|
137
|
-
"items": {
|
|
229
|
+
"items": {
|
|
230
|
+
"$ref": "#/definitions/ensureOnEnum"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"requiredForLocal": {
|
|
234
|
+
"type": "boolean"
|
|
235
|
+
},
|
|
236
|
+
"azure": {
|
|
237
|
+
"$ref": "#/definitions/azureBlock"
|
|
138
238
|
},
|
|
139
|
-
"
|
|
140
|
-
|
|
141
|
-
|
|
239
|
+
"notes": {
|
|
240
|
+
"type": "string"
|
|
241
|
+
}
|
|
142
242
|
},
|
|
143
243
|
"allOf": [
|
|
144
244
|
{
|
|
145
245
|
"if": {
|
|
146
|
-
"required": [
|
|
147
|
-
|
|
246
|
+
"required": [
|
|
247
|
+
"scope"
|
|
248
|
+
],
|
|
249
|
+
"properties": {
|
|
250
|
+
"scope": {
|
|
251
|
+
"const": "system"
|
|
252
|
+
}
|
|
253
|
+
}
|
|
148
254
|
},
|
|
149
255
|
"then": {
|
|
150
256
|
"required": [
|