@tagma/sdk 0.1.6 → 0.1.7
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/package.json +1 -1
- package/src/schema.ts +1 -1
- package/src/validate-raw.ts +4 -0
package/package.json
CHANGED
package/src/schema.ts
CHANGED
|
@@ -291,7 +291,7 @@ export function deresolvePipeline(config: PipelineConfig, workDir: string): RawP
|
|
|
291
291
|
...(task.middlewares !== undefined ? { middlewares: task.middlewares } : {}),
|
|
292
292
|
...(task.completion ? { completion: task.completion } : {}),
|
|
293
293
|
...(task.agent_profile ? { agent_profile: task.agent_profile } : {}),
|
|
294
|
-
...(task.permissions && JSON.stringify(task.permissions) !== JSON.stringify(
|
|
294
|
+
...(task.permissions && JSON.stringify(task.permissions) !== JSON.stringify(track.permissions)
|
|
295
295
|
? { permissions: task.permissions }
|
|
296
296
|
: {}),
|
|
297
297
|
};
|
package/src/validate-raw.ts
CHANGED
|
@@ -166,6 +166,10 @@ function detectCycles(
|
|
|
166
166
|
const resolved = resolveDepRef(dep, track.id, allQualified, bareToQualified);
|
|
167
167
|
if (resolved) deps.push(resolved);
|
|
168
168
|
}
|
|
169
|
+
if (task.continue_from) {
|
|
170
|
+
const resolved = resolveDepRef(task.continue_from, track.id, allQualified, bareToQualified);
|
|
171
|
+
if (resolved && !deps.includes(resolved)) deps.push(resolved);
|
|
172
|
+
}
|
|
169
173
|
adj.set(qid, deps);
|
|
170
174
|
}
|
|
171
175
|
}
|