@oisincoveney/pipeline 1.15.1 → 1.15.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/dist/config.d.ts +3 -3
- package/dist/index.js +7 -1
- package/dist/install-commands.js +2 -2
- package/dist/runtime/context/context.js +1 -1
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -222,8 +222,8 @@ declare const configSchema: z.ZodObject<{
|
|
|
222
222
|
policy: z.ZodOptional<z.ZodObject<{
|
|
223
223
|
commands: z.ZodOptional<z.ZodEnum<{
|
|
224
224
|
allow: "allow";
|
|
225
|
-
deny: "deny";
|
|
226
225
|
"trusted-only": "trusted-only";
|
|
226
|
+
deny: "deny";
|
|
227
227
|
}>>;
|
|
228
228
|
modules: z.ZodOptional<z.ZodEnum<{
|
|
229
229
|
allow: "allow";
|
|
@@ -277,10 +277,10 @@ declare const configSchema: z.ZodObject<{
|
|
|
277
277
|
}, z.core.$strict>>;
|
|
278
278
|
output: z.ZodOptional<z.ZodObject<{
|
|
279
279
|
format: z.ZodEnum<{
|
|
280
|
-
json_schema: "json_schema";
|
|
281
280
|
text: "text";
|
|
282
281
|
json: "json";
|
|
283
282
|
jsonl: "jsonl";
|
|
283
|
+
json_schema: "json_schema";
|
|
284
284
|
}>;
|
|
285
285
|
repair: z.ZodOptional<z.ZodObject<{
|
|
286
286
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -320,10 +320,10 @@ declare const configSchema: z.ZodObject<{
|
|
|
320
320
|
disabled: "disabled";
|
|
321
321
|
}>>>;
|
|
322
322
|
output_formats: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
323
|
-
json_schema: "json_schema";
|
|
324
323
|
text: "text";
|
|
325
324
|
json: "json";
|
|
326
325
|
jsonl: "jsonl";
|
|
326
|
+
json_schema: "json_schema";
|
|
327
327
|
}>>>;
|
|
328
328
|
rules: z.ZodOptional<z.ZodBoolean>;
|
|
329
329
|
skills: z.ZodOptional<z.ZodBoolean>;
|
package/dist/index.js
CHANGED
|
@@ -55,7 +55,13 @@ async function runConfiguredPipeline(inputs) {
|
|
|
55
55
|
task: inputs.task,
|
|
56
56
|
worktreePath: inputs.worktreePath
|
|
57
57
|
});
|
|
58
|
-
console.log(
|
|
58
|
+
console.log(`Schedule generated: ${result.path}`);
|
|
59
|
+
const compiled = compileScheduleArtifact(config, result.artifact, inputs.worktreePath);
|
|
60
|
+
await runAndPrintPipeline({
|
|
61
|
+
...inputs,
|
|
62
|
+
config: compiled.config,
|
|
63
|
+
workflow: compiled.workflowId
|
|
64
|
+
});
|
|
59
65
|
return;
|
|
60
66
|
}
|
|
61
67
|
await runAndPrintPipeline({
|
package/dist/install-commands.js
CHANGED
|
@@ -173,8 +173,8 @@ function entrypointDispatchBlock(host, config, id, entrypoint) {
|
|
|
173
173
|
return [
|
|
174
174
|
`Generate a schedule for entrypoint \`${id}\` and the user task.`,
|
|
175
175
|
`The schedule policy is \`${entrypoint.schedule}\`.`,
|
|
176
|
-
`Run \`pipe run --entrypoint ${id} <task description>\` to
|
|
177
|
-
"
|
|
176
|
+
`Run \`pipe run --entrypoint ${id} <task description>\` to generate and execute the schedule artifact.`,
|
|
177
|
+
"Use `pipe run --schedule <schedule.yaml>` only when rerunning an existing schedule artifact."
|
|
178
178
|
].join("\n");
|
|
179
179
|
}
|
|
180
180
|
function nativeDispatchBlock(host, routes) {
|
|
@@ -54,7 +54,7 @@ function resolveWorkflowSelection(config, workflowId, entrypointId) {
|
|
|
54
54
|
if (!entrypointId) return;
|
|
55
55
|
const entrypoint = config.entrypoints[entrypointId];
|
|
56
56
|
if (!entrypoint) throw new Error(`Unknown pipeline entrypoint '${entrypointId}'`);
|
|
57
|
-
if ("schedule" in entrypoint) throw new Error(`Pipeline entrypoint '${entrypointId}' generates schedule '${entrypoint.schedule}'; run
|
|
57
|
+
if ("schedule" in entrypoint) throw new Error(`Pipeline entrypoint '${entrypointId}' generates schedule '${entrypoint.schedule}'; run with --schedule <schedule.yaml> instead.`);
|
|
58
58
|
return entrypoint.workflow;
|
|
59
59
|
}
|
|
60
60
|
function runtimeMaxParallelNodes(options, plan) {
|
package/package.json
CHANGED
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"prepack": "bun run build:cli"
|
|
100
100
|
},
|
|
101
101
|
"type": "module",
|
|
102
|
-
"version": "1.15.
|
|
102
|
+
"version": "1.15.2",
|
|
103
103
|
"description": "Config-driven multi-agent pipeline runner for repository work",
|
|
104
104
|
"main": "./dist/index.js",
|
|
105
105
|
"types": "./dist/index.d.ts",
|