omnius 1.0.926 → 1.0.927
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/_types/orchestrator/agenticRunner.d.ts +3 -1
- package/dist/_types/orchestrator/completionFinalization.d.ts +10 -1
- package/dist/_types/orchestrator/focusSupervisor.d.ts +9 -0
- package/dist/index.js +2 -2
- package/dist/library.js +372 -85
- package/dist/memory-maintenance-worker.js +85 -18
- package/dist/update-worker-runtime.js +1 -0
- package/docs/DISCOVERY.json +32 -0
- package/docs/DISCOVERY.md +1 -0
- package/docs/context-recovery-review.json +306 -0
- package/npm-shrinkwrap.json +5 -5
- package/package.json +1 -1
|
@@ -69,7 +69,7 @@ import { type TrajectoryCheckpoint, type TrajectoryCheckpointMode, type Trajecto
|
|
|
69
69
|
import { type ContextWindowMemoryCompilationPlanAudit } from "./contextWindowDump.js";
|
|
70
70
|
import { type MemoryCompilationAnalysis, type MemoryCompilerInvalidOutputDetail } from "./memory-compiler.js";
|
|
71
71
|
import { type ModelResponseDiagnostics, type ModelResponseDiagnosticReceipt } from "./modelResponseDiagnostics.js";
|
|
72
|
-
import { type FocusSupervisorMode } from "./focusSupervisor.js";
|
|
72
|
+
import { type FocusContextSnapshot, type FocusSupervisorMode } from "./focusSupervisor.js";
|
|
73
73
|
import { type IssuedAgenticWebFetchReceiptV1 } from "./agentic-web-fetch-receipt.js";
|
|
74
74
|
import { type IssuedAgenticPageContentReceiptV1 } from "./agentic-page-content-receipt.js";
|
|
75
75
|
import { type TaskObjectiveContinuationInputV1, type TaskObjectiveContinuationScopeV1 } from "./taskObjectiveContinuation.js";
|
|
@@ -1551,6 +1551,7 @@ export interface RunnerContextPressureSnapshot {
|
|
|
1551
1551
|
droppedSignals?: number;
|
|
1552
1552
|
truncatedSignals?: number;
|
|
1553
1553
|
semanticChunkCount?: number;
|
|
1554
|
+
semanticContext?: FocusContextSnapshot["semanticContext"];
|
|
1554
1555
|
}
|
|
1555
1556
|
export interface DynamicContextConsolidationDecision {
|
|
1556
1557
|
shouldRun: boolean;
|
|
@@ -2201,6 +2202,7 @@ export declare class AgenticRunner {
|
|
|
2201
2202
|
private _lastContextFrameDiagnostics;
|
|
2202
2203
|
private _lastContextPressureSnapshot;
|
|
2203
2204
|
private _lastFocusContextSnapshot;
|
|
2205
|
+
private readonly _semanticObservationHashes;
|
|
2204
2206
|
private _lastActiveForgettingReport;
|
|
2205
2207
|
private _lastContextConsolidationTurn;
|
|
2206
2208
|
/** WO-CE-BOUNDARY: Context engine instance for structured context assembly */
|
|
@@ -49,7 +49,16 @@ export interface TerminalRepeatedFailedToolFailure extends TerminalRuntimeFailur
|
|
|
49
49
|
operationSha256: string;
|
|
50
50
|
resultSha256: string;
|
|
51
51
|
}
|
|
52
|
-
export
|
|
52
|
+
export interface TerminalRepeatedObservationFailure extends TerminalRuntimeFailureScope {
|
|
53
|
+
code: "repeated_observation_stall";
|
|
54
|
+
phase: "after_tool";
|
|
55
|
+
retryable: false;
|
|
56
|
+
toolName: string;
|
|
57
|
+
repeatedAttempts: number;
|
|
58
|
+
operationSha256: string;
|
|
59
|
+
resultSha256: string;
|
|
60
|
+
}
|
|
61
|
+
export type TerminalRuntimeFailure = TerminalContextAdmissionFailure | TerminalModelEmptyResponseFailure | TerminalInferenceFailure | TerminalRepeatedFailedToolFailure | TerminalRepeatedObservationFailure;
|
|
53
62
|
/**
|
|
54
63
|
* Immutable, local identity of the process that authored a terminal receipt.
|
|
55
64
|
*
|
|
@@ -67,12 +67,21 @@ export interface FocusDirectiveSatisfaction {
|
|
|
67
67
|
export type FocusRequiredNextAction = "use_cached_evidence" | "update_todos" | "read_authoritative_target" | "disambiguate_edit_match" | "edit_different_target" | "run_verification" | "delegate_isolated_fix" | "creative_pivot_or_research" | "report_blocked" | "report_incomplete";
|
|
68
68
|
export type FocusCompletionStatus = "completed" | "blocked" | "incomplete" | "no_changes_required" | "needs_input";
|
|
69
69
|
export interface FocusContextSnapshot {
|
|
70
|
+
/** Complete final outbound input, including tool schemas and late materialization. */
|
|
70
71
|
estimatedTokens?: number;
|
|
71
72
|
rawDiscoveryChars?: number;
|
|
72
73
|
activeEvidenceChars?: number;
|
|
73
74
|
activeFrameChars?: number;
|
|
74
75
|
signalToNoiseRatio?: number;
|
|
76
|
+
/** Complete outbound input / actual model capacity; never a semantic-item fraction. */
|
|
75
77
|
pressureRatio?: number;
|
|
78
|
+
/** Local semantic-summary diagnostics, separate from physical request occupancy. */
|
|
79
|
+
semanticContext?: {
|
|
80
|
+
rawTokens: number;
|
|
81
|
+
totalTokens: number;
|
|
82
|
+
unconsolidatedRatio: number;
|
|
83
|
+
targetRawTokenBudget: number;
|
|
84
|
+
};
|
|
76
85
|
droppedSignals?: number;
|
|
77
86
|
truncatedSignals?: number;
|
|
78
87
|
}
|
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:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 41473127 bytes
|
|
4
|
+
sha256: 5f84967c56b140863efbe2ec3bf087710a4ee95abd555d9fa25df11c25a65356
|