@opengeni/contracts 0.19.4 → 0.20.1

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/index.d.ts CHANGED
@@ -535,6 +535,428 @@ declare function createSecretRedactor(knownSecrets: readonly SecretForRedaction[
535
535
  declare function redactSerializedJson(serialized: string, knownSecrets?: readonly SecretForRedaction[]): string;
536
536
  declare function identityRedactor<T>(value: T): T;
537
537
 
538
+ declare const WORKSPACE_INSTRUCTION_POLICY_CONTENT_MAX_CHARS = 262144;
539
+ declare const WORKSPACE_INSTRUCTION_POLICY_REASON_MAX_CHARS = 4096;
540
+ declare const WORKSPACE_INSTRUCTION_POLICY_ROLE_KEY_MAX_CHARS = 64;
541
+ declare const WORKSPACE_INSTRUCTION_POLICY_SOURCE_ID_MAX_CHARS = 512;
542
+ declare const WorkspaceInstructionPolicyKind: z.ZodEnum<{
543
+ policy: "policy";
544
+ charter: "charter";
545
+ }>;
546
+ type WorkspaceInstructionPolicyKind = z.infer<typeof WorkspaceInstructionPolicyKind>;
547
+ declare const WorkspaceInstructionPolicyScope: z.ZodEnum<{
548
+ role: "role";
549
+ global: "global";
550
+ }>;
551
+ type WorkspaceInstructionPolicyScope = z.infer<typeof WorkspaceInstructionPolicyScope>;
552
+ declare const WorkspaceInstructionPolicyProvenanceSource: z.ZodEnum<{
553
+ human: "human";
554
+ onboarding: "onboarding";
555
+ knowledge_proposal: "knowledge_proposal";
556
+ legacy_import: "legacy_import";
557
+ }>;
558
+ type WorkspaceInstructionPolicyProvenanceSource = z.infer<typeof WorkspaceInstructionPolicyProvenanceSource>;
559
+ declare const WorkspaceInstructionPolicyDraftProvenanceSource: z.ZodEnum<{
560
+ human: "human";
561
+ onboarding: "onboarding";
562
+ knowledge_proposal: "knowledge_proposal";
563
+ }>;
564
+ type WorkspaceInstructionPolicyDraftProvenanceSource = z.infer<typeof WorkspaceInstructionPolicyDraftProvenanceSource>;
565
+ declare const WorkspaceInstructionPolicyActivationType: z.ZodEnum<{
566
+ activate: "activate";
567
+ rollback: "rollback";
568
+ }>;
569
+ type WorkspaceInstructionPolicyActivationType = z.infer<typeof WorkspaceInstructionPolicyActivationType>;
570
+ declare const WorkspaceInstructionPolicyRoleKey: z.ZodString;
571
+ type WorkspaceInstructionPolicyRoleKey = z.infer<typeof WorkspaceInstructionPolicyRoleKey>;
572
+ /**
573
+ * Role-policy keys are identifiers rather than display names. Normalize once
574
+ * at ingress so activation uniqueness and every client use the same key.
575
+ */
576
+ declare function normalizeWorkspaceInstructionPolicyRoleKey(value: string): string;
577
+ declare const WorkspaceInstructionPolicyTarget: z.ZodObject<{
578
+ kind: z.ZodEnum<{
579
+ policy: "policy";
580
+ charter: "charter";
581
+ }>;
582
+ scope: z.ZodEnum<{
583
+ role: "role";
584
+ global: "global";
585
+ }>;
586
+ roleKey: z.ZodNullable<z.ZodString>;
587
+ }, z.core.$strip>;
588
+ type WorkspaceInstructionPolicyTarget = z.infer<typeof WorkspaceInstructionPolicyTarget>;
589
+ declare const WorkspaceInstructionPolicyProvenance: z.ZodObject<{
590
+ source: z.ZodEnum<{
591
+ human: "human";
592
+ onboarding: "onboarding";
593
+ knowledge_proposal: "knowledge_proposal";
594
+ legacy_import: "legacy_import";
595
+ }>;
596
+ sourceId: z.ZodNullable<z.ZodString>;
597
+ }, z.core.$strip>;
598
+ type WorkspaceInstructionPolicyProvenance = z.infer<typeof WorkspaceInstructionPolicyProvenance>;
599
+ declare const WorkspaceInstructionPolicyRevisionIdentity: z.ZodObject<{
600
+ id: z.ZodString;
601
+ revision: z.ZodNumber;
602
+ contentHash: z.ZodString;
603
+ }, z.core.$strip>;
604
+ type WorkspaceInstructionPolicyRevisionIdentity = z.infer<typeof WorkspaceInstructionPolicyRevisionIdentity>;
605
+ declare const WorkspaceInstructionPolicyRevision: z.ZodObject<{
606
+ content: z.ZodString;
607
+ provenance: z.ZodObject<{
608
+ source: z.ZodEnum<{
609
+ human: "human";
610
+ onboarding: "onboarding";
611
+ knowledge_proposal: "knowledge_proposal";
612
+ legacy_import: "legacy_import";
613
+ }>;
614
+ sourceId: z.ZodNullable<z.ZodString>;
615
+ }, z.core.$strip>;
616
+ supersedesRevisionId: z.ZodNullable<z.ZodString>;
617
+ createdBySubjectId: z.ZodString;
618
+ createdAt: z.ZodString;
619
+ kind: z.ZodEnum<{
620
+ policy: "policy";
621
+ charter: "charter";
622
+ }>;
623
+ scope: z.ZodEnum<{
624
+ role: "role";
625
+ global: "global";
626
+ }>;
627
+ roleKey: z.ZodNullable<z.ZodString>;
628
+ accountId: z.ZodString;
629
+ workspaceId: z.ZodString;
630
+ id: z.ZodString;
631
+ revision: z.ZodNumber;
632
+ contentHash: z.ZodString;
633
+ }, z.core.$strip>;
634
+ type WorkspaceInstructionPolicyRevision = z.infer<typeof WorkspaceInstructionPolicyRevision>;
635
+ declare const WorkspaceInstructionPolicyHead: z.ZodObject<{
636
+ revisionId: z.ZodString;
637
+ revision: z.ZodNumber;
638
+ contentHash: z.ZodString;
639
+ activationVersion: z.ZodNumber;
640
+ activatedAt: z.ZodString;
641
+ kind: z.ZodEnum<{
642
+ policy: "policy";
643
+ charter: "charter";
644
+ }>;
645
+ scope: z.ZodEnum<{
646
+ role: "role";
647
+ global: "global";
648
+ }>;
649
+ roleKey: z.ZodNullable<z.ZodString>;
650
+ workspaceId: z.ZodString;
651
+ }, z.core.$strip>;
652
+ type WorkspaceInstructionPolicyHead = z.infer<typeof WorkspaceInstructionPolicyHead>;
653
+ declare const WorkspaceInstructionPolicyActivationEvent: z.ZodObject<{
654
+ type: z.ZodEnum<{
655
+ activate: "activate";
656
+ rollback: "rollback";
657
+ }>;
658
+ activationVersion: z.ZodNumber;
659
+ oldRevision: z.ZodNullable<z.ZodObject<{
660
+ id: z.ZodString;
661
+ revision: z.ZodNumber;
662
+ contentHash: z.ZodString;
663
+ }, z.core.$strip>>;
664
+ newRevision: z.ZodObject<{
665
+ id: z.ZodString;
666
+ revision: z.ZodNumber;
667
+ contentHash: z.ZodString;
668
+ }, z.core.$strip>;
669
+ actorSubjectId: z.ZodString;
670
+ reason: z.ZodString;
671
+ createdAt: z.ZodString;
672
+ kind: z.ZodEnum<{
673
+ policy: "policy";
674
+ charter: "charter";
675
+ }>;
676
+ scope: z.ZodEnum<{
677
+ role: "role";
678
+ global: "global";
679
+ }>;
680
+ roleKey: z.ZodNullable<z.ZodString>;
681
+ id: z.ZodString;
682
+ accountId: z.ZodString;
683
+ workspaceId: z.ZodString;
684
+ }, z.core.$strip>;
685
+ type WorkspaceInstructionPolicyActivationEvent = z.infer<typeof WorkspaceInstructionPolicyActivationEvent>;
686
+ declare const CreateWorkspaceInstructionPolicyDraftRequest: z.ZodObject<{
687
+ kind: z.ZodEnum<{
688
+ policy: "policy";
689
+ charter: "charter";
690
+ }>;
691
+ scope: z.ZodEnum<{
692
+ role: "role";
693
+ global: "global";
694
+ }>;
695
+ roleKey: z.ZodDefault<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
696
+ content: z.ZodString;
697
+ provenanceSource: z.ZodDefault<z.ZodEnum<{
698
+ human: "human";
699
+ onboarding: "onboarding";
700
+ knowledge_proposal: "knowledge_proposal";
701
+ }>>;
702
+ provenanceSourceId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
703
+ supersedesRevisionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
704
+ }, z.core.$strip>;
705
+ type CreateWorkspaceInstructionPolicyDraftRequest = z.infer<typeof CreateWorkspaceInstructionPolicyDraftRequest>;
706
+ declare const ImportLegacyWorkspaceInstructionPolicyDraftRequest: z.ZodObject<{
707
+ supersedesRevisionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
708
+ }, z.core.$strict>;
709
+ type ImportLegacyWorkspaceInstructionPolicyDraftRequest = z.infer<typeof ImportLegacyWorkspaceInstructionPolicyDraftRequest>;
710
+ declare const WorkspaceInstructionPolicyListQuery: z.ZodObject<{
711
+ kind: z.ZodOptional<z.ZodEnum<{
712
+ policy: "policy";
713
+ charter: "charter";
714
+ }>>;
715
+ scope: z.ZodOptional<z.ZodEnum<{
716
+ role: "role";
717
+ global: "global";
718
+ }>>;
719
+ roleKey: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
720
+ afterRevision: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
721
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
722
+ }, z.core.$strip>;
723
+ type WorkspaceInstructionPolicyListQuery = z.infer<typeof WorkspaceInstructionPolicyListQuery>;
724
+ declare const WorkspaceInstructionPolicyListResponse: z.ZodObject<{
725
+ revisions: z.ZodArray<z.ZodObject<{
726
+ content: z.ZodString;
727
+ provenance: z.ZodObject<{
728
+ source: z.ZodEnum<{
729
+ human: "human";
730
+ onboarding: "onboarding";
731
+ knowledge_proposal: "knowledge_proposal";
732
+ legacy_import: "legacy_import";
733
+ }>;
734
+ sourceId: z.ZodNullable<z.ZodString>;
735
+ }, z.core.$strip>;
736
+ supersedesRevisionId: z.ZodNullable<z.ZodString>;
737
+ createdBySubjectId: z.ZodString;
738
+ createdAt: z.ZodString;
739
+ kind: z.ZodEnum<{
740
+ policy: "policy";
741
+ charter: "charter";
742
+ }>;
743
+ scope: z.ZodEnum<{
744
+ role: "role";
745
+ global: "global";
746
+ }>;
747
+ roleKey: z.ZodNullable<z.ZodString>;
748
+ accountId: z.ZodString;
749
+ workspaceId: z.ZodString;
750
+ id: z.ZodString;
751
+ revision: z.ZodNumber;
752
+ contentHash: z.ZodString;
753
+ }, z.core.$strip>>;
754
+ activeHeads: z.ZodArray<z.ZodObject<{
755
+ revisionId: z.ZodString;
756
+ revision: z.ZodNumber;
757
+ contentHash: z.ZodString;
758
+ activationVersion: z.ZodNumber;
759
+ activatedAt: z.ZodString;
760
+ kind: z.ZodEnum<{
761
+ policy: "policy";
762
+ charter: "charter";
763
+ }>;
764
+ scope: z.ZodEnum<{
765
+ role: "role";
766
+ global: "global";
767
+ }>;
768
+ roleKey: z.ZodNullable<z.ZodString>;
769
+ workspaceId: z.ZodString;
770
+ }, z.core.$strip>>;
771
+ activationEvents: z.ZodArray<z.ZodObject<{
772
+ type: z.ZodEnum<{
773
+ activate: "activate";
774
+ rollback: "rollback";
775
+ }>;
776
+ activationVersion: z.ZodNumber;
777
+ oldRevision: z.ZodNullable<z.ZodObject<{
778
+ id: z.ZodString;
779
+ revision: z.ZodNumber;
780
+ contentHash: z.ZodString;
781
+ }, z.core.$strip>>;
782
+ newRevision: z.ZodObject<{
783
+ id: z.ZodString;
784
+ revision: z.ZodNumber;
785
+ contentHash: z.ZodString;
786
+ }, z.core.$strip>;
787
+ actorSubjectId: z.ZodString;
788
+ reason: z.ZodString;
789
+ createdAt: z.ZodString;
790
+ kind: z.ZodEnum<{
791
+ policy: "policy";
792
+ charter: "charter";
793
+ }>;
794
+ scope: z.ZodEnum<{
795
+ role: "role";
796
+ global: "global";
797
+ }>;
798
+ roleKey: z.ZodNullable<z.ZodString>;
799
+ id: z.ZodString;
800
+ accountId: z.ZodString;
801
+ workspaceId: z.ZodString;
802
+ }, z.core.$strip>>;
803
+ nextAfterRevision: z.ZodNullable<z.ZodNumber>;
804
+ }, z.core.$strip>;
805
+ type WorkspaceInstructionPolicyListResponse = z.infer<typeof WorkspaceInstructionPolicyListResponse>;
806
+ declare const WorkspaceInstructionPolicyDiffRequest: z.ZodObject<{
807
+ fromRevisionId: z.ZodString;
808
+ toRevisionId: z.ZodString;
809
+ }, z.core.$strip>;
810
+ type WorkspaceInstructionPolicyDiffRequest = z.infer<typeof WorkspaceInstructionPolicyDiffRequest>;
811
+ declare const WorkspaceInstructionPolicyDiffResponse: z.ZodObject<{
812
+ from: z.ZodObject<{
813
+ content: z.ZodString;
814
+ provenance: z.ZodObject<{
815
+ source: z.ZodEnum<{
816
+ human: "human";
817
+ onboarding: "onboarding";
818
+ knowledge_proposal: "knowledge_proposal";
819
+ legacy_import: "legacy_import";
820
+ }>;
821
+ sourceId: z.ZodNullable<z.ZodString>;
822
+ }, z.core.$strip>;
823
+ supersedesRevisionId: z.ZodNullable<z.ZodString>;
824
+ createdBySubjectId: z.ZodString;
825
+ createdAt: z.ZodString;
826
+ kind: z.ZodEnum<{
827
+ policy: "policy";
828
+ charter: "charter";
829
+ }>;
830
+ scope: z.ZodEnum<{
831
+ role: "role";
832
+ global: "global";
833
+ }>;
834
+ roleKey: z.ZodNullable<z.ZodString>;
835
+ accountId: z.ZodString;
836
+ workspaceId: z.ZodString;
837
+ id: z.ZodString;
838
+ revision: z.ZodNumber;
839
+ contentHash: z.ZodString;
840
+ }, z.core.$strip>;
841
+ to: z.ZodObject<{
842
+ content: z.ZodString;
843
+ provenance: z.ZodObject<{
844
+ source: z.ZodEnum<{
845
+ human: "human";
846
+ onboarding: "onboarding";
847
+ knowledge_proposal: "knowledge_proposal";
848
+ legacy_import: "legacy_import";
849
+ }>;
850
+ sourceId: z.ZodNullable<z.ZodString>;
851
+ }, z.core.$strip>;
852
+ supersedesRevisionId: z.ZodNullable<z.ZodString>;
853
+ createdBySubjectId: z.ZodString;
854
+ createdAt: z.ZodString;
855
+ kind: z.ZodEnum<{
856
+ policy: "policy";
857
+ charter: "charter";
858
+ }>;
859
+ scope: z.ZodEnum<{
860
+ role: "role";
861
+ global: "global";
862
+ }>;
863
+ roleKey: z.ZodNullable<z.ZodString>;
864
+ accountId: z.ZodString;
865
+ workspaceId: z.ZodString;
866
+ id: z.ZodString;
867
+ revision: z.ZodNumber;
868
+ contentHash: z.ZodString;
869
+ }, z.core.$strip>;
870
+ format: z.ZodLiteral<"unified">;
871
+ diff: z.ZodString;
872
+ }, z.core.$strip>;
873
+ type WorkspaceInstructionPolicyDiffResponse = z.infer<typeof WorkspaceInstructionPolicyDiffResponse>;
874
+ declare const ActivateWorkspaceInstructionPolicyRequest: z.ZodObject<{
875
+ expectedCurrentRevisionId: z.ZodNullable<z.ZodString>;
876
+ reason: z.ZodString;
877
+ }, z.core.$strip>;
878
+ type ActivateWorkspaceInstructionPolicyRequest = z.infer<typeof ActivateWorkspaceInstructionPolicyRequest>;
879
+ declare const RollbackWorkspaceInstructionPolicyRequest: z.ZodObject<{
880
+ targetRevisionId: z.ZodString;
881
+ expectedCurrentRevisionId: z.ZodString;
882
+ reason: z.ZodString;
883
+ }, z.core.$strip>;
884
+ type RollbackWorkspaceInstructionPolicyRequest = z.infer<typeof RollbackWorkspaceInstructionPolicyRequest>;
885
+ declare const WorkspaceInstructionPolicyActivationResponse: z.ZodObject<{
886
+ head: z.ZodObject<{
887
+ revisionId: z.ZodString;
888
+ revision: z.ZodNumber;
889
+ contentHash: z.ZodString;
890
+ activationVersion: z.ZodNumber;
891
+ activatedAt: z.ZodString;
892
+ kind: z.ZodEnum<{
893
+ policy: "policy";
894
+ charter: "charter";
895
+ }>;
896
+ scope: z.ZodEnum<{
897
+ role: "role";
898
+ global: "global";
899
+ }>;
900
+ roleKey: z.ZodNullable<z.ZodString>;
901
+ workspaceId: z.ZodString;
902
+ }, z.core.$strip>;
903
+ event: z.ZodObject<{
904
+ type: z.ZodEnum<{
905
+ activate: "activate";
906
+ rollback: "rollback";
907
+ }>;
908
+ activationVersion: z.ZodNumber;
909
+ oldRevision: z.ZodNullable<z.ZodObject<{
910
+ id: z.ZodString;
911
+ revision: z.ZodNumber;
912
+ contentHash: z.ZodString;
913
+ }, z.core.$strip>>;
914
+ newRevision: z.ZodObject<{
915
+ id: z.ZodString;
916
+ revision: z.ZodNumber;
917
+ contentHash: z.ZodString;
918
+ }, z.core.$strip>;
919
+ actorSubjectId: z.ZodString;
920
+ reason: z.ZodString;
921
+ createdAt: z.ZodString;
922
+ kind: z.ZodEnum<{
923
+ policy: "policy";
924
+ charter: "charter";
925
+ }>;
926
+ scope: z.ZodEnum<{
927
+ role: "role";
928
+ global: "global";
929
+ }>;
930
+ roleKey: z.ZodNullable<z.ZodString>;
931
+ id: z.ZodString;
932
+ accountId: z.ZodString;
933
+ workspaceId: z.ZodString;
934
+ }, z.core.$strip>;
935
+ }, z.core.$strip>;
936
+ type WorkspaceInstructionPolicyActivationResponse = z.infer<typeof WorkspaceInstructionPolicyActivationResponse>;
937
+ declare const WorkspaceInstructionPolicyConflictResponse: z.ZodObject<{
938
+ code: z.ZodLiteral<"WORKSPACE_INSTRUCTION_POLICY_CONFLICT">;
939
+ message: z.ZodString;
940
+ currentHead: z.ZodNullable<z.ZodObject<{
941
+ revisionId: z.ZodString;
942
+ revision: z.ZodNumber;
943
+ contentHash: z.ZodString;
944
+ activationVersion: z.ZodNumber;
945
+ activatedAt: z.ZodString;
946
+ kind: z.ZodEnum<{
947
+ policy: "policy";
948
+ charter: "charter";
949
+ }>;
950
+ scope: z.ZodEnum<{
951
+ role: "role";
952
+ global: "global";
953
+ }>;
954
+ roleKey: z.ZodNullable<z.ZodString>;
955
+ workspaceId: z.ZodString;
956
+ }, z.core.$strip>>;
957
+ }, z.core.$strip>;
958
+ type WorkspaceInstructionPolicyConflictResponse = z.infer<typeof WorkspaceInstructionPolicyConflictResponse>;
959
+
538
960
  declare const SessionStatus: z.ZodEnum<{
539
961
  queued: "queued";
540
962
  running: "running";
@@ -5193,6 +5615,7 @@ declare const ScheduledTaskAgentConfig: z.ZodObject<{
5193
5615
  optional: z.ZodOptional<z.ZodBoolean>;
5194
5616
  }, z.core.$strip>>>;
5195
5617
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5618
+ slackBotConnectionId: z.ZodOptional<z.ZodString>;
5196
5619
  model: z.ZodOptional<z.ZodString>;
5197
5620
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
5198
5621
  none: "none";
@@ -5301,6 +5724,7 @@ declare const ScheduledTask: z.ZodObject<{
5301
5724
  optional: z.ZodOptional<z.ZodBoolean>;
5302
5725
  }, z.core.$strip>>>;
5303
5726
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5727
+ slackBotConnectionId: z.ZodOptional<z.ZodString>;
5304
5728
  model: z.ZodOptional<z.ZodString>;
5305
5729
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
5306
5730
  none: "none";
@@ -5432,6 +5856,7 @@ declare const CreateScheduledTaskRequest: z.ZodPreprocess<z.ZodObject<{
5432
5856
  optional: z.ZodOptional<z.ZodBoolean>;
5433
5857
  }, z.core.$strip>>>;
5434
5858
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5859
+ slackBotConnectionId: z.ZodOptional<z.ZodString>;
5435
5860
  model: z.ZodOptional<z.ZodString>;
5436
5861
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
5437
5862
  none: "none";
@@ -5541,6 +5966,7 @@ declare const UpdateScheduledTaskRequest: z.ZodPreprocess<z.ZodObject<{
5541
5966
  optional: z.ZodOptional<z.ZodBoolean>;
5542
5967
  }, z.core.$strip>>>;
5543
5968
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5969
+ slackBotConnectionId: z.ZodOptional<z.ZodString>;
5544
5970
  model: z.ZodOptional<z.ZodString>;
5545
5971
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
5546
5972
  none: "none";
@@ -6093,6 +6519,22 @@ declare const ConnectionStatus: z.ZodEnum<{
6093
6519
  needs_reauth: "needs_reauth";
6094
6520
  }>;
6095
6521
  type ConnectionStatus = z.infer<typeof ConnectionStatus>;
6522
+ declare const OPENGENI_SLACK_BOT_CREDENTIAL_ROLE: "opengeni_slack_bot";
6523
+ declare const OPENGENI_SLACK_BOT_CREDENTIAL_LABEL: "OpenGeni Slack bot";
6524
+ declare const OPENGENI_SLACK_BOT_SESSION_METADATA_KEY: "opengeniSlackBotConnectionId";
6525
+ declare const OPENGENI_SLACK_BOT_REQUIRED_SCOPES: readonly ["chat:write", "im:write", "channels:read", "channels:history", "groups:read", "groups:history", "users:read"];
6526
+ declare const OPENGENI_SLACK_BOT_FORBIDDEN_SCOPES: readonly ["channels:join", "chat:write.public"];
6527
+ declare const OpenGeniSlackBotConnectionMetadata: z.ZodObject<{
6528
+ credentialRole: z.ZodLiteral<"opengeni_slack_bot">;
6529
+ credentialLabel: z.ZodLiteral<"OpenGeni Slack bot">;
6530
+ slackTeamId: z.ZodString;
6531
+ slackTeamName: z.ZodString;
6532
+ botUserId: z.ZodString;
6533
+ botId: z.ZodString;
6534
+ botDisplayName: z.ZodLiteral<"OpenGeni">;
6535
+ verifiedAt: z.ZodString;
6536
+ }, z.core.$loose>;
6537
+ type OpenGeniSlackBotConnectionMetadata = z.infer<typeof OpenGeniSlackBotConnectionMetadata>;
6096
6538
  declare const ConnectionMetadata: z.ZodObject<{
6097
6539
  id: z.ZodString;
6098
6540
  accountId: z.ZodString;
@@ -6117,6 +6559,8 @@ declare const ConnectionMetadata: z.ZodObject<{
6117
6559
  lastUsedAt: z.ZodNullable<z.ZodString>;
6118
6560
  lastError: z.ZodNullable<z.ZodString>;
6119
6561
  version: z.ZodNumber;
6562
+ verifiedInstallAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6563
+ verifiedInstallVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6120
6564
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6121
6565
  createdBySubjectId: z.ZodNullable<z.ZodString>;
6122
6566
  updatedBySubjectId: z.ZodNullable<z.ZodString>;
@@ -6141,6 +6585,15 @@ declare const CreateConnectionRequest: z.ZodObject<{
6141
6585
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6142
6586
  }, z.core.$strip>;
6143
6587
  type CreateConnectionRequest = z.infer<typeof CreateConnectionRequest>;
6588
+ /**
6589
+ * Write-only Slack bot installation input. `token` is accepted only by the
6590
+ * dedicated validated endpoint and is never represented in a response schema.
6591
+ */
6592
+ declare const ConnectOpenGeniSlackBotRequest: z.ZodObject<{
6593
+ token: z.ZodString;
6594
+ connectionId: z.ZodOptional<z.ZodString>;
6595
+ }, z.core.$strip>;
6596
+ type ConnectOpenGeniSlackBotRequest = z.infer<typeof ConnectOpenGeniSlackBotRequest>;
6144
6597
  declare const UpdateConnectionRequest: z.ZodObject<{
6145
6598
  providerDomain: z.ZodOptional<z.ZodString>;
6146
6599
  subjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6187,6 +6640,8 @@ declare const ConnectionResponse: z.ZodObject<{
6187
6640
  lastUsedAt: z.ZodNullable<z.ZodString>;
6188
6641
  lastError: z.ZodNullable<z.ZodString>;
6189
6642
  version: z.ZodNumber;
6643
+ verifiedInstallAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6644
+ verifiedInstallVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6190
6645
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6191
6646
  createdBySubjectId: z.ZodNullable<z.ZodString>;
6192
6647
  updatedBySubjectId: z.ZodNullable<z.ZodString>;
@@ -6220,6 +6675,8 @@ declare const ListConnectionsResponse: z.ZodObject<{
6220
6675
  lastUsedAt: z.ZodNullable<z.ZodString>;
6221
6676
  lastError: z.ZodNullable<z.ZodString>;
6222
6677
  version: z.ZodNumber;
6678
+ verifiedInstallAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6679
+ verifiedInstallVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6223
6680
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6224
6681
  createdBySubjectId: z.ZodNullable<z.ZodString>;
6225
6682
  updatedBySubjectId: z.ZodNullable<z.ZodString>;
@@ -9101,6 +9558,7 @@ declare const WorkspaceCaptureDegradedReason: z.ZodEnum<{
9101
9558
  repository_discovery_command_failed: "repository_discovery_command_failed";
9102
9559
  repository_discovery_timed_out: "repository_discovery_timed_out";
9103
9560
  repository_discovery_result_limit_exceeded: "repository_discovery_result_limit_exceeded";
9561
+ repository_read_unavailable: "repository_read_unavailable";
9104
9562
  }>;
9105
9563
  type WorkspaceCaptureDegradedReason = z.infer<typeof WorkspaceCaptureDegradedReason>;
9106
9564
  declare const WorkspaceCaptureStats: z.ZodObject<{
@@ -9263,6 +9721,7 @@ declare const WorkspaceRevisionDegradedPayload: z.ZodObject<{
9263
9721
  repository_discovery_command_failed: "repository_discovery_command_failed";
9264
9722
  repository_discovery_timed_out: "repository_discovery_timed_out";
9265
9723
  repository_discovery_result_limit_exceeded: "repository_discovery_result_limit_exceeded";
9724
+ repository_read_unavailable: "repository_read_unavailable";
9266
9725
  }>;
9267
9726
  }, z.core.$strip>;
9268
9727
  type WorkspaceRevisionDegradedPayload = z.infer<typeof WorkspaceRevisionDegradedPayload>;
@@ -9277,6 +9736,7 @@ declare const GetWorkspaceCaptureResponse: z.ZodDiscriminatedUnion<[z.ZodObject<
9277
9736
  repository_discovery_command_failed: "repository_discovery_command_failed";
9278
9737
  repository_discovery_timed_out: "repository_discovery_timed_out";
9279
9738
  repository_discovery_result_limit_exceeded: "repository_discovery_result_limit_exceeded";
9739
+ repository_read_unavailable: "repository_read_unavailable";
9280
9740
  }>>>;
9281
9741
  revision: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9282
9742
  capturedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -13292,4 +13752,4 @@ declare function evaluateWorkspaceModelPolicy(policy: WorkspaceModelPolicyContra
13292
13752
  modelId: string;
13293
13753
  }): WorkspaceModelPolicyVerdict;
13294
13754
 
13295
- export { AccessContext, AccessGrant, AccountGrant, AccountRole, AcknowledgeStreamRequest, AcknowledgeStreamResponse, AddDocumentRequest, AddWorkspaceMemberRequest, type AdmitRunInput, ApiKey, AttachViewerRequest, type AuthorizeSessionInput, BillingBalance, BillingMode, type BoundSessionEventOptions, type BoundSessionEventPayloadOptions, type BoundWorkspaceControlEventOptions, CAPABILITY_DESCRIPTORS, CLEARED_RUN_STATE_BLOB, CLEARED_RUN_STATE_MARKER, CODEX_FLEET_POLICY_MAX_CANDIDATES, CODEX_FLEET_POLICY_MAX_OVERLAYS_PER_CANDIDATE, CODEX_FLEET_POLICY_SCHEMA_VERSION, CODEX_FLEET_POLICY_VERSION, CapabilityCatalogAuthKind, CapabilityCatalogItem, CapabilityCatalogResponse, CapabilityCatalogTier, type CapabilityDescriptor, CapabilityInstallation, CapabilityInstallationStatus, CapabilityKind, CapabilityPack, CapabilityPackConnector, CapabilityPackConnectorAuthModel, CapabilityPackKnowledge, CapabilityPackScheduledTaskTemplate, CapabilityPackSkill, CapabilityPackSkillFile, CapabilityRuntime, CapabilitySource, CapabilityUnavailableReason, ClearSessionContextRequest, ClientAuthConfig, ClientConfig, ClientModel, ClientSessionEvent, type CodexFleetAdmissionDecisionV1, type CodexFleetAdmissionSnapshotV1, type CodexFleetCacheState, type CodexFleetCandidateStatus, type CodexFleetCandidateV1, type CodexFleetConfidence, type CodexFleetDecisionInputV1, type CodexFleetDecisionV1, type CodexFleetOverlayMode, type CodexFleetPlacementKind, type CodexFleetPolicyConfigV1, type CodexFleetPriority, type CodexFleetQuotaWindowV1, type CodexFleetReplayRecordV1, type CodexFleetReplayVerdictV1, type CodexFleetScoreV1, CompactSessionContextRequest, CompactSessionContextResult, CompleteFileUploadResponse, ComposerDraft, ConnectionCredentialBundle, type ConnectionCredentialsPort, ConnectionKind, ConnectionMetadata, ConnectionResponse, ConnectionStatus, CreateApiKeyRequest, CreateApiKeyResponse, CreateCapabilityCatalogItemRequest, CreateCheckoutRequest, CreateCheckoutResponse, CreateConnectionRequest, CreateDocumentBaseRequest, CreateFileUploadRequest, CreateFileUploadResponse, CreateKnowledgeDropRequest, CreateKnowledgeMemoryRequest, CreateRigRequest, CreateScheduledTaskRequest, CreateSessionRequest, CreateSessionResponse, CreateSocialConnectionRequest, CreateSocialPostRequest, CreateVariableSetRequest, CreateWorkspaceEnvironmentRequest, CreateWorkspaceRequest, CredentialAuthNeededPayload, type CredentialAuthNeededReason, DEFAULT_CODEX_FLEET_POLICY_V1, DEFAULT_FIRST_PARTY_MCP_PERMISSIONS, DESKTOP_STREAM_PORT, DelegatedAccessTokenPayload, DeleteSessionQueueItemRequest, DeviceEnrollmentApproveRequest, DeviceEnrollmentApproveResponse, DeviceEnrollmentDenyRequest, DeviceEnrollmentDenyResponse, DeviceEnrollmentLookupMachine, DeviceEnrollmentLookupRequest, DeviceEnrollmentLookupResponse, DeviceEnrollmentPollRequest, DeviceEnrollmentPollResponse, DeviceEnrollmentStartRequest, DeviceEnrollmentStartResponse, DeviceEnrollmentState, DiscoverMcpCapabilitiesResponse, Document, DocumentBase, DocumentCuration, DocumentCurationStatus, DocumentSearchMode, DocumentSearchRequest, DocumentSearchResult, DocumentStatus, DocumentVisibility, EditSessionQueueItemRequest, EffectiveControlBlocker, EffectiveControlResumeOption, EffectiveSessionControl, EnableCapabilityRequest, EnablePackRequest, EnrollTokenExchangeRequest, EnrollTokenExchangeResponse, EnrollTokenPayload, EnrollmentArch, EnrollmentBearerPayload, EnrollmentCredentialsResponse, EnrollmentOs, EnrollmentSummary, EntitlementDecision, EntitlementValue, Entitlements, EntitlementsMode, type EntitlementsPort, ErrorCode, ErrorEnvelope, FileAsset, FileDownloadUrlResponse, FileResourceRef, FileStatus, FileUploadStatus, FsChangeKind, FsChangedPayload, FsDeleteRequest, FsDeleteResponse, FsEncoding, FsListRequest, FsListResponse, FsMkdirRequest, FsMkdirResponse, FsMoveRequest, FsMoveResponse, FsNodeType, FsReadRequest, FsReadResponse, FsTreeNode, FsWriteRequest, FsWriteResponse, GetWorkspaceCaptureFileResponse, GetWorkspaceCaptureResponse, GitChangedPayload, GitCommit, GitCredentialBindingId, GitCredentialProvider, GitCredentialRepositoryRef, type GitCredentialTransport, type GitCredentials, type GitCredentialsRequest, GitDiffHunk, GitDiffLine, GitDiffLineType, GitDiffRequest, GitDiffResponse, GitFileDiff, GitFileStatus, GitFileStatusCode, type GitHttpBrokerRepositoryRoute, type GitHubAppApiPort, GitHubAppInfo, GitHubAppManifestCreate, GitHubBindingStatus, type GitHubInstallationAuthorityKind, GitHubInstallationBinding, type GitHubInstallationBindingProof, GitHubInstallationLifecycle, type GitHubInstallationSummary, GitHubRepositoriesResponse, GitHubRepository, type GitHubRepositoryPermissions, GitHubRepositoryScope, type GitHubUserInstallationAccess, type GitHubUserRepositoryAccess, GitLogRequest, GitLogResponse, GitRepositoryAccess, GitShowRequest, GitShowResponse, GitStatusRequest, GitStatusResponse, GoalSpec, type HealthResponse, HostEventExport, HostEventExportBatch, type HostEventSink, HostExportConsumerId, HostExportCursor, HostExportInitiator, HostExportInitiatorContext, HostSessionEvent, HostUsageEvent, HostUsageExport, HostUsageExportBatch, type HostUsageSink, HumanInputAnswer, HumanInputOption, HumanInputQuestion, HumanInputQuestionKind, HumanInputRequestStatus, HumanInputResponse, IntegrationClientMetadata, KnowledgeMemory, KnowledgeMemoryKind, KnowledgeMemorySearchRequest, KnowledgeMemoryStatus, KnowledgeSourceKind, KnowledgeSourceRef, LimitAction, LimitDecision, LineageNode, ListConnectionsResponse, ListEnrollmentsResponse, ListWorkspaceMembersResponse, MAX_NESTED_AGENT_DEPTH, MachineKind, MachineMetricsSeriesResponse, MachineState, MachineView, MachinesResponse, ManagedAccount, MarketingDailyAnalysisTaskRequest, McpConnectionResourceScope, type McpCredentialAuthNeededReason, type McpCredentialResolution, type McpCredentialsRequest, McpServerConnectionRef, MetricSample, MintEnrollTokenRequest, MintEnrollTokenResponse, ModelAvailabilityV1, ModelBillingAttributionV1, ModelCapabilitiesV1, ModelCapabilityStateV1, ModelCapabilitySupportV1, ModelCredentialReadinessV1, ModelCredentialSourceV1, ModelPricingScheduleV1, ModelPricingV1, MoveDocumentRequest, MoveSessionQueueItemRequest, NestedAgentDepthAttemptValue, NestedAgentDepthPolicySource, NestedAgentDepthValue, NewSessionDraft, NewSessionDraftOptions, OAuthStartRequest, OAuthStartResponse, OPENGENI_API_CONTRACT_HEADER, OPENGENI_API_CONTRACT_REVISION, OPENGENI_CORRELATION_HEADER, OPENGENI_HOST_EXPORT_SCHEMA_REVISION, PackInstallation, PackInstallationStatus, Permission, type PortExposureKind, ProductAccessMode, ProposeRigChangeRequest, PtyCloseRequest, PtyOpenRequest, PtyOpenResponse, PtyResizeRequest, PtyWriteRequest, RETAINED_OUTPUT_DEFAULT_PAGE_BYTES, RETAINED_OUTPUT_MAX_PAGE_BYTES, RETAINED_OUTPUT_RECEIPT_MAX_BYTES, ReasoningEffort, RecordingAvailablePayload, RecordingCodec, RecordingContentType, RecordingFailedPayload, RecordingFailedReason, RecordingMode, RecordingStartedPayload, RegisterCapabilityPackRequest, RelayTokenPayload, RepositoryResourceRef, RequestHumanInputToolInput, type ResolveSessionAuthorizationListScopeInput, type ResolveSessionEventTypeFiltersInput, ResourceMountPathError, ResourceRef, ResourceRefConflictError, type RetainedArtifactFileInput, type RetainedArtifactMetadata, RetainedArtifactMetadataSchema, type RetainedArtifactReference, RetainedArtifactReferenceSchema, type RetainedArtifactUnavailable, RetainedArtifactUnavailableSchema, type RetainedOutputAvailableEvidence, type RetainedOutputEvidence, RetainedOutputEvidenceSchema, RetainedOutputKind, type RetainedOutputRangeResolution, type RetainedOutputResolvedRange, RetainedOutputUnavailableReason, RevokeEnrollmentResponse, Rig, RigChange, RigChangeKind, RigChangeStatus, RigChangeVerification, RigCheck, RigCheckResult, RigDefinitionEditPayload, RigSetupAppendPayload, RigVerificationHealth, RigVersion, type RunCredentialAuthNeeded, type RunCredentialFile, type RunCredentialRedaction, type RunCredentialsRequest, type RunCredentialsResolution, SESSION_AUTHORIZATION_LIST_SCOPE_MAX_IDS, SESSION_EFFECTIVE_TOOL_POLICY_ID_LIMIT, SESSION_EFFECTIVE_TOOL_POLICY_ID_MAX_LENGTH, SESSION_EVENT_CLIENT_EVENT_ID_MAX_BYTES, SESSION_EVENT_DUPLICATE_REASON_MAX_BYTES, SESSION_EVENT_ENVELOPE_MAX_BYTES, SESSION_EVENT_PAYLOAD_MAX_BYTES, SESSION_EVENT_RAW_DELTA_TYPES, SESSION_EVENT_SEMANTIC_CLASS_TYPES, SESSION_EVENT_TURN_ASSOCIATION_MAX_BYTES, SESSION_EVENT_TYPE_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_TOOL_NAMES, SESSION_MCP_APPROVAL_TOOL_NAME_MAX_BYTES, SESSION_MCP_SERVERS_MAX, SESSION_OPERATION_KEY_MAX_CHARS, SandboxBackend, SandboxCapabilityName, SandboxCommandOutputDeltaPayload, SandboxOs, type SandboxSecrets, type SandboxSecretsRequest, SaveComposerDraftRequest, SaveNewSessionDraftRequest, ScheduledTask, ScheduledTaskAgentConfig, ScheduledTaskOverlapPolicy, ScheduledTaskRun, ScheduledTaskRunMode, ScheduledTaskRunStatus, ScheduledTaskScheduleSpec, ScheduledTaskStatus, ScheduledTaskTriggerType, type SecretForRedaction, ServiceTurnInitiator, ServiceTurnInitiatorContext, Session, SessionAuthorizationActor, SessionAuthorizationDecision, SessionAuthorizationListScope, SessionAuthorizationOperation, type SessionAuthorizationPort, SessionAuthorizationSurface, SessionAuthorizationTarget, SessionBusMessage, SessionCapabilities, SessionCommandReceipt, SessionControlRequest, SessionControlResponse, SessionControlState, SessionEffectiveToolPolicy, SessionEvent, type SessionEventBoundarySurface, type SessionEventCompactResult, type SessionEventJsonMeasurement, SessionEventLatestClass, type SessionEventMediaPreview, SessionEventPayloadMode, type SessionEventPayloadTruncation, SessionEventReadDirection, SessionEventReadMode, SessionEventResultMode, SessionEventSemanticClass, SessionEventType, SessionGoal, SessionGoalContinuation, SessionGoalContinuationReason, SessionGoalContinuationState, SessionGoalCreatedBy, SessionGoalPausedReason, SessionGoalStatus, SessionHumanInputRequest, SessionLineageResponse, SessionListResponse, SessionMcpApprovalPolicy, SessionMcpCredentialUpdateInput, SessionMcpServerId, SessionMcpServerInput, SessionMcpServerMetadata, SessionQueueMutationResponse, SessionQueueSnapshot, SessionSpawnDenial, SessionStatus, SessionStructuredCapabilities, type SessionSummary, SessionSystemUpdate, SessionSystemUpdateKind, SessionSystemUpdatePayload, SessionSystemUpdateState, SessionToolPolicy, SessionTurn, SessionTurnSource, SessionTurnStatus, SetVariableSetVariableRequest, SetWorkspaceDefaultRigRequest, SetWorkspaceEnvironmentVariableRequest, SocialConnection, SocialConnectionStatus, SocialPost, SocialProvider, StaticUsageLimits, SteerSessionMessageRequest, SteerSessionMessageResponse, SteerSessionQueueItemRequest, StreamClosedPayload, StreamOpenedPayload, StreamRevokedPayload, StreamTokenPayload, StreamUrlRotatedPayload, SubmitHumanInputResponseRequest, SwapActiveSandboxRequest, SwapActiveSandboxResponse, SystemUpdateClassification, TERMINAL_STREAM_PORT, TURN_EXECUTION_POLICY_METADATA_KEY, TerminalExecRequest, TerminalExecResponse, TerminalPtyExitedPayload, TerminalPtyOutputDeltaPayload, TerminalPtyStartedPayload, ToolAuthNeededPayload, ToolRef, TranscriptionErrorCode, TranscriptionEvent, TranscriptionResultMetadata, TranscriptionSpeaker, TranscriptionTimeSpan, TranscriptionWord, TriggerScheduledTaskRequest, TurnExecutionModelSourceV1, type TurnExecutionPolicyReadV1, TurnExecutionPolicyV1, TurnExecutionReasoningSourceV1, TurnInitiator, TurnInitiatorContext, UNATTRIBUTED_LEGACY_INITIATOR_SUBJECT_ID, UpdateConnectionRequest, UpdateKnowledgeMemoryRequest, UpdateRigRequest, UpdateScheduledTaskRequest, UpdateSessionGoalRequest, UpdateSessionMcpApprovalPolicyRequest, UpdateSessionMcpApprovalPolicyResponse, UpdateSessionPinRequest, UpdateSessionRequest, UpdateSessionToolPolicyRequest, UpdateVariableSetRequest, UpdateWorkspaceEnvironmentRequest, UpdateWorkspaceMemberRequest, UpdateWorkspaceModelPolicyRequest, UpdateWorkspaceRequest, UpdateWorkspaceSettingsRequest, UsageEvent, UsageEventType, UsageLimitsMode, VariableSet, VariableSetVariableMetadata, VariableSetVariableName, ViewerHeartbeatRequest, ViewerHeartbeatResponse, ViewerHolder, WORKSPACE_CONTROL_ACTOR_MAX_BYTES, WORKSPACE_CONTROL_EVENT_MAX_BYTES, WORKSPACE_CONTROL_REASON_MAX_BYTES, Workspace, WorkspaceCaptureDegradedReason, WorkspaceCaptureFile, WorkspaceCaptureManifest, WorkspaceCaptureRepo, WorkspaceCaptureSignedUrl, WorkspaceCaptureStats, type WorkspaceControlBoundarySurface, WorkspaceControlEvent, WorkspaceControlEventTruncation, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceInferenceControlRequest, WorkspaceInferenceControlResponse, WorkspaceInferenceState, WorkspaceMember, WorkspaceMemorySearchMode, WorkspaceMemorySearchRequest, WorkspaceMemorySearchResponse, WorkspaceMemorySearchResult, WorkspaceModelCatalogModel, WorkspaceModelCatalogResponse, type WorkspaceModelPolicyContract, type WorkspaceModelPolicyVerdict, WorkspaceRegisteredPack, WorkspaceRevisionCapturedPayload, WorkspaceRevisionDegradedPayload, type WorkspaceSettings, WorkspaceSettingsSchema, WorkspaceTranscriptionPolicy, WorkspaceTranscriptionTarget, approvalIdentifier, approximateSessionEventTokens, assertUniqueResourceMountPaths, boundSessionEvent, boundSessionEventPayload, boundWorkspaceControlEvent, canonicalCodexFleetReplayJsonV1, capabilityCatalogItemIsTrustedForExposure, compactSessionEventResult, compareCodexFleetCanonicalStringsV1, createCodexFleetReplayRecordV1, createSecretRedactor, defaultRepositoryMountPath, effectiveCodexFleetCacheStateV1, evaluateCodexFleetDecisionV1, evaluateWorkspaceModelPolicy, gitCredentialBindingIdForRepository, gitCredentialProviderForRepository, identityRedactor, isClearedRunStateBlob, isCredentialHeaderName, isSensitiveFieldName, measureSessionEventJson, mergeResourceRefs, mergeToolRefs, metadataWithTurnExecutionPolicyV1, normalizeRepositorySubpath, normalizeResourceMountPath, prefixedMcpToolName, readCodexFleetReplayRecordV1, readTurnExecutionPolicyV1, reasoningEffortForMetadata, redactSensitiveData, redactSensitiveKey, redactSensitiveText, redactSerializedJson, replayCodexFleetDecisionV1, resolveRetainedOutputRange, resolveSessionEventTypeFilters, resolveWorkspaceMemoryEnabled, resourceIdentityKey, resourceMountPath, resourceMountPathCollisionKey, retainedArtifactReferenceFromFile, retainedOutputUnavailable, sessionEventJsonBytes, sessionEventLatestClassToSemanticClass, sessionEventMediaPreview, sessionEventMediaPreviewFromDataUrl, sessionEventPayloadTruncation, signDelegatedAccessToken, signEnrollToken, signEnrollmentBearer, signRelayToken, signStreamToken, stableJson, turnExecutionPolicyAuditMetadata, validateRetainedOutputEvidence, verifyDelegatedAccessToken, verifyEnrollToken, verifyEnrollmentBearer, verifyRelayToken, verifyStreamToken, workspaceControlUtf8Bytes };
13755
+ export { AccessContext, AccessGrant, AccountGrant, AccountRole, AcknowledgeStreamRequest, AcknowledgeStreamResponse, ActivateWorkspaceInstructionPolicyRequest, AddDocumentRequest, AddWorkspaceMemberRequest, type AdmitRunInput, ApiKey, AttachViewerRequest, type AuthorizeSessionInput, BillingBalance, BillingMode, type BoundSessionEventOptions, type BoundSessionEventPayloadOptions, type BoundWorkspaceControlEventOptions, CAPABILITY_DESCRIPTORS, CLEARED_RUN_STATE_BLOB, CLEARED_RUN_STATE_MARKER, CODEX_FLEET_POLICY_MAX_CANDIDATES, CODEX_FLEET_POLICY_MAX_OVERLAYS_PER_CANDIDATE, CODEX_FLEET_POLICY_SCHEMA_VERSION, CODEX_FLEET_POLICY_VERSION, CapabilityCatalogAuthKind, CapabilityCatalogItem, CapabilityCatalogResponse, CapabilityCatalogTier, type CapabilityDescriptor, CapabilityInstallation, CapabilityInstallationStatus, CapabilityKind, CapabilityPack, CapabilityPackConnector, CapabilityPackConnectorAuthModel, CapabilityPackKnowledge, CapabilityPackScheduledTaskTemplate, CapabilityPackSkill, CapabilityPackSkillFile, CapabilityRuntime, CapabilitySource, CapabilityUnavailableReason, ClearSessionContextRequest, ClientAuthConfig, ClientConfig, ClientModel, ClientSessionEvent, type CodexFleetAdmissionDecisionV1, type CodexFleetAdmissionSnapshotV1, type CodexFleetCacheState, type CodexFleetCandidateStatus, type CodexFleetCandidateV1, type CodexFleetConfidence, type CodexFleetDecisionInputV1, type CodexFleetDecisionV1, type CodexFleetOverlayMode, type CodexFleetPlacementKind, type CodexFleetPolicyConfigV1, type CodexFleetPriority, type CodexFleetQuotaWindowV1, type CodexFleetReplayRecordV1, type CodexFleetReplayVerdictV1, type CodexFleetScoreV1, CompactSessionContextRequest, CompactSessionContextResult, CompleteFileUploadResponse, ComposerDraft, ConnectOpenGeniSlackBotRequest, ConnectionCredentialBundle, type ConnectionCredentialsPort, ConnectionKind, ConnectionMetadata, ConnectionResponse, ConnectionStatus, CreateApiKeyRequest, CreateApiKeyResponse, CreateCapabilityCatalogItemRequest, CreateCheckoutRequest, CreateCheckoutResponse, CreateConnectionRequest, CreateDocumentBaseRequest, CreateFileUploadRequest, CreateFileUploadResponse, CreateKnowledgeDropRequest, CreateKnowledgeMemoryRequest, CreateRigRequest, CreateScheduledTaskRequest, CreateSessionRequest, CreateSessionResponse, CreateSocialConnectionRequest, CreateSocialPostRequest, CreateVariableSetRequest, CreateWorkspaceEnvironmentRequest, CreateWorkspaceInstructionPolicyDraftRequest, CreateWorkspaceRequest, CredentialAuthNeededPayload, type CredentialAuthNeededReason, DEFAULT_CODEX_FLEET_POLICY_V1, DEFAULT_FIRST_PARTY_MCP_PERMISSIONS, DESKTOP_STREAM_PORT, DelegatedAccessTokenPayload, DeleteSessionQueueItemRequest, DeviceEnrollmentApproveRequest, DeviceEnrollmentApproveResponse, DeviceEnrollmentDenyRequest, DeviceEnrollmentDenyResponse, DeviceEnrollmentLookupMachine, DeviceEnrollmentLookupRequest, DeviceEnrollmentLookupResponse, DeviceEnrollmentPollRequest, DeviceEnrollmentPollResponse, DeviceEnrollmentStartRequest, DeviceEnrollmentStartResponse, DeviceEnrollmentState, DiscoverMcpCapabilitiesResponse, Document, DocumentBase, DocumentCuration, DocumentCurationStatus, DocumentSearchMode, DocumentSearchRequest, DocumentSearchResult, DocumentStatus, DocumentVisibility, EditSessionQueueItemRequest, EffectiveControlBlocker, EffectiveControlResumeOption, EffectiveSessionControl, EnableCapabilityRequest, EnablePackRequest, EnrollTokenExchangeRequest, EnrollTokenExchangeResponse, EnrollTokenPayload, EnrollmentArch, EnrollmentBearerPayload, EnrollmentCredentialsResponse, EnrollmentOs, EnrollmentSummary, EntitlementDecision, EntitlementValue, Entitlements, EntitlementsMode, type EntitlementsPort, ErrorCode, ErrorEnvelope, FileAsset, FileDownloadUrlResponse, FileResourceRef, FileStatus, FileUploadStatus, FsChangeKind, FsChangedPayload, FsDeleteRequest, FsDeleteResponse, FsEncoding, FsListRequest, FsListResponse, FsMkdirRequest, FsMkdirResponse, FsMoveRequest, FsMoveResponse, FsNodeType, FsReadRequest, FsReadResponse, FsTreeNode, FsWriteRequest, FsWriteResponse, GetWorkspaceCaptureFileResponse, GetWorkspaceCaptureResponse, GitChangedPayload, GitCommit, GitCredentialBindingId, GitCredentialProvider, GitCredentialRepositoryRef, type GitCredentialTransport, type GitCredentials, type GitCredentialsRequest, GitDiffHunk, GitDiffLine, GitDiffLineType, GitDiffRequest, GitDiffResponse, GitFileDiff, GitFileStatus, GitFileStatusCode, type GitHttpBrokerRepositoryRoute, type GitHubAppApiPort, GitHubAppInfo, GitHubAppManifestCreate, GitHubBindingStatus, type GitHubInstallationAuthorityKind, GitHubInstallationBinding, type GitHubInstallationBindingProof, GitHubInstallationLifecycle, type GitHubInstallationSummary, GitHubRepositoriesResponse, GitHubRepository, type GitHubRepositoryPermissions, GitHubRepositoryScope, type GitHubUserInstallationAccess, type GitHubUserRepositoryAccess, GitLogRequest, GitLogResponse, GitRepositoryAccess, GitShowRequest, GitShowResponse, GitStatusRequest, GitStatusResponse, GoalSpec, type HealthResponse, HostEventExport, HostEventExportBatch, type HostEventSink, HostExportConsumerId, HostExportCursor, HostExportInitiator, HostExportInitiatorContext, HostSessionEvent, HostUsageEvent, HostUsageExport, HostUsageExportBatch, type HostUsageSink, HumanInputAnswer, HumanInputOption, HumanInputQuestion, HumanInputQuestionKind, HumanInputRequestStatus, HumanInputResponse, ImportLegacyWorkspaceInstructionPolicyDraftRequest, IntegrationClientMetadata, KnowledgeMemory, KnowledgeMemoryKind, KnowledgeMemorySearchRequest, KnowledgeMemoryStatus, KnowledgeSourceKind, KnowledgeSourceRef, LimitAction, LimitDecision, LineageNode, ListConnectionsResponse, ListEnrollmentsResponse, ListWorkspaceMembersResponse, MAX_NESTED_AGENT_DEPTH, MachineKind, MachineMetricsSeriesResponse, MachineState, MachineView, MachinesResponse, ManagedAccount, MarketingDailyAnalysisTaskRequest, McpConnectionResourceScope, type McpCredentialAuthNeededReason, type McpCredentialResolution, type McpCredentialsRequest, McpServerConnectionRef, MetricSample, MintEnrollTokenRequest, MintEnrollTokenResponse, ModelAvailabilityV1, ModelBillingAttributionV1, ModelCapabilitiesV1, ModelCapabilityStateV1, ModelCapabilitySupportV1, ModelCredentialReadinessV1, ModelCredentialSourceV1, ModelPricingScheduleV1, ModelPricingV1, MoveDocumentRequest, MoveSessionQueueItemRequest, NestedAgentDepthAttemptValue, NestedAgentDepthPolicySource, NestedAgentDepthValue, NewSessionDraft, NewSessionDraftOptions, OAuthStartRequest, OAuthStartResponse, OPENGENI_API_CONTRACT_HEADER, OPENGENI_API_CONTRACT_REVISION, OPENGENI_CORRELATION_HEADER, OPENGENI_HOST_EXPORT_SCHEMA_REVISION, OPENGENI_SLACK_BOT_CREDENTIAL_LABEL, OPENGENI_SLACK_BOT_CREDENTIAL_ROLE, OPENGENI_SLACK_BOT_FORBIDDEN_SCOPES, OPENGENI_SLACK_BOT_REQUIRED_SCOPES, OPENGENI_SLACK_BOT_SESSION_METADATA_KEY, OpenGeniSlackBotConnectionMetadata, PackInstallation, PackInstallationStatus, Permission, type PortExposureKind, ProductAccessMode, ProposeRigChangeRequest, PtyCloseRequest, PtyOpenRequest, PtyOpenResponse, PtyResizeRequest, PtyWriteRequest, RETAINED_OUTPUT_DEFAULT_PAGE_BYTES, RETAINED_OUTPUT_MAX_PAGE_BYTES, RETAINED_OUTPUT_RECEIPT_MAX_BYTES, ReasoningEffort, RecordingAvailablePayload, RecordingCodec, RecordingContentType, RecordingFailedPayload, RecordingFailedReason, RecordingMode, RecordingStartedPayload, RegisterCapabilityPackRequest, RelayTokenPayload, RepositoryResourceRef, RequestHumanInputToolInput, type ResolveSessionAuthorizationListScopeInput, type ResolveSessionEventTypeFiltersInput, ResourceMountPathError, ResourceRef, ResourceRefConflictError, type RetainedArtifactFileInput, type RetainedArtifactMetadata, RetainedArtifactMetadataSchema, type RetainedArtifactReference, RetainedArtifactReferenceSchema, type RetainedArtifactUnavailable, RetainedArtifactUnavailableSchema, type RetainedOutputAvailableEvidence, type RetainedOutputEvidence, RetainedOutputEvidenceSchema, RetainedOutputKind, type RetainedOutputRangeResolution, type RetainedOutputResolvedRange, RetainedOutputUnavailableReason, RevokeEnrollmentResponse, Rig, RigChange, RigChangeKind, RigChangeStatus, RigChangeVerification, RigCheck, RigCheckResult, RigDefinitionEditPayload, RigSetupAppendPayload, RigVerificationHealth, RigVersion, RollbackWorkspaceInstructionPolicyRequest, type RunCredentialAuthNeeded, type RunCredentialFile, type RunCredentialRedaction, type RunCredentialsRequest, type RunCredentialsResolution, SESSION_AUTHORIZATION_LIST_SCOPE_MAX_IDS, SESSION_EFFECTIVE_TOOL_POLICY_ID_LIMIT, SESSION_EFFECTIVE_TOOL_POLICY_ID_MAX_LENGTH, SESSION_EVENT_CLIENT_EVENT_ID_MAX_BYTES, SESSION_EVENT_DUPLICATE_REASON_MAX_BYTES, SESSION_EVENT_ENVELOPE_MAX_BYTES, SESSION_EVENT_PAYLOAD_MAX_BYTES, SESSION_EVENT_RAW_DELTA_TYPES, SESSION_EVENT_SEMANTIC_CLASS_TYPES, SESSION_EVENT_TURN_ASSOCIATION_MAX_BYTES, SESSION_EVENT_TYPE_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_TOOL_NAMES, SESSION_MCP_APPROVAL_TOOL_NAME_MAX_BYTES, SESSION_MCP_SERVERS_MAX, SESSION_OPERATION_KEY_MAX_CHARS, SandboxBackend, SandboxCapabilityName, SandboxCommandOutputDeltaPayload, SandboxOs, type SandboxSecrets, type SandboxSecretsRequest, SaveComposerDraftRequest, SaveNewSessionDraftRequest, ScheduledTask, ScheduledTaskAgentConfig, ScheduledTaskOverlapPolicy, ScheduledTaskRun, ScheduledTaskRunMode, ScheduledTaskRunStatus, ScheduledTaskScheduleSpec, ScheduledTaskStatus, ScheduledTaskTriggerType, type SecretForRedaction, ServiceTurnInitiator, ServiceTurnInitiatorContext, Session, SessionAuthorizationActor, SessionAuthorizationDecision, SessionAuthorizationListScope, SessionAuthorizationOperation, type SessionAuthorizationPort, SessionAuthorizationSurface, SessionAuthorizationTarget, SessionBusMessage, SessionCapabilities, SessionCommandReceipt, SessionControlRequest, SessionControlResponse, SessionControlState, SessionEffectiveToolPolicy, SessionEvent, type SessionEventBoundarySurface, type SessionEventCompactResult, type SessionEventJsonMeasurement, SessionEventLatestClass, type SessionEventMediaPreview, SessionEventPayloadMode, type SessionEventPayloadTruncation, SessionEventReadDirection, SessionEventReadMode, SessionEventResultMode, SessionEventSemanticClass, SessionEventType, SessionGoal, SessionGoalContinuation, SessionGoalContinuationReason, SessionGoalContinuationState, SessionGoalCreatedBy, SessionGoalPausedReason, SessionGoalStatus, SessionHumanInputRequest, SessionLineageResponse, SessionListResponse, SessionMcpApprovalPolicy, SessionMcpCredentialUpdateInput, SessionMcpServerId, SessionMcpServerInput, SessionMcpServerMetadata, SessionQueueMutationResponse, SessionQueueSnapshot, SessionSpawnDenial, SessionStatus, SessionStructuredCapabilities, type SessionSummary, SessionSystemUpdate, SessionSystemUpdateKind, SessionSystemUpdatePayload, SessionSystemUpdateState, SessionToolPolicy, SessionTurn, SessionTurnSource, SessionTurnStatus, SetVariableSetVariableRequest, SetWorkspaceDefaultRigRequest, SetWorkspaceEnvironmentVariableRequest, SocialConnection, SocialConnectionStatus, SocialPost, SocialProvider, StaticUsageLimits, SteerSessionMessageRequest, SteerSessionMessageResponse, SteerSessionQueueItemRequest, StreamClosedPayload, StreamOpenedPayload, StreamRevokedPayload, StreamTokenPayload, StreamUrlRotatedPayload, SubmitHumanInputResponseRequest, SwapActiveSandboxRequest, SwapActiveSandboxResponse, SystemUpdateClassification, TERMINAL_STREAM_PORT, TURN_EXECUTION_POLICY_METADATA_KEY, TerminalExecRequest, TerminalExecResponse, TerminalPtyExitedPayload, TerminalPtyOutputDeltaPayload, TerminalPtyStartedPayload, ToolAuthNeededPayload, ToolRef, TranscriptionErrorCode, TranscriptionEvent, TranscriptionResultMetadata, TranscriptionSpeaker, TranscriptionTimeSpan, TranscriptionWord, TriggerScheduledTaskRequest, TurnExecutionModelSourceV1, type TurnExecutionPolicyReadV1, TurnExecutionPolicyV1, TurnExecutionReasoningSourceV1, TurnInitiator, TurnInitiatorContext, UNATTRIBUTED_LEGACY_INITIATOR_SUBJECT_ID, UpdateConnectionRequest, UpdateKnowledgeMemoryRequest, UpdateRigRequest, UpdateScheduledTaskRequest, UpdateSessionGoalRequest, UpdateSessionMcpApprovalPolicyRequest, UpdateSessionMcpApprovalPolicyResponse, UpdateSessionPinRequest, UpdateSessionRequest, UpdateSessionToolPolicyRequest, UpdateVariableSetRequest, UpdateWorkspaceEnvironmentRequest, UpdateWorkspaceMemberRequest, UpdateWorkspaceModelPolicyRequest, UpdateWorkspaceRequest, UpdateWorkspaceSettingsRequest, UsageEvent, UsageEventType, UsageLimitsMode, VariableSet, VariableSetVariableMetadata, VariableSetVariableName, ViewerHeartbeatRequest, ViewerHeartbeatResponse, ViewerHolder, WORKSPACE_CONTROL_ACTOR_MAX_BYTES, WORKSPACE_CONTROL_EVENT_MAX_BYTES, WORKSPACE_CONTROL_REASON_MAX_BYTES, WORKSPACE_INSTRUCTION_POLICY_CONTENT_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_REASON_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_ROLE_KEY_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_SOURCE_ID_MAX_CHARS, Workspace, WorkspaceCaptureDegradedReason, WorkspaceCaptureFile, WorkspaceCaptureManifest, WorkspaceCaptureRepo, WorkspaceCaptureSignedUrl, WorkspaceCaptureStats, type WorkspaceControlBoundarySurface, WorkspaceControlEvent, WorkspaceControlEventTruncation, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceInferenceControlRequest, WorkspaceInferenceControlResponse, WorkspaceInferenceState, WorkspaceInstructionPolicyActivationEvent, WorkspaceInstructionPolicyActivationResponse, WorkspaceInstructionPolicyActivationType, WorkspaceInstructionPolicyConflictResponse, WorkspaceInstructionPolicyDiffRequest, WorkspaceInstructionPolicyDiffResponse, WorkspaceInstructionPolicyDraftProvenanceSource, WorkspaceInstructionPolicyHead, WorkspaceInstructionPolicyKind, WorkspaceInstructionPolicyListQuery, WorkspaceInstructionPolicyListResponse, WorkspaceInstructionPolicyProvenance, WorkspaceInstructionPolicyProvenanceSource, WorkspaceInstructionPolicyRevision, WorkspaceInstructionPolicyRevisionIdentity, WorkspaceInstructionPolicyRoleKey, WorkspaceInstructionPolicyScope, WorkspaceInstructionPolicyTarget, WorkspaceMember, WorkspaceMemorySearchMode, WorkspaceMemorySearchRequest, WorkspaceMemorySearchResponse, WorkspaceMemorySearchResult, WorkspaceModelCatalogModel, WorkspaceModelCatalogResponse, type WorkspaceModelPolicyContract, type WorkspaceModelPolicyVerdict, WorkspaceRegisteredPack, WorkspaceRevisionCapturedPayload, WorkspaceRevisionDegradedPayload, type WorkspaceSettings, WorkspaceSettingsSchema, WorkspaceTranscriptionPolicy, WorkspaceTranscriptionTarget, approvalIdentifier, approximateSessionEventTokens, assertUniqueResourceMountPaths, boundSessionEvent, boundSessionEventPayload, boundWorkspaceControlEvent, canonicalCodexFleetReplayJsonV1, capabilityCatalogItemIsTrustedForExposure, compactSessionEventResult, compareCodexFleetCanonicalStringsV1, createCodexFleetReplayRecordV1, createSecretRedactor, defaultRepositoryMountPath, effectiveCodexFleetCacheStateV1, evaluateCodexFleetDecisionV1, evaluateWorkspaceModelPolicy, gitCredentialBindingIdForRepository, gitCredentialProviderForRepository, identityRedactor, isClearedRunStateBlob, isCredentialHeaderName, isSensitiveFieldName, measureSessionEventJson, mergeResourceRefs, mergeToolRefs, metadataWithTurnExecutionPolicyV1, normalizeRepositorySubpath, normalizeResourceMountPath, normalizeWorkspaceInstructionPolicyRoleKey, prefixedMcpToolName, readCodexFleetReplayRecordV1, readTurnExecutionPolicyV1, reasoningEffortForMetadata, redactSensitiveData, redactSensitiveKey, redactSensitiveText, redactSerializedJson, replayCodexFleetDecisionV1, resolveRetainedOutputRange, resolveSessionEventTypeFilters, resolveWorkspaceMemoryEnabled, resourceIdentityKey, resourceMountPath, resourceMountPathCollisionKey, retainedArtifactReferenceFromFile, retainedOutputUnavailable, sessionEventJsonBytes, sessionEventLatestClassToSemanticClass, sessionEventMediaPreview, sessionEventMediaPreviewFromDataUrl, sessionEventPayloadTruncation, signDelegatedAccessToken, signEnrollToken, signEnrollmentBearer, signRelayToken, signStreamToken, stableJson, turnExecutionPolicyAuditMetadata, validateRetainedOutputEvidence, verifyDelegatedAccessToken, verifyEnrollToken, verifyEnrollmentBearer, verifyRelayToken, verifyStreamToken, workspaceControlUtf8Bytes };