@deepraxis/sdk 0.1.1-dev.e2643d3 → 0.1.1-dev.e2d177f
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/METHODS.md +71 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +135 -13
- package/dist/generated/sdk.gen.js +378 -16
- package/dist/generated/types.gen.d.ts +4905 -85
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +8 -0
- package/dist/operations.generated.js +613 -33
- package/dist/resources.generated.d.ts +562 -1
- package/dist/resources.generated.js +46 -1
- package/package.json +1 -1
|
@@ -612,6 +612,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
612
612
|
processed_at: string;
|
|
613
613
|
forked_from_session_id: string;
|
|
614
614
|
forked_from_message_id: string;
|
|
615
|
+
message_id?: string;
|
|
616
|
+
session_thread_id?: string | null;
|
|
615
617
|
} | {
|
|
616
618
|
id: string;
|
|
617
619
|
type: "session.goal_changed";
|
|
@@ -642,6 +644,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
642
644
|
created_at: number;
|
|
643
645
|
updated_at: number;
|
|
644
646
|
} | null;
|
|
647
|
+
message_id?: string;
|
|
648
|
+
session_thread_id?: string | null;
|
|
645
649
|
} | {
|
|
646
650
|
id: string;
|
|
647
651
|
type: "session.goal_verification";
|
|
@@ -656,11 +660,179 @@ export declare function createAgent(transport: Transport): {
|
|
|
656
660
|
reason: string;
|
|
657
661
|
next_action?: string;
|
|
658
662
|
};
|
|
663
|
+
message_id?: string;
|
|
664
|
+
session_thread_id?: string | null;
|
|
659
665
|
} | {
|
|
660
666
|
id: string;
|
|
661
667
|
type: "user.steer";
|
|
662
668
|
event_id: string;
|
|
663
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;
|
|
664
836
|
}>;
|
|
665
837
|
next_page: string | null;
|
|
666
838
|
}>;
|
|
@@ -681,6 +853,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
681
853
|
type: "user.steer";
|
|
682
854
|
event_id: string;
|
|
683
855
|
processed_at: string;
|
|
856
|
+
message_id?: string;
|
|
857
|
+
session_thread_id?: string | null;
|
|
684
858
|
}>;
|
|
685
859
|
}>;
|
|
686
860
|
stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -3679,6 +3853,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3679
3853
|
processed_at: string;
|
|
3680
3854
|
forked_from_session_id: string;
|
|
3681
3855
|
forked_from_message_id: string;
|
|
3856
|
+
message_id?: string;
|
|
3857
|
+
session_thread_id?: string | null;
|
|
3682
3858
|
} | {
|
|
3683
3859
|
id: string;
|
|
3684
3860
|
type: "session.goal_changed";
|
|
@@ -3709,6 +3885,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3709
3885
|
created_at: number;
|
|
3710
3886
|
updated_at: number;
|
|
3711
3887
|
} | null;
|
|
3888
|
+
message_id?: string;
|
|
3889
|
+
session_thread_id?: string | null;
|
|
3712
3890
|
} | {
|
|
3713
3891
|
id: string;
|
|
3714
3892
|
type: "session.goal_verification";
|
|
@@ -3723,11 +3901,179 @@ export declare function createAgent(transport: Transport): {
|
|
|
3723
3901
|
reason: string;
|
|
3724
3902
|
next_action?: string;
|
|
3725
3903
|
};
|
|
3904
|
+
message_id?: string;
|
|
3905
|
+
session_thread_id?: string | null;
|
|
3726
3906
|
} | {
|
|
3727
3907
|
id: string;
|
|
3728
3908
|
type: "user.steer";
|
|
3729
3909
|
event_id: string;
|
|
3730
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;
|
|
3731
4077
|
}>;
|
|
3732
4078
|
next_page: string | null;
|
|
3733
4079
|
}>;
|
|
@@ -3748,6 +4094,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3748
4094
|
type: "user.steer";
|
|
3749
4095
|
event_id: string;
|
|
3750
4096
|
processed_at: string;
|
|
4097
|
+
message_id?: string;
|
|
4098
|
+
session_thread_id?: string | null;
|
|
3751
4099
|
}>;
|
|
3752
4100
|
}>;
|
|
3753
4101
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -5225,6 +5573,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
5225
5573
|
processed_at: string;
|
|
5226
5574
|
forked_from_session_id: string;
|
|
5227
5575
|
forked_from_message_id: string;
|
|
5576
|
+
message_id?: string;
|
|
5577
|
+
session_thread_id?: string | null;
|
|
5228
5578
|
} | {
|
|
5229
5579
|
id: string;
|
|
5230
5580
|
type: "session.goal_changed";
|
|
@@ -5255,6 +5605,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
5255
5605
|
created_at: number;
|
|
5256
5606
|
updated_at: number;
|
|
5257
5607
|
} | null;
|
|
5608
|
+
message_id?: string;
|
|
5609
|
+
session_thread_id?: string | null;
|
|
5258
5610
|
} | {
|
|
5259
5611
|
id: string;
|
|
5260
5612
|
type: "session.goal_verification";
|
|
@@ -5269,11 +5621,179 @@ export declare function createAgent(transport: Transport): {
|
|
|
5269
5621
|
reason: string;
|
|
5270
5622
|
next_action?: string;
|
|
5271
5623
|
};
|
|
5624
|
+
message_id?: string;
|
|
5625
|
+
session_thread_id?: string | null;
|
|
5272
5626
|
} | {
|
|
5273
5627
|
id: string;
|
|
5274
5628
|
type: "user.steer";
|
|
5275
5629
|
event_id: string;
|
|
5276
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;
|
|
5277
5797
|
}>;
|
|
5278
5798
|
next_page: string | null;
|
|
5279
5799
|
}>;
|
|
@@ -5796,10 +6316,18 @@ export declare function createCanvas(transport: Transport): {
|
|
|
5796
6316
|
images: {
|
|
5797
6317
|
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
|
|
5798
6318
|
};
|
|
6319
|
+
imports: {
|
|
6320
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CanvasSetImportData>) => Promise<Types.CanvasSetImportResult>;
|
|
6321
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteImportData>) => Promise<Types.CanvasDeleteImportResult>;
|
|
6322
|
+
};
|
|
6323
|
+
libraryVersions: {
|
|
6324
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListLibraryVersionsData>) => Promise<Types.CanvasLibraryVersionPage>;
|
|
6325
|
+
};
|
|
5799
6326
|
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
|
|
5800
6327
|
nodes: {
|
|
5801
6328
|
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
|
|
5802
6329
|
};
|
|
6330
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.CanvasPublishLibraryData>) => Promise<Types.CanvasPublishLibraryResult>;
|
|
5803
6331
|
restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
|
|
5804
6332
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
|
|
5805
6333
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
|
|
@@ -5814,6 +6342,9 @@ export declare function createCanvas(transport: Transport): {
|
|
|
5814
6342
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
|
|
5815
6343
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
5816
6344
|
};
|
|
6345
|
+
libraries: {
|
|
6346
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasLibrarySummary>>;
|
|
6347
|
+
};
|
|
5817
6348
|
};
|
|
5818
6349
|
export declare function createContent(transport: Transport): {
|
|
5819
6350
|
contents: {
|
|
@@ -6496,9 +7027,38 @@ export declare function createMedia(transport: Transport): {
|
|
|
6496
7027
|
};
|
|
6497
7028
|
};
|
|
6498
7029
|
};
|
|
7030
|
+
pipelines: {
|
|
7031
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
7032
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaPipelineData>) => Promise<Types.MediaPipelineDeleted>;
|
|
7033
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaPipelinesData> | undefined) => Promise<Types.MediaPipelineList>;
|
|
7034
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
7035
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
7036
|
+
};
|
|
6499
7037
|
speech: {
|
|
6500
7038
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
|
|
6501
7039
|
};
|
|
7040
|
+
streams: {
|
|
7041
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamData>) => Promise<Types.MediaStreamWithPush>;
|
|
7042
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamData>) => Promise<Types.MediaStreamDeleted>;
|
|
7043
|
+
disable: {
|
|
7044
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisableMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7045
|
+
};
|
|
7046
|
+
enable: {
|
|
7047
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EnableMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7048
|
+
};
|
|
7049
|
+
events: {
|
|
7050
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamEventsData>) => Promise<Types.MediaStreamEventList>;
|
|
7051
|
+
};
|
|
7052
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaStreamsData> | undefined) => Promise<Types.MediaStreamList>;
|
|
7053
|
+
resetToken: {
|
|
7054
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ResetMediaStreamTokenData>) => Promise<Types.MediaStreamWithPush>;
|
|
7055
|
+
};
|
|
7056
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7057
|
+
subscribeToken: {
|
|
7058
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamSubscriptionData>) => Promise<Types.MediaStreamSubscription>;
|
|
7059
|
+
};
|
|
7060
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7061
|
+
};
|
|
6502
7062
|
videos: {
|
|
6503
7063
|
generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
|
|
6504
7064
|
};
|
|
@@ -8180,7 +8740,8 @@ export declare function createWorkforce(transport: Transport): {
|
|
|
8180
8740
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
8181
8741
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8182
8742
|
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8183
|
-
|
|
8743
|
+
/** @deprecated use PUT /workforce/v1/specs/department/{id} instead; this path stops working on 2026-11-28. */
|
|
8744
|
+
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<unknown>;
|
|
8184
8745
|
};
|
|
8185
8746
|
effectiveSpec: {
|
|
8186
8747
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|