@quantiya/codevibe-core 2.0.72 → 2.0.73

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.
@@ -979,6 +979,7 @@ export declare class AppSyncClient {
979
979
  }, retired: Session, quiesce: () => Promise<void>, signal?: AbortSignal): Promise<{
980
980
  sourcesRemoved: number;
981
981
  operationsRemoved: number;
982
+ cleanupDeferred?: true;
982
983
  }>;
983
984
  /** No Session fetch, live key lookup, native-process operation or re-homing.
984
985
  * The encrypted intent records a completed producer join; fresh cloud proof
@@ -179,6 +179,7 @@ export declare class DurableDesktopSyncWriter {
179
179
  * intent removal. Network I/O never holds the account-store lock. */
180
180
  runSessionRetirement<T>(input: ConfirmDesktopSyncRetirementInput, toolOutbox: ToolSyncRetirementLocation | null, cleanup: (record: SessionRetirementRecord, fence: () => Promise<void>) => Promise<T>, options?: {
181
181
  existingOnly?: boolean;
182
+ isComplete?: (result: T) => boolean;
182
183
  }): Promise<T | null>;
183
184
  /** Terminal GC, not delivery settlement. The session owner MUST first stop
184
185
  * admission and join its native readers, shell emitters and prompt producers.
@@ -9,7 +9,7 @@ export type SyncSessionRetirementReceipt = ConfirmDesktopSyncRetirementInput & {
9
9
  controlClass: 'SESSION_RETIREMENT';
10
10
  };
11
11
  export interface ToolSyncRetirementLocation {
12
- agent: 'codex' | 'claude';
12
+ agent: 'codex' | 'claude' | 'agy';
13
13
  root: string;
14
14
  }
15
15
  export interface SessionRetirementRecord {
@@ -3,7 +3,7 @@ import type { DesktopSyncSourceFrame, DesktopSyncSourceGap, DesktopSyncSourceJou
3
3
  type Prepare = ((operationId: string) => Promise<CreateDesktopSyncEventInput>) | null;
4
4
  export interface DesktopSyncSourcePair {
5
5
  /** Restore the earliest unfinished lane, never the latest volatile reader offset. */
6
- open(initial: number | DesktopSyncSourcePosition): Promise<DesktopSyncSourcePosition>;
6
+ open(initial: number | DesktopSyncSourcePosition, validateInitial?: () => void): Promise<DesktopSyncSourcePosition>;
7
7
  /** Both slots are fixed for this source's lifetime; null explicitly ignores a slot. */
8
8
  admit(frame: DesktopSyncSourceFrame, prepare: readonly [Prepare, Prepare]): Promise<readonly [string | null, string | null]>;
9
9
  skip(gap: DesktopSyncSourceGap): Promise<void>;
package/dist/index.d.ts CHANGED
@@ -74,7 +74,7 @@ export { emitShellEvent, createShellEventEmitter } from './orchestration-shell';
74
74
  export { processMarkers, withRoleMarker } from './orchestration-shell';
75
75
  export { ToolActivityOutbox, type ToolActivityOutboxOptions, type ListPendingResult, } from './tool-activity';
76
76
  export { ToolActivityLedger, LedgerEntrySchema, LedgerFileSchema, LegacyOwnedFileSchema, type LedgerEntry, type LedgerFile, type LegacyOwnedFile, type OccurrenceRef, type ToolActivityLedgerOptions, } from './tool-activity';
77
- export { ToolReplayCursor, ReplayFrameTooLargeError, ReplayCursorStateSchema, DEFAULT_REPLAY_READ_BYTES, DEFAULT_REPLAY_MAX_FRAME_BYTES, type ReplayCursorState, type ReplayFrame, type ReadFramesResult, type ToolReplayCursorOptions, } from './tool-activity';
77
+ export { ToolReplayCursor, captureToolReplayBoundary, ReplayFrameTooLargeError, ReplayCursorStateSchema, DEFAULT_REPLAY_READ_BYTES, DEFAULT_REPLAY_MAX_FRAME_BYTES, type ReplayCursorState, type ReplayFrame, type ReadFramesResult, type ToolReplayCursorOptions, type ToolReplayInitialBoundary, } from './tool-activity';
78
78
  export { ToolActivitySessionMap, InProcessRolloutLock, SessionMapRecordSchema, type RolloutLock, type RolloutOwnership, type SessionMapRecord, type ToolActivitySessionMapOptions, } from './tool-activity';
79
79
  export { ToolActivityConsolidator, isSessionKeyStaleError, isTerminalSessionError, type ObservedOccurrence, type ObserveDisposition, type ToolActivityTransport, type ToolActivityConsolidatorOptions, } from './tool-activity';
80
80
  export { SocketRolloutLock, type SocketRolloutLockOptions, FlockRolloutLock, type FlockRolloutLockOptions, type FlockSyncFn, type FlockFlag, createRolloutLock, type CreateRolloutLockOptions, } from './tool-activity';