omnius 1.0.927 → 1.0.928

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.
@@ -40,6 +40,7 @@ import { type TerminalTaskReport } from "./terminalTaskReport.js";
40
40
  import { type TerminalRuntimeFailure } from "./completionFinalization.js";
41
41
  import { type CompletionReadinessSnapshot } from "./completionReadiness.js";
42
42
  import { type CompletionDeliveryReceipt, type ExpectedOutcomeAssessmentV1, type ExpectedOutcomeContractV1, type ExpectedOutcomeRequiredEffectV1 } from "./expectedOutcomeContract.js";
43
+ import { type TodoSnapshot } from "./todoObservability.js";
43
44
  import { z } from "zod";
44
45
  import { type ProviderProtocol } from "../backend-vllm/providerRegistry.js";
45
46
  import type { PersonalityProfile } from "./personality.js";
@@ -1358,6 +1359,8 @@ export interface AgenticResult {
1358
1359
  taskEpoch: number;
1359
1360
  terminalReceiptId: string;
1360
1361
  authority: "router_expected_effect_mismatch" | "provider_delivery_pending" | "declared_incomplete";
1362
+ /** Model-declared degraded status; this field grants no suspension or completion. */
1363
+ declaredStatus?: "incomplete" | "needs_input";
1361
1364
  };
1362
1365
  /** Exact adapter-accepted draft retained only for missing work evidence.
1363
1366
  * This is never visible-response, completion, or provider-delivery authority. */
@@ -1579,7 +1582,7 @@ export declare function shouldRunDynamicContextConsolidation(input: {
1579
1582
  * shapes is left untouched.
1580
1583
  */
1581
1584
  export declare function normalizeShellCommandForFingerprint(command: string): string;
1582
- export declare function getSystemPromptForTier(tier: string): string;
1585
+ export declare function getSystemPromptForTier(_tier: string): string;
1583
1586
  export declare function getConversationSystemPrompt(): string;
1584
1587
  /** Shape of a todo item for the reminder. Matches the shape written by
1585
1588
  * TodoWriteTool and read from ~/.omnius/todos/{session}.json. */
@@ -1853,6 +1856,7 @@ export declare class AgenticRunner {
1853
1856
  private _messageTurns;
1854
1857
  private _toolCallTurns;
1855
1858
  private _restoredControlTurnFloor;
1859
+ private _restoredRolloutContext;
1856
1860
  /** Set of todo IDs that have already been chunked */
1857
1861
  private _todoChunked;
1858
1862
  /**
@@ -1882,6 +1886,7 @@ export declare class AgenticRunner {
1882
1886
  private _expectedOutcomeNativeEffectAuthority;
1883
1887
  private _completionDeliveryReceipts;
1884
1888
  private _todoObservabilitySnapshot;
1889
+ private _todoObservabilityRunId;
1885
1890
  private _todoObservabilityRevision;
1886
1891
  private _recentEnoents;
1887
1892
  private _microcompactHintEmitted;
@@ -2976,6 +2981,8 @@ export declare class AgenticRunner {
2976
2981
  */
2977
2982
  private _detectDebugLoop;
2978
2983
  private readSessionTodos;
2984
+ /** Detached latest checklist already observed by this exact run and epoch. */
2985
+ getTodoSnapshot(): TodoSnapshot | undefined;
2979
2986
  private _emitTodoObservabilitySnapshot;
2980
2987
  private _operationalWorkGraphPersistenceKey;
2981
2988
  /** Refresh the canonical graph from code-owned stores. */
@@ -3047,10 +3054,8 @@ export declare class AgenticRunner {
3047
3054
  */
3048
3055
  private _compileFixPathsTouchProjectSources;
3049
3056
  /**
3050
- * Action rails are an explicitly opt-in diagnostic experiment, never a
3051
- * normal-model policy. They created deadlocks by denying the very reads and
3052
- * edits needed to revise a hypothesis. Evidence and the tools' own atomic
3053
- * checks remain available without a controller admission gate.
3057
+ * Inferred action-order gates are retired, including legacy env opt-ins.
3058
+ * Tool-level source, ownership, and atomic-write checks remain active.
3054
3059
  */
3055
3060
  private _enforcesStrictActionBoundaries;
3056
3061
  /** Consecutive preflight blocks before the gate yields instead of blocking. */
@@ -3904,7 +3909,6 @@ export declare class AgenticRunner {
3904
3909
  * metadata and tool-result links are retained untouched for provider
3905
3910
  * protocol correctness; only stale assistant-visible planning prose changes.
3906
3911
  */
3907
- private _retireLinkedAssistantReadIntents;
3908
3912
  private _emitSteeringLifecycle;
3909
3913
  private _setBackendTurnAbortSignal;
3910
3914
  private _requestSteeringPreemption;
@@ -4534,10 +4538,8 @@ export declare class AgenticRunner {
4534
4538
  /** Build feedback-only frontier from current, observed execution state. */
4535
4539
  private _buildRunFrontier;
4536
4540
  /**
4537
- * The only late control block visible to a model. It is regenerated from
4538
- * authoritative run state on each request; it never carries prompt history.
4539
- * Large models receive state only. Small/medium models may receive one
4540
- * bounded directive with an explicit expiry and exit condition.
4541
+ * Ephemeral facts from this run. Replaces prior host observations without
4542
+ * changing user messages, assistant history, or linked tool results.
4541
4543
  */
4542
4544
  private _buildRecentActionGroundTruth;
4543
4545
  /** Legacy REG/recovery prose is retained in telemetry only, never in model history. */
@@ -16,6 +16,7 @@ export declare function createFocusConvergenceScope(input: {
16
16
  originalRequestHash: string;
17
17
  };
18
18
  }): string;
19
+ /** Legacy configuration grammar; every value resolves to passive observation. */
19
20
  export type FocusSupervisorMode = "off" | "auto" | "strict";
20
21
  export interface NegativeObservationScope {
21
22
  taskEpoch: number;
@@ -400,12 +401,7 @@ export declare class FocusSupervisor {
400
401
  private inject;
401
402
  private block;
402
403
  }
403
- /**
404
- * SILENCE: resolve whether the live supervisor should suppress hard blocks.
405
- * Defaults to silenced (true) — the operator directive is that the supervisor
406
- * must not stop agents or re-serve cached responses. Set
407
- * OMNIUS_FOCUS_SUPERVISOR_SILENT to 0/false/off to restore blocking.
408
- */
404
+ /** Legacy compatibility resolver. No environment setting reactivates blocks. */
409
405
  export declare function resolveFocusSupervisorSilent(envValue?: string | undefined): boolean;
410
406
  export declare function resolveFocusSupervisorMode(configured?: FocusSupervisorMode, envValue?: string | undefined): FocusSupervisorMode;
411
407
  /**
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/index.js
3
- size: 41473127 bytes
4
- sha256: 5f84967c56b140863efbe2ec3bf087710a4ee95abd555d9fa25df11c25a65356
3
+ size: 41358739 bytes
4
+ sha256: 1b824ef062216085861c0a56e838de9f2fede5bbe6cdedf7c5b2962dd5b919f8