@oisincoveney/pipeline 1.5.5 → 1.5.6

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/README.md CHANGED
@@ -77,6 +77,7 @@ runners:
77
77
  codex:
78
78
  type: codex
79
79
  command: codex
80
+ model: gpt-5.5
80
81
  capabilities:
81
82
  native_subagents: true
82
83
  tools: [read, grep, bash, edit, write]
@@ -93,7 +94,6 @@ version: 1
93
94
  profiles:
94
95
  orchestrator:
95
96
  runner: codex
96
- model: gpt-5
97
97
  instructions:
98
98
  inline: Coordinate the workflow from this YAML file only.
99
99
  tools: [read, grep, bash]
@@ -103,7 +103,6 @@ profiles:
103
103
  mode: inherit
104
104
  implementer:
105
105
  runner: codex
106
- model: gpt-5
107
106
  instructions:
108
107
  inline: Implement the requested change and return evidence.
109
108
  tools: [read, grep, bash, edit, write]
package/dist/index.js CHANGED
@@ -28778,6 +28778,9 @@ function canRunNatively(host, config2, profile) {
28778
28778
  return false;
28779
28779
  }
28780
28780
  if (profile.runner === host) {
28781
+ if (host === "codex") {
28782
+ return resolvedHostModel(config2, host, profile) !== undefined;
28783
+ }
28781
28784
  return true;
28782
28785
  }
28783
28786
  return host === "opencode" && isModelRunner(profile.runner) && resolvedHostModel(config2, host, profile) !== undefined;
@@ -28808,12 +28811,16 @@ function agentDispatchRoutes(host, config2) {
28808
28811
  function dispatchRouteForAgent(host, config2, route) {
28809
28812
  const runnerId = route.profile.runner;
28810
28813
  if (host !== "pi" && runnerId === host) {
28811
- return {
28812
- ...route,
28813
- kind: "native-named-agent",
28814
- nativeAgentId: route.profileId,
28815
- runnerId
28816
- };
28814
+ const model = resolvedHostModel(config2, host, route.profile);
28815
+ if (host !== "codex" || model) {
28816
+ return {
28817
+ ...route,
28818
+ kind: "native-named-agent",
28819
+ ...model ? { model } : {},
28820
+ nativeAgentId: route.profileId,
28821
+ runnerId
28822
+ };
28823
+ }
28817
28824
  }
28818
28825
  if (host === "opencode" && isModelRunner(runnerId)) {
28819
28826
  const model = resolvedHostModel(config2, host, route.profile);
@@ -28889,7 +28896,8 @@ function nativeDispatchBlock(host, routes) {
28889
28896
  function nativeDispatchLine(host, route) {
28890
28897
  const needs = needsSummary(route.needs);
28891
28898
  if (host === "codex") {
28892
- return `- ${route.nodeId}: spawn_agent agent_type=${route.nativeAgentId} runner=${route.runnerId} needs=${needs}`;
28899
+ const model = route.model ? ` model=${route.model}` : "";
28900
+ return `- ${route.nodeId}: spawn_agent agent_type=${route.nativeAgentId}${model} runner=${route.runnerId} needs=${needs}`;
28893
28901
  }
28894
28902
  if (host === "claude") {
28895
28903
  return `- ${route.nodeId}: Agent tool subagent_type=${route.nativeAgentId} runner=${route.runnerId} needs=${needs}`;
@@ -29125,24 +29133,31 @@ function codexDefinitions(config2) {
29125
29133
  invocation: "$pipe <task description>",
29126
29134
  path: ".agents/skills/pipe/SKILL.md"
29127
29135
  },
29128
- ...nativeProfileEntries("codex", config2).map(([id, profile]) => ({
29129
- content: `${hashHeader("codex")}${stringify({
29130
- description: profile.description ?? id,
29131
- developer_instructions: [
29132
- profile.description ?? id,
29133
- instructionsPointer(profile),
29134
- "Configured grants:",
29135
- grants(profile)
29136
- ].join(`
29136
+ ...nativeProfileEntries("codex", config2).map(([id, profile]) => {
29137
+ const model = resolvedHostModel(config2, "codex", profile);
29138
+ if (!model) {
29139
+ throw new Error(`Codex native agent '${id}' requires a resolved model from profile.model or runner.model.`);
29140
+ }
29141
+ return {
29142
+ content: `${hashHeader("codex")}${stringify({
29143
+ description: profile.description ?? id,
29144
+ developer_instructions: [
29145
+ profile.description ?? id,
29146
+ instructionsPointer(profile),
29147
+ "Configured grants:",
29148
+ grants(profile)
29149
+ ].join(`
29137
29150
  `),
29138
- name: id,
29139
- sandbox_mode: profile.filesystem?.mode === "workspace-write" ? "workspace-write" : "read-only"
29140
- }).trimEnd()}
29151
+ model,
29152
+ name: id,
29153
+ sandbox_mode: profile.filesystem?.mode === "workspace-write" ? "workspace-write" : "read-only"
29154
+ }).trimEnd()}
29141
29155
  `,
29142
- host: "codex",
29143
- invocation: "$pipe <task description>",
29144
- path: `.codex/agents/${id}.toml`
29145
- }))
29156
+ host: "codex",
29157
+ invocation: "$pipe <task description>",
29158
+ path: `.codex/agents/${id}.toml`
29159
+ };
29160
+ })
29146
29161
  ];
29147
29162
  }
29148
29163
  function kimiDefinitions(config2) {
@@ -29545,6 +29560,7 @@ runners:
29545
29560
  codex:
29546
29561
  type: codex
29547
29562
  command: codex
29563
+ model: gpt-5.5
29548
29564
  capabilities:
29549
29565
  native_subagents: true
29550
29566
  rules: true
@@ -22,6 +22,7 @@ runners:
22
22
  codex:
23
23
  type: codex
24
24
  command: codex
25
+ model: gpt-5.5
25
26
  capabilities:
26
27
  native_subagents: true
27
28
  rules: true
package/package.json CHANGED
@@ -73,7 +73,7 @@
73
73
  "prepack": "bun run build:cli"
74
74
  },
75
75
  "type": "module",
76
- "version": "1.5.5",
76
+ "version": "1.5.6",
77
77
  "description": "",
78
78
  "main": "index.js",
79
79
  "keywords": [],