@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 +1 -2
- package/dist/index.js +39 -23
- package/docs/config-architecture.md +1 -0
- package/package.json +1 -1
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
|
-
|
|
28812
|
-
|
|
28813
|
-
|
|
28814
|
-
|
|
28815
|
-
|
|
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
|
-
|
|
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
|
-
|
|
29130
|
-
|
|
29131
|
-
|
|
29132
|
-
|
|
29133
|
-
|
|
29134
|
-
|
|
29135
|
-
|
|
29136
|
-
|
|
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
|
-
|
|
29139
|
-
|
|
29140
|
-
|
|
29151
|
+
model,
|
|
29152
|
+
name: id,
|
|
29153
|
+
sandbox_mode: profile.filesystem?.mode === "workspace-write" ? "workspace-write" : "read-only"
|
|
29154
|
+
}).trimEnd()}
|
|
29141
29155
|
`,
|
|
29142
|
-
|
|
29143
|
-
|
|
29144
|
-
|
|
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
|