@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
|
@@ -226,6 +226,11 @@ declare const rejectionSchema: z.ZodObject<{
|
|
|
226
226
|
cloudDelivered: z.ZodBoolean;
|
|
227
227
|
}, "strict", z.ZodTypeAny, {
|
|
228
228
|
reason: "ALREADY_ANSWERED" | "NOT_APPLIED";
|
|
229
|
+
scope: {
|
|
230
|
+
sessionId: string;
|
|
231
|
+
sessionGenerationId: string;
|
|
232
|
+
expectedSessionKeyGen: string;
|
|
233
|
+
};
|
|
229
234
|
event: {
|
|
230
235
|
source: "MOBILE";
|
|
231
236
|
eventId: string;
|
|
@@ -235,11 +240,6 @@ declare const rejectionSchema: z.ZodObject<{
|
|
|
235
240
|
timestamp: string;
|
|
236
241
|
syncLifecycleVersion?: 1 | undefined;
|
|
237
242
|
};
|
|
238
|
-
scope: {
|
|
239
|
-
sessionId: string;
|
|
240
|
-
sessionGenerationId: string;
|
|
241
|
-
expectedSessionKeyGen: string;
|
|
242
|
-
};
|
|
243
243
|
eventSha256: string;
|
|
244
244
|
controlKey: string | null;
|
|
245
245
|
raiseJson: string;
|
|
@@ -249,6 +249,11 @@ declare const rejectionSchema: z.ZodObject<{
|
|
|
249
249
|
cloudDelivered: boolean;
|
|
250
250
|
}, {
|
|
251
251
|
reason: "ALREADY_ANSWERED" | "NOT_APPLIED";
|
|
252
|
+
scope: {
|
|
253
|
+
sessionId: string;
|
|
254
|
+
sessionGenerationId: string;
|
|
255
|
+
expectedSessionKeyGen: string;
|
|
256
|
+
};
|
|
252
257
|
event: {
|
|
253
258
|
source: "MOBILE";
|
|
254
259
|
eventId: string;
|
|
@@ -258,11 +263,6 @@ declare const rejectionSchema: z.ZodObject<{
|
|
|
258
263
|
timestamp: string;
|
|
259
264
|
syncLifecycleVersion?: 1 | undefined;
|
|
260
265
|
};
|
|
261
|
-
scope: {
|
|
262
|
-
sessionId: string;
|
|
263
|
-
sessionGenerationId: string;
|
|
264
|
-
expectedSessionKeyGen: string;
|
|
265
|
-
};
|
|
266
266
|
eventSha256: string;
|
|
267
267
|
controlKey: string | null;
|
|
268
268
|
raiseJson: string;
|
|
@@ -437,7 +437,7 @@ declare const recordSchema: z.ZodObject<{
|
|
|
437
437
|
detailsSha256: z.ZodString;
|
|
438
438
|
}, "strict", z.ZodTypeAny, {
|
|
439
439
|
method: "file" | "command";
|
|
440
|
-
decision: "accept" | "
|
|
440
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
441
441
|
acceptWithExecpolicyAmendment: {
|
|
442
442
|
execpolicy_amendment: string[];
|
|
443
443
|
};
|
|
@@ -447,7 +447,7 @@ declare const recordSchema: z.ZodObject<{
|
|
|
447
447
|
detailsSha256: string;
|
|
448
448
|
}, {
|
|
449
449
|
method: "file" | "command";
|
|
450
|
-
decision: "accept" | "
|
|
450
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
451
451
|
acceptWithExecpolicyAmendment: {
|
|
452
452
|
execpolicy_amendment: string[];
|
|
453
453
|
};
|
|
@@ -461,7 +461,7 @@ declare const recordSchema: z.ZodObject<{
|
|
|
461
461
|
turnId: string | null;
|
|
462
462
|
approval: {
|
|
463
463
|
method: "file" | "command";
|
|
464
|
-
decision: "accept" | "
|
|
464
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
465
465
|
acceptWithExecpolicyAmendment: {
|
|
466
466
|
execpolicy_amendment: string[];
|
|
467
467
|
};
|
|
@@ -479,7 +479,7 @@ declare const recordSchema: z.ZodObject<{
|
|
|
479
479
|
turnId: string | null;
|
|
480
480
|
approval: {
|
|
481
481
|
method: "file" | "command";
|
|
482
|
-
decision: "accept" | "
|
|
482
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
483
483
|
acceptWithExecpolicyAmendment: {
|
|
484
484
|
execpolicy_amendment: string[];
|
|
485
485
|
};
|
|
@@ -498,7 +498,12 @@ declare const recordSchema: z.ZodObject<{
|
|
|
498
498
|
nativeReceiptSha256: z.ZodNullable<z.ZodString>;
|
|
499
499
|
}, "strict", z.ZodTypeAny, {
|
|
500
500
|
kind: "INPUT";
|
|
501
|
-
phase: "ATTEMPTED" | "
|
|
501
|
+
phase: "ATTEMPTED" | "PREPARED" | "UNCERTAIN" | "RECEIPTED";
|
|
502
|
+
scope: {
|
|
503
|
+
sessionId: string;
|
|
504
|
+
sessionGenerationId: string;
|
|
505
|
+
expectedSessionKeyGen: string;
|
|
506
|
+
};
|
|
502
507
|
event: {
|
|
503
508
|
source: "MOBILE";
|
|
504
509
|
eventId: string;
|
|
@@ -509,11 +514,6 @@ declare const recordSchema: z.ZodObject<{
|
|
|
509
514
|
payloadJson: string;
|
|
510
515
|
syncLifecycleVersion?: 1 | undefined;
|
|
511
516
|
};
|
|
512
|
-
scope: {
|
|
513
|
-
sessionId: string;
|
|
514
|
-
sessionGenerationId: string;
|
|
515
|
-
expectedSessionKeyGen: string;
|
|
516
|
-
};
|
|
517
517
|
eventSha256: string;
|
|
518
518
|
bodyJson: string;
|
|
519
519
|
binding: {
|
|
@@ -521,7 +521,7 @@ declare const recordSchema: z.ZodObject<{
|
|
|
521
521
|
turnId: string | null;
|
|
522
522
|
approval: {
|
|
523
523
|
method: "file" | "command";
|
|
524
|
-
decision: "accept" | "
|
|
524
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
525
525
|
acceptWithExecpolicyAmendment: {
|
|
526
526
|
execpolicy_amendment: string[];
|
|
527
527
|
};
|
|
@@ -540,7 +540,12 @@ declare const recordSchema: z.ZodObject<{
|
|
|
540
540
|
nativeReceiptSha256: string | null;
|
|
541
541
|
}, {
|
|
542
542
|
kind: "INPUT";
|
|
543
|
-
phase: "ATTEMPTED" | "
|
|
543
|
+
phase: "ATTEMPTED" | "PREPARED" | "UNCERTAIN" | "RECEIPTED";
|
|
544
|
+
scope: {
|
|
545
|
+
sessionId: string;
|
|
546
|
+
sessionGenerationId: string;
|
|
547
|
+
expectedSessionKeyGen: string;
|
|
548
|
+
};
|
|
544
549
|
event: {
|
|
545
550
|
source: "MOBILE";
|
|
546
551
|
eventId: string;
|
|
@@ -551,11 +556,6 @@ declare const recordSchema: z.ZodObject<{
|
|
|
551
556
|
payloadJson: string;
|
|
552
557
|
syncLifecycleVersion?: 1 | undefined;
|
|
553
558
|
};
|
|
554
|
-
scope: {
|
|
555
|
-
sessionId: string;
|
|
556
|
-
sessionGenerationId: string;
|
|
557
|
-
expectedSessionKeyGen: string;
|
|
558
|
-
};
|
|
559
559
|
eventSha256: string;
|
|
560
560
|
bodyJson: string;
|
|
561
561
|
binding: {
|
|
@@ -563,7 +563,7 @@ declare const recordSchema: z.ZodObject<{
|
|
|
563
563
|
turnId: string | null;
|
|
564
564
|
approval: {
|
|
565
565
|
method: "file" | "command";
|
|
566
|
-
decision: "accept" | "
|
|
566
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
567
567
|
acceptWithExecpolicyAmendment: {
|
|
568
568
|
execpolicy_amendment: string[];
|
|
569
569
|
};
|
|
@@ -654,7 +654,7 @@ declare const recordSchema: z.ZodObject<{
|
|
|
654
654
|
detailsSha256: z.ZodString;
|
|
655
655
|
}, "strict", z.ZodTypeAny, {
|
|
656
656
|
method: "file" | "command";
|
|
657
|
-
decision: "accept" | "
|
|
657
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
658
658
|
acceptWithExecpolicyAmendment: {
|
|
659
659
|
execpolicy_amendment: string[];
|
|
660
660
|
};
|
|
@@ -664,7 +664,7 @@ declare const recordSchema: z.ZodObject<{
|
|
|
664
664
|
detailsSha256: string;
|
|
665
665
|
}, {
|
|
666
666
|
method: "file" | "command";
|
|
667
|
-
decision: "accept" | "
|
|
667
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
668
668
|
acceptWithExecpolicyAmendment: {
|
|
669
669
|
execpolicy_amendment: string[];
|
|
670
670
|
};
|
|
@@ -678,7 +678,7 @@ declare const recordSchema: z.ZodObject<{
|
|
|
678
678
|
turnId: string | null;
|
|
679
679
|
approval: {
|
|
680
680
|
method: "file" | "command";
|
|
681
|
-
decision: "accept" | "
|
|
681
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
682
682
|
acceptWithExecpolicyAmendment: {
|
|
683
683
|
execpolicy_amendment: string[];
|
|
684
684
|
};
|
|
@@ -696,7 +696,7 @@ declare const recordSchema: z.ZodObject<{
|
|
|
696
696
|
turnId: string | null;
|
|
697
697
|
approval: {
|
|
698
698
|
method: "file" | "command";
|
|
699
|
-
decision: "accept" | "
|
|
699
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
700
700
|
acceptWithExecpolicyAmendment: {
|
|
701
701
|
execpolicy_amendment: string[];
|
|
702
702
|
};
|
|
@@ -715,7 +715,12 @@ declare const recordSchema: z.ZodObject<{
|
|
|
715
715
|
nativeReceiptSha256: z.ZodNullable<z.ZodString>;
|
|
716
716
|
}, "strict", z.ZodTypeAny, {
|
|
717
717
|
kind: "RETIRED_EVIDENCE";
|
|
718
|
-
outcome: "
|
|
718
|
+
outcome: "UNKNOWN" | "NATIVE_CONFIRMED" | "NOT_SENT";
|
|
719
|
+
scope: {
|
|
720
|
+
sessionId: string;
|
|
721
|
+
sessionGenerationId: string;
|
|
722
|
+
expectedSessionKeyGen: string;
|
|
723
|
+
};
|
|
719
724
|
event: {
|
|
720
725
|
source: "MOBILE";
|
|
721
726
|
eventId: string;
|
|
@@ -725,18 +730,13 @@ declare const recordSchema: z.ZodObject<{
|
|
|
725
730
|
timestamp: string;
|
|
726
731
|
syncLifecycleVersion?: 1 | undefined;
|
|
727
732
|
};
|
|
728
|
-
scope: {
|
|
729
|
-
sessionId: string;
|
|
730
|
-
sessionGenerationId: string;
|
|
731
|
-
expectedSessionKeyGen: string;
|
|
732
|
-
};
|
|
733
733
|
eventSha256: string;
|
|
734
734
|
binding: {
|
|
735
735
|
kind: "user" | "approval" | "async";
|
|
736
736
|
turnId: string | null;
|
|
737
737
|
approval: {
|
|
738
738
|
method: "file" | "command";
|
|
739
|
-
decision: "accept" | "
|
|
739
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
740
740
|
acceptWithExecpolicyAmendment: {
|
|
741
741
|
execpolicy_amendment: string[];
|
|
742
742
|
};
|
|
@@ -755,7 +755,12 @@ declare const recordSchema: z.ZodObject<{
|
|
|
755
755
|
nativeReceiptSha256: string | null;
|
|
756
756
|
}, {
|
|
757
757
|
kind: "RETIRED_EVIDENCE";
|
|
758
|
-
outcome: "
|
|
758
|
+
outcome: "UNKNOWN" | "NATIVE_CONFIRMED" | "NOT_SENT";
|
|
759
|
+
scope: {
|
|
760
|
+
sessionId: string;
|
|
761
|
+
sessionGenerationId: string;
|
|
762
|
+
expectedSessionKeyGen: string;
|
|
763
|
+
};
|
|
759
764
|
event: {
|
|
760
765
|
source: "MOBILE";
|
|
761
766
|
eventId: string;
|
|
@@ -765,18 +770,13 @@ declare const recordSchema: z.ZodObject<{
|
|
|
765
770
|
timestamp: string;
|
|
766
771
|
syncLifecycleVersion?: 1 | undefined;
|
|
767
772
|
};
|
|
768
|
-
scope: {
|
|
769
|
-
sessionId: string;
|
|
770
|
-
sessionGenerationId: string;
|
|
771
|
-
expectedSessionKeyGen: string;
|
|
772
|
-
};
|
|
773
773
|
eventSha256: string;
|
|
774
774
|
binding: {
|
|
775
775
|
kind: "user" | "approval" | "async";
|
|
776
776
|
turnId: string | null;
|
|
777
777
|
approval: {
|
|
778
778
|
method: "file" | "command";
|
|
779
|
-
decision: "accept" | "
|
|
779
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
780
780
|
acceptWithExecpolicyAmendment: {
|
|
781
781
|
execpolicy_amendment: string[];
|
|
782
782
|
};
|
|
@@ -910,6 +910,11 @@ declare const recordSchema: z.ZodObject<{
|
|
|
910
910
|
cloudDelivered: z.ZodBoolean;
|
|
911
911
|
}, "strict", z.ZodTypeAny, {
|
|
912
912
|
reason: "ALREADY_ANSWERED" | "NOT_APPLIED";
|
|
913
|
+
scope: {
|
|
914
|
+
sessionId: string;
|
|
915
|
+
sessionGenerationId: string;
|
|
916
|
+
expectedSessionKeyGen: string;
|
|
917
|
+
};
|
|
913
918
|
event: {
|
|
914
919
|
source: "MOBILE";
|
|
915
920
|
eventId: string;
|
|
@@ -919,11 +924,6 @@ declare const recordSchema: z.ZodObject<{
|
|
|
919
924
|
timestamp: string;
|
|
920
925
|
syncLifecycleVersion?: 1 | undefined;
|
|
921
926
|
};
|
|
922
|
-
scope: {
|
|
923
|
-
sessionId: string;
|
|
924
|
-
sessionGenerationId: string;
|
|
925
|
-
expectedSessionKeyGen: string;
|
|
926
|
-
};
|
|
927
927
|
eventSha256: string;
|
|
928
928
|
controlKey: string | null;
|
|
929
929
|
raiseJson: string;
|
|
@@ -933,6 +933,11 @@ declare const recordSchema: z.ZodObject<{
|
|
|
933
933
|
cloudDelivered: boolean;
|
|
934
934
|
}, {
|
|
935
935
|
reason: "ALREADY_ANSWERED" | "NOT_APPLIED";
|
|
936
|
+
scope: {
|
|
937
|
+
sessionId: string;
|
|
938
|
+
sessionGenerationId: string;
|
|
939
|
+
expectedSessionKeyGen: string;
|
|
940
|
+
};
|
|
936
941
|
event: {
|
|
937
942
|
source: "MOBILE";
|
|
938
943
|
eventId: string;
|
|
@@ -942,11 +947,6 @@ declare const recordSchema: z.ZodObject<{
|
|
|
942
947
|
timestamp: string;
|
|
943
948
|
syncLifecycleVersion?: 1 | undefined;
|
|
944
949
|
};
|
|
945
|
-
scope: {
|
|
946
|
-
sessionId: string;
|
|
947
|
-
sessionGenerationId: string;
|
|
948
|
-
expectedSessionKeyGen: string;
|
|
949
|
-
};
|
|
950
950
|
eventSha256: string;
|
|
951
951
|
controlKey: string | null;
|
|
952
952
|
raiseJson: string;
|
|
@@ -978,7 +978,12 @@ declare const recordSchema: z.ZodObject<{
|
|
|
978
978
|
};
|
|
979
979
|
entries: ({
|
|
980
980
|
kind: "INPUT";
|
|
981
|
-
phase: "ATTEMPTED" | "
|
|
981
|
+
phase: "ATTEMPTED" | "PREPARED" | "UNCERTAIN" | "RECEIPTED";
|
|
982
|
+
scope: {
|
|
983
|
+
sessionId: string;
|
|
984
|
+
sessionGenerationId: string;
|
|
985
|
+
expectedSessionKeyGen: string;
|
|
986
|
+
};
|
|
982
987
|
event: {
|
|
983
988
|
source: "MOBILE";
|
|
984
989
|
eventId: string;
|
|
@@ -989,11 +994,6 @@ declare const recordSchema: z.ZodObject<{
|
|
|
989
994
|
payloadJson: string;
|
|
990
995
|
syncLifecycleVersion?: 1 | undefined;
|
|
991
996
|
};
|
|
992
|
-
scope: {
|
|
993
|
-
sessionId: string;
|
|
994
|
-
sessionGenerationId: string;
|
|
995
|
-
expectedSessionKeyGen: string;
|
|
996
|
-
};
|
|
997
997
|
eventSha256: string;
|
|
998
998
|
bodyJson: string;
|
|
999
999
|
binding: {
|
|
@@ -1001,7 +1001,7 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1001
1001
|
turnId: string | null;
|
|
1002
1002
|
approval: {
|
|
1003
1003
|
method: "file" | "command";
|
|
1004
|
-
decision: "accept" | "
|
|
1004
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
1005
1005
|
acceptWithExecpolicyAmendment: {
|
|
1006
1006
|
execpolicy_amendment: string[];
|
|
1007
1007
|
};
|
|
@@ -1020,7 +1020,12 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1020
1020
|
nativeReceiptSha256: string | null;
|
|
1021
1021
|
} | {
|
|
1022
1022
|
kind: "RETIRED_EVIDENCE";
|
|
1023
|
-
outcome: "
|
|
1023
|
+
outcome: "UNKNOWN" | "NATIVE_CONFIRMED" | "NOT_SENT";
|
|
1024
|
+
scope: {
|
|
1025
|
+
sessionId: string;
|
|
1026
|
+
sessionGenerationId: string;
|
|
1027
|
+
expectedSessionKeyGen: string;
|
|
1028
|
+
};
|
|
1024
1029
|
event: {
|
|
1025
1030
|
source: "MOBILE";
|
|
1026
1031
|
eventId: string;
|
|
@@ -1030,18 +1035,13 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1030
1035
|
timestamp: string;
|
|
1031
1036
|
syncLifecycleVersion?: 1 | undefined;
|
|
1032
1037
|
};
|
|
1033
|
-
scope: {
|
|
1034
|
-
sessionId: string;
|
|
1035
|
-
sessionGenerationId: string;
|
|
1036
|
-
expectedSessionKeyGen: string;
|
|
1037
|
-
};
|
|
1038
1038
|
eventSha256: string;
|
|
1039
1039
|
binding: {
|
|
1040
1040
|
kind: "user" | "approval" | "async";
|
|
1041
1041
|
turnId: string | null;
|
|
1042
1042
|
approval: {
|
|
1043
1043
|
method: "file" | "command";
|
|
1044
|
-
decision: "accept" | "
|
|
1044
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
1045
1045
|
acceptWithExecpolicyAmendment: {
|
|
1046
1046
|
execpolicy_amendment: string[];
|
|
1047
1047
|
};
|
|
@@ -1061,13 +1061,6 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1061
1061
|
})[];
|
|
1062
1062
|
version: 1;
|
|
1063
1063
|
revision: number;
|
|
1064
|
-
stable: {
|
|
1065
|
-
deviceId: string;
|
|
1066
|
-
environment: "production" | "development";
|
|
1067
|
-
userId: string;
|
|
1068
|
-
nativeThreadId: string;
|
|
1069
|
-
};
|
|
1070
|
-
handoffTo: string | null;
|
|
1071
1064
|
scopes: {
|
|
1072
1065
|
state: "CLOSED" | "OPEN";
|
|
1073
1066
|
scope: {
|
|
@@ -1077,6 +1070,13 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1077
1070
|
};
|
|
1078
1071
|
closureReason?: "TERMINAL" | "BACKEND_REPLACED" | undefined;
|
|
1079
1072
|
}[];
|
|
1073
|
+
stable: {
|
|
1074
|
+
deviceId: string;
|
|
1075
|
+
environment: "production" | "development";
|
|
1076
|
+
userId: string;
|
|
1077
|
+
nativeThreadId: string;
|
|
1078
|
+
};
|
|
1079
|
+
handoffTo: string | null;
|
|
1080
1080
|
controls: {
|
|
1081
1081
|
kind: "file" | "command" | "async";
|
|
1082
1082
|
key: string;
|
|
@@ -1099,6 +1099,11 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1099
1099
|
}[];
|
|
1100
1100
|
rejections: {
|
|
1101
1101
|
reason: "ALREADY_ANSWERED" | "NOT_APPLIED";
|
|
1102
|
+
scope: {
|
|
1103
|
+
sessionId: string;
|
|
1104
|
+
sessionGenerationId: string;
|
|
1105
|
+
expectedSessionKeyGen: string;
|
|
1106
|
+
};
|
|
1102
1107
|
event: {
|
|
1103
1108
|
source: "MOBILE";
|
|
1104
1109
|
eventId: string;
|
|
@@ -1108,11 +1113,6 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1108
1113
|
timestamp: string;
|
|
1109
1114
|
syncLifecycleVersion?: 1 | undefined;
|
|
1110
1115
|
};
|
|
1111
|
-
scope: {
|
|
1112
|
-
sessionId: string;
|
|
1113
|
-
sessionGenerationId: string;
|
|
1114
|
-
expectedSessionKeyGen: string;
|
|
1115
|
-
};
|
|
1116
1116
|
eventSha256: string;
|
|
1117
1117
|
controlKey: string | null;
|
|
1118
1118
|
raiseJson: string;
|
|
@@ -1138,7 +1138,12 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1138
1138
|
};
|
|
1139
1139
|
entries: ({
|
|
1140
1140
|
kind: "INPUT";
|
|
1141
|
-
phase: "ATTEMPTED" | "
|
|
1141
|
+
phase: "ATTEMPTED" | "PREPARED" | "UNCERTAIN" | "RECEIPTED";
|
|
1142
|
+
scope: {
|
|
1143
|
+
sessionId: string;
|
|
1144
|
+
sessionGenerationId: string;
|
|
1145
|
+
expectedSessionKeyGen: string;
|
|
1146
|
+
};
|
|
1142
1147
|
event: {
|
|
1143
1148
|
source: "MOBILE";
|
|
1144
1149
|
eventId: string;
|
|
@@ -1149,11 +1154,6 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1149
1154
|
payloadJson: string;
|
|
1150
1155
|
syncLifecycleVersion?: 1 | undefined;
|
|
1151
1156
|
};
|
|
1152
|
-
scope: {
|
|
1153
|
-
sessionId: string;
|
|
1154
|
-
sessionGenerationId: string;
|
|
1155
|
-
expectedSessionKeyGen: string;
|
|
1156
|
-
};
|
|
1157
1157
|
eventSha256: string;
|
|
1158
1158
|
bodyJson: string;
|
|
1159
1159
|
binding: {
|
|
@@ -1161,7 +1161,7 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1161
1161
|
turnId: string | null;
|
|
1162
1162
|
approval: {
|
|
1163
1163
|
method: "file" | "command";
|
|
1164
|
-
decision: "accept" | "
|
|
1164
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
1165
1165
|
acceptWithExecpolicyAmendment: {
|
|
1166
1166
|
execpolicy_amendment: string[];
|
|
1167
1167
|
};
|
|
@@ -1180,7 +1180,12 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1180
1180
|
nativeReceiptSha256: string | null;
|
|
1181
1181
|
} | {
|
|
1182
1182
|
kind: "RETIRED_EVIDENCE";
|
|
1183
|
-
outcome: "
|
|
1183
|
+
outcome: "UNKNOWN" | "NATIVE_CONFIRMED" | "NOT_SENT";
|
|
1184
|
+
scope: {
|
|
1185
|
+
sessionId: string;
|
|
1186
|
+
sessionGenerationId: string;
|
|
1187
|
+
expectedSessionKeyGen: string;
|
|
1188
|
+
};
|
|
1184
1189
|
event: {
|
|
1185
1190
|
source: "MOBILE";
|
|
1186
1191
|
eventId: string;
|
|
@@ -1190,18 +1195,13 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1190
1195
|
timestamp: string;
|
|
1191
1196
|
syncLifecycleVersion?: 1 | undefined;
|
|
1192
1197
|
};
|
|
1193
|
-
scope: {
|
|
1194
|
-
sessionId: string;
|
|
1195
|
-
sessionGenerationId: string;
|
|
1196
|
-
expectedSessionKeyGen: string;
|
|
1197
|
-
};
|
|
1198
1198
|
eventSha256: string;
|
|
1199
1199
|
binding: {
|
|
1200
1200
|
kind: "user" | "approval" | "async";
|
|
1201
1201
|
turnId: string | null;
|
|
1202
1202
|
approval: {
|
|
1203
1203
|
method: "file" | "command";
|
|
1204
|
-
decision: "accept" | "
|
|
1204
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
1205
1205
|
acceptWithExecpolicyAmendment: {
|
|
1206
1206
|
execpolicy_amendment: string[];
|
|
1207
1207
|
};
|
|
@@ -1221,13 +1221,6 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1221
1221
|
})[];
|
|
1222
1222
|
version: 1;
|
|
1223
1223
|
revision: number;
|
|
1224
|
-
stable: {
|
|
1225
|
-
deviceId: string;
|
|
1226
|
-
environment: "production" | "development";
|
|
1227
|
-
userId: string;
|
|
1228
|
-
nativeThreadId: string;
|
|
1229
|
-
};
|
|
1230
|
-
handoffTo: string | null;
|
|
1231
1224
|
scopes: {
|
|
1232
1225
|
state: "CLOSED" | "OPEN";
|
|
1233
1226
|
scope: {
|
|
@@ -1237,6 +1230,13 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1237
1230
|
};
|
|
1238
1231
|
closureReason?: "TERMINAL" | "BACKEND_REPLACED" | undefined;
|
|
1239
1232
|
}[];
|
|
1233
|
+
stable: {
|
|
1234
|
+
deviceId: string;
|
|
1235
|
+
environment: "production" | "development";
|
|
1236
|
+
userId: string;
|
|
1237
|
+
nativeThreadId: string;
|
|
1238
|
+
};
|
|
1239
|
+
handoffTo: string | null;
|
|
1240
1240
|
controls: {
|
|
1241
1241
|
kind: "file" | "command" | "async";
|
|
1242
1242
|
key: string;
|
|
@@ -1263,6 +1263,11 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1263
1263
|
};
|
|
1264
1264
|
rejections?: {
|
|
1265
1265
|
reason: "ALREADY_ANSWERED" | "NOT_APPLIED";
|
|
1266
|
+
scope: {
|
|
1267
|
+
sessionId: string;
|
|
1268
|
+
sessionGenerationId: string;
|
|
1269
|
+
expectedSessionKeyGen: string;
|
|
1270
|
+
};
|
|
1266
1271
|
event: {
|
|
1267
1272
|
source: "MOBILE";
|
|
1268
1273
|
eventId: string;
|
|
@@ -1272,11 +1277,6 @@ declare const recordSchema: z.ZodObject<{
|
|
|
1272
1277
|
timestamp: string;
|
|
1273
1278
|
syncLifecycleVersion?: 1 | undefined;
|
|
1274
1279
|
};
|
|
1275
|
-
scope: {
|
|
1276
|
-
sessionId: string;
|
|
1277
|
-
sessionGenerationId: string;
|
|
1278
|
-
expectedSessionKeyGen: string;
|
|
1279
|
-
};
|
|
1280
1280
|
eventSha256: string;
|
|
1281
1281
|
controlKey: string | null;
|
|
1282
1282
|
raiseJson: string;
|
|
@@ -1345,7 +1345,7 @@ declare const intentSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
1345
1345
|
}, "strict", z.ZodTypeAny, {
|
|
1346
1346
|
method: "file" | "command";
|
|
1347
1347
|
kind: "approval";
|
|
1348
|
-
decision: "accept" | "
|
|
1348
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
1349
1349
|
acceptWithExecpolicyAmendment: {
|
|
1350
1350
|
execpolicy_amendment: string[];
|
|
1351
1351
|
};
|
|
@@ -1359,7 +1359,7 @@ declare const intentSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
1359
1359
|
}, {
|
|
1360
1360
|
method: "file" | "command";
|
|
1361
1361
|
kind: "approval";
|
|
1362
|
-
decision: "accept" | "
|
|
1362
|
+
decision: "accept" | "cancel" | "acceptForSession" | "decline" | {
|
|
1363
1363
|
acceptWithExecpolicyAmendment: {
|
|
1364
1364
|
execpolicy_amendment: string[];
|
|
1365
1365
|
};
|