opencode-herdr-orchestration 0.2.0 → 0.2.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/README.md +3 -2
- package/bin/orchestration.js +1 -0
- package/package.json +1 -1
- package/src/agents.js +2 -1
package/README.md
CHANGED
|
@@ -259,7 +259,7 @@ npx -y opencode-herdr-orchestration@latest uninstall --with-hooks
|
|
|
259
259
|
|
|
260
260
|
After installation or update, quit and restart OpenCode intentionally when ready. Existing processes keep their already-loaded configuration.
|
|
261
261
|
|
|
262
|
-
`configure-agents` updates the same model choices after installation. Press Enter to keep the displayed value, or enter `-` to restore that role's package default. Model names must include their provider prefix, such as `anthropic/claude-sonnet-4-6`. The sheepdog and
|
|
262
|
+
`configure-agents` updates the same model choices after installation. Press Enter to keep the displayed value, or enter `-` to restore that role's package default. Model names must include their provider prefix, such as `anthropic/claude-sonnet-4-6`. The sheepdog, grazer, and sheep reasoning efforts accept the provider's variant names, such as `low`, `medium`, or `high`; leaving any unset uses the model's default reasoning behavior. Shepherd-phase agents always inherit the active model and its reasoning behavior, and shearer reasoning stays fixed at `low` and `medium`.
|
|
263
263
|
|
|
264
264
|
## Manual Installation
|
|
265
265
|
|
|
@@ -359,6 +359,7 @@ Plugin tuple options can override model defaults:
|
|
|
359
359
|
"sheepdogModel": "litellm/glm-5.3-flash",
|
|
360
360
|
"sheepdogVariant": "medium",
|
|
361
361
|
"workerModel": "litellm/glm-5.3-flash",
|
|
362
|
+
"grazerVariant": "low",
|
|
362
363
|
"workerVariant": "medium",
|
|
363
364
|
"reviewerModel": "litellm-responses/gpt-5.6-terra"
|
|
364
365
|
}
|
|
@@ -367,7 +368,7 @@ Plugin tuple options can override model defaults:
|
|
|
367
368
|
}
|
|
368
369
|
```
|
|
369
370
|
|
|
370
|
-
The sheepdog has its own model and reasoning effort options,
|
|
371
|
+
The sheepdog has its own model and reasoning effort options, and grazer reasoning can be configured separately from sheep worker reasoning.
|
|
371
372
|
|
|
372
373
|
Machine-specific governance permissions and instructions can also be added declaratively without a local JavaScript wrapper:
|
|
373
374
|
|
package/bin/orchestration.js
CHANGED
|
@@ -34,6 +34,7 @@ const MODEL_ROLES = [
|
|
|
34
34
|
["shepherdModel", "Shepherd agents", "OpenCode active model", "model"],
|
|
35
35
|
["sheepdogModel", "Sheepdog agents", "litellm/glm-5.3-flash", "model"],
|
|
36
36
|
["sheepdogVariant", "Sheepdog reasoning effort", "model default", "variant"],
|
|
37
|
+
["grazerVariant", "Grazer reasoning effort", "model default", "variant"],
|
|
37
38
|
["workerModel", "Sheep worker agents", "litellm/glm-5.3-flash", "model"],
|
|
38
39
|
["workerVariant", "Sheep worker reasoning effort", "model default", "variant"],
|
|
39
40
|
["reviewerModel", "Shearer review agents", "litellm-responses/gpt-5.6-terra", "model"],
|
package/package.json
CHANGED
package/src/agents.js
CHANGED
|
@@ -197,6 +197,7 @@ export function createAgents(options = {}) {
|
|
|
197
197
|
const shepherdModel = options.shepherdModel;
|
|
198
198
|
const workerModel = options.workerModel ?? "litellm/glm-5.3-flash";
|
|
199
199
|
const workerVariant = options.workerVariant;
|
|
200
|
+
const grazerVariant = options.grazerVariant ?? workerVariant;
|
|
200
201
|
const sheepdogModel = options.sheepdogModel ?? "litellm/glm-5.3-flash";
|
|
201
202
|
const sheepdogVariant = options.sheepdogVariant;
|
|
202
203
|
const reviewerModel = options.reviewerModel ?? "litellm-responses/gpt-5.6-terra";
|
|
@@ -341,7 +342,7 @@ export function createAgents(options = {}) {
|
|
|
341
342
|
grazer: {
|
|
342
343
|
mode: "primary",
|
|
343
344
|
model: workerModel,
|
|
344
|
-
...(
|
|
345
|
+
...(grazerVariant ? { variant: grazerVariant } : {}),
|
|
345
346
|
description: "Performs read-only repository research for the shepherd, shepherd-governor, or sheepdog.",
|
|
346
347
|
prompt: GRAZER_PROMPT,
|
|
347
348
|
permission: {
|