@aifabrix/builder 2.59.0 → 2.60.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/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/role-assistant-test-job.api.js +60 -0
- package/lib/api/work-search.api.js +13 -6
- package/lib/app/deploy.js +8 -1
- package/lib/app/show-display.js +1 -0
- package/lib/app/show-online.js +15 -0
- package/lib/build/standard-docker-build.js +4 -1
- package/lib/cli/setup-app.js +14 -1
- package/lib/cli/setup-utility.js +24 -1
- package/lib/commands/role-assistant.js +7 -0
- package/lib/core/env-platform-expand.js +93 -0
- package/lib/core/secrets-env-content.js +37 -3
- 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 +10 -6
- 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/schema/application-schema.json +193 -2
- package/lib/schema/infra-parameter.schema.json +139 -33
- package/lib/schema/infra.parameter.yaml +28 -28
- package/lib/schema/infrastructure-schema.json +10 -35
- package/lib/utils/compose-generate-docker-compose.js +12 -0
- package/lib/utils/docker-build.js +29 -8
- package/lib/utils/docker-manifest-public-port.js +36 -0
- package/lib/utils/platform-resolution.js +226 -0
- package/lib/utils/resolve-docker-image-ref.js +8 -3
- package/package.json +2 -2
- 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 +33 -1
- package/templates/agent-kit/skills/aifabrix-connected-system/scripts/delivery-verdict.js +176 -0
- package/templates/agent-kit/skills/aifabrix-plan/SKILL.md +3 -0
- package/templates/agent-kit/skills/aifabrix-plan/references/interaction.md +10 -3
- package/templates/agent-kit/skills/aifabrix-prove/SKILL.md +22 -0
- package/templates/agent-kit/skills/aifabrix-role-assistant/SKILL.md +21 -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/status.md +85 -0
- package/templates/agent-kit/workspace/BUILDER_IMPROVEMENT_FINDINGS.md +27 -0
- package/templates/applications/builder-api/application.yaml +1 -1
- package/templates/applications/dataplane/application.yaml +30 -2
- package/templates/applications/dataplane/env.template +37 -4
- package/templates/applications/miso-controller/application.yaml +24 -1
- package/templates/applications/miso-controller/env.template +21 -34
- package/templates/marketplace/main.json +70 -222
- package/templates/python/Dockerfile.hbs +2 -0
- package/templates/typescript/Dockerfile.hbs +2 -0
- package/templates/typescript/docker-compose.hbs +12 -0
|
@@ -98,6 +98,10 @@ services:
|
|
|
98
98
|
{{/if}}
|
|
99
99
|
ports:
|
|
100
100
|
- "{{hostPort}}:{{containerPort}}"
|
|
101
|
+
{{#each additionalPorts}}
|
|
102
|
+
# {{this.name}}
|
|
103
|
+
- "{{this.hostPort}}:{{this.containerPort}}"
|
|
104
|
+
{{/each}}
|
|
101
105
|
networks:
|
|
102
106
|
- {{networkName}}
|
|
103
107
|
{{#if devMountPath}}
|
|
@@ -110,7 +114,9 @@ services:
|
|
|
110
114
|
- {{#if (eq devId 0)}}aifabrix_{{app.key}}_data{{else}}aifabrix_dev{{devId}}_{{app.key}}_data{{/if}}:/mnt/data
|
|
111
115
|
{{/if}}
|
|
112
116
|
{{/if}}
|
|
117
|
+
{{#unless runAsRoot}}
|
|
113
118
|
user: "${AIFABRIX_UID:-1000}:${AIFABRIX_GID:-1000}"
|
|
119
|
+
{{/unless}}
|
|
114
120
|
{{else}}
|
|
115
121
|
{{#if requiresStorage}}
|
|
116
122
|
volumes:
|
|
@@ -120,7 +126,9 @@ services:
|
|
|
120
126
|
- {{#if (eq devId 0)}}aifabrix_{{app.key}}_data{{else}}aifabrix_dev{{devId}}_{{app.key}}_data{{/if}}:/mnt/data
|
|
121
127
|
{{/if}}
|
|
122
128
|
{{#if localDataMountPath}}
|
|
129
|
+
{{#unless runAsRoot}}
|
|
123
130
|
user: "${AIFABRIX_UID:-1000}:${AIFABRIX_GID:-1000}"
|
|
131
|
+
{{/unless}}
|
|
124
132
|
{{/if}}
|
|
125
133
|
{{/if}}
|
|
126
134
|
{{/if}}
|
|
@@ -167,7 +175,9 @@ services:
|
|
|
167
175
|
- {{#if (eq devId 0)}}aifabrix_{{app.key}}_data{{else}}aifabrix_dev{{devId}}_{{app.key}}_data{{/if}}:/mnt/data
|
|
168
176
|
{{/if}}
|
|
169
177
|
{{/if}}
|
|
178
|
+
{{#unless runAsRoot}}
|
|
170
179
|
user: "${AIFABRIX_UID:-1000}:${AIFABRIX_GID:-1000}"
|
|
180
|
+
{{/unless}}
|
|
171
181
|
{{/if}}
|
|
172
182
|
depends_on:
|
|
173
183
|
{{app.key}}:
|
|
@@ -200,7 +210,9 @@ services:
|
|
|
200
210
|
- {{#if (eq devId 0)}}aifabrix_{{app.key}}_data{{else}}aifabrix_dev{{devId}}_{{app.key}}_data{{/if}}:/mnt/data
|
|
201
211
|
{{/if}}
|
|
202
212
|
{{/if}}
|
|
213
|
+
{{#unless runAsRoot}}
|
|
203
214
|
user: "${AIFABRIX_UID:-1000}:${AIFABRIX_GID:-1000}"
|
|
215
|
+
{{/unless}}
|
|
204
216
|
{{/if}}
|
|
205
217
|
depends_on:
|
|
206
218
|
{{#if workerSidecars.worker}}
|