@oisincoveney/pipeline 3.0.0 → 3.0.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/install-commands.js +6 -1
- package/package.json +1 -1
package/dist/install-commands.js
CHANGED
|
@@ -154,11 +154,16 @@ function commandInstallPlanItem(definition, action) {
|
|
|
154
154
|
path: definition.path
|
|
155
155
|
};
|
|
156
156
|
}
|
|
157
|
+
const PROJECT_ONLY_PATHS = new Set(["AGENTS.md"]);
|
|
158
|
+
function scopedDefinitions(definitions, scope) {
|
|
159
|
+
if (scope !== "global") return definitions;
|
|
160
|
+
return definitions.filter((definition) => !PROJECT_ONLY_PATHS.has(definition.path));
|
|
161
|
+
}
|
|
157
162
|
function installCommandsContext(options) {
|
|
158
163
|
const cwd = options.cwd ?? process.cwd();
|
|
159
164
|
const host = options.host ?? "all";
|
|
160
165
|
const scope = options.scope ?? "global";
|
|
161
|
-
const definitions = definitionsFor(host, loadPipelineConfig(cwd, { allowMissingLintFileReferences: true }), cwd);
|
|
166
|
+
const definitions = scopedDefinitions(definitionsFor(host, loadPipelineConfig(cwd, { allowMissingLintFileReferences: true }), cwd), scope);
|
|
162
167
|
return {
|
|
163
168
|
cwd,
|
|
164
169
|
definitions,
|
package/package.json
CHANGED
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"prepack": "bun run build:cli"
|
|
128
128
|
},
|
|
129
129
|
"type": "module",
|
|
130
|
-
"version": "3.0.
|
|
130
|
+
"version": "3.0.1",
|
|
131
131
|
"description": "Config-driven multi-agent pipeline runner for repository work",
|
|
132
132
|
"main": "./dist/index.js",
|
|
133
133
|
"types": "./dist/index.d.ts",
|