@oisincoveney/pipeline 1.27.6 → 1.27.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/dist/config.d.ts +2 -2
- package/dist/schedule-planner.js +3 -2
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -452,6 +452,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
452
452
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
453
453
|
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
454
454
|
tools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
455
|
+
task: "task";
|
|
455
456
|
read: "read";
|
|
456
457
|
list: "list";
|
|
457
458
|
grep: "grep";
|
|
@@ -459,7 +460,6 @@ declare const configSchema: z.ZodObject<{
|
|
|
459
460
|
bash: "bash";
|
|
460
461
|
edit: "edit";
|
|
461
462
|
write: "write";
|
|
462
|
-
task: "task";
|
|
463
463
|
}>>>;
|
|
464
464
|
}, z.core.$strict>>>;
|
|
465
465
|
runner_command: z.ZodDefault<z.ZodObject<{
|
|
@@ -511,6 +511,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
511
511
|
rules: z.ZodOptional<z.ZodBoolean>;
|
|
512
512
|
skills: z.ZodOptional<z.ZodBoolean>;
|
|
513
513
|
tools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
514
|
+
task: "task";
|
|
514
515
|
read: "read";
|
|
515
516
|
list: "list";
|
|
516
517
|
grep: "grep";
|
|
@@ -518,7 +519,6 @@ declare const configSchema: z.ZodObject<{
|
|
|
518
519
|
bash: "bash";
|
|
519
520
|
edit: "edit";
|
|
520
521
|
write: "write";
|
|
521
|
-
task: "task";
|
|
522
522
|
}>>>;
|
|
523
523
|
}, z.core.$strict>;
|
|
524
524
|
command: z.ZodOptional<z.ZodString>;
|
package/dist/schedule-planner.js
CHANGED
|
@@ -12,6 +12,7 @@ import matter from "gray-matter";
|
|
|
12
12
|
//#region src/schedule-planner.ts
|
|
13
13
|
const SCHEDULE_KIND = "pipeline-schedule";
|
|
14
14
|
const ID_RE = /^[a-z][a-z0-9-]*$/;
|
|
15
|
+
const SCHEDULE_ID_RE = /^[A-Za-z0-9][A-Za-z0-9_.-]*$/;
|
|
15
16
|
const DESCRIPTION_SECTION_RE = /## Description\s+([\s\S]*?)(?=\n## |\s*$)/;
|
|
16
17
|
const ACCEPTANCE_SECTION_RE = /## Acceptance Criteria\s+([\s\S]*?)(?=\n## |\s*$)/;
|
|
17
18
|
const ACCEPTANCE_ITEM_RE = /^\s*-\s*\[[ xX]\]\s*#?([\w.-]+)\s+(.+)$/;
|
|
@@ -19,7 +20,7 @@ const GENERATED_ID_INVALID_CHARS_RE = /[^a-z0-9]+/g;
|
|
|
19
20
|
const GENERATED_ID_TRIM_HYPHENS_RE = /^-+|-+$/g;
|
|
20
21
|
const STARTS_WITH_ALPHA_RE = /^[a-z]/;
|
|
21
22
|
const LINE_RE = /\r?\n/;
|
|
22
|
-
const MARKDOWN_YAML_FENCE_RE =
|
|
23
|
+
const MARKDOWN_YAML_FENCE_RE = /```(?:ya?ml)?\s*\r?\n([\s\S]*?)\r?\n```/i;
|
|
23
24
|
const SCHEDULE_PLANNER_REPAIR_ATTEMPTS = 1;
|
|
24
25
|
const SCHEDULE_BUILTINS = [
|
|
25
26
|
"drain-merge",
|
|
@@ -39,7 +40,7 @@ const scheduleArtifactSchema = z.object({
|
|
|
39
40
|
generated_at: z.string().datetime(),
|
|
40
41
|
kind: z.literal(SCHEDULE_KIND),
|
|
41
42
|
root_workflow: z.string().regex(ID_RE),
|
|
42
|
-
schedule_id: z.string().regex(
|
|
43
|
+
schedule_id: z.string().regex(SCHEDULE_ID_RE),
|
|
43
44
|
source_entrypoint: z.string().regex(ID_RE),
|
|
44
45
|
task: z.string().min(1),
|
|
45
46
|
version: z.literal(1),
|
package/package.json
CHANGED
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"prepack": "bun run build:cli"
|
|
121
121
|
},
|
|
122
122
|
"type": "module",
|
|
123
|
-
"version": "1.27.
|
|
123
|
+
"version": "1.27.7",
|
|
124
124
|
"description": "Config-driven multi-agent pipeline runner for repository work",
|
|
125
125
|
"main": "./dist/index.js",
|
|
126
126
|
"types": "./dist/index.d.ts",
|