@deepraxis/sdk 0.1.1-dev.f44c601 → 0.1.1-dev.f5b174e

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.
@@ -40,6 +40,7 @@ export declare function createAgent(transport: Transport): {
40
40
  id: string;
41
41
  } | null;
42
42
  note: string | null;
43
+ deployments_behind: number | null;
43
44
  bindings: Array<{
44
45
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
45
46
  id: string;
@@ -225,6 +226,7 @@ export declare function createAgent(transport: Transport): {
225
226
  id: string;
226
227
  } | null;
227
228
  note: string | null;
229
+ deployments_behind: number | null;
228
230
  bindings: Array<{
229
231
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
230
232
  id: string;
@@ -610,6 +612,8 @@ export declare function createAgent(transport: Transport): {
610
612
  processed_at: string;
611
613
  forked_from_session_id: string;
612
614
  forked_from_message_id: string;
615
+ message_id?: string;
616
+ session_thread_id?: string | null;
613
617
  } | {
614
618
  id: string;
615
619
  type: "session.goal_changed";
@@ -640,6 +644,8 @@ export declare function createAgent(transport: Transport): {
640
644
  created_at: number;
641
645
  updated_at: number;
642
646
  } | null;
647
+ message_id?: string;
648
+ session_thread_id?: string | null;
643
649
  } | {
644
650
  id: string;
645
651
  type: "session.goal_verification";
@@ -654,11 +660,179 @@ export declare function createAgent(transport: Transport): {
654
660
  reason: string;
655
661
  next_action?: string;
656
662
  };
663
+ message_id?: string;
664
+ session_thread_id?: string | null;
657
665
  } | {
658
666
  id: string;
659
667
  type: "user.steer";
660
668
  event_id: string;
661
669
  processed_at: string;
670
+ message_id?: string;
671
+ session_thread_id?: string | null;
672
+ } | {
673
+ id: string;
674
+ type: "cognition.surfaced";
675
+ processed_at: string;
676
+ worker_session_id: string;
677
+ name: string;
678
+ state: "done" | "waiting" | "failed" | "archived";
679
+ experience_id?: string;
680
+ result?: {
681
+ message?: string;
682
+ links?: Array<string>;
683
+ files?: Array<{
684
+ name?: string;
685
+ href?: string;
686
+ }>;
687
+ held?: Array<{
688
+ id?: string;
689
+ summary?: string;
690
+ effect?: string;
691
+ method?: string;
692
+ path?: string;
693
+ expires_at?: string;
694
+ }>;
695
+ };
696
+ } | {
697
+ id: string;
698
+ type: "cognition.intention_woken";
699
+ processed_at: string;
700
+ node_id: string;
701
+ reason: "open_engram" | "assignment";
702
+ } | {
703
+ id: string;
704
+ type: "agent.operation_approval_requested";
705
+ processed_at: string;
706
+ approval_id: string;
707
+ operation_id: string;
708
+ effect: "outward" | "irreversible";
709
+ method: string;
710
+ path: string;
711
+ summary: string;
712
+ expires_at: string;
713
+ worker_session_id?: string;
714
+ worker_name?: string;
715
+ } | {
716
+ id: string;
717
+ type: "agent.operation_approval_decided";
718
+ processed_at: string;
719
+ approval_id: string;
720
+ status: "approved" | "refused" | "expired";
721
+ } | {
722
+ id: string;
723
+ type: "session.prompt_configuration_mismatch";
724
+ processed_at: string;
725
+ pinned_revision_id: string;
726
+ current_revision_id: string;
727
+ } | {
728
+ id: string;
729
+ type: "session.prompt_rev_changed";
730
+ processed_at: string;
731
+ config_revision_id: string;
732
+ changed: Array<{
733
+ name: string;
734
+ rev: string | null;
735
+ }>;
736
+ } | {
737
+ id: string;
738
+ type: "session.computer_tier";
739
+ processed_at: string;
740
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
741
+ tier: "light" | "heavy";
742
+ duration_ms: number;
743
+ error_code?: string;
744
+ status?: {
745
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
746
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
747
+ percent?: number;
748
+ files_done?: number;
749
+ files_total?: number;
750
+ idle_release_at?: number;
751
+ retry_at?: number;
752
+ epoch?: number;
753
+ heavy_instance?: string | null;
754
+ heavy_paused?: boolean;
755
+ };
756
+ } | {
757
+ id: string;
758
+ type: "agent.artifact_delivered";
759
+ processed_at: string;
760
+ artifact: {
761
+ object: "artifact";
762
+ id: string;
763
+ session_id: string;
764
+ run_id: string | null;
765
+ name: string;
766
+ version: number;
767
+ parts: Array<{
768
+ [key: string]: unknown;
769
+ }>;
770
+ source_hrefs: Array<string>;
771
+ create_time: string;
772
+ update_time: string;
773
+ };
774
+ } | {
775
+ id: string;
776
+ type: "agent.image_generation";
777
+ processed_at: string;
778
+ tool_use_id: string;
779
+ index: number;
780
+ total: number;
781
+ status: string;
782
+ mode?: string;
783
+ aspect?: string;
784
+ prompt?: string;
785
+ model?: string;
786
+ file_id?: string;
787
+ label?: string;
788
+ width?: number;
789
+ height?: number;
790
+ revised_prompt?: string;
791
+ source_labels?: Array<string>;
792
+ caption?: string;
793
+ slot?: number | null;
794
+ replaces?: string;
795
+ version?: number;
796
+ failure?: {
797
+ reason?: string;
798
+ };
799
+ } | {
800
+ id: string;
801
+ type: "session.image_labeled";
802
+ processed_at: string;
803
+ label: string;
804
+ file_id: string;
805
+ origin: "generated" | "uploaded";
806
+ filename: string;
807
+ tool_use_id?: string;
808
+ version?: number;
809
+ replaced_file_id?: string;
810
+ } | {
811
+ id: string;
812
+ type: "session.image_set_planned";
813
+ processed_at: string;
814
+ tool_use_id: string;
815
+ items: Array<unknown>;
816
+ title?: string;
817
+ } | {
818
+ id: string;
819
+ type: "session.project_attached";
820
+ processed_at: string;
821
+ project: {
822
+ id: string;
823
+ name: string;
824
+ path: string;
825
+ };
826
+ message_id?: string;
827
+ session_thread_id?: string | null;
828
+ } | {
829
+ id: string;
830
+ type: "session.project_detached";
831
+ processed_at: string;
832
+ project_id: string;
833
+ reason?: "project_removed";
834
+ message_id?: string;
835
+ session_thread_id?: string | null;
662
836
  }>;
663
837
  next_page: string | null;
664
838
  }>;
@@ -679,6 +853,8 @@ export declare function createAgent(transport: Transport): {
679
853
  type: "user.steer";
680
854
  event_id: string;
681
855
  processed_at: string;
856
+ message_id?: string;
857
+ session_thread_id?: string | null;
682
858
  }>;
683
859
  }>;
