@nyxa/nyx-agent 0.3.4 → 0.3.5
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/cli.js +1 -1
- package/dist/commands/init.js +1 -7
- package/docs/nyxagent-v0-spec.md +5 -7
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -17,7 +17,7 @@ program
|
|
|
17
17
|
.option("--missing", "only add missing template files")
|
|
18
18
|
.option("--harness <preset>", "harness preset: codex, claude, or custom")
|
|
19
19
|
.option("--model <name>", "model name")
|
|
20
|
-
.option("--reasoning-level <level>", "harness-neutral reasoning level")
|
|
20
|
+
.option("--reasoning-level <level>", "default harness-neutral reasoning level")
|
|
21
21
|
.option("--max-iterations <count>", "maximum work items per run")
|
|
22
22
|
.option("--work-items-source <source>", "work item source template: local or github")
|
|
23
23
|
.option("--work-items-path <path>", "local markdown work item directory")
|
package/dist/commands/init.js
CHANGED
|
@@ -50,7 +50,7 @@ async function resolveInitOptions(options, root) {
|
|
|
50
50
|
}));
|
|
51
51
|
const reasoningLevel = options.reasoningLevel ??
|
|
52
52
|
(await input({
|
|
53
|
-
message: "
|
|
53
|
+
message: "Default reasoning level",
|
|
54
54
|
default: "medium"
|
|
55
55
|
}));
|
|
56
56
|
const parsedMaxIterations = options.maxIterations
|
|
@@ -227,9 +227,6 @@ prompt = "prompts/execution.md"
|
|
|
227
227
|
next = "review"
|
|
228
228
|
max_visits_per_iteration = 3
|
|
229
229
|
|
|
230
|
-
[phases.model]
|
|
231
|
-
reasoning_level = "high"
|
|
232
|
-
|
|
233
230
|
[[phases]]
|
|
234
231
|
id = "review"
|
|
235
232
|
prompt = "prompts/review.md"
|
|
@@ -237,9 +234,6 @@ output_schema = "schemas/review.schema.json"
|
|
|
237
234
|
required_output = true
|
|
238
235
|
max_visits_per_iteration = 3
|
|
239
236
|
|
|
240
|
-
[phases.model]
|
|
241
|
-
reasoning_level = "high"
|
|
242
|
-
|
|
243
237
|
[phases.harness]
|
|
244
238
|
args = ${formatTomlArray(buildReadOnlyArgs(options.harness))}
|
|
245
239
|
|
package/docs/nyxagent-v0-spec.md
CHANGED
|
@@ -137,9 +137,6 @@ prompt = "prompts/execution.md"
|
|
|
137
137
|
next = "review"
|
|
138
138
|
max_visits_per_iteration = 3
|
|
139
139
|
|
|
140
|
-
[phases.model]
|
|
141
|
-
reasoning_level = "high"
|
|
142
|
-
|
|
143
140
|
[[phases]]
|
|
144
141
|
id = "review"
|
|
145
142
|
prompt = "prompts/review.md"
|
|
@@ -147,9 +144,6 @@ output_schema = "schemas/review.schema.json"
|
|
|
147
144
|
required_output = true
|
|
148
145
|
max_visits_per_iteration = 3
|
|
149
146
|
|
|
150
|
-
[phases.model]
|
|
151
|
-
reasoning_level = "high"
|
|
152
|
-
|
|
153
147
|
[phases.harness]
|
|
154
148
|
args = [
|
|
155
149
|
"exec",
|
|
@@ -178,7 +172,11 @@ max_visits_per_iteration = 1
|
|
|
178
172
|
item.
|
|
179
173
|
- `model.reasoning_level` is a harness-neutral string.
|
|
180
174
|
- Harness args are declarative and may interpolate config/runtime variables.
|
|
181
|
-
- Per-phase `model` and `harness` blocks override global values
|
|
175
|
+
- Per-phase `model` and `harness` blocks override global values when explicitly
|
|
176
|
+
declared.
|
|
177
|
+
- The initial selection phase is declared in `[[phases]]`, but the runtime treats
|
|
178
|
+
`workflow.entry_phase` as the selection step and expects the selection result
|
|
179
|
+
contract.
|
|
182
180
|
- `work_items` supports only `local` and `github` in v0.
|
|
183
181
|
- `work_items.max_candidates` defaults to `50` and caps the inventory sent to
|
|
184
182
|
the initial selection prompt.
|