@oisincoveney/pipeline 3.4.1 → 3.5.0

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.
@@ -5,7 +5,7 @@ import { submitMoka } from "../moka-submit.js";
5
5
  import { Option } from "commander";
6
6
  //#region src/cli/submit-options.ts
7
7
  function addMokaSubmitOptions(command) {
8
- return addRunnerArgoOptions(command.option("--quick", "submit the compact graph").option("--command", "treat input after -- as explicit argv").option("--schedule <path>", "approved schedule YAML to submit").option("--event-url <url>", "runner event sink URL").option("--task <text>", "task description for command-mode metadata"), { kubeconfig: true });
8
+ return addRunnerArgoOptions(command.option("--quick", "submit the compact graph").option("--command", "treat input after -- as explicit argv").option("--schedule <path>", "approved schedule YAML to submit").option("--event-url <url>", "runner event sink URL").option("--open-pr", "append an open-pull-request delivery node (preview-labelled PR)").option("--task <text>", "task description for command-mode metadata"), { kubeconfig: true });
9
9
  }
10
10
  function runMokaSubmitFromCli(input, flags) {
11
11
  const cwd = process.env.PIPELINE_TARGET_PATH ?? process.cwd();
@@ -35,6 +35,7 @@ function mokaCommonSubmitOptions(input) {
35
35
  const momokaya = input.globalConfig?.momokaya;
36
36
  return {
37
37
  config: input.config,
38
+ delivery: { pullRequest: input.flags.openPr === true },
38
39
  eventUrl: input.eventUrl,
39
40
  eventAuthSecretKey: momokaya?.submit.eventAuthSecretKey,
40
41
  eventAuthSecretName: momokaya?.submit.eventAuthSecretName,
package/package.json CHANGED
@@ -126,7 +126,7 @@
126
126
  "prepack": "bun run build:cli"
127
127
  },
128
128
  "type": "module",
129
- "version": "3.4.1",
129
+ "version": "3.5.0",
130
130
  "description": "Config-driven multi-agent pipeline runner for repository work",
131
131
  "main": "./dist/index.js",
132
132
  "types": "./dist/index.d.ts",