684
860
  stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -733,6 +909,7 @@ export declare function createAgent(transport: Transport): {
733
909
  id: string;
734
910
  } | null;
735
911
  note: string | null;
912
+ deployments_behind: number | null;
736
913
  bindings: Array<{
737
914
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
738
915
  id: string;
@@ -940,6 +1117,7 @@ export declare function createAgent(transport: Transport): {
940
1117
  id: string;
941
1118
  } | null;
942
1119
  note: string | null;
1120
+ deployments_behind: number | null;
943
1121
  bindings: Array<{
944
1122
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
945
1123
  id: string;
@@ -1398,6 +1576,7 @@ export declare function createAgent(transport: Transport): {
1398
1576
  id: string;
1399
1577
  } | null;
1400
1578
  note: string | null;
1579
+ deployments_behind: number | null;
1401
1580
  bindings: Array<{
1402
1581
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1403
1582
  id: string;
@@ -1576,6 +1755,7 @@ export declare function createAgent(transport: Transport): {
1576
1755
  id: string;
1577
1756
  } | null;
1578
1757
  note: string | null;
1758
+ deployments_behind: number | null;
1579
1759
  bindings: Array<{
1580
1760
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1581
1761
  id: string;
@@ -1971,6 +2151,7 @@ export declare function createAgent(transport: Transport): {
1971
2151
  id: string;
1972
2152
  } | null;
1973
2153
  note: string | null;
2154
+ deployments_behind: number | null;
1974
2155
  bindings: Array<{
1975
2156
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1976
2157
  id: string;
@@ -2457,6 +2638,8 @@ export declare function createAgent(transport: Transport): {
2457
2638
  id: string;
2458
2639
  type: "agent";
2459
2640
  version: number;
2641
+ pinned_version?: number | null;
2642
+ active_version?: number | null;
2460
2643
  } | {
2461
2644
  id: string;
2462
2645
  type: "agent_with_overrides";
@@ -2494,6 +2677,8 @@ export declare function createAgent(transport: Transport): {
2494
2677
  id: string;
2495
2678
  type: "agent";
2496
2679
  version: number;
2680
+ pinned_version?: number | null;
2681
+ active_version?: number | null;
2497
2682
  } | {
2498
2683
  id: string;
2499
2684
  type: "agent_with_overrides";
@@ -2532,6 +2717,8 @@ export declare function createAgent(transport: Transport): {
2532
2717
  id: string;
2533
2718
  type: "agent";
2534
2719
  version: number;
2720
+ pinned_version?: number | null;
2721
+ active_version?: number | null;
2535
2722
  } | {
2536
2723
  id: string;
2537
2724
  type: "agent_with_overrides";
@@ -2571,6 +2758,8 @@ export declare function createAgent(transport: Transport): {
2571
2758
  id: string;
2572
2759
  type: "agent";
2573
2760
  version: number;
2761
+ pinned_version?: number | null;
2762
+ active_version?: number | null;
2574
2763
  } | {
2575
2764
  id: string;
2576
2765
  type: "agent_with_overrides";
@@ -2608,6 +2797,8 @@ export declare function createAgent(transport: Transport): {
2608
2797
  id: string;
2609
2798
  type: "agent";
2610
2799
  version: number;
2800
+ pinned_version?: number | null;
2801
+ active_version?: number | null;
2611
2802
  } | {
2612
2803
  id: string;
2613
2804
  type: "agent_with_overrides";
@@ -2649,6 +2840,8 @@ export declare function createAgent(transport: Transport): {
2649
2840
  id: string;
2650
2841
  type: "agent";
2651
2842
  version: number;
2843
+ pinned_version?: number | null;
2844
+ active_version?: number | null;
2652
2845
  } | {
2653
2846
  id: string;
2654
2847
  type: "agent_with_overrides";
@@ -2687,6 +2880,8 @@ export declare function createAgent(transport: Transport): {
2687
2880
  id: string;
2688
2881
  type: "agent";
2689
2882
  version: number;
2883
+ pinned_version?: number | null;
2884
+ active_version?: number | null;
2690
2885
  } | {
2691
2886
  id: string;
2692
2887
  type: "agent_with_overrides";
@@ -3499,6 +3694,13 @@ export declare function createAgent(transport: Transport): {
3499
3694
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3500
3695
  }>;
3501
3696
  delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
3697
+ dictations: {
3698
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
3699
+ id: string;
3700
+ push_url: string;
3701
+ expires_at: string;
3702
+ }>;
3703
+ };
3502
3704
  events: {
3503
3705
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
3504
3706
  data: Array<{
@@ -3651,6 +3853,8 @@ export declare function createAgent(transport: Transport): {
3651
3853
  processed_at: string;
3652
3854
  forked_from_session_id: string;
3653
3855
  forked_from_message_id: string;
3856
+ message_id?: string;
3857
+ session_thread_id?: string | null;
3654
3858
  } | {
3655
3859
  id: string;
3656
3860
  type: "session.goal_changed";
@@ -3681,6 +3885,8 @@ export declare function createAgent(transport: Transport): {
3681
3885
  created_at: number;
3682
3886
  updated_at: number;
3683
3887
  } | null;
3888
+ message_id?: string;
3889
+ session_thread_id?: string | null;
3684
3890
  } | {
3685
3891
  id: string;
3686
3892
  type: "session.goal_verification";
@@ -3695,11 +3901,179 @@ export declare function createAgent(transport: Transport): {
3695
3901
  reason: string;
3696
3902
  next_action?: string;
3697
3903
  };
3904
+ message_id?: string;
3905
+ session_thread_id?: string | null;
3698
3906
  } | {
3699
3907
  id: string;
3700
3908
  type: "user.steer";
3701
3909
  event_id: string;
3702
3910
  processed_at: string;
3911
+ message_id?: string;
3912
+ session_thread_id?: string | null;
3913
+ } | {
3914
+ id: string;
3915
+ type: "cognition.surfaced";
3916
+ processed_at: string;
3917
+ worker_session_id: string;
3918
+ name: string;
3919
+ state: "done" | "waiting" | "failed" | "archived";
3920
+ experience_id?: string;
3921
+ result?: {
3922
+ message?: string;
3923
+ links?: Array<string>;
3924
+ files?: Array<{
3925
+ name?: string;
3926
+ href?: string;
3927
+ }>;
3928
+ held?: Array<{
3929
+ id?: string;
3930
+ summary?: string;
3931
+ effect?: string;
3932
+ method?: string;
3933
+ path?: string;
3934
+ expires_at?: string;
3935
+ }>;
3936
+ };
3937
+ } | {
3938
+ id: string;
3939
+ type: "cognition.intention_woken";
3940
+ processed_at: string;
3941
+ node_id: string;
3942
+ reason: "open_engram" | "assignment";
3943
+ } | {
3944
+ id: string;
3945
+ type: "agent.operation_approval_requested";
3946
+ processed_at: string;
3947
+ approval_id: string;
3948
+ operation_id: string;
3949
+ effect: "outward" | "irreversible";
3950
+ method: string;
3951
+ path: string;
3952
+ summary: string;
3953
+ expires_at: string;
3954
+ worker_session_id?: string;
3955
+ worker_name?: string;
3956
+ } | {
3957
+ id: string;
3958
+ type: "agent.operation_approval_decided";
3959
+ processed_at: string;
3960
+ approval_id: string;
3961
+ status: "approved" | "refused" | "expired";
3962
+ } | {
3963
+ id: string;
3964
+ type: "session.prompt_configuration_mismatch";
3965
+ processed_at: string;
3966
+ pinned_revision_id: string;
3967
+ current_revision_id: string;
3968
+ } | {
3969
+ id: string;
3970
+ type: "session.prompt_rev_changed";
3971
+ processed_at: string;
3972
+ config_revision_id: string;
3973
+ changed: Array<{
3974
+ name: string;
3975
+ rev: string | null;
3976
+ }>;
3977
+ } | {
3978
+ id: string;
3979
+ type: "session.computer_tier";
3980
+ processed_at: string;
3981
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
3982
+ tier: "light" | "heavy";
3983
+ duration_ms: number;
3984
+ error_code?: string;
3985
+ status?: {
3986
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
3987
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
3988
+ percent?: number;
3989
+ files_done?: number;
3990
+ files_total?: number;
3991
+ idle_release_at?: number;
3992
+ retry_at?: number;
3993
+ epoch?: number;
3994
+ heavy_instance?: string | null;
3995
+ heavy_paused?: boolean;
3996
+ };
3997
+ } | {
3998
+ id: string;
3999
+ type: "agent.artifact_delivered";
4000
+ processed_at: string;
4001
+ artifact: {
4002
+ object: "artifact";
4003
+ id: string;
4004
+ session_id: string;
4005
+ run_id: string | null;
4006
+ name: string;
4007
+ version: number;
4008
+ parts: Array<{
4009
+ [key: string]: unknown;
4010
+ }>;
4011
+ source_hrefs: Array<string>;
4012
+ create_time: string;
4013
+ update_time: string;
4014
+ };
4015
+ } | {
4016
+ id: string;
4017
+ type: "agent.image_generation";
4018
+ processed_at: string;
4019
+ tool_use_id: string;
4020
+ index: number;
4021
+ total: number;
4022
+ status: string;
4023
+ mode?: string;
4024
+ aspect?: string;
4025
+ prompt?: string;
4026
+ model?: string;
4027
+ file_id?: string;
4028
+ label?: string;
4029
+ width?: number;
4030
+ height?: number;
4031
+ revised_prompt?: string;
4032
+ source_labels?: Array<string>;
4033
+ caption?: string;
4034
+ slot?: number | null;
4035
+ replaces?: string;
4036
+ version?: number;
4037
+ failure?: {
4038
+ reason?: string;
4039
+ };
4040
+ } | {
4041
+ id: string;
4042
+ type: "session.image_labeled";
4043
+ processed_at: string;
4044
+ label: string;
4045
+ file_id: string;
4046
+ origin: "generated" | "uploaded";
4047
+ filename: string;
4048
+ tool_use_id?: string;
4049
+ version?: number;
4050
+ replaced_file_id?: string;
4051
+ } | {
4052
+ id: string;
4053
+ type: "session.image_set_planned";
4054
+ processed_at: string;
4055
+ tool_use_id: string;
4056
+ items: Array<unknown>;
4057
+ title?: string;
4058
+ } | {
4059
+ id: string;
4060
+ type: "session.project_attached";
4061
+ processed_at: string;
4062
+ project: {
4063
+ id: string;
4064
+ name: string;
4065
+ path: string;
4066
+ };
4067
+ message_id?: string;
4068
+ session_thread_id?: string | null;
4069
+ } | {
4070
+ id: string;
4071
+ type: "session.project_detached";
4072
+ processed_at: string;
4073
+ project_id: string;
4074
+ reason?: "project_removed";
4075
+ message_id?: string;
4076
+ session_thread_id?: string | null;
3703
4077
  }>;
3704
4078
  next_page: string | null;
3705
4079
  }>;
@@ -3720,6 +4094,8 @@ export declare function createAgent(transport: Transport): {
3720
4094
  type: "user.steer";
3721
4095
  event_id: string;
3722
4096
  processed_at: string;
4097
+ message_id?: string;
4098
+ session_thread_id?: string | null;
3723
4099
  }>;
3724
4100
  }>;
3725
4101
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -5197,6 +5573,8 @@ export declare function createAgent(transport: Transport): {
5197
5573
  processed_at: string;
5198
5574
  forked_from_session_id: string;
5199
5575
  forked_from_message_id: string;
5576
+ message_id?: string;
5577
+ session_thread_id?: string | null;
5200
5578
  } | {
5201
5579
  id: string;
5202
5580
  type: "session.goal_changed";
@@ -5227,6 +5605,8 @@ export declare function createAgent(transport: Transport): {
5227
5605
  created_at: number;
5228
5606
  updated_at: number;
5229
5607
  } | null;
5608
+ message_id?: string;
5609
+ session_thread_id?: string | null;
5230
5610
  } | {
5231
5611
  id: string;
5232
5612
  type: "session.goal_verification";
@@ -5241,11 +5621,179 @@ export declare function createAgent(transport: Transport): {
5241
5621
  reason: string;
5242
5622
  next_action?: string;
5243
5623
  };
5624
+ message_id?: string;
5625
+ session_thread_id?: string | null;
5244
5626
  } | {
5245
5627
  id: string;
5246
5628
  type: "user.steer";
5247
5629
  event_id: string;
5248
5630
  processed_at: string;
5631
+ message_id?: string;
5632
+ session_thread_id?: string | null;
5633
+ } | {
5634
+ id: string;
5635
+ type: "cognition.surfaced";
5636
+ processed_at: string;
5637
+ worker_session_id: string;
5638
+ name: string;
5639
+ state: "done" | "waiting" | "failed" | "archived";
5640
+ experience_id?: string;
5641
+ result?: {
5642
+ message?: string;
5643
+ links?: Array<string>;
5644
+ files?: Array<{
5645
+ name?: string;
5646
+ href?: string;
5647
+ }>;
5648
+ held?: Array<{
5649
+ id?: string;
5650
+ summary?: string;
5651
+ effect?: string;
5652
+ method?: string;
5653
+ path?: string;
5654
+ expires_at?: string;
5655
+ }>;
5656
+ };
5657
+ } | {
5658
+ id: string;
5659
+ type: "cognition.intention_woken";
5660
+ processed_at: string;
5661
+ node_id: string;
5662
+ reason: "open_engram" | "assignment";
5663
+ } | {
5664
+ id: string;
5665
+ type: "agent.operation_approval_requested";
5666
+ processed_at: string;
5667
+ approval_id: string;
5668
+ operation_id: string;
5669
+ effect: "outward" | "irreversible";
5670
+ method: string;
5671
+ path: string;
5672
+ summary: string;
5673
+ expires_at: string;
5674
+ worker_session_id?: string;
5675
+ worker_name?: string;
5676
+ } | {
5677
+ id: string;
5678
+ type: "agent.operation_approval_decided";
5679
+ processed_at: string;
5680
+ approval_id: string;
5681
+ status: "approved" | "refused" | "expired";
5682
+ } | {
5683
+ id: string;
5684
+ type: "session.prompt_configuration_mismatch";
5685
+ processed_at: string;
5686
+ pinned_revision_id: string;
5687
+ current_revision_id: string;
5688
+ } | {
5689
+ id: string;
5690
+ type: "session.prompt_rev_changed";
5691
+ processed_at: string;
5692
+ config_revision_id: string;
5693
+ changed: Array<{
5694
+ name: string;
5695
+ rev: string | null;
5696
+ }>;
5697
+ } | {
5698
+ id: string;
5699
+ type: "session.computer_tier";
5700
+ processed_at: string;
5701
+ action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
5702
+ tier: "light" | "heavy";
5703
+ duration_ms: number;
5704
+ error_code?: string;
5705
+ status?: {
5706
+ kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
5707
+ step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
5708
+ percent?: number;
5709
+ files_done?: number;
5710
+ files_total?: number;
5711
+ idle_release_at?: number;
5712
+ retry_at?: number;
5713
+ epoch?: number;
5714
+ heavy_instance?: string | null;
5715
+ heavy_paused?: boolean;
5716
+ };
5717
+ } | {
5718
+ id: string;
5719
+ type: "agent.artifact_delivered";
5720
+ processed_at: string;
5721
+ artifact: {
5722
+ object: "artifact";
5723
+ id: string;
5724
+ session_id: string;
5725
+ run_id: string | null;
5726
+ name: string;
5727
+ version: number;
5728
+ parts: Array<{
5729
+ [key: string]: unknown;
5730
+ }>;
5731
+ source_hrefs: Array<string>;
5732
+ create_time: string;
5733
+ update_time: string;
5734
+ };
5735
+ } | {
5736
+ id: string;
5737
+ type: "agent.image_generation";
5738
+ processed_at: string;
5739
+ tool_use_id: string;
5740
+ index: number;
5741
+ total: number;
5742
+ status: string;
5743
+ mode?: string;
5744
+ aspect?: string;
5745
+ prompt?: string;
5746
+ model?: string;
5747
+ file_id?: string;
5748
+ label?: string;
5749
+ width?: number;
5750
+ height?: number;
5751
+ revised_prompt?: string;
5752
+ source_labels?: Array<string>;
5753
+ caption?: string;
5754
+ slot?: number | null;
5755
+ replaces?: string;
5756
+ version?: number;
5757
+ failure?: {
5758
+ reason?: string;
5759
+ };
5760
+ } | {
5761
+ id: string;
5762
+ type: "session.image_labeled";
5763
+ processed_at: string;
5764
+ label: string;
5765
+ file_id: string;
5766
+ origin: "generated" | "uploaded";
5767
+ filename: string;
5768
+ tool_use_id?: string;
5769
+ version?: number;
5770
+ replaced_file_id?: string;
5771
+ } | {
5772
+ id: string;
5773
+ type: "session.image_set_planned";
5774
+ processed_at: string;
5775
+ tool_use_id: string;
5776
+ items: Array<unknown>;
5777
+ title?: string;
5778
+ } | {
5779
+ id: string;
5780
+ type: "session.project_attached";
5781
+ processed_at: string;
5782
+ project: {
5783
+ id: string;
5784
+ name: string;
5785
+ path: string;
5786
+ };
5787
+ message_id?: string;
5788
+ session_thread_id?: string | null;
5789
+ } | {
5790
+ id: string;
5791
+ type: "session.project_detached";
5792
+ processed_at: string;
5793
+ project_id: string;
5794
+ reason?: "project_removed";
5795
+ message_id?: string;
5796
+ session_thread_id?: string | null;
5249
5797
  }>;
5250
5798
  next_page: string | null;
5251
5799
  }>;
@@ -7402,6 +7950,7 @@ export declare function createOrganization(transport: Transport): {
7402
7950
  group: string;
7403
7951
  title: string;
7404
7952
  description?: string;
7953
+ severity: "high" | "medium" | "low" | "none";
7405
7954
  critical: boolean;
7406
7955
  channels: Array<string>;
7407
7956
  }>;