omnius 1.0.927 → 1.0.930

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;
@@ -2092,6 +2097,7 @@ export declare class AgenticRunner {
2092
2097
  private _lastCanonicalToolProjection;
2093
2098
  private _lastCanonicalContextSignals;
2094
2099
  private _canonicalAcceptedReceipts;
2100
+ private _canonicalExactSourceCarriers;
2095
2101
  /** Process-local successful observation qualification; never hydrated from JSON. */
2096
2102
  private _historyObservations;
2097
2103
  private _ocrArtifactProjections;
@@ -2976,6 +2982,8 @@ export declare class AgenticRunner {
2976
2982
  */
2977
2983
  private _detectDebugLoop;
2978
2984
  private readSessionTodos;
2985
+ /** Detached latest checklist already observed by this exact run and epoch. */
2986
+ getTodoSnapshot(): TodoSnapshot | undefined;
2979
2987
  private _emitTodoObservabilitySnapshot;
2980
2988
  private _operationalWorkGraphPersistenceKey;
2981
2989
  /** Refresh the canonical graph from code-owned stores. */
@@ -3047,10 +3055,8 @@ export declare class AgenticRunner {
3047
3055
  */
3048
3056
  private _compileFixPathsTouchProjectSources;
3049
3057
  /**
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.
3058
+ * Inferred action-order gates are retired, including legacy env opt-ins.
3059
+ * Tool-level source, ownership, and atomic-write checks remain active.
3054
3060
  */
3055
3061
  private _enforcesStrictActionBoundaries;
3056
3062
  /** Consecutive preflight blocks before the gate yields instead of blocking. */
@@ -3904,7 +3910,6 @@ export declare class AgenticRunner {
3904
3910
  * metadata and tool-result links are retained untouched for provider
3905
3911
  * protocol correctness; only stale assistant-visible planning prose changes.
3906
3912
  */
3907
- private _retireLinkedAssistantReadIntents;
3908
3913
  private _emitSteeringLifecycle;
3909
3914
  private _setBackendTurnAbortSignal;
3910
3915
  private _requestSteeringPreemption;
@@ -4534,10 +4539,8 @@ export declare class AgenticRunner {
4534
4539
  /** Build feedback-only frontier from current, observed execution state. */
4535
4540
  private _buildRunFrontier;
4536
4541
  /**
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.
4542
+ * Ephemeral facts from this run. Replaces prior host observations without
4543
+ * changing user messages, assistant history, or linked tool results.
4541
4544
  */
4542
4545
  private _buildRecentActionGroundTruth;
4543
4546
  /** 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
  /**
@@ -16,6 +16,11 @@ export interface TelegramPassiveHistoryManifest {
16
16
  end: number;
17
17
  sha256: string;
18
18
  evictionOrder: number;
19
+ /** Authenticated producer attribution, never inferred from quoted prose. */
20
+ nativeTurn?: {
21
+ role: "user" | "assistant";
22
+ content: string;
23
+ };
19
24
  }>;
20
25
  }
21
26
  export type TelegramPassiveHistoryScope = TelegramPassiveHistoryManifest["scope"];
@@ -30,6 +35,10 @@ export interface TelegramPassiveHistoryPartition {
30
35
  content: string;
31
36
  sha256: string;
32
37
  evictionOrder: number;
38
+ nativeTurn?: {
39
+ role: "user" | "assistant";
40
+ content: string;
41
+ };
33
42
  }>;
34
43
  }
35
44
  /** Invalid/stale ownership grants no partition authority; callers keep the ordinary context path. */
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: 41375659 bytes
4
+ sha256: ec2eb617d229086621d07d439221366e4a2aa072bee53055352233cbbc888d51