omnius 1.0.963 → 1.0.964

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.
@@ -80,6 +80,8 @@ export interface ImmutableEvidenceChunk {
80
80
  }
81
81
  export interface EvidenceSearchFilters {
82
82
  documentIds?: string[];
83
+ /** Exact source documents already carried by the active request. */
84
+ excludeDocumentIds?: string[];
83
85
  source?: string;
84
86
  sourceUri?: string;
85
87
  messageId?: string;
@@ -249,6 +249,7 @@ export declare function preserveMemoryResultOnTelemetryFailure<T>(result: T, sin
249
249
  }>;
250
250
  export declare function renderMemoryCapabilitiesForModel(capabilities: readonly MemoryCapabilityV1[], options?: {
251
251
  maxChars?: number;
252
+ compact?: boolean;
252
253
  }): string;
253
254
  export declare const renderMemoryCapabilityForModel: (capability: MemoryCapabilityV1, options?: {
254
255
  maxChars?: number;
@@ -555,6 +555,8 @@ export interface AgenticRunnerOptions {
555
555
  * This mirrors how Claude Code loads CLAUDE.md and project context.
556
556
  */
557
557
  dynamicContext?: string;
558
+ /** Native terminal tasks can use a compact model-facing capability directory. */
559
+ compactTaskContext?: boolean;
558
560
  /** Current frontend-issued authored sources; ordinary dynamic/retrieved text cannot mint this authority. */
559
561
  authoredInstructionSources?: AuthoredInstructionSourcesV1;
560
562
  explicitWorkMode?: ExplicitWorkModeSelection;
@@ -864,7 +866,8 @@ export interface AgenticRunnerOptions {
864
866
  maxContextWindowTokens?: number;
865
867
  /**
866
868
  * Lossless long-context paging above the physical transformer window.
867
- * `auto` activates after the scoped immutable corpus crosses triggerTokens;
869
+ * `auto` activates when the resident request crosses triggerTokens or the
870
+ * current trajectory identifies missing knowledge and nonresident evidence exists;
868
871
  * `on` is useful for qualification and small synthetic cases.
869
872
  */
870
873
  virtualContext?: {
@@ -2486,6 +2489,7 @@ export declare class AgenticRunner {
2486
2489
  private stopSuccessfulProcedureWorker;
2487
2490
  private successfulProcedureMemory;
2488
2491
  private sanitizeHistoricalProcedureText;
2492
+ private recallTerminalProcedureHints;
2489
2493
  private usesConversationProfile;
2490
2494
  private _initializeConversationReportEvidence;
2491
2495
  private inlinePersistentMemoryBlockedByInteractiveSurface;
@@ -2713,6 +2717,7 @@ export declare class AgenticRunner {
2713
2717
  private _recordContextWindowDump;
2714
2718
  /** Refresh exact transport fields after validated memory materialization. */
2715
2719
  private _refreshCanonicalTransportTrace;
2720
+ private _immutableEvidenceDocumentId;
2716
2721
  /**
2717
2722
  * Append exact source material to the virtual-memory backing corpus. This is
2718
2723
  * intentionally independent of prompt compaction and generated summaries:
@@ -30,6 +30,8 @@ export interface LiveVirtualContextProjectionInput {
30
30
  infer: LiveVirtualContextInference;
31
31
  query: string;
32
32
  scopeId: string;
33
+ /** Source identities proven to be fully resident in the active request. */
34
+ excludeDocumentIds?: string[];
33
35
  mode?: LiveVirtualContextMode;
34
36
  triggerTokens?: number;
35
37
  /** Measured resident request input, not the size of the archived corpus. */
@@ -40,7 +40,7 @@ export declare class MemoryCapabilityContext {
40
40
  constructor(sink?: ((trace: MemoryQueryTraceV1) => void | Promise<void>) | undefined);
41
41
  bind(binding: HostMemoryBindingV1): void;
42
42
  capabilities(runtime: RuntimeMemoryAvailability[], adapters: readonly MemoryCapabilityV1[]): MemoryCapabilityV1[];
43
- project(messages: ChatMessage[], capabilities: readonly MemoryCapabilityV1[], maxChars?: number): ChatMessage[];
43
+ project(messages: ChatMessage[], capabilities: readonly MemoryCapabilityV1[], maxChars?: number, compact?: boolean): ChatMessage[];
44
44
  /** Caller must obtain result from the registered adapter's identity-checking hook. */
45
45
  observe(result: MemorySearchResultV1, callId: string, output: string): void;
46
46
  admit(messages: ChatMessage[], requestFingerprint: string): MemoryCapabilityContextAudit | null;
@@ -4,6 +4,16 @@ import { type MemoryWorkerRunResult } from "../memory/memoryIngestion.js";
4
4
  import { type UserTaskNoteScope } from "./memory-consolidation.js";
5
5
  import { type CompletionReadinessSnapshot } from "./completionReadiness.js";
6
6
  import type { TaskExecutionSnapshotV1 } from "./taskExecutionSnapshot.js";
7
+ export interface SuccessfulProcedureImitationExample {
8
+ procedureId: string;
9
+ procedureSha256: string;
10
+ traceSha256: string;
11
+ terminalSha256: string;
12
+ goal: string;
13
+ /** Historical labels exclude tool arguments, absolute paths, and command output. */
14
+ successfulTools: string[];
15
+ verifierEvidenceIds: string[];
16
+ }
7
17
  export interface SuccessfulProcedureFile {
8
18
  path: string;
9
19
  sha256: string;
@@ -101,7 +111,16 @@ export declare class SuccessfulProcedureMemory {
101
111
  private embeddingConfig;
102
112
  private vectorSet;
103
113
  private embeddingProfile;
114
+ private storedProcedure;
104
115
  private checkedStoredProcedure;
116
+ /** Exact, opt-in offline source read. Only real executed verification
117
+ * retained in the committed terminal may qualify an imitation example. */
118
+ readImitationExample(input: {
119
+ scope: UserTaskNoteScope;
120
+ procedureId: string;
121
+ assertCurrent: () => void;
122
+ signal?: AbortSignal;
123
+ }): SuccessfulProcedureImitationExample;
105
124
  private hasProcedureVector;
106
125
  private enqueueProcedureChunk;
107
126
  /** Reconcile only an explicitly authenticated owner's historical cases. No task evidence is created. */
@@ -137,6 +156,8 @@ export declare class SuccessfulProcedureMemory {
137
156
  query: string;
138
157
  signal?: AbortSignal;
139
158
  assertCurrent: () => void;
159
+ /** Request projection can inspect existing lexical cases without inference or access writes. */
160
+ lexicalOnly?: boolean;
140
161
  }): Promise<{
141
162
  text: string;
142
163
  caseIds: string[];
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: 42681625 bytes
4
- sha256: 3877e8e258160f0e15dad00202bf5b174ff3e63234620cb6e4c901d220bf238b
3
+ size: 42707889 bytes
4
+ sha256: f08cff099f762b1811046e9c9db9cec4b26d4d727d588d3ea201b32b51f08acb