amsd-pipeline-shared 0.4.0 → 0.4.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.
@@ -256,7 +256,8 @@ function prelaunch(o) {
256
256
  if (o.preflight !== false) results.push(preflight(o));
257
257
  results.push(langfuse({ install: o.install, env: o.env, runId: o.runId, outDir: o.outDir }));
258
258
  if (o.ticket) results.push(seed({ install: o.install, project: o.project, ticket: o.ticket, runsRoots: o.runsRoots || [] }));
259
- if (o.codeline) results.push(cache({ install: o.install, project: o.project, codeline: o.codeline }));
259
+ // the variant (brownfield) is the run's, from the env the launch hands over — not this process's own environment
260
+ if (o.codeline) results.push(cache({ install: o.install, project: o.project, codeline: o.codeline, variant: (o.env || {}).EPAM_BROWNFIELD === '1' ? 'brownfield' : '' }));
260
261
  results.push(cost({ install: o.install, set: o.set || o.env.EPAM_PROVIDER_SET || 'claude', tmpDir: o.outDir }));
261
262
  results.push(alone({ install: o.install }));
262
263
  results.push(memory({ needMb: Number(o.needMb || 4096) }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amsd-pipeline-shared",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "The AMSD pipeline's shared components, one source for the bash pipeline and its Claude workflows: the model-call gateway (llm-handler.sh — retry, ladder, self-heal, cost) and the libraries it runs.",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {