omnius 1.0.393 → 1.0.394

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/index.js CHANGED
@@ -570526,13 +570526,15 @@ function violatesDirective(directive, input) {
570526
570526
  if (input.toolName === "ask_user")
570527
570527
  return false;
570528
570528
  const family = actionFamily(input.toolName, input.args);
570529
- if (directive.forbiddenActionFamilies.includes(family))
570530
- return true;
570531
- if (directive.forbiddenActionFamilies.includes(input.toolName))
570532
- return true;
570529
+ if (directive.requiredNextAction !== "update_todos") {
570530
+ if (directive.forbiddenActionFamilies.includes(family))
570531
+ return true;
570532
+ if (directive.forbiddenActionFamilies.includes(input.toolName))
570533
+ return true;
570534
+ }
570533
570535
  switch (directive.requiredNextAction) {
570534
570536
  case "update_todos":
570535
- return input.toolName !== "todo_write";
570537
+ return !(input.toolName === "todo_write" || isEditTool(input.toolName));
570536
570538
  case "read_authoritative_target":
570537
570539
  return !isEvidenceGatheringTool(input.toolName);
570538
570540
  case "run_verification":
@@ -570819,7 +570821,7 @@ var init_focusSupervisor = __esm({
570819
570821
  }
570820
570822
  return this.inject(directive, `[FOCUS SUPERVISOR] ${directive.reason}. Required next action: ${directive.requiredNextAction}.`);
570821
570823
  }
570822
- if (this.hasLowSignalContext(input.context) && input.isReadLike) {
570824
+ if (this.hasLowSignalContext(input.context) && input.isReadLike && !(this.directive?.requiredNextAction === "read_authoritative_target" || this.directive?.requiredNextAction === "use_cached_evidence")) {
570823
570825
  const directive = this.setDirective({
570824
570826
  turn: input.turn,
570825
570827
  state: "forced_replan",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.393",
3
+ "version": "1.0.394",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.393",
9
+ "version": "1.0.394",
10
10
  "bundleDependencies": [
11
11
  "image-to-ascii"
12
12
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.393",
3
+ "version": "1.0.394",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",