@quantiya/codevibe-core 2.0.79 → 2.0.81
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/appsync/appsync-client.d.ts +7 -1
- package/dist/appsync/index.d.ts +2 -0
- package/dist/appsync/sync-mobile-echo.d.ts +9 -0
- package/dist/appsync/sync-source-cursor.d.ts +14 -0
- package/dist/appsync/sync-source-file.d.ts +15 -0
- package/dist/appsync/sync-source-pair.d.ts +2 -1
- package/dist/appsync/sync-source-recovery.d.ts +35 -0
- package/dist/credential-broker/index.d.ts +1 -1
- package/dist/credential-broker/oauth-account-lock.d.ts +24 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +517 -517
- package/dist/orchestration-shell/cli.js +370 -213
- package/dist/tool-activity/replay-cursor.d.ts +11 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { DesktopSyncSourceAnchor } from '../appsync/sync-source-cursor';
|
|
1
2
|
import { z } from 'zod';
|
|
2
3
|
import type { Logger } from '../logger';
|
|
3
4
|
/** Keep every ordinary replay read comfortably below Node/Buffer's platform limits. */
|
|
@@ -67,6 +68,10 @@ export interface ToolReplayInitialBoundary {
|
|
|
67
68
|
};
|
|
68
69
|
size: number;
|
|
69
70
|
}
|
|
71
|
+
/** The ordinary source has validated this descriptor/anchor before tool replay. */
|
|
72
|
+
export interface ToolReplayVerifiedBoundary extends ToolReplayInitialBoundary {
|
|
73
|
+
anchor: DesktopSyncSourceAnchor | null;
|
|
74
|
+
}
|
|
70
75
|
/** Capture a native boundary synchronously before lifecycle/cloud awaits.
|
|
71
76
|
* Existing partial records remain unread. Memory and reverse lookup are bounded. */
|
|
72
77
|
export declare function captureToolReplayBoundary(filePath: string, initialOffset?: number): ToolReplayInitialBoundary;
|
|
@@ -146,6 +151,11 @@ export declare class ToolReplayCursor {
|
|
|
146
151
|
load(initialBoundary?: ToolReplayInitialBoundary, requireExisting?: boolean): Promise<void>;
|
|
147
152
|
/** The current durable checkpoint (0 when fresh). */
|
|
148
153
|
byteOffset(): number;
|
|
154
|
+
needsVerifiedRebase(boundary: ToolReplayVerifiedBoundary): boolean;
|
|
155
|
+
private verifyBoundary;
|
|
156
|
+
/** Only a recognized nonzero source recovery may replace file coordinates.
|
|
157
|
+
* Caller seals in-memory tools first; ledger and admitted outbox stay intact. */
|
|
158
|
+
adoptVerifiedBoundary(boundary: ToolReplayVerifiedBoundary): Promise<void>;
|
|
149
159
|
/**
|
|
150
160
|
* Read + byte-frame ONE BOUNDED transcript batch from the durable checkpoint
|
|
151
161
|
* (or 0 after a rotation). PURE — persists nothing. File positions are ordinary
|
|
@@ -159,7 +169,7 @@ export declare class ToolReplayCursor {
|
|
|
159
169
|
* unbounded while one malformed/huge JSONL RECORD has a controlled bound.
|
|
160
170
|
* The trailing partial is returned as `carryover` and re-read next cycle.
|
|
161
171
|
*/
|
|
162
|
-
readFrames(): Promise<ReadFramesResult>;
|
|
172
|
+
readFrames(verifiedBoundary?: ToolReplayVerifiedBoundary): Promise<ReadFramesResult>;
|
|
163
173
|
/**
|
|
164
174
|
* Advance the durable checkpoint over a contiguous durably-outboxed prefix
|
|
165
175
|
* (§4.5) and persist atomically. FORWARD-ONLY **within the same file**: a
|
package/package.json
CHANGED