@quantiya/codevibe-core 2.0.92 → 2.0.93
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/adapter/registry.d.ts +2 -2
- package/dist/appsync/sync-deferred-inputs.d.ts +2 -2
- package/dist/appsync/sync-desktop-registration.d.ts +2 -2
- package/dist/appsync/sync-mobile-echo.d.ts +16 -16
- package/dist/appsync/sync-prompt-publication.d.ts +8 -8
- package/dist/appsync/sync-shell-source.d.ts +18 -18
- package/dist/appsync/sync-source-cursor.d.ts +30 -30
- package/dist/commerce/upgrade-handoff.d.ts +11 -0
- package/dist/companion-mode/codex-native-state.d.ts +110 -110
- package/dist/index.js +2605 -2306
- package/dist/local-executor/anchored-cas.d.ts +78 -6
- package/dist/local-executor/anchored-fs.d.ts +32 -0
- package/dist/local-executor/blob-store.d.ts +95 -0
- package/dist/local-executor/change-manifest-store.d.ts +32 -0
- package/dist/local-executor/change-manifest.d.ts +50 -0
- package/dist/local-executor/durable-store.d.ts +72 -15
- package/dist/local-executor/implementor-argv.d.ts +43 -7
- package/dist/local-executor/local-executor-impl.d.ts +57 -1
- package/dist/local-executor/nolink-apply.d.ts +22 -2
- package/dist/local-executor/revert-runner.d.ts +3 -0
- package/dist/local-executor/shadow-apply-capabilities.d.ts +31 -2
- package/dist/local-executor/shadow-free-space.d.ts +25 -0
- package/dist/local-executor/shadow-protocol.d.ts +117 -18
- package/dist/local-executor/shadow-recovery.d.ts +28 -3
- package/dist/local-executor/shadow-task-intent.d.ts +29 -0
- package/dist/local-executor/shadow-volume-probe.d.ts +0 -14
- package/dist/local-executor/sharded-list.d.ts +32 -0
- package/dist/local-executor/snapshot-merge.d.ts +18 -0
- package/dist/local-executor/spawn-sweep-binary.d.ts +33 -0
- package/dist/local-executor/spawn-sweep.d.ts +3 -0
- package/dist/local-executor/store-dir-anchor.d.ts +48 -0
- package/dist/local-executor/tier-self-test.d.ts +57 -0
- package/dist/local-executor/types.d.ts +26 -0
- package/dist/local-executor/verification-gates/diff-sanity.d.ts +6 -0
- package/dist/local-executor/workspace-materializer.d.ts +17 -1
- package/dist/local-executor/workspace-shadow.d.ts +209 -7
- package/dist/orchestration-shell/audit-summary.d.ts +22 -0
- package/dist/orchestration-shell/bounded-shutdown.d.ts +2 -0
- package/dist/orchestration-shell/cli.js +64053 -57609
- package/dist/orchestration-shell/components/OrchestrationApp.d.ts +6 -1
- package/dist/orchestration-shell/decision-attempt-recovery.d.ts +14 -0
- package/dist/orchestration-shell/engine-projection.d.ts +98 -0
- package/dist/orchestration-shell/exit-guard.d.ts +18 -0
- package/dist/orchestration-shell/gate-decision-submit.d.ts +2 -0
- package/dist/orchestration-shell/index.d.ts +18 -0
- package/dist/orchestration-shell/quorum-loop.d.ts +265 -21
- package/dist/orchestration-shell/review-bundle.d.ts +77 -0
- package/dist/orchestration-shell/review-receipts.d.ts +100 -0
- package/dist/orchestration-shell/reviewer-seat-self-test.d.ts +43 -0
- package/dist/orchestration-shell/team-decompose.d.ts +1 -0
- package/dist/orchestration-shell/types.d.ts +24 -0
- package/dist/reviewer/provider.d.ts +28 -0
- package/dist/reviewer/providers/antigravity.d.ts +4 -2
- package/dist/reviewer/providers/claude.d.ts +7 -2
- package/dist/reviewer/providers/codex.d.ts +1 -1
- package/dist/session-resume/cli-resume.d.ts +1 -0
- package/dist/substrate/bwrap.d.ts +85 -0
- package/dist/substrate/command-runner.d.ts +1 -0
- package/dist/substrate/docker.d.ts +21 -0
- package/dist/substrate/grant-rule.d.ts +71 -0
- package/dist/substrate/pasta-isolation-check.d.ts +60 -0
- package/dist/substrate/pasta.d.ts +8 -0
- package/dist/substrate/relay-channel.d.ts +80 -0
- package/dist/substrate/review-mask.d.ts +20 -0
- package/dist/substrate/sandbox-exec.d.ts +48 -1
- package/dist/substrate/seatbelt-grants.d.ts +46 -0
- package/dist/substrate/spawn-records.d.ts +95 -0
- package/dist/substrate/tier-relay-main.d.ts +1 -0
- package/dist/substrate/tier-relay.d.ts +7 -0
- package/dist/substrate/tier-relay.js +3 -0
- package/dist/substrate/types.d.ts +48 -1
- package/dist/substrate-launch/engage-substrate.d.ts +16 -2
- package/dist/substrate-launch/fallback-ladder.d.ts +109 -12
- package/dist/substrate-launch/index.d.ts +1 -1
- package/dist/substrate-launch/task-folder.d.ts +26 -0
- package/native/linux-arm64/codevibe-spawn-sweep +0 -0
- package/native/linux-x64/codevibe-spawn-sweep +0 -0
- package/native/spawn-sweep.json +8 -0
- package/package.json +10 -5
|
@@ -23,7 +23,7 @@ export type AdapterSubstrateEngager = (input: {
|
|
|
23
23
|
role: ProcessRole;
|
|
24
24
|
}) => Promise<{
|
|
25
25
|
mode: 'substrate';
|
|
26
|
-
tier: 'docker' | 'sandbox_exec';
|
|
26
|
+
tier: 'docker' | 'sandbox_exec' | 'bubblewrap';
|
|
27
27
|
reducedTrust: boolean;
|
|
28
28
|
reducedTrustReason?: string;
|
|
29
29
|
substrateHandle: SubstrateHandle;
|
|
@@ -48,7 +48,7 @@ export type AdapterSubstrateEngager = (input: {
|
|
|
48
48
|
export type ReducedTrustNotifier = (badge: {
|
|
49
49
|
agentKind: AgentKind;
|
|
50
50
|
reducedTrustReason: string;
|
|
51
|
-
tier: 'none' | 'docker' | 'sandbox_exec';
|
|
51
|
+
tier: 'none' | 'docker' | 'sandbox_exec' | 'bubblewrap';
|
|
52
52
|
}) => Promise<void> | void;
|
|
53
53
|
export declare class AdapterRegistry implements AgentAdapter {
|
|
54
54
|
private readonly scope;
|
|
@@ -67,8 +67,8 @@ declare const row: z.ZodObject<{
|
|
|
67
67
|
sessionId: string;
|
|
68
68
|
sessionGenerationId: string;
|
|
69
69
|
schemaVersion: 1;
|
|
70
|
-
provider: "agy" | "claude" | "codex";
|
|
71
70
|
operationId: string;
|
|
71
|
+
provider: "agy" | "claude" | "codex";
|
|
72
72
|
nativeSessionSha256: string;
|
|
73
73
|
}, {
|
|
74
74
|
kind: "DEFERRED_INPUTS";
|
|
@@ -82,8 +82,8 @@ declare const row: z.ZodObject<{
|
|
|
82
82
|
sessionId: string;
|
|
83
83
|
sessionGenerationId: string;
|
|
84
84
|
schemaVersion: 1;
|
|
85
|
-
provider: "agy" | "claude" | "codex";
|
|
86
85
|
operationId: string;
|
|
86
|
+
provider: "agy" | "claude" | "codex";
|
|
87
87
|
nativeSessionSha256: string;
|
|
88
88
|
}>;
|
|
89
89
|
export type DesktopDeferredInput = z.infer<typeof item>;
|
|
@@ -60,13 +60,13 @@ declare const record: z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
|
60
60
|
clientOperationId: string;
|
|
61
61
|
schemaVersion: 1;
|
|
62
62
|
state: "READY";
|
|
63
|
-
operationId: string;
|
|
64
63
|
receipt: {
|
|
65
64
|
sessionId: string;
|
|
66
65
|
sessionGenerationId: string;
|
|
67
66
|
credential: string;
|
|
68
67
|
expiresAtEpochMs: number;
|
|
69
68
|
};
|
|
69
|
+
operationId: string;
|
|
70
70
|
createdAtEpochMs: number;
|
|
71
71
|
}, {
|
|
72
72
|
kind: "DESKTOP_REGISTRATION";
|
|
@@ -75,13 +75,13 @@ declare const record: z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
|
75
75
|
clientOperationId: string;
|
|
76
76
|
schemaVersion: 1;
|
|
77
77
|
state: "READY";
|
|
78
|
-
operationId: string;
|
|
79
78
|
receipt: {
|
|
80
79
|
sessionId: string;
|
|
81
80
|
sessionGenerationId: string;
|
|
82
81
|
credential: string;
|
|
83
82
|
expiresAtEpochMs: number;
|
|
84
83
|
};
|
|
84
|
+
operationId: string;
|
|
85
85
|
createdAtEpochMs: number;
|
|
86
86
|
}>]>;
|
|
87
87
|
export type DesktopSyncRegistrationRecord = z.infer<typeof record>;
|
|
@@ -22,27 +22,27 @@ declare const frame: z.ZodEffects<z.ZodObject<{
|
|
|
22
22
|
startOffset: z.ZodNumber;
|
|
23
23
|
endOffset: z.ZodNumber;
|
|
24
24
|
}, "strict", z.ZodTypeAny, {
|
|
25
|
+
sourceSha256: string;
|
|
25
26
|
streamSha256: string;
|
|
26
27
|
occurrence: string;
|
|
27
|
-
sourceSha256: string;
|
|
28
28
|
startOffset: number;
|
|
29
29
|
endOffset: number;
|
|
30
30
|
}, {
|
|
31
|
+
sourceSha256: string;
|
|
31
32
|
streamSha256: string;
|
|
32
33
|
occurrence: string;
|
|
33
|
-
sourceSha256: string;
|
|
34
34
|
startOffset: number;
|
|
35
35
|
endOffset: number;
|
|
36
36
|
}>, {
|
|
37
|
+
sourceSha256: string;
|
|
37
38
|
streamSha256: string;
|
|
38
39
|
occurrence: string;
|
|
39
|
-
sourceSha256: string;
|
|
40
40
|
startOffset: number;
|
|
41
41
|
endOffset: number;
|
|
42
42
|
}, {
|
|
43
|
+
sourceSha256: string;
|
|
43
44
|
streamSha256: string;
|
|
44
45
|
occurrence: string;
|
|
45
|
-
sourceSha256: string;
|
|
46
46
|
startOffset: number;
|
|
47
47
|
endOffset: number;
|
|
48
48
|
}>;
|
|
@@ -84,27 +84,27 @@ declare const row: z.ZodObject<{
|
|
|
84
84
|
startOffset: z.ZodNumber;
|
|
85
85
|
endOffset: z.ZodNumber;
|
|
86
86
|
}, "strict", z.ZodTypeAny, {
|
|
87
|
+
sourceSha256: string;
|
|
87
88
|
streamSha256: string;
|
|
88
89
|
occurrence: string;
|
|
89
|
-
sourceSha256: string;
|
|
90
90
|
startOffset: number;
|
|
91
91
|
endOffset: number;
|
|
92
92
|
}, {
|
|
93
|
+
sourceSha256: string;
|
|
93
94
|
streamSha256: string;
|
|
94
95
|
occurrence: string;
|
|
95
|
-
sourceSha256: string;
|
|
96
96
|
startOffset: number;
|
|
97
97
|
endOffset: number;
|
|
98
98
|
}>, {
|
|
99
|
+
sourceSha256: string;
|
|
99
100
|
streamSha256: string;
|
|
100
101
|
occurrence: string;
|
|
101
|
-
sourceSha256: string;
|
|
102
102
|
startOffset: number;
|
|
103
103
|
endOffset: number;
|
|
104
104
|
}, {
|
|
105
|
+
sourceSha256: string;
|
|
105
106
|
streamSha256: string;
|
|
106
107
|
occurrence: string;
|
|
107
|
-
sourceSha256: string;
|
|
108
108
|
startOffset: number;
|
|
109
109
|
endOffset: number;
|
|
110
110
|
}>>;
|
|
@@ -119,9 +119,9 @@ declare const row: z.ZodObject<{
|
|
|
119
119
|
lane: "primary" | "follow_up" | "free_form";
|
|
120
120
|
};
|
|
121
121
|
claim: {
|
|
122
|
+
sourceSha256: string;
|
|
122
123
|
streamSha256: string;
|
|
123
124
|
occurrence: string;
|
|
124
|
-
sourceSha256: string;
|
|
125
125
|
startOffset: number;
|
|
126
126
|
endOffset: number;
|
|
127
127
|
} | null;
|
|
@@ -141,9 +141,9 @@ declare const row: z.ZodObject<{
|
|
|
141
141
|
lane: "primary" | "follow_up" | "free_form";
|
|
142
142
|
};
|
|
143
143
|
claim: {
|
|
144
|
+
sourceSha256: string;
|
|
144
145
|
streamSha256: string;
|
|
145
146
|
occurrence: string;
|
|
146
|
-
sourceSha256: string;
|
|
147
147
|
startOffset: number;
|
|
148
148
|
endOffset: number;
|
|
149
149
|
} | null;
|
|
@@ -163,9 +163,9 @@ declare const row: z.ZodObject<{
|
|
|
163
163
|
lane: "primary" | "follow_up" | "free_form";
|
|
164
164
|
};
|
|
165
165
|
claim: {
|
|
166
|
+
sourceSha256: string;
|
|
166
167
|
streamSha256: string;
|
|
167
168
|
occurrence: string;
|
|
168
|
-
sourceSha256: string;
|
|
169
169
|
startOffset: number;
|
|
170
170
|
endOffset: number;
|
|
171
171
|
} | null;
|
|
@@ -185,9 +185,9 @@ declare const row: z.ZodObject<{
|
|
|
185
185
|
lane: "primary" | "follow_up" | "free_form";
|
|
186
186
|
};
|
|
187
187
|
claim: {
|
|
188
|
+
sourceSha256: string;
|
|
188
189
|
streamSha256: string;
|
|
189
190
|
occurrence: string;
|
|
190
|
-
sourceSha256: string;
|
|
191
191
|
startOffset: number;
|
|
192
192
|
endOffset: number;
|
|
193
193
|
} | null;
|
|
@@ -210,9 +210,9 @@ declare const row: z.ZodObject<{
|
|
|
210
210
|
lane: "primary" | "follow_up" | "free_form";
|
|
211
211
|
};
|
|
212
212
|
claim: {
|
|
213
|
+
sourceSha256: string;
|
|
213
214
|
streamSha256: string;
|
|
214
215
|
occurrence: string;
|
|
215
|
-
sourceSha256: string;
|
|
216
216
|
startOffset: number;
|
|
217
217
|
endOffset: number;
|
|
218
218
|
} | null;
|
|
@@ -226,8 +226,8 @@ declare const row: z.ZodObject<{
|
|
|
226
226
|
sessionId: string;
|
|
227
227
|
sessionGenerationId: string;
|
|
228
228
|
schemaVersion: 1;
|
|
229
|
-
provider: "agy" | "claude" | "codex";
|
|
230
229
|
operationId: string;
|
|
230
|
+
provider: "agy" | "claude" | "codex";
|
|
231
231
|
}, {
|
|
232
232
|
kind: "MOBILE_ECHOES";
|
|
233
233
|
entries: {
|
|
@@ -240,9 +240,9 @@ declare const row: z.ZodObject<{
|
|
|
240
240
|
lane: "primary" | "follow_up" | "free_form";
|
|
241
241
|
};
|
|
242
242
|
claim: {
|
|
243
|
+
sourceSha256: string;
|
|
243
244
|
streamSha256: string;
|
|
244
245
|
occurrence: string;
|
|
245
|
-
sourceSha256: string;
|
|
246
246
|
startOffset: number;
|
|
247
247
|
endOffset: number;
|
|
248
248
|
} | null;
|
|
@@ -256,8 +256,8 @@ declare const row: z.ZodObject<{
|
|
|
256
256
|
sessionId: string;
|
|
257
257
|
sessionGenerationId: string;
|
|
258
258
|
schemaVersion: 1;
|
|
259
|
-
provider: "agy" | "claude" | "codex";
|
|
260
259
|
operationId: string;
|
|
260
|
+
provider: "agy" | "claude" | "codex";
|
|
261
261
|
}>;
|
|
262
262
|
export type DesktopMobileEchoRecord = z.infer<typeof row>;
|
|
263
263
|
export type DesktopMobileEchoTarget = z.infer<typeof coordinate>;
|
|
@@ -21,11 +21,11 @@ declare const schema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
|
21
21
|
promptId: string;
|
|
22
22
|
schemaVersion: 1;
|
|
23
23
|
state: "STAGED";
|
|
24
|
-
sourceSha256: string;
|
|
25
24
|
operationId: string;
|
|
26
|
-
|
|
25
|
+
sourceSha256: string;
|
|
27
26
|
eventType: "NOTIFICATION" | "INTERACTIVE_PROMPT";
|
|
28
27
|
writeId: string;
|
|
28
|
+
reRaiseToken: string | null;
|
|
29
29
|
input?: unknown;
|
|
30
30
|
}, {
|
|
31
31
|
kind: "PROMPT_PUBLICATION";
|
|
@@ -34,11 +34,11 @@ declare const schema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
|
34
34
|
promptId: string;
|
|
35
35
|
schemaVersion: 1;
|
|
36
36
|
state: "STAGED";
|
|
37
|
-
sourceSha256: string;
|
|
38
37
|
operationId: string;
|
|
39
|
-
|
|
38
|
+
sourceSha256: string;
|
|
40
39
|
eventType: "NOTIFICATION" | "INTERACTIVE_PROMPT";
|
|
41
40
|
writeId: string;
|
|
41
|
+
reRaiseToken: string | null;
|
|
42
42
|
input?: unknown;
|
|
43
43
|
}>, z.ZodObject<{
|
|
44
44
|
state: z.ZodLiteral<"SETTLED">;
|
|
@@ -85,11 +85,11 @@ declare const schema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
|
85
85
|
reason: "SYNC_QUOTA_EXHAUSTED";
|
|
86
86
|
status: "OMITTED";
|
|
87
87
|
};
|
|
88
|
-
sourceSha256: string;
|
|
89
88
|
operationId: string;
|
|
90
|
-
|
|
89
|
+
sourceSha256: string;
|
|
91
90
|
eventType: "NOTIFICATION" | "INTERACTIVE_PROMPT";
|
|
92
91
|
writeId: string;
|
|
92
|
+
reRaiseToken: string | null;
|
|
93
93
|
}, {
|
|
94
94
|
kind: "PROMPT_PUBLICATION";
|
|
95
95
|
sessionId: string;
|
|
@@ -104,11 +104,11 @@ declare const schema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
|
104
104
|
reason: "SYNC_QUOTA_EXHAUSTED";
|
|
105
105
|
status: "OMITTED";
|
|
106
106
|
};
|
|
107
|
-
sourceSha256: string;
|
|
108
107
|
operationId: string;
|
|
109
|
-
|
|
108
|
+
sourceSha256: string;
|
|
110
109
|
eventType: "NOTIFICATION" | "INTERACTIVE_PROMPT";
|
|
111
110
|
writeId: string;
|
|
111
|
+
reRaiseToken: string | null;
|
|
112
112
|
}>]>;
|
|
113
113
|
export type PromptPublicationRecord = z.infer<typeof schema>;
|
|
114
114
|
export interface PromptPublicationJournal {
|
|
@@ -6,13 +6,13 @@ declare const ticketSchema: z.ZodObject<{
|
|
|
6
6
|
sequence: z.ZodNumber;
|
|
7
7
|
operationId: z.ZodString;
|
|
8
8
|
}, "strict", z.ZodTypeAny, {
|
|
9
|
+
sequence: number;
|
|
9
10
|
operationId: string;
|
|
10
11
|
sourceId: string;
|
|
11
|
-
sequence: number;
|
|
12
12
|
}, {
|
|
13
|
+
sequence: number;
|
|
13
14
|
operationId: string;
|
|
14
15
|
sourceId: string;
|
|
15
|
-
sequence: number;
|
|
16
16
|
}>;
|
|
17
17
|
declare const schema: z.ZodObject<{
|
|
18
18
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -29,13 +29,13 @@ declare const schema: z.ZodObject<{
|
|
|
29
29
|
input: z.ZodUnknown;
|
|
30
30
|
}, "strict", z.ZodTypeAny, {
|
|
31
31
|
state: "STAGED";
|
|
32
|
-
operationId: string;
|
|
33
32
|
sequence: number;
|
|
33
|
+
operationId: string;
|
|
34
34
|
input?: unknown;
|
|
35
35
|
}, {
|
|
36
36
|
state: "STAGED";
|
|
37
|
-
operationId: string;
|
|
38
37
|
sequence: number;
|
|
38
|
+
operationId: string;
|
|
39
39
|
input?: unknown;
|
|
40
40
|
}>, z.ZodObject<{
|
|
41
41
|
sequence: z.ZodNumber;
|
|
@@ -44,43 +44,43 @@ declare const schema: z.ZodObject<{
|
|
|
44
44
|
fingerprint: z.ZodString;
|
|
45
45
|
}, "strict", z.ZodTypeAny, {
|
|
46
46
|
state: "OMITTED";
|
|
47
|
-
fingerprint: string;
|
|
48
|
-
operationId: string;
|
|
49
47
|
sequence: number;
|
|
48
|
+
operationId: string;
|
|
49
|
+
fingerprint: string;
|
|
50
50
|
}, {
|
|
51
51
|
state: "OMITTED";
|
|
52
|
-
fingerprint: string;
|
|
53
|
-
operationId: string;
|
|
54
52
|
sequence: number;
|
|
53
|
+
operationId: string;
|
|
54
|
+
fingerprint: string;
|
|
55
55
|
}>, z.ZodObject<{
|
|
56
56
|
sequence: z.ZodNumber;
|
|
57
57
|
operationId: z.ZodString;
|
|
58
58
|
state: z.ZodLiteral<"SETTLED">;
|
|
59
59
|
}, "strict", z.ZodTypeAny, {
|
|
60
60
|
state: "SETTLED";
|
|
61
|
-
operationId: string;
|
|
62
61
|
sequence: number;
|
|
62
|
+
operationId: string;
|
|
63
63
|
}, {
|
|
64
64
|
state: "SETTLED";
|
|
65
|
-
operationId: string;
|
|
66
65
|
sequence: number;
|
|
66
|
+
operationId: string;
|
|
67
67
|
}>]>, "many">;
|
|
68
68
|
}, "strict", z.ZodTypeAny, {
|
|
69
69
|
kind: "SHELL_SOURCE";
|
|
70
70
|
entries: ({
|
|
71
71
|
state: "STAGED";
|
|
72
|
-
operationId: string;
|
|
73
72
|
sequence: number;
|
|
73
|
+
operationId: string;
|
|
74
74
|
input?: unknown;
|
|
75
75
|
} | {
|
|
76
76
|
state: "OMITTED";
|
|
77
|
-
fingerprint: string;
|
|
78
|
-
operationId: string;
|
|
79
77
|
sequence: number;
|
|
78
|
+
operationId: string;
|
|
79
|
+
fingerprint: string;
|
|
80
80
|
} | {
|
|
81
81
|
state: "SETTLED";
|
|
82
|
-
operationId: string;
|
|
83
82
|
sequence: number;
|
|
83
|
+
operationId: string;
|
|
84
84
|
})[];
|
|
85
85
|
sessionId: string;
|
|
86
86
|
sessionGenerationId: string;
|
|
@@ -92,18 +92,18 @@ declare const schema: z.ZodObject<{
|
|
|
92
92
|
kind: "SHELL_SOURCE";
|
|
93
93
|
entries: ({
|
|
94
94
|
state: "STAGED";
|
|
95
|
-
operationId: string;
|
|
96
95
|
sequence: number;
|
|
96
|
+
operationId: string;
|
|
97
97
|
input?: unknown;
|
|
98
98
|
} | {
|
|
99
99
|
state: "OMITTED";
|
|
100
|
-
fingerprint: string;
|
|
101
|
-
operationId: string;
|
|
102
100
|
sequence: number;
|
|
101
|
+
operationId: string;
|
|
102
|
+
fingerprint: string;
|
|
103
103
|
} | {
|
|
104
104
|
state: "SETTLED";
|
|
105
|
-
operationId: string;
|
|
106
105
|
sequence: number;
|
|
106
|
+
operationId: string;
|
|
107
107
|
})[];
|
|
108
108
|
sessionId: string;
|
|
109
109
|
sessionGenerationId: string;
|
|
@@ -170,10 +170,10 @@ declare const schema: z.ZodObject<{
|
|
|
170
170
|
endOffset: number;
|
|
171
171
|
}>>;
|
|
172
172
|
}, "strict", z.ZodTypeAny, {
|
|
173
|
+
sourceSha256: string;
|
|
173
174
|
provider: "agy" | "claude" | "codex";
|
|
174
175
|
streamSha256: string;
|
|
175
176
|
occurrence: string;
|
|
176
|
-
sourceSha256: string;
|
|
177
177
|
startOffset: number;
|
|
178
178
|
endOffset: number;
|
|
179
179
|
anchor?: {
|
|
@@ -182,10 +182,10 @@ declare const schema: z.ZodObject<{
|
|
|
182
182
|
endOffset: number;
|
|
183
183
|
} | undefined;
|
|
184
184
|
}, {
|
|
185
|
+
sourceSha256: string;
|
|
185
186
|
provider: "agy" | "claude" | "codex";
|
|
186
187
|
streamSha256: string;
|
|
187
188
|
occurrence: string;
|
|
188
|
-
sourceSha256: string;
|
|
189
189
|
startOffset: number;
|
|
190
190
|
endOffset: number;
|
|
191
191
|
anchor?: {
|
|
@@ -194,10 +194,10 @@ declare const schema: z.ZodObject<{
|
|
|
194
194
|
endOffset: number;
|
|
195
195
|
} | undefined;
|
|
196
196
|
}>, {
|
|
197
|
+
sourceSha256: string;
|
|
197
198
|
provider: "agy" | "claude" | "codex";
|
|
198
199
|
streamSha256: string;
|
|
199
200
|
occurrence: string;
|
|
200
|
-
sourceSha256: string;
|
|
201
201
|
startOffset: number;
|
|
202
202
|
endOffset: number;
|
|
203
203
|
anchor?: {
|
|
@@ -206,10 +206,10 @@ declare const schema: z.ZodObject<{
|
|
|
206
206
|
endOffset: number;
|
|
207
207
|
} | undefined;
|
|
208
208
|
}, {
|
|
209
|
+
sourceSha256: string;
|
|
209
210
|
provider: "agy" | "claude" | "codex";
|
|
210
211
|
streamSha256: string;
|
|
211
212
|
occurrence: string;
|
|
212
|
-
sourceSha256: string;
|
|
213
213
|
startOffset: number;
|
|
214
214
|
endOffset: number;
|
|
215
215
|
anchor?: {
|
|
@@ -249,10 +249,10 @@ declare const schema: z.ZodObject<{
|
|
|
249
249
|
endOffset: number;
|
|
250
250
|
}>>;
|
|
251
251
|
}, "strict", z.ZodTypeAny, {
|
|
252
|
+
sourceSha256: string;
|
|
252
253
|
provider: "agy" | "claude" | "codex";
|
|
253
254
|
streamSha256: string;
|
|
254
255
|
occurrence: string;
|
|
255
|
-
sourceSha256: string;
|
|
256
256
|
startOffset: number;
|
|
257
257
|
endOffset: number;
|
|
258
258
|
anchor?: {
|
|
@@ -261,10 +261,10 @@ declare const schema: z.ZodObject<{
|
|
|
261
261
|
endOffset: number;
|
|
262
262
|
} | undefined;
|
|
263
263
|
}, {
|
|
264
|
+
sourceSha256: string;
|
|
264
265
|
provider: "agy" | "claude" | "codex";
|
|
265
266
|
streamSha256: string;
|
|
266
267
|
occurrence: string;
|
|
267
|
-
sourceSha256: string;
|
|
268
268
|
startOffset: number;
|
|
269
269
|
endOffset: number;
|
|
270
270
|
anchor?: {
|
|
@@ -273,10 +273,10 @@ declare const schema: z.ZodObject<{
|
|
|
273
273
|
endOffset: number;
|
|
274
274
|
} | undefined;
|
|
275
275
|
}>, {
|
|
276
|
+
sourceSha256: string;
|
|
276
277
|
provider: "agy" | "claude" | "codex";
|
|
277
278
|
streamSha256: string;
|
|
278
279
|
occurrence: string;
|
|
279
|
-
sourceSha256: string;
|
|
280
280
|
startOffset: number;
|
|
281
281
|
endOffset: number;
|
|
282
282
|
anchor?: {
|
|
@@ -285,10 +285,10 @@ declare const schema: z.ZodObject<{
|
|
|
285
285
|
endOffset: number;
|
|
286
286
|
} | undefined;
|
|
287
287
|
}, {
|
|
288
|
+
sourceSha256: string;
|
|
288
289
|
provider: "agy" | "claude" | "codex";
|
|
289
290
|
streamSha256: string;
|
|
290
291
|
occurrence: string;
|
|
291
|
-
sourceSha256: string;
|
|
292
292
|
startOffset: number;
|
|
293
293
|
endOffset: number;
|
|
294
294
|
anchor?: {
|
|
@@ -302,12 +302,13 @@ declare const schema: z.ZodObject<{
|
|
|
302
302
|
projectionAfter: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
303
303
|
outcome: z.ZodOptional<z.ZodEnum<["ACCEPTED", "OMITTED"]>>;
|
|
304
304
|
}, "strict", z.ZodTypeAny, {
|
|
305
|
-
state: "
|
|
305
|
+
state: "SETTLED" | "PREPARING" | "READY";
|
|
306
|
+
operationId: string;
|
|
306
307
|
frame: {
|
|
308
|
+
sourceSha256: string;
|
|
307
309
|
provider: "agy" | "claude" | "codex";
|
|
308
310
|
streamSha256: string;
|
|
309
311
|
occurrence: string;
|
|
310
|
-
sourceSha256: string;
|
|
311
312
|
startOffset: number;
|
|
312
313
|
endOffset: number;
|
|
313
314
|
anchor?: {
|
|
@@ -316,16 +317,16 @@ declare const schema: z.ZodObject<{
|
|
|
316
317
|
endOffset: number;
|
|
317
318
|
} | undefined;
|
|
318
319
|
};
|
|
319
|
-
operationId: string;
|
|
320
320
|
projectionAfter: string | null;
|
|
321
321
|
outcome?: "ACCEPTED" | "OMITTED" | undefined;
|
|
322
322
|
}, {
|
|
323
|
-
state: "
|
|
323
|
+
state: "SETTLED" | "PREPARING" | "READY";
|
|
324
|
+
operationId: string;
|
|
324
325
|
frame: {
|
|
326
|
+
sourceSha256: string;
|
|
325
327
|
provider: "agy" | "claude" | "codex";
|
|
326
328
|
streamSha256: string;
|
|
327
329
|
occurrence: string;
|
|
328
|
-
sourceSha256: string;
|
|
329
330
|
startOffset: number;
|
|
330
331
|
endOffset: number;
|
|
331
332
|
anchor?: {
|
|
@@ -334,16 +335,16 @@ declare const schema: z.ZodObject<{
|
|
|
334
335
|
endOffset: number;
|
|
335
336
|
} | undefined;
|
|
336
337
|
};
|
|
337
|
-
operationId: string;
|
|
338
338
|
projectionAfter: string | null;
|
|
339
339
|
outcome?: "ACCEPTED" | "OMITTED" | undefined;
|
|
340
340
|
}>, {
|
|
341
|
-
state: "
|
|
341
|
+
state: "SETTLED" | "PREPARING" | "READY";
|
|
342
|
+
operationId: string;
|
|
342
343
|
frame: {
|
|
344
|
+
sourceSha256: string;
|
|
343
345
|
provider: "agy" | "claude" | "codex";
|
|
344
346
|
streamSha256: string;
|
|
345
347
|
occurrence: string;
|
|
346
|
-
sourceSha256: string;
|
|
347
348
|
startOffset: number;
|
|
348
349
|
endOffset: number;
|
|
349
350
|
anchor?: {
|
|
@@ -352,16 +353,16 @@ declare const schema: z.ZodObject<{
|
|
|
352
353
|
endOffset: number;
|
|
353
354
|
} | undefined;
|
|
354
355
|
};
|
|
355
|
-
operationId: string;
|
|
356
356
|
projectionAfter: string | null;
|
|
357
357
|
outcome?: "ACCEPTED" | "OMITTED" | undefined;
|
|
358
358
|
}, {
|
|
359
|
-
state: "
|
|
359
|
+
state: "SETTLED" | "PREPARING" | "READY";
|
|
360
|
+
operationId: string;
|
|
360
361
|
frame: {
|
|
362
|
+
sourceSha256: string;
|
|
361
363
|
provider: "agy" | "claude" | "codex";
|
|
362
364
|
streamSha256: string;
|
|
363
365
|
occurrence: string;
|
|
364
|
-
sourceSha256: string;
|
|
365
366
|
startOffset: number;
|
|
366
367
|
endOffset: number;
|
|
367
368
|
anchor?: {
|
|
@@ -370,7 +371,6 @@ declare const schema: z.ZodObject<{
|
|
|
370
371
|
endOffset: number;
|
|
371
372
|
} | undefined;
|
|
372
373
|
};
|
|
373
|
-
operationId: string;
|
|
374
374
|
projectionAfter: string | null;
|
|
375
375
|
outcome?: "ACCEPTED" | "OMITTED" | undefined;
|
|
376
376
|
}>, "many">;
|
|
@@ -382,12 +382,13 @@ declare const schema: z.ZodObject<{
|
|
|
382
382
|
} | null;
|
|
383
383
|
kind: "SOURCE_CURSOR";
|
|
384
384
|
entries: {
|
|
385
|
-
state: "
|
|
385
|
+
state: "SETTLED" | "PREPARING" | "READY";
|
|
386
|
+
operationId: string;
|
|
386
387
|
frame: {
|
|
388
|
+
sourceSha256: string;
|
|
387
389
|
provider: "agy" | "claude" | "codex";
|
|
388
390
|
streamSha256: string;
|
|
389
391
|
occurrence: string;
|
|
390
|
-
sourceSha256: string;
|
|
391
392
|
startOffset: number;
|
|
392
393
|
endOffset: number;
|
|
393
394
|
anchor?: {
|
|
@@ -396,7 +397,6 @@ declare const schema: z.ZodObject<{
|
|
|
396
397
|
endOffset: number;
|
|
397
398
|
} | undefined;
|
|
398
399
|
};
|
|
399
|
-
operationId: string;
|
|
400
400
|
projectionAfter: string | null;
|
|
401
401
|
outcome?: "ACCEPTED" | "OMITTED" | undefined;
|
|
402
402
|
}[];
|
|
@@ -404,10 +404,10 @@ declare const schema: z.ZodObject<{
|
|
|
404
404
|
sessionGenerationId: string;
|
|
405
405
|
byteOffset: number;
|
|
406
406
|
schemaVersion: 1;
|
|
407
|
+
operationId: string;
|
|
407
408
|
provider: "agy" | "claude" | "codex";
|
|
408
409
|
streamSha256: string;
|
|
409
410
|
discardUntilNewline: boolean;
|
|
410
|
-
operationId: string;
|
|
411
411
|
skippedBytes: number;
|
|
412
412
|
lastGap: {
|
|
413
413
|
reason: "BACKLOG_LIMIT" | "OVERSIZED_RECORD" | "PARTIAL_RECORD" | "MALFORMED_RECORD" | "EMPTY_RECORD";
|
|
@@ -422,10 +422,10 @@ declare const schema: z.ZodObject<{
|
|
|
422
422
|
} | null;
|
|
423
423
|
projection: string | null;
|
|
424
424
|
lastFrame: {
|
|
425
|
+
sourceSha256: string;
|
|
425
426
|
provider: "agy" | "claude" | "codex";
|
|
426
427
|
streamSha256: string;
|
|
427
428
|
occurrence: string;
|
|
428
|
-
sourceSha256: string;
|
|
429
429
|
startOffset: number;
|
|
430
430
|
endOffset: number;
|
|
431
431
|
anchor?: {
|
|
@@ -442,12 +442,13 @@ declare const schema: z.ZodObject<{
|
|
|
442
442
|
} | null;
|
|
443
443
|
kind: "SOURCE_CURSOR";
|
|
444
444
|
entries: {
|
|
445
|
-
state: "
|
|
445
|
+
state: "SETTLED" | "PREPARING" | "READY";
|
|
446
|
+
operationId: string;
|
|
446
447
|
frame: {
|
|
448
|
+
sourceSha256: string;
|
|
447
449
|
provider: "agy" | "claude" | "codex";
|
|
448
450
|
streamSha256: string;
|
|
449
451
|
occurrence: string;
|
|
450
|
-
sourceSha256: string;
|
|
451
452
|
startOffset: number;
|
|
452
453
|
endOffset: number;
|
|
453
454
|
anchor?: {
|
|
@@ -456,7 +457,6 @@ declare const schema: z.ZodObject<{
|
|
|
456
457
|
endOffset: number;
|
|
457
458
|
} | undefined;
|
|
458
459
|
};
|
|
459
|
-
operationId: string;
|
|
460
460
|
projectionAfter: string | null;
|
|
461
461
|
outcome?: "ACCEPTED" | "OMITTED" | undefined;
|
|
462
462
|
}[];
|
|
@@ -464,10 +464,10 @@ declare const schema: z.ZodObject<{
|
|
|
464
464
|
sessionGenerationId: string;
|
|
465
465
|
byteOffset: number;
|
|
466
466
|
schemaVersion: 1;
|
|
467
|
+
operationId: string;
|
|
467
468
|
provider: "agy" | "claude" | "codex";
|
|
468
469
|
streamSha256: string;
|
|
469
470
|
discardUntilNewline: boolean;
|
|
470
|
-
operationId: string;
|
|
471
471
|
skippedBytes: number;
|
|
472
472
|
lastGap: {
|
|
473
473
|
reason: "BACKLOG_LIMIT" | "OVERSIZED_RECORD" | "PARTIAL_RECORD" | "MALFORMED_RECORD" | "EMPTY_RECORD";
|
|
@@ -482,10 +482,10 @@ declare const schema: z.ZodObject<{
|
|
|
482
482
|
} | null;
|
|
483
483
|
projection: string | null;
|
|
484
484
|
lastFrame: {
|
|
485
|
+
sourceSha256: string;
|
|
485
486
|
provider: "agy" | "claude" | "codex";
|
|
486
487
|
streamSha256: string;
|
|
487
488
|
occurrence: string;
|
|
488
|
-
sourceSha256: string;
|
|
489
489
|
startOffset: number;
|
|
490
490
|
endOffset: number;
|
|
491
491
|
anchor?: {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Desktop guidance only. All plan selection and purchases stay in the mobile app. */
|
|
2
|
+
export declare function formatUpgradeHandoff(): string;
|
|
3
|
+
/** Runs before session/auth bootstrap, so Free and signed-out customers can read the instructions. */
|
|
4
|
+
export declare function runUpgradeCliIfRequested(argv: string[], io?: {
|
|
5
|
+
out: NodeJS.WriteStream & {
|
|
6
|
+
fd: 1;
|
|
7
|
+
};
|
|
8
|
+
err: NodeJS.WriteStream & {
|
|
9
|
+
fd: 2;
|
|
10
|
+
};
|
|
11
|
+
}): number | undefined;
|