@oisincoveney/pipeline 1.23.0 → 1.23.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.
package/dist/config.d.ts CHANGED
@@ -371,8 +371,8 @@ declare const configSchema: z.ZodObject<{
371
371
  policy: z.ZodOptional<z.ZodObject<{
372
372
  commands: z.ZodOptional<z.ZodEnum<{
373
373
  allow: "allow";
374
- deny: "deny";
375
374
  "trusted-only": "trusted-only";
375
+ deny: "deny";
376
376
  }>>;
377
377
  modules: z.ZodOptional<z.ZodEnum<{
378
378
  allow: "allow";
@@ -396,8 +396,8 @@ declare const configSchema: z.ZodObject<{
396
396
  }, z.core.$strict>>>;
397
397
  default_profile: z.ZodOptional<z.ZodString>;
398
398
  mode: z.ZodEnum<{
399
- local: "local";
400
399
  hosted: "hosted";
400
+ local: "local";
401
401
  }>;
402
402
  provider: z.ZodLiteral<"toolhive">;
403
403
  authorization_env: z.ZodDefault<z.ZodString>;
@@ -440,10 +440,10 @@ declare const configSchema: z.ZodObject<{
440
440
  }, z.core.$strict>>;
441
441
  output: z.ZodOptional<z.ZodObject<{
442
442
  format: z.ZodEnum<{
443
- json_schema: "json_schema";
444
443
  text: "text";
445
444
  json: "json";
446
445
  jsonl: "jsonl";
446
+ json_schema: "json_schema";
447
447
  }>;
448
448
  repair: z.ZodOptional<z.ZodObject<{
449
449
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -461,7 +461,6 @@ declare const configSchema: z.ZodObject<{
461
461
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
462
462
  timeout_ms: z.ZodOptional<z.ZodNumber>;
463
463
  tools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
464
- task: "task";
465
464
  read: "read";
466
465
  list: "list";
467
466
  grep: "grep";
@@ -469,6 +468,7 @@ declare const configSchema: z.ZodObject<{
469
468
  bash: "bash";
470
469
  edit: "edit";
471
470
  write: "write";
471
+ task: "task";
472
472
  }>>>;
473
473
  }, z.core.$strict>>>;
474
474
  runner_job: z.ZodDefault<z.ZodObject<{
@@ -494,8 +494,8 @@ declare const configSchema: z.ZodObject<{
494
494
  rules: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
495
495
  path: z.ZodString;
496
496
  source_root: z.ZodDefault<z.ZodEnum<{
497
- project: "project";
498
497
  package: "package";
498
+ project: "project";
499
499
  }>>;
500
500
  }, z.core.$strict>>>;
501
501
  runners: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -512,15 +512,14 @@ declare const configSchema: z.ZodObject<{
512
512
  disabled: "disabled";
513
513
  }>>>;
514
514
  output_formats: z.ZodOptional<z.ZodArray<z.ZodEnum<{
515
- json_schema: "json_schema";
516
515
  text: "text";
517
516
  json: "json";
518
517
  jsonl: "jsonl";
518
+ json_schema: "json_schema";
519
519
  }>>>;
520
520
  rules: z.ZodOptional<z.ZodBoolean>;
521
521
  skills: z.ZodOptional<z.ZodBoolean>;
522
522
  tools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
523
- task: "task";
524
523
  read: "read";
525
524
  list: "list";
526
525
  grep: "grep";
@@ -528,6 +527,7 @@ declare const configSchema: z.ZodObject<{
528
527
  bash: "bash";
529
528
  edit: "edit";
530
529
  write: "write";
530
+ task: "task";
531
531
  }>>>;
532
532
  }, z.core.$strict>;
533
533
  command: z.ZodOptional<z.ZodString>;
@@ -535,8 +535,8 @@ declare const configSchema: z.ZodObject<{
535
535
  model: z.ZodOptional<z.ZodString>;
536
536
  type: z.ZodEnum<{
537
537
  command: "command";
538
- opencode: "opencode";
539
538
  codex: "codex";
539
+ opencode: "opencode";
540
540
  }>;
541
541
  }, z.core.$strict>>>;
542
542
  scheduler: z.ZodDefault<z.ZodObject<{
@@ -636,8 +636,8 @@ declare const configSchema: z.ZodObject<{
636
636
  skills: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
637
637
  path: z.ZodString;
638
638
  source_root: z.ZodDefault<z.ZodEnum<{
639
- project: "project";
640
639
  package: "package";
640
+ project: "project";
641
641
  }>>;
642
642
  }, z.core.$strict>>>;
643
643
  task_context: z.ZodOptional<z.ZodObject<{
package/dist/hooks.d.ts CHANGED
@@ -13,8 +13,8 @@ declare const hookResultSchema: z.ZodObject<{
13
13
  taskContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
14
  }, z.core.$strict>>;
15
15
  status: z.ZodEnum<{
16
- pass: "pass";
17
16
  fail: "fail";
17
+ pass: "pass";
18
18
  skip: "skip";
19
19
  }>;
20
20
  summary: z.ZodOptional<z.ZodString>;
package/dist/task-ref.js CHANGED
@@ -1,5 +1,7 @@
1
1
  //#region src/task-ref.ts
2
- const TICKET_ID_RE = /\b([A-Z]+-\d+(?:\.\d+)*)\b/g;
2
+ const TICKET_ID_SOURCE = String.raw`(?=[A-Za-z0-9.-]*\d)[A-Za-z][A-Za-z0-9]*(?:-[A-Za-z0-9]+)+(?:\.[A-Za-z0-9]+)*`;
3
+ new RegExp(`^(${TICKET_ID_SOURCE})\\b\\s*(.*)$`, "s");
4
+ const TICKET_ID_RE = new RegExp(`\\b(${TICKET_ID_SOURCE})\\b`, "g");
3
5
  function extractTicketIds(input) {
4
6
  const ids = [];
5
7
  const seen = /* @__PURE__ */ new Set();
package/package.json CHANGED
@@ -112,7 +112,7 @@
112
112
  "prepack": "bun run build:cli"
113
113
  },
114
114
  "type": "module",
115
- "version": "1.23.0",
115
+ "version": "1.23.1",
116
116
  "description": "Config-driven multi-agent pipeline runner for repository work",
117
117
  "main": "./dist/index.js",
118
118
  "types": "./dist/index.d.ts",