@deepnote/blocks 4.3.0 → 4.4.0

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.cts CHANGED
@@ -343,8 +343,8 @@ declare const sqlBlockSchema: z.ZodObject<{
343
343
  last_executed_function_notebook_id?: string | undefined;
344
344
  last_function_run_started_at?: number | undefined;
345
345
  function_notebook_export_states?: Record<string, any> | undefined;
346
- function_export_name?: string | undefined;
347
346
  deepnote_variable_name?: string | undefined;
347
+ function_export_name?: string | undefined;
348
348
  deepnote_return_variable_type?: "dataframe" | "query_preview" | undefined;
349
349
  sql_integration_id?: string | undefined;
350
350
  is_compiled_sql_query_visible?: boolean | undefined;
@@ -944,6 +944,176 @@ declare const buttonBlockSchema: z.ZodObject<{
944
944
  executionStartedAt?: string | undefined;
945
945
  outputs?: any[] | undefined;
946
946
  }>;
947
+ declare const agentBlockSchema: z.ZodObject<{
948
+ type: z.ZodLiteral<"agent">;
949
+ content: z.ZodOptional<z.ZodString>;
950
+ metadata: z.ZodDefault<z.ZodObject<{
951
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
952
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
953
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
954
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
955
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
956
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
957
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
958
+ } & {
959
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
960
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
961
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
962
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
963
+ execution_start: z.ZodOptional<z.ZodNumber>;
964
+ execution_millis: z.ZodOptional<z.ZodNumber>;
965
+ source_hash: z.ZodOptional<z.ZodString>;
966
+ execution_context_id: z.ZodOptional<z.ZodString>;
967
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
968
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
969
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
970
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
971
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
972
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
973
+ } & {
974
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
975
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
976
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
977
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
978
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
979
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
980
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
981
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
982
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
983
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
984
+ } & {
985
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
986
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
987
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
988
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
989
+ execution_start: z.ZodOptional<z.ZodNumber>;
990
+ execution_millis: z.ZodOptional<z.ZodNumber>;
991
+ source_hash: z.ZodOptional<z.ZodString>;
992
+ execution_context_id: z.ZodOptional<z.ZodString>;
993
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
994
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
995
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
996
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
997
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
998
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
999
+ } & {
1000
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
1001
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
1002
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1003
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
1004
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
1005
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
1006
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
1007
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1008
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
1009
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
1010
+ } & {
1011
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
1012
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
1013
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
1014
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
1015
+ execution_start: z.ZodOptional<z.ZodNumber>;
1016
+ execution_millis: z.ZodOptional<z.ZodNumber>;
1017
+ source_hash: z.ZodOptional<z.ZodString>;
1018
+ execution_context_id: z.ZodOptional<z.ZodString>;
1019
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
1020
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
1021
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1022
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
1023
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
1024
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1025
+ } & {
1026
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
1027
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
1028
+ }, z.ZodTypeAny, "passthrough">>>;
1029
+ executionCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1030
+ executionFinishedAt: z.ZodOptional<z.ZodString>;
1031
+ executionStartedAt: z.ZodOptional<z.ZodString>;
1032
+ outputs: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1033
+ id: z.ZodString;
1034
+ blockGroup: z.ZodString;
1035
+ sortingKey: z.ZodString;
1036
+ contentHash: z.ZodOptional<z.ZodString>;
1037
+ version: z.ZodOptional<z.ZodNumber>;
1038
+ }, "strip", z.ZodTypeAny, {
1039
+ type: "agent";
1040
+ metadata: {
1041
+ deepnote_app_is_code_hidden?: boolean | undefined;
1042
+ deepnote_app_is_output_hidden?: boolean | undefined;
1043
+ deepnote_app_block_visible?: boolean | undefined;
1044
+ deepnote_app_block_width?: number | undefined;
1045
+ deepnote_app_block_group_id?: string | null | undefined;
1046
+ deepnote_app_block_subgroup_id?: string | undefined;
1047
+ deepnote_app_block_order?: number | undefined;
1048
+ deepnote_cell_height?: number | undefined;
1049
+ allow_embed?: boolean | "code" | "code_output" | "output" | undefined;
1050
+ is_code_hidden?: boolean | undefined;
1051
+ is_output_hidden?: boolean | undefined;
1052
+ output_cleared?: boolean | undefined;
1053
+ execution_start?: number | undefined;
1054
+ execution_millis?: number | undefined;
1055
+ source_hash?: string | undefined;
1056
+ execution_context_id?: string | undefined;
1057
+ deepnote_output_heights?: (number | null)[] | undefined;
1058
+ deepnote_table_state?: Record<string, any> | undefined;
1059
+ last_executed_function_notebook_id?: string | undefined;
1060
+ last_function_run_started_at?: number | undefined;
1061
+ function_notebook_export_states?: Record<string, any> | undefined;
1062
+ deepnote_variable_name?: string | undefined;
1063
+ deepnote_agent_model?: string | undefined;
1064
+ } & {
1065
+ [k: string]: unknown;
1066
+ };
1067
+ id: string;
1068
+ blockGroup: string;
1069
+ sortingKey: string;
1070
+ content?: string | undefined;
1071
+ contentHash?: string | undefined;
1072
+ version?: number | undefined;
1073
+ executionCount?: number | null | undefined;
1074
+ executionFinishedAt?: string | undefined;
1075
+ executionStartedAt?: string | undefined;
1076
+ outputs?: any[] | undefined;
1077
+ }, {
1078
+ type: "agent";
1079
+ id: string;
1080
+ blockGroup: string;
1081
+ sortingKey: string;
1082
+ content?: string | undefined;
1083
+ metadata?: z.objectInputType<{
1084
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
1085
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
1086
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
1087
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
1088
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1089
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
1090
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
1091
+ } & {
1092
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
1093
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
1094
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
1095
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
1096
+ execution_start: z.ZodOptional<z.ZodNumber>;
1097
+ execution_millis: z.ZodOptional<z.ZodNumber>;
1098
+ source_hash: z.ZodOptional<z.ZodString>;
1099
+ execution_context_id: z.ZodOptional<z.ZodString>;
1100
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
1101
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
1102
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1103
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
1104
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
1105
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1106
+ } & {
1107
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
1108
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
1109
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1110
+ contentHash?: string | undefined;
1111
+ version?: number | undefined;
1112
+ executionCount?: number | null | undefined;
1113
+ executionFinishedAt?: string | undefined;
1114
+ executionStartedAt?: string | undefined;
1115
+ outputs?: any[] | undefined;
1116
+ }>;
947
1117
  declare const bigNumberBlockSchema: z.ZodObject<{
948
1118
  type: z.ZodLiteral<"big-number">;
949
1119
  content: z.ZodOptional<z.ZodString>;
@@ -3510,6 +3680,175 @@ declare const deepnoteBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
3510
3680
  }, z.ZodTypeAny, "passthrough"> | undefined;
3511
3681
  contentHash?: string | undefined;
3512
3682
  version?: number | undefined;
3683
+ }>, z.ZodObject<{
3684
+ type: z.ZodLiteral<"agent">;
3685
+ content: z.ZodOptional<z.ZodString>;
3686
+ metadata: z.ZodDefault<z.ZodObject<{
3687
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
3688
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
3689
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
3690
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
3691
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3692
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
3693
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
3694
+ } & {
3695
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
3696
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
3697
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
3698
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
3699
+ execution_start: z.ZodOptional<z.ZodNumber>;
3700
+ execution_millis: z.ZodOptional<z.ZodNumber>;
3701
+ source_hash: z.ZodOptional<z.ZodString>;
3702
+ execution_context_id: z.ZodOptional<z.ZodString>;
3703
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
3704
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
3705
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3706
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
3707
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
3708
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3709
+ } & {
3710
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
3711
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
3712
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3713
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
3714
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
3715
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
3716
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
3717
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3718
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
3719
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
3720
+ } & {
3721
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
3722
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
3723
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
3724
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
3725
+ execution_start: z.ZodOptional<z.ZodNumber>;
3726
+ execution_millis: z.ZodOptional<z.ZodNumber>;
3727
+ source_hash: z.ZodOptional<z.ZodString>;
3728
+ execution_context_id: z.ZodOptional<z.ZodString>;
3729
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
3730
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
3731
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3732
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
3733
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
3734
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3735
+ } & {
3736
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
3737
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
3738
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3739
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
3740
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
3741
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
3742
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
3743
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3744
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
3745
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
3746
+ } & {
3747
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
3748
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
3749
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
3750
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
3751
+ execution_start: z.ZodOptional<z.ZodNumber>;
3752
+ execution_millis: z.ZodOptional<z.ZodNumber>;
3753
+ source_hash: z.ZodOptional<z.ZodString>;
3754
+ execution_context_id: z.ZodOptional<z.ZodString>;
3755
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
3756
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
3757
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3758
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
3759
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
3760
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3761
+ } & {
3762
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
3763
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
3764
+ }, z.ZodTypeAny, "passthrough">>>;
3765
+ executionCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3766
+ executionFinishedAt: z.ZodOptional<z.ZodString>;
3767
+ executionStartedAt: z.ZodOptional<z.ZodString>;
3768
+ outputs: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3769
+ id: z.ZodString;
3770
+ blockGroup: z.ZodString;
3771
+ sortingKey: z.ZodString;
3772
+ contentHash: z.ZodOptional<z.ZodString>;
3773
+ version: z.ZodOptional<z.ZodNumber>;
3774
+ }, "strip", z.ZodTypeAny, {
3775
+ type: "agent";
3776
+ metadata: {
3777
+ deepnote_app_is_code_hidden?: boolean | undefined;
3778
+ deepnote_app_is_output_hidden?: boolean | undefined;
3779
+ deepnote_app_block_visible?: boolean | undefined;
3780
+ deepnote_app_block_width?: number | undefined;
3781
+ deepnote_app_block_group_id?: string | null | undefined;
3782
+ deepnote_app_block_subgroup_id?: string | undefined;
3783
+ deepnote_app_block_order?: number | undefined;
3784
+ deepnote_cell_height?: number | undefined;
3785
+ allow_embed?: boolean | "code" | "code_output" | "output" | undefined;
3786
+ is_code_hidden?: boolean | undefined;
3787
+ is_output_hidden?: boolean | undefined;
3788
+ output_cleared?: boolean | undefined;
3789
+ execution_start?: number | undefined;
3790
+ execution_millis?: number | undefined;
3791
+ source_hash?: string | undefined;
3792
+ execution_context_id?: string | undefined;
3793
+ deepnote_output_heights?: (number | null)[] | undefined;
3794
+ deepnote_table_state?: Record<string, any> | undefined;
3795
+ last_executed_function_notebook_id?: string | undefined;
3796
+ last_function_run_started_at?: number | undefined;
3797
+ function_notebook_export_states?: Record<string, any> | undefined;
3798
+ deepnote_variable_name?: string | undefined;
3799
+ deepnote_agent_model?: string | undefined;
3800
+ } & {
3801
+ [k: string]: unknown;
3802
+ };
3803
+ id: string;
3804
+ blockGroup: string;
3805
+ sortingKey: string;
3806
+ content?: string | undefined;
3807
+ contentHash?: string | undefined;
3808
+ version?: number | undefined;
3809
+ executionCount?: number | null | undefined;
3810
+ executionFinishedAt?: string | undefined;
3811
+ executionStartedAt?: string | undefined;
3812
+ outputs?: any[] | undefined;
3813
+ }, {
3814
+ type: "agent";
3815
+ id: string;
3816
+ blockGroup: string;
3817
+ sortingKey: string;
3818
+ content?: string | undefined;
3819
+ metadata?: z.objectInputType<{
3820
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
3821
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
3822
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
3823
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
3824
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3825
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
3826
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
3827
+ } & {
3828
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
3829
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
3830
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
3831
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
3832
+ execution_start: z.ZodOptional<z.ZodNumber>;
3833
+ execution_millis: z.ZodOptional<z.ZodNumber>;
3834
+ source_hash: z.ZodOptional<z.ZodString>;
3835
+ execution_context_id: z.ZodOptional<z.ZodString>;
3836
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
3837
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
3838
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3839
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
3840
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
3841
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3842
+ } & {
3843
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
3844
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
3845
+ }, z.ZodTypeAny, "passthrough"> | undefined;
3846
+ contentHash?: string | undefined;
3847
+ version?: number | undefined;
3848
+ executionCount?: number | null | undefined;
3849
+ executionFinishedAt?: string | undefined;
3850
+ executionStartedAt?: string | undefined;
3851
+ outputs?: any[] | undefined;
3513
3852
  }>, z.ZodObject<{
3514
3853
  type: z.ZodLiteral<"code">;
3515
3854
  content: z.ZodOptional<z.ZodString>;
@@ -3798,8 +4137,8 @@ declare const deepnoteBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
3798
4137
  last_executed_function_notebook_id?: string | undefined;
3799
4138
  last_function_run_started_at?: number | undefined;
3800
4139
  function_notebook_export_states?: Record<string, any> | undefined;
3801
- function_export_name?: string | undefined;
3802
4140
  deepnote_variable_name?: string | undefined;
4141
+ function_export_name?: string | undefined;
3803
4142
  deepnote_return_variable_type?: "dataframe" | "query_preview" | undefined;
3804
4143
  sql_integration_id?: string | undefined;
3805
4144
  is_compiled_sql_query_visible?: boolean | undefined;
@@ -6120,6 +6459,7 @@ declare const deepnoteBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
6120
6459
  outputs?: any[] | undefined;
6121
6460
  }>]>;
6122
6461
  type DeepnoteBlock = z.infer<typeof deepnoteBlockSchema>;
6462
+ type AgentBlock = z.infer<typeof agentBlockSchema>;
6123
6463
  type CodeBlock = z.infer<typeof codeBlockSchema>;
6124
6464
  type SqlBlock = z.infer<typeof sqlBlockSchema>;
6125
6465
  type NotebookFunctionBlock = z.infer<typeof notebookFunctionBlockSchema>;
@@ -6137,7 +6477,7 @@ type InputFileBlock = z.infer<typeof inputFileBlockSchema>;
6137
6477
  /** Union of all input block types */
6138
6478
  type InputBlock = InputTextBlock | InputTextareaBlock | InputCheckboxBlock | InputSelectBlock | InputSliderBlock | InputDateBlock | InputDateRangeBlock | InputFileBlock;
6139
6479
  /** Union of all executable block types */
6140
- type ExecutableBlock = CodeBlock | SqlBlock | NotebookFunctionBlock | VisualizationBlock | ButtonBlock | BigNumberBlock | InputBlock;
6480
+ type ExecutableBlock = AgentBlock | CodeBlock | SqlBlock | NotebookFunctionBlock | VisualizationBlock | ButtonBlock | BigNumberBlock | InputBlock;
6141
6481
  declare const environmentSchema: z.ZodOptional<z.ZodObject<{
6142
6482
  customImage: z.ZodOptional<z.ZodString>;
6143
6483
  hash: z.ZodOptional<z.ZodString>;
@@ -6956,7 +7296,90 @@ declare const deepnoteFileSchema: z.ZodObject<{
6956
7296
  contentHash?: string | undefined;
6957
7297
  version?: number | undefined;
6958
7298
  }, {
6959
- type: "text-cell-p";
7299
+ type: "text-cell-p";
7300
+ id: string;
7301
+ blockGroup: string;
7302
+ sortingKey: string;
7303
+ content?: string | undefined;
7304
+ metadata?: z.objectInputType<{
7305
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
7306
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
7307
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
7308
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
7309
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7310
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
7311
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
7312
+ } & {
7313
+ is_collapsed: z.ZodOptional<z.ZodBoolean>;
7314
+ formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7315
+ }, z.ZodTypeAny, "passthrough"> | undefined;
7316
+ contentHash?: string | undefined;
7317
+ version?: number | undefined;
7318
+ }>, z.ZodObject<{
7319
+ type: z.ZodLiteral<"text-cell-bullet">;
7320
+ content: z.ZodOptional<z.ZodString>;
7321
+ metadata: z.ZodDefault<z.ZodObject<{
7322
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
7323
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
7324
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
7325
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
7326
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7327
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
7328
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
7329
+ } & {
7330
+ is_collapsed: z.ZodOptional<z.ZodBoolean>;
7331
+ formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7332
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7333
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
7334
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
7335
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
7336
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
7337
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7338
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
7339
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
7340
+ } & {
7341
+ is_collapsed: z.ZodOptional<z.ZodBoolean>;
7342
+ formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7343
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7344
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
7345
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
7346
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
7347
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
7348
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7349
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
7350
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
7351
+ } & {
7352
+ is_collapsed: z.ZodOptional<z.ZodBoolean>;
7353
+ formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7354
+ }, z.ZodTypeAny, "passthrough">>>;
7355
+ id: z.ZodString;
7356
+ blockGroup: z.ZodString;
7357
+ sortingKey: z.ZodString;
7358
+ contentHash: z.ZodOptional<z.ZodString>;
7359
+ version: z.ZodOptional<z.ZodNumber>;
7360
+ }, "strip", z.ZodTypeAny, {
7361
+ type: "text-cell-bullet";
7362
+ metadata: {
7363
+ deepnote_app_is_code_hidden?: boolean | undefined;
7364
+ deepnote_app_is_output_hidden?: boolean | undefined;
7365
+ deepnote_app_block_visible?: boolean | undefined;
7366
+ deepnote_app_block_width?: number | undefined;
7367
+ deepnote_app_block_group_id?: string | null | undefined;
7368
+ deepnote_app_block_subgroup_id?: string | undefined;
7369
+ deepnote_app_block_order?: number | undefined;
7370
+ is_collapsed?: boolean | undefined;
7371
+ formattedRanges?: any[] | undefined;
7372
+ } & {
7373
+ [k: string]: unknown;
7374
+ };
7375
+ id: string;
7376
+ blockGroup: string;
7377
+ sortingKey: string;
7378
+ content?: string | undefined;
7379
+ contentHash?: string | undefined;
7380
+ version?: number | undefined;
7381
+ }, {
7382
+ type: "text-cell-bullet";
6960
7383
  id: string;
6961
7384
  blockGroup: string;
6962
7385
  sortingKey: string;
@@ -6976,7 +7399,7 @@ declare const deepnoteFileSchema: z.ZodObject<{
6976
7399
  contentHash?: string | undefined;
6977
7400
  version?: number | undefined;
6978
7401
  }>, z.ZodObject<{
6979
- type: z.ZodLiteral<"text-cell-bullet">;
7402
+ type: z.ZodLiteral<"text-cell-todo">;
6980
7403
  content: z.ZodOptional<z.ZodString>;
6981
7404
  metadata: z.ZodDefault<z.ZodObject<{
6982
7405
  deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
@@ -6989,6 +7412,8 @@ declare const deepnoteFileSchema: z.ZodObject<{
6989
7412
  } & {
6990
7413
  is_collapsed: z.ZodOptional<z.ZodBoolean>;
6991
7414
  formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7415
+ } & {
7416
+ checked: z.ZodOptional<z.ZodBoolean>;
6992
7417
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6993
7418
  deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
6994
7419
  deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
@@ -7000,6 +7425,8 @@ declare const deepnoteFileSchema: z.ZodObject<{
7000
7425
  } & {
7001
7426
  is_collapsed: z.ZodOptional<z.ZodBoolean>;
7002
7427
  formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7428
+ } & {
7429
+ checked: z.ZodOptional<z.ZodBoolean>;
7003
7430
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7004
7431
  deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
7005
7432
  deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
@@ -7011,6 +7438,8 @@ declare const deepnoteFileSchema: z.ZodObject<{
7011
7438
  } & {
7012
7439
  is_collapsed: z.ZodOptional<z.ZodBoolean>;
7013
7440
  formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7441
+ } & {
7442
+ checked: z.ZodOptional<z.ZodBoolean>;
7014
7443
  }, z.ZodTypeAny, "passthrough">>>;
7015
7444
  id: z.ZodString;
7016
7445
  blockGroup: z.ZodString;
@@ -7018,7 +7447,7 @@ declare const deepnoteFileSchema: z.ZodObject<{
7018
7447
  contentHash: z.ZodOptional<z.ZodString>;
7019
7448
  version: z.ZodOptional<z.ZodNumber>;
7020
7449
  }, "strip", z.ZodTypeAny, {
7021
- type: "text-cell-bullet";
7450
+ type: "text-cell-todo";
7022
7451
  metadata: {
7023
7452
  deepnote_app_is_code_hidden?: boolean | undefined;
7024
7453
  deepnote_app_is_output_hidden?: boolean | undefined;
@@ -7029,6 +7458,7 @@ declare const deepnoteFileSchema: z.ZodObject<{
7029
7458
  deepnote_app_block_order?: number | undefined;
7030
7459
  is_collapsed?: boolean | undefined;
7031
7460
  formattedRanges?: any[] | undefined;
7461
+ checked?: boolean | undefined;
7032
7462
  } & {
7033
7463
  [k: string]: unknown;
7034
7464
  };
@@ -7039,7 +7469,7 @@ declare const deepnoteFileSchema: z.ZodObject<{
7039
7469
  contentHash?: string | undefined;
7040
7470
  version?: number | undefined;
7041
7471
  }, {
7042
- type: "text-cell-bullet";
7472
+ type: "text-cell-todo";
7043
7473
  id: string;
7044
7474
  blockGroup: string;
7045
7475
  sortingKey: string;
@@ -7055,11 +7485,13 @@ declare const deepnoteFileSchema: z.ZodObject<{
7055
7485
  } & {
7056
7486
  is_collapsed: z.ZodOptional<z.ZodBoolean>;
7057
7487
  formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7488
+ } & {
7489
+ checked: z.ZodOptional<z.ZodBoolean>;
7058
7490
  }, z.ZodTypeAny, "passthrough"> | undefined;
7059
7491
  contentHash?: string | undefined;
7060
7492
  version?: number | undefined;
7061
7493
  }>, z.ZodObject<{
7062
- type: z.ZodLiteral<"text-cell-todo">;
7494
+ type: z.ZodLiteral<"text-cell-callout">;
7063
7495
  content: z.ZodOptional<z.ZodString>;
7064
7496
  metadata: z.ZodDefault<z.ZodObject<{
7065
7497
  deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
@@ -7073,7 +7505,7 @@ declare const deepnoteFileSchema: z.ZodObject<{
7073
7505
  is_collapsed: z.ZodOptional<z.ZodBoolean>;
7074
7506
  formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7075
7507
  } & {
7076
- checked: z.ZodOptional<z.ZodBoolean>;
7508
+ color: z.ZodOptional<z.ZodEnum<["blue", "green", "yellow", "red", "purple"]>>;
7077
7509
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7078
7510
  deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
7079
7511
  deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
@@ -7086,7 +7518,7 @@ declare const deepnoteFileSchema: z.ZodObject<{
7086
7518
  is_collapsed: z.ZodOptional<z.ZodBoolean>;
7087
7519
  formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7088
7520
  } & {
7089
- checked: z.ZodOptional<z.ZodBoolean>;
7521
+ color: z.ZodOptional<z.ZodEnum<["blue", "green", "yellow", "red", "purple"]>>;
7090
7522
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7091
7523
  deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
7092
7524
  deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
@@ -7099,7 +7531,7 @@ declare const deepnoteFileSchema: z.ZodObject<{
7099
7531
  is_collapsed: z.ZodOptional<z.ZodBoolean>;
7100
7532
  formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7101
7533
  } & {
7102
- checked: z.ZodOptional<z.ZodBoolean>;
7534
+ color: z.ZodOptional<z.ZodEnum<["blue", "green", "yellow", "red", "purple"]>>;
7103
7535
  }, z.ZodTypeAny, "passthrough">>>;
7104
7536
  id: z.ZodString;
7105
7537
  blockGroup: z.ZodString;
@@ -7107,7 +7539,7 @@ declare const deepnoteFileSchema: z.ZodObject<{
7107
7539
  contentHash: z.ZodOptional<z.ZodString>;
7108
7540
  version: z.ZodOptional<z.ZodNumber>;
7109
7541
  }, "strip", z.ZodTypeAny, {
7110
- type: "text-cell-todo";
7542
+ type: "text-cell-callout";
7111
7543
  metadata: {
7112
7544
  deepnote_app_is_code_hidden?: boolean | undefined;
7113
7545
  deepnote_app_is_output_hidden?: boolean | undefined;
@@ -7118,7 +7550,7 @@ declare const deepnoteFileSchema: z.ZodObject<{
7118
7550
  deepnote_app_block_order?: number | undefined;
7119
7551
  is_collapsed?: boolean | undefined;
7120
7552
  formattedRanges?: any[] | undefined;
7121
- checked?: boolean | undefined;
7553
+ color?: "blue" | "green" | "yellow" | "red" | "purple" | undefined;
7122
7554
  } & {
7123
7555
  [k: string]: unknown;
7124
7556
  };
@@ -7129,7 +7561,7 @@ declare const deepnoteFileSchema: z.ZodObject<{
7129
7561
  contentHash?: string | undefined;
7130
7562
  version?: number | undefined;
7131
7563
  }, {
7132
- type: "text-cell-todo";
7564
+ type: "text-cell-callout";
7133
7565
  id: string;
7134
7566
  blockGroup: string;
7135
7567
  sortingKey: string;
@@ -7146,12 +7578,12 @@ declare const deepnoteFileSchema: z.ZodObject<{
7146
7578
  is_collapsed: z.ZodOptional<z.ZodBoolean>;
7147
7579
  formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7148
7580
  } & {
7149
- checked: z.ZodOptional<z.ZodBoolean>;
7581
+ color: z.ZodOptional<z.ZodEnum<["blue", "green", "yellow", "red", "purple"]>>;
7150
7582
  }, z.ZodTypeAny, "passthrough"> | undefined;
7151
7583
  contentHash?: string | undefined;
7152
7584
  version?: number | undefined;
7153
7585
  }>, z.ZodObject<{
7154
- type: z.ZodLiteral<"text-cell-callout">;
7586
+ type: z.ZodLiteral<"agent">;
7155
7587
  content: z.ZodOptional<z.ZodString>;
7156
7588
  metadata: z.ZodDefault<z.ZodObject<{
7157
7589
  deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
@@ -7162,10 +7594,23 @@ declare const deepnoteFileSchema: z.ZodObject<{
7162
7594
  deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
7163
7595
  deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
7164
7596
  } & {
7165
- is_collapsed: z.ZodOptional<z.ZodBoolean>;
7166
- formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7597
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
7598
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
7599
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
7600
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
7601
+ execution_start: z.ZodOptional<z.ZodNumber>;
7602
+ execution_millis: z.ZodOptional<z.ZodNumber>;
7603
+ source_hash: z.ZodOptional<z.ZodString>;
7604
+ execution_context_id: z.ZodOptional<z.ZodString>;
7605
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
7606
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
7607
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7608
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
7609
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
7610
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7167
7611
  } & {
7168
- color: z.ZodOptional<z.ZodEnum<["blue", "green", "yellow", "red", "purple"]>>;
7612
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
7613
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
7169
7614
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7170
7615
  deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
7171
7616
  deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
@@ -7175,10 +7620,23 @@ declare const deepnoteFileSchema: z.ZodObject<{
7175
7620
  deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
7176
7621
  deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
7177
7622
  } & {
7178
- is_collapsed: z.ZodOptional<z.ZodBoolean>;
7179
- formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7623
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
7624
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
7625
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
7626
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
7627
+ execution_start: z.ZodOptional<z.ZodNumber>;
7628
+ execution_millis: z.ZodOptional<z.ZodNumber>;
7629
+ source_hash: z.ZodOptional<z.ZodString>;
7630
+ execution_context_id: z.ZodOptional<z.ZodString>;
7631
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
7632
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
7633
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7634
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
7635
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
7636
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7180
7637
  } & {
7181
- color: z.ZodOptional<z.ZodEnum<["blue", "green", "yellow", "red", "purple"]>>;
7638
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
7639
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
7182
7640
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7183
7641
  deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
7184
7642
  deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
@@ -7188,18 +7646,35 @@ declare const deepnoteFileSchema: z.ZodObject<{
7188
7646
  deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
7189
7647
  deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
7190
7648
  } & {
7191
- is_collapsed: z.ZodOptional<z.ZodBoolean>;
7192
- formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7649
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
7650
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
7651
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
7652
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
7653
+ execution_start: z.ZodOptional<z.ZodNumber>;
7654
+ execution_millis: z.ZodOptional<z.ZodNumber>;
7655
+ source_hash: z.ZodOptional<z.ZodString>;
7656
+ execution_context_id: z.ZodOptional<z.ZodString>;
7657
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
7658
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
7659
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7660
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
7661
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
7662
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7193
7663
  } & {
7194
- color: z.ZodOptional<z.ZodEnum<["blue", "green", "yellow", "red", "purple"]>>;
7664
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
7665
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
7195
7666
  }, z.ZodTypeAny, "passthrough">>>;
7667
+ executionCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7668
+ executionFinishedAt: z.ZodOptional<z.ZodString>;
7669
+ executionStartedAt: z.ZodOptional<z.ZodString>;
7670
+ outputs: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7196
7671
  id: z.ZodString;
7197
7672
  blockGroup: z.ZodString;
7198
7673
  sortingKey: z.ZodString;
7199
7674
  contentHash: z.ZodOptional<z.ZodString>;
7200
7675
  version: z.ZodOptional<z.ZodNumber>;
7201
7676
  }, "strip", z.ZodTypeAny, {
7202
- type: "text-cell-callout";
7677
+ type: "agent";
7203
7678
  metadata: {
7204
7679
  deepnote_app_is_code_hidden?: boolean | undefined;
7205
7680
  deepnote_app_is_output_hidden?: boolean | undefined;
@@ -7208,9 +7683,22 @@ declare const deepnoteFileSchema: z.ZodObject<{
7208
7683
  deepnote_app_block_group_id?: string | null | undefined;
7209
7684
  deepnote_app_block_subgroup_id?: string | undefined;
7210
7685
  deepnote_app_block_order?: number | undefined;
7211
- is_collapsed?: boolean | undefined;
7212
- formattedRanges?: any[] | undefined;
7213
- color?: "blue" | "green" | "yellow" | "red" | "purple" | undefined;
7686
+ deepnote_cell_height?: number | undefined;
7687
+ allow_embed?: boolean | "code" | "code_output" | "output" | undefined;
7688
+ is_code_hidden?: boolean | undefined;
7689
+ is_output_hidden?: boolean | undefined;
7690
+ output_cleared?: boolean | undefined;
7691
+ execution_start?: number | undefined;
7692
+ execution_millis?: number | undefined;
7693
+ source_hash?: string | undefined;
7694
+ execution_context_id?: string | undefined;
7695
+ deepnote_output_heights?: (number | null)[] | undefined;
7696
+ deepnote_table_state?: Record<string, any> | undefined;
7697
+ last_executed_function_notebook_id?: string | undefined;
7698
+ last_function_run_started_at?: number | undefined;
7699
+ function_notebook_export_states?: Record<string, any> | undefined;
7700
+ deepnote_variable_name?: string | undefined;
7701
+ deepnote_agent_model?: string | undefined;
7214
7702
  } & {
7215
7703
  [k: string]: unknown;
7216
7704
  };
@@ -7220,8 +7708,12 @@ declare const deepnoteFileSchema: z.ZodObject<{
7220
7708
  content?: string | undefined;
7221
7709
  contentHash?: string | undefined;
7222
7710
  version?: number | undefined;
7711
+ executionCount?: number | null | undefined;
7712
+ executionFinishedAt?: string | undefined;
7713
+ executionStartedAt?: string | undefined;
7714
+ outputs?: any[] | undefined;
7223
7715
  }, {
7224
- type: "text-cell-callout";
7716
+ type: "agent";
7225
7717
  id: string;
7226
7718
  blockGroup: string;
7227
7719
  sortingKey: string;
@@ -7235,13 +7727,30 @@ declare const deepnoteFileSchema: z.ZodObject<{
7235
7727
  deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
7236
7728
  deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
7237
7729
  } & {
7238
- is_collapsed: z.ZodOptional<z.ZodBoolean>;
7239
- formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7730
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
7731
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
7732
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
7733
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
7734
+ execution_start: z.ZodOptional<z.ZodNumber>;
7735
+ execution_millis: z.ZodOptional<z.ZodNumber>;
7736
+ source_hash: z.ZodOptional<z.ZodString>;
7737
+ execution_context_id: z.ZodOptional<z.ZodString>;
7738
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
7739
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
7740
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7741
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
7742
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
7743
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7240
7744
  } & {
7241
- color: z.ZodOptional<z.ZodEnum<["blue", "green", "yellow", "red", "purple"]>>;
7745
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
7746
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
7242
7747
  }, z.ZodTypeAny, "passthrough"> | undefined;
7243
7748
  contentHash?: string | undefined;
7244
7749
  version?: number | undefined;
7750
+ executionCount?: number | null | undefined;
7751
+ executionFinishedAt?: string | undefined;
7752
+ executionStartedAt?: string | undefined;
7753
+ outputs?: any[] | undefined;
7245
7754
  }>, z.ZodObject<{
7246
7755
  type: z.ZodLiteral<"code">;
7247
7756
  content: z.ZodOptional<z.ZodString>;
@@ -7530,8 +8039,8 @@ declare const deepnoteFileSchema: z.ZodObject<{
7530
8039
  last_executed_function_notebook_id?: string | undefined;
7531
8040
  last_function_run_started_at?: number | undefined;
7532
8041
  function_notebook_export_states?: Record<string, any> | undefined;
7533
- function_export_name?: string | undefined;
7534
8042
  deepnote_variable_name?: string | undefined;
8043
+ function_export_name?: string | undefined;
7535
8044
  deepnote_return_variable_type?: "dataframe" | "query_preview" | undefined;
7536
8045
  sql_integration_id?: string | undefined;
7537
8046
  is_compiled_sql_query_visible?: boolean | undefined;
@@ -10069,6 +10578,45 @@ declare const deepnoteFileSchema: z.ZodObject<{
10069
10578
  content?: string | undefined;
10070
10579
  contentHash?: string | undefined;
10071
10580
  version?: number | undefined;
10581
+ } | {
10582
+ type: "agent";
10583
+ metadata: {
10584
+ deepnote_app_is_code_hidden?: boolean | undefined;
10585
+ deepnote_app_is_output_hidden?: boolean | undefined;
10586
+ deepnote_app_block_visible?: boolean | undefined;
10587
+ deepnote_app_block_width?: number | undefined;
10588
+ deepnote_app_block_group_id?: string | null | undefined;
10589
+ deepnote_app_block_subgroup_id?: string | undefined;
10590
+ deepnote_app_block_order?: number | undefined;
10591
+ deepnote_cell_height?: number | undefined;
10592
+ allow_embed?: boolean | "code" | "code_output" | "output" | undefined;
10593
+ is_code_hidden?: boolean | undefined;
10594
+ is_output_hidden?: boolean | undefined;
10595
+ output_cleared?: boolean | undefined;
10596
+ execution_start?: number | undefined;
10597
+ execution_millis?: number | undefined;
10598
+ source_hash?: string | undefined;
10599
+ execution_context_id?: string | undefined;
10600
+ deepnote_output_heights?: (number | null)[] | undefined;
10601
+ deepnote_table_state?: Record<string, any> | undefined;
10602
+ last_executed_function_notebook_id?: string | undefined;
10603
+ last_function_run_started_at?: number | undefined;
10604
+ function_notebook_export_states?: Record<string, any> | undefined;
10605
+ deepnote_variable_name?: string | undefined;
10606
+ deepnote_agent_model?: string | undefined;
10607
+ } & {
10608
+ [k: string]: unknown;
10609
+ };
10610
+ id: string;
10611
+ blockGroup: string;
10612
+ sortingKey: string;
10613
+ content?: string | undefined;
10614
+ contentHash?: string | undefined;
10615
+ version?: number | undefined;
10616
+ executionCount?: number | null | undefined;
10617
+ executionFinishedAt?: string | undefined;
10618
+ executionStartedAt?: string | undefined;
10619
+ outputs?: any[] | undefined;
10072
10620
  } | {
10073
10621
  type: "code";
10074
10622
  metadata: {
@@ -10131,8 +10679,8 @@ declare const deepnoteFileSchema: z.ZodObject<{
10131
10679
  last_executed_function_notebook_id?: string | undefined;
10132
10680
  last_function_run_started_at?: number | undefined;
10133
10681
  function_notebook_export_states?: Record<string, any> | undefined;
10134
- function_export_name?: string | undefined;
10135
10682
  deepnote_variable_name?: string | undefined;
10683
+ function_export_name?: string | undefined;
10136
10684
  deepnote_return_variable_type?: "dataframe" | "query_preview" | undefined;
10137
10685
  sql_integration_id?: string | undefined;
10138
10686
  is_compiled_sql_query_visible?: boolean | undefined;
@@ -10865,6 +11413,45 @@ declare const deepnoteFileSchema: z.ZodObject<{
10865
11413
  }, z.ZodTypeAny, "passthrough"> | undefined;
10866
11414
  contentHash?: string | undefined;
10867
11415
  version?: number | undefined;
11416
+ } | {
11417
+ type: "agent";
11418
+ id: string;
11419
+ blockGroup: string;
11420
+ sortingKey: string;
11421
+ content?: string | undefined;
11422
+ metadata?: z.objectInputType<{
11423
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
11424
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
11425
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
11426
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
11427
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11428
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
11429
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
11430
+ } & {
11431
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
11432
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
11433
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
11434
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
11435
+ execution_start: z.ZodOptional<z.ZodNumber>;
11436
+ execution_millis: z.ZodOptional<z.ZodNumber>;
11437
+ source_hash: z.ZodOptional<z.ZodString>;
11438
+ execution_context_id: z.ZodOptional<z.ZodString>;
11439
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
11440
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
11441
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11442
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
11443
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
11444
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11445
+ } & {
11446
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
11447
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
11448
+ }, z.ZodTypeAny, "passthrough"> | undefined;
11449
+ contentHash?: string | undefined;
11450
+ version?: number | undefined;
11451
+ executionCount?: number | null | undefined;
11452
+ executionFinishedAt?: string | undefined;
11453
+ executionStartedAt?: string | undefined;
11454
+ outputs?: any[] | undefined;
10868
11455
  } | {
10869
11456
  type: "code";
10870
11457
  id: string;
@@ -11714,6 +12301,45 @@ declare const deepnoteFileSchema: z.ZodObject<{
11714
12301
  content?: string | undefined;
11715
12302
  contentHash?: string | undefined;
11716
12303
  version?: number | undefined;
12304
+ } | {
12305
+ type: "agent";
12306
+ metadata: {
12307
+ deepnote_app_is_code_hidden?: boolean | undefined;
12308
+ deepnote_app_is_output_hidden?: boolean | undefined;
12309
+ deepnote_app_block_visible?: boolean | undefined;
12310
+ deepnote_app_block_width?: number | undefined;
12311
+ deepnote_app_block_group_id?: string | null | undefined;
12312
+ deepnote_app_block_subgroup_id?: string | undefined;
12313
+ deepnote_app_block_order?: number | undefined;
12314
+ deepnote_cell_height?: number | undefined;
12315
+ allow_embed?: boolean | "code" | "code_output" | "output" | undefined;
12316
+ is_code_hidden?: boolean | undefined;
12317
+ is_output_hidden?: boolean | undefined;
12318
+ output_cleared?: boolean | undefined;
12319
+ execution_start?: number | undefined;
12320
+ execution_millis?: number | undefined;
12321
+ source_hash?: string | undefined;
12322
+ execution_context_id?: string | undefined;
12323
+ deepnote_output_heights?: (number | null)[] | undefined;
12324
+ deepnote_table_state?: Record<string, any> | undefined;
12325
+ last_executed_function_notebook_id?: string | undefined;
12326
+ last_function_run_started_at?: number | undefined;
12327
+ function_notebook_export_states?: Record<string, any> | undefined;
12328
+ deepnote_variable_name?: string | undefined;
12329
+ deepnote_agent_model?: string | undefined;
12330
+ } & {
12331
+ [k: string]: unknown;
12332
+ };
12333
+ id: string;
12334
+ blockGroup: string;
12335
+ sortingKey: string;
12336
+ content?: string | undefined;
12337
+ contentHash?: string | undefined;
12338
+ version?: number | undefined;
12339
+ executionCount?: number | null | undefined;
12340
+ executionFinishedAt?: string | undefined;
12341
+ executionStartedAt?: string | undefined;
12342
+ outputs?: any[] | undefined;
11717
12343
  } | {
11718
12344
  type: "code";
11719
12345
  metadata: {
@@ -11776,8 +12402,8 @@ declare const deepnoteFileSchema: z.ZodObject<{
11776
12402
  last_executed_function_notebook_id?: string | undefined;
11777
12403
  last_function_run_started_at?: number | undefined;
11778
12404
  function_notebook_export_states?: Record<string, any> | undefined;
11779
- function_export_name?: string | undefined;
11780
12405
  deepnote_variable_name?: string | undefined;
12406
+ function_export_name?: string | undefined;
11781
12407
  deepnote_return_variable_type?: "dataframe" | "query_preview" | undefined;
11782
12408
  sql_integration_id?: string | undefined;
11783
12409
  is_compiled_sql_query_visible?: boolean | undefined;
@@ -12528,6 +13154,45 @@ declare const deepnoteFileSchema: z.ZodObject<{
12528
13154
  }, z.ZodTypeAny, "passthrough"> | undefined;
12529
13155
  contentHash?: string | undefined;
12530
13156
  version?: number | undefined;
13157
+ } | {
13158
+ type: "agent";
13159
+ id: string;
13160
+ blockGroup: string;
13161
+ sortingKey: string;
13162
+ content?: string | undefined;
13163
+ metadata?: z.objectInputType<{
13164
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
13165
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
13166
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
13167
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
13168
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13169
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
13170
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
13171
+ } & {
13172
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
13173
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
13174
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
13175
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
13176
+ execution_start: z.ZodOptional<z.ZodNumber>;
13177
+ execution_millis: z.ZodOptional<z.ZodNumber>;
13178
+ source_hash: z.ZodOptional<z.ZodString>;
13179
+ execution_context_id: z.ZodOptional<z.ZodString>;
13180
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
13181
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
13182
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13183
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
13184
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
13185
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13186
+ } & {
13187
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
13188
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
13189
+ }, z.ZodTypeAny, "passthrough"> | undefined;
13190
+ contentHash?: string | undefined;
13191
+ version?: number | undefined;
13192
+ executionCount?: number | null | undefined;
13193
+ executionFinishedAt?: string | undefined;
13194
+ executionStartedAt?: string | undefined;
13195
+ outputs?: any[] | undefined;
12531
13196
  } | {
12532
13197
  type: "code";
12533
13198
  id: string;
@@ -13369,6 +14034,45 @@ declare const deepnoteFileSchema: z.ZodObject<{
13369
14034
  content?: string | undefined;
13370
14035
  contentHash?: string | undefined;
13371
14036
  version?: number | undefined;
14037
+ } | {
14038
+ type: "agent";
14039
+ metadata: {
14040
+ deepnote_app_is_code_hidden?: boolean | undefined;
14041
+ deepnote_app_is_output_hidden?: boolean | undefined;
14042
+ deepnote_app_block_visible?: boolean | undefined;
14043
+ deepnote_app_block_width?: number | undefined;
14044
+ deepnote_app_block_group_id?: string | null | undefined;
14045
+ deepnote_app_block_subgroup_id?: string | undefined;
14046
+ deepnote_app_block_order?: number | undefined;
14047
+ deepnote_cell_height?: number | undefined;
14048
+ allow_embed?: boolean | "code" | "code_output" | "output" | undefined;
14049
+ is_code_hidden?: boolean | undefined;
14050
+ is_output_hidden?: boolean | undefined;
14051
+ output_cleared?: boolean | undefined;
14052
+ execution_start?: number | undefined;
14053
+ execution_millis?: number | undefined;
14054
+ source_hash?: string | undefined;
14055
+ execution_context_id?: string | undefined;
14056
+ deepnote_output_heights?: (number | null)[] | undefined;
14057
+ deepnote_table_state?: Record<string, any> | undefined;
14058
+ last_executed_function_notebook_id?: string | undefined;
14059
+ last_function_run_started_at?: number | undefined;
14060
+ function_notebook_export_states?: Record<string, any> | undefined;
14061
+ deepnote_variable_name?: string | undefined;
14062
+ deepnote_agent_model?: string | undefined;
14063
+ } & {
14064
+ [k: string]: unknown;
14065
+ };
14066
+ id: string;
14067
+ blockGroup: string;
14068
+ sortingKey: string;
14069
+ content?: string | undefined;
14070
+ contentHash?: string | undefined;
14071
+ version?: number | undefined;
14072
+ executionCount?: number | null | undefined;
14073
+ executionFinishedAt?: string | undefined;
14074
+ executionStartedAt?: string | undefined;
14075
+ outputs?: any[] | undefined;
13372
14076
  } | {
13373
14077
  type: "code";
13374
14078
  metadata: {
@@ -13431,8 +14135,8 @@ declare const deepnoteFileSchema: z.ZodObject<{
13431
14135
  last_executed_function_notebook_id?: string | undefined;
13432
14136
  last_function_run_started_at?: number | undefined;
13433
14137
  function_notebook_export_states?: Record<string, any> | undefined;
13434
- function_export_name?: string | undefined;
13435
14138
  deepnote_variable_name?: string | undefined;
14139
+ function_export_name?: string | undefined;
13436
14140
  deepnote_return_variable_type?: "dataframe" | "query_preview" | undefined;
13437
14141
  sql_integration_id?: string | undefined;
13438
14142
  is_compiled_sql_query_visible?: boolean | undefined;
@@ -14219,6 +14923,45 @@ declare const deepnoteFileSchema: z.ZodObject<{
14219
14923
  }, z.ZodTypeAny, "passthrough"> | undefined;
14220
14924
  contentHash?: string | undefined;
14221
14925
  version?: number | undefined;
14926
+ } | {
14927
+ type: "agent";
14928
+ id: string;
14929
+ blockGroup: string;
14930
+ sortingKey: string;
14931
+ content?: string | undefined;
14932
+ metadata?: z.objectInputType<{
14933
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
14934
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
14935
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
14936
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
14937
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14938
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
14939
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
14940
+ } & {
14941
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
14942
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
14943
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
14944
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
14945
+ execution_start: z.ZodOptional<z.ZodNumber>;
14946
+ execution_millis: z.ZodOptional<z.ZodNumber>;
14947
+ source_hash: z.ZodOptional<z.ZodString>;
14948
+ execution_context_id: z.ZodOptional<z.ZodString>;
14949
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
14950
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
14951
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
14952
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
14953
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
14954
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
14955
+ } & {
14956
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
14957
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
14958
+ }, z.ZodTypeAny, "passthrough"> | undefined;
14959
+ contentHash?: string | undefined;
14960
+ version?: number | undefined;
14961
+ executionCount?: number | null | undefined;
14962
+ executionFinishedAt?: string | undefined;
14963
+ executionStartedAt?: string | undefined;
14964
+ outputs?: any[] | undefined;
14222
14965
  } | {
14223
14966
  type: "code";
14224
14967
  id: string;
@@ -15721,7 +16464,159 @@ declare const deepnoteSnapshotSchema: z.ZodObject<{
15721
16464
  contentHash?: string | undefined;
15722
16465
  version?: number | undefined;
15723
16466
  }, {
15724
- type: "text-cell-callout";
16467
+ type: "text-cell-callout";
16468
+ id: string;
16469
+ blockGroup: string;
16470
+ sortingKey: string;
16471
+ content?: string | undefined;
16472
+ metadata?: z.objectInputType<{
16473
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
16474
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
16475
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
16476
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
16477
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16478
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
16479
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
16480
+ } & {
16481
+ is_collapsed: z.ZodOptional<z.ZodBoolean>;
16482
+ formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
16483
+ } & {
16484
+ color: z.ZodOptional<z.ZodEnum<["blue", "green", "yellow", "red", "purple"]>>;
16485
+ }, z.ZodTypeAny, "passthrough"> | undefined;
16486
+ contentHash?: string | undefined;
16487
+ version?: number | undefined;
16488
+ }>, z.ZodObject<{
16489
+ type: z.ZodLiteral<"agent">;
16490
+ content: z.ZodOptional<z.ZodString>;
16491
+ metadata: z.ZodDefault<z.ZodObject<{
16492
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
16493
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
16494
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
16495
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
16496
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16497
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
16498
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
16499
+ } & {
16500
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
16501
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
16502
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
16503
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
16504
+ execution_start: z.ZodOptional<z.ZodNumber>;
16505
+ execution_millis: z.ZodOptional<z.ZodNumber>;
16506
+ source_hash: z.ZodOptional<z.ZodString>;
16507
+ execution_context_id: z.ZodOptional<z.ZodString>;
16508
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
16509
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
16510
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
16511
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
16512
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
16513
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
16514
+ } & {
16515
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
16516
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
16517
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
16518
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
16519
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
16520
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
16521
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
16522
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16523
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
16524
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
16525
+ } & {
16526
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
16527
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
16528
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
16529
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
16530
+ execution_start: z.ZodOptional<z.ZodNumber>;
16531
+ execution_millis: z.ZodOptional<z.ZodNumber>;
16532
+ source_hash: z.ZodOptional<z.ZodString>;
16533
+ execution_context_id: z.ZodOptional<z.ZodString>;
16534
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
16535
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
16536
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
16537
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
16538
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
16539
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
16540
+ } & {
16541
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
16542
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
16543
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
16544
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
16545
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
16546
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
16547
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
16548
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16549
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
16550
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
16551
+ } & {
16552
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
16553
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
16554
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
16555
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
16556
+ execution_start: z.ZodOptional<z.ZodNumber>;
16557
+ execution_millis: z.ZodOptional<z.ZodNumber>;
16558
+ source_hash: z.ZodOptional<z.ZodString>;
16559
+ execution_context_id: z.ZodOptional<z.ZodString>;
16560
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
16561
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
16562
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
16563
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
16564
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
16565
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
16566
+ } & {
16567
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
16568
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
16569
+ }, z.ZodTypeAny, "passthrough">>>;
16570
+ executionCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16571
+ executionFinishedAt: z.ZodOptional<z.ZodString>;
16572
+ executionStartedAt: z.ZodOptional<z.ZodString>;
16573
+ outputs: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
16574
+ id: z.ZodString;
16575
+ blockGroup: z.ZodString;
16576
+ sortingKey: z.ZodString;
16577
+ contentHash: z.ZodOptional<z.ZodString>;
16578
+ version: z.ZodOptional<z.ZodNumber>;
16579
+ }, "strip", z.ZodTypeAny, {
16580
+ type: "agent";
16581
+ metadata: {
16582
+ deepnote_app_is_code_hidden?: boolean | undefined;
16583
+ deepnote_app_is_output_hidden?: boolean | undefined;
16584
+ deepnote_app_block_visible?: boolean | undefined;
16585
+ deepnote_app_block_width?: number | undefined;
16586
+ deepnote_app_block_group_id?: string | null | undefined;
16587
+ deepnote_app_block_subgroup_id?: string | undefined;
16588
+ deepnote_app_block_order?: number | undefined;
16589
+ deepnote_cell_height?: number | undefined;
16590
+ allow_embed?: boolean | "code" | "code_output" | "output" | undefined;
16591
+ is_code_hidden?: boolean | undefined;
16592
+ is_output_hidden?: boolean | undefined;
16593
+ output_cleared?: boolean | undefined;
16594
+ execution_start?: number | undefined;
16595
+ execution_millis?: number | undefined;
16596
+ source_hash?: string | undefined;
16597
+ execution_context_id?: string | undefined;
16598
+ deepnote_output_heights?: (number | null)[] | undefined;
16599
+ deepnote_table_state?: Record<string, any> | undefined;
16600
+ last_executed_function_notebook_id?: string | undefined;
16601
+ last_function_run_started_at?: number | undefined;
16602
+ function_notebook_export_states?: Record<string, any> | undefined;
16603
+ deepnote_variable_name?: string | undefined;
16604
+ deepnote_agent_model?: string | undefined;
16605
+ } & {
16606
+ [k: string]: unknown;
16607
+ };
16608
+ id: string;
16609
+ blockGroup: string;
16610
+ sortingKey: string;
16611
+ content?: string | undefined;
16612
+ contentHash?: string | undefined;
16613
+ version?: number | undefined;
16614
+ executionCount?: number | null | undefined;
16615
+ executionFinishedAt?: string | undefined;
16616
+ executionStartedAt?: string | undefined;
16617
+ outputs?: any[] | undefined;
16618
+ }, {
16619
+ type: "agent";
15725
16620
  id: string;
15726
16621
  blockGroup: string;
15727
16622
  sortingKey: string;
@@ -15735,13 +16630,30 @@ declare const deepnoteSnapshotSchema: z.ZodObject<{
15735
16630
  deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
15736
16631
  deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
15737
16632
  } & {
15738
- is_collapsed: z.ZodOptional<z.ZodBoolean>;
15739
- formattedRanges: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
16633
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
16634
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
16635
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
16636
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
16637
+ execution_start: z.ZodOptional<z.ZodNumber>;
16638
+ execution_millis: z.ZodOptional<z.ZodNumber>;
16639
+ source_hash: z.ZodOptional<z.ZodString>;
16640
+ execution_context_id: z.ZodOptional<z.ZodString>;
16641
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
16642
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
16643
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
16644
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
16645
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
16646
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
15740
16647
  } & {
15741
- color: z.ZodOptional<z.ZodEnum<["blue", "green", "yellow", "red", "purple"]>>;
16648
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
16649
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
15742
16650
  }, z.ZodTypeAny, "passthrough"> | undefined;
15743
16651
  contentHash?: string | undefined;
15744
16652
  version?: number | undefined;
16653
+ executionCount?: number | null | undefined;
16654
+ executionFinishedAt?: string | undefined;
16655
+ executionStartedAt?: string | undefined;
16656
+ outputs?: any[] | undefined;
15745
16657
  }>, z.ZodObject<{
15746
16658
  type: z.ZodLiteral<"code">;
15747
16659
  content: z.ZodOptional<z.ZodString>;
@@ -16030,8 +16942,8 @@ declare const deepnoteSnapshotSchema: z.ZodObject<{
16030
16942
  last_executed_function_notebook_id?: string | undefined;
16031
16943
  last_function_run_started_at?: number | undefined;
16032
16944
  function_notebook_export_states?: Record<string, any> | undefined;
16033
- function_export_name?: string | undefined;
16034
16945
  deepnote_variable_name?: string | undefined;
16946
+ function_export_name?: string | undefined;
16035
16947
  deepnote_return_variable_type?: "dataframe" | "query_preview" | undefined;
16036
16948
  sql_integration_id?: string | undefined;
16037
16949
  is_compiled_sql_query_visible?: boolean | undefined;
@@ -18569,6 +19481,45 @@ declare const deepnoteSnapshotSchema: z.ZodObject<{
18569
19481
  content?: string | undefined;
18570
19482
  contentHash?: string | undefined;
18571
19483
  version?: number | undefined;
19484
+ } | {
19485
+ type: "agent";
19486
+ metadata: {
19487
+ deepnote_app_is_code_hidden?: boolean | undefined;
19488
+ deepnote_app_is_output_hidden?: boolean | undefined;
19489
+ deepnote_app_block_visible?: boolean | undefined;
19490
+ deepnote_app_block_width?: number | undefined;
19491
+ deepnote_app_block_group_id?: string | null | undefined;
19492
+ deepnote_app_block_subgroup_id?: string | undefined;
19493
+ deepnote_app_block_order?: number | undefined;
19494
+ deepnote_cell_height?: number | undefined;
19495
+ allow_embed?: boolean | "code" | "code_output" | "output" | undefined;
19496
+ is_code_hidden?: boolean | undefined;
19497
+ is_output_hidden?: boolean | undefined;
19498
+ output_cleared?: boolean | undefined;
19499
+ execution_start?: number | undefined;
19500
+ execution_millis?: number | undefined;
19501
+ source_hash?: string | undefined;
19502
+ execution_context_id?: string | undefined;
19503
+ deepnote_output_heights?: (number | null)[] | undefined;
19504
+ deepnote_table_state?: Record<string, any> | undefined;
19505
+ last_executed_function_notebook_id?: string | undefined;
19506
+ last_function_run_started_at?: number | undefined;
19507
+ function_notebook_export_states?: Record<string, any> | undefined;
19508
+ deepnote_variable_name?: string | undefined;
19509
+ deepnote_agent_model?: string | undefined;
19510
+ } & {
19511
+ [k: string]: unknown;
19512
+ };
19513
+ id: string;
19514
+ blockGroup: string;
19515
+ sortingKey: string;
19516
+ content?: string | undefined;
19517
+ contentHash?: string | undefined;
19518
+ version?: number | undefined;
19519
+ executionCount?: number | null | undefined;
19520
+ executionFinishedAt?: string | undefined;
19521
+ executionStartedAt?: string | undefined;
19522
+ outputs?: any[] | undefined;
18572
19523
  } | {
18573
19524
  type: "code";
18574
19525
  metadata: {
@@ -18631,8 +19582,8 @@ declare const deepnoteSnapshotSchema: z.ZodObject<{
18631
19582
  last_executed_function_notebook_id?: string | undefined;
18632
19583
  last_function_run_started_at?: number | undefined;
18633
19584
  function_notebook_export_states?: Record<string, any> | undefined;
18634
- function_export_name?: string | undefined;
18635
19585
  deepnote_variable_name?: string | undefined;
19586
+ function_export_name?: string | undefined;
18636
19587
  deepnote_return_variable_type?: "dataframe" | "query_preview" | undefined;
18637
19588
  sql_integration_id?: string | undefined;
18638
19589
  is_compiled_sql_query_visible?: boolean | undefined;
@@ -19365,6 +20316,45 @@ declare const deepnoteSnapshotSchema: z.ZodObject<{
19365
20316
  }, z.ZodTypeAny, "passthrough"> | undefined;
19366
20317
  contentHash?: string | undefined;
19367
20318
  version?: number | undefined;
20319
+ } | {
20320
+ type: "agent";
20321
+ id: string;
20322
+ blockGroup: string;
20323
+ sortingKey: string;
20324
+ content?: string | undefined;
20325
+ metadata?: z.objectInputType<{
20326
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
20327
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
20328
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
20329
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
20330
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20331
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
20332
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
20333
+ } & {
20334
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
20335
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
20336
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
20337
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
20338
+ execution_start: z.ZodOptional<z.ZodNumber>;
20339
+ execution_millis: z.ZodOptional<z.ZodNumber>;
20340
+ source_hash: z.ZodOptional<z.ZodString>;
20341
+ execution_context_id: z.ZodOptional<z.ZodString>;
20342
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
20343
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
20344
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
20345
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
20346
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
20347
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
20348
+ } & {
20349
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
20350
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
20351
+ }, z.ZodTypeAny, "passthrough"> | undefined;
20352
+ contentHash?: string | undefined;
20353
+ version?: number | undefined;
20354
+ executionCount?: number | null | undefined;
20355
+ executionFinishedAt?: string | undefined;
20356
+ executionStartedAt?: string | undefined;
20357
+ outputs?: any[] | undefined;
19368
20358
  } | {
19369
20359
  type: "code";
19370
20360
  id: string;
@@ -20214,6 +21204,45 @@ declare const deepnoteSnapshotSchema: z.ZodObject<{
20214
21204
  content?: string | undefined;
20215
21205
  contentHash?: string | undefined;
20216
21206
  version?: number | undefined;
21207
+ } | {
21208
+ type: "agent";
21209
+ metadata: {
21210
+ deepnote_app_is_code_hidden?: boolean | undefined;
21211
+ deepnote_app_is_output_hidden?: boolean | undefined;
21212
+ deepnote_app_block_visible?: boolean | undefined;
21213
+ deepnote_app_block_width?: number | undefined;
21214
+ deepnote_app_block_group_id?: string | null | undefined;
21215
+ deepnote_app_block_subgroup_id?: string | undefined;
21216
+ deepnote_app_block_order?: number | undefined;
21217
+ deepnote_cell_height?: number | undefined;
21218
+ allow_embed?: boolean | "code" | "code_output" | "output" | undefined;
21219
+ is_code_hidden?: boolean | undefined;
21220
+ is_output_hidden?: boolean | undefined;
21221
+ output_cleared?: boolean | undefined;
21222
+ execution_start?: number | undefined;
21223
+ execution_millis?: number | undefined;
21224
+ source_hash?: string | undefined;
21225
+ execution_context_id?: string | undefined;
21226
+ deepnote_output_heights?: (number | null)[] | undefined;
21227
+ deepnote_table_state?: Record<string, any> | undefined;
21228
+ last_executed_function_notebook_id?: string | undefined;
21229
+ last_function_run_started_at?: number | undefined;
21230
+ function_notebook_export_states?: Record<string, any> | undefined;
21231
+ deepnote_variable_name?: string | undefined;
21232
+ deepnote_agent_model?: string | undefined;
21233
+ } & {
21234
+ [k: string]: unknown;
21235
+ };
21236
+ id: string;
21237
+ blockGroup: string;
21238
+ sortingKey: string;
21239
+ content?: string | undefined;
21240
+ contentHash?: string | undefined;
21241
+ version?: number | undefined;
21242
+ executionCount?: number | null | undefined;
21243
+ executionFinishedAt?: string | undefined;
21244
+ executionStartedAt?: string | undefined;
21245
+ outputs?: any[] | undefined;
20217
21246
  } | {
20218
21247
  type: "code";
20219
21248
  metadata: {
@@ -20276,8 +21305,8 @@ declare const deepnoteSnapshotSchema: z.ZodObject<{
20276
21305
  last_executed_function_notebook_id?: string | undefined;
20277
21306
  last_function_run_started_at?: number | undefined;
20278
21307
  function_notebook_export_states?: Record<string, any> | undefined;
20279
- function_export_name?: string | undefined;
20280
21308
  deepnote_variable_name?: string | undefined;
21309
+ function_export_name?: string | undefined;
20281
21310
  deepnote_return_variable_type?: "dataframe" | "query_preview" | undefined;
20282
21311
  sql_integration_id?: string | undefined;
20283
21312
  is_compiled_sql_query_visible?: boolean | undefined;
@@ -21028,6 +22057,45 @@ declare const deepnoteSnapshotSchema: z.ZodObject<{
21028
22057
  }, z.ZodTypeAny, "passthrough"> | undefined;
21029
22058
  contentHash?: string | undefined;
21030
22059
  version?: number | undefined;
22060
+ } | {
22061
+ type: "agent";
22062
+ id: string;
22063
+ blockGroup: string;
22064
+ sortingKey: string;
22065
+ content?: string | undefined;
22066
+ metadata?: z.objectInputType<{
22067
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
22068
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
22069
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
22070
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
22071
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22072
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
22073
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
22074
+ } & {
22075
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
22076
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
22077
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
22078
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
22079
+ execution_start: z.ZodOptional<z.ZodNumber>;
22080
+ execution_millis: z.ZodOptional<z.ZodNumber>;
22081
+ source_hash: z.ZodOptional<z.ZodString>;
22082
+ execution_context_id: z.ZodOptional<z.ZodString>;
22083
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
22084
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
22085
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22086
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
22087
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
22088
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22089
+ } & {
22090
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
22091
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
22092
+ }, z.ZodTypeAny, "passthrough"> | undefined;
22093
+ contentHash?: string | undefined;
22094
+ version?: number | undefined;
22095
+ executionCount?: number | null | undefined;
22096
+ executionFinishedAt?: string | undefined;
22097
+ executionStartedAt?: string | undefined;
22098
+ outputs?: any[] | undefined;
21031
22099
  } | {
21032
22100
  type: "code";
21033
22101
  id: string;
@@ -22018,6 +23086,45 @@ declare const deepnoteSnapshotSchema: z.ZodObject<{
22018
23086
  content?: string | undefined;
22019
23087
  contentHash?: string | undefined;
22020
23088
  version?: number | undefined;
23089
+ } | {
23090
+ type: "agent";
23091
+ metadata: {
23092
+ deepnote_app_is_code_hidden?: boolean | undefined;
23093
+ deepnote_app_is_output_hidden?: boolean | undefined;
23094
+ deepnote_app_block_visible?: boolean | undefined;
23095
+ deepnote_app_block_width?: number | undefined;
23096
+ deepnote_app_block_group_id?: string | null | undefined;
23097
+ deepnote_app_block_subgroup_id?: string | undefined;
23098
+ deepnote_app_block_order?: number | undefined;
23099
+ deepnote_cell_height?: number | undefined;
23100
+ allow_embed?: boolean | "code" | "code_output" | "output" | undefined;
23101
+ is_code_hidden?: boolean | undefined;
23102
+ is_output_hidden?: boolean | undefined;
23103
+ output_cleared?: boolean | undefined;
23104
+ execution_start?: number | undefined;
23105
+ execution_millis?: number | undefined;
23106
+ source_hash?: string | undefined;
23107
+ execution_context_id?: string | undefined;
23108
+ deepnote_output_heights?: (number | null)[] | undefined;
23109
+ deepnote_table_state?: Record<string, any> | undefined;
23110
+ last_executed_function_notebook_id?: string | undefined;
23111
+ last_function_run_started_at?: number | undefined;
23112
+ function_notebook_export_states?: Record<string, any> | undefined;
23113
+ deepnote_variable_name?: string | undefined;
23114
+ deepnote_agent_model?: string | undefined;
23115
+ } & {
23116
+ [k: string]: unknown;
23117
+ };
23118
+ id: string;
23119
+ blockGroup: string;
23120
+ sortingKey: string;
23121
+ content?: string | undefined;
23122
+ contentHash?: string | undefined;
23123
+ version?: number | undefined;
23124
+ executionCount?: number | null | undefined;
23125
+ executionFinishedAt?: string | undefined;
23126
+ executionStartedAt?: string | undefined;
23127
+ outputs?: any[] | undefined;
22021
23128
  } | {
22022
23129
  type: "code";
22023
23130
  metadata: {
@@ -22080,8 +23187,8 @@ declare const deepnoteSnapshotSchema: z.ZodObject<{
22080
23187
  last_executed_function_notebook_id?: string | undefined;
22081
23188
  last_function_run_started_at?: number | undefined;
22082
23189
  function_notebook_export_states?: Record<string, any> | undefined;
22083
- function_export_name?: string | undefined;
22084
23190
  deepnote_variable_name?: string | undefined;
23191
+ function_export_name?: string | undefined;
22085
23192
  deepnote_return_variable_type?: "dataframe" | "query_preview" | undefined;
22086
23193
  sql_integration_id?: string | undefined;
22087
23194
  is_compiled_sql_query_visible?: boolean | undefined;
@@ -22869,6 +23976,45 @@ declare const deepnoteSnapshotSchema: z.ZodObject<{
22869
23976
  }, z.ZodTypeAny, "passthrough"> | undefined;
22870
23977
  contentHash?: string | undefined;
22871
23978
  version?: number | undefined;
23979
+ } | {
23980
+ type: "agent";
23981
+ id: string;
23982
+ blockGroup: string;
23983
+ sortingKey: string;
23984
+ content?: string | undefined;
23985
+ metadata?: z.objectInputType<{
23986
+ deepnote_app_is_code_hidden: z.ZodOptional<z.ZodBoolean>;
23987
+ deepnote_app_is_output_hidden: z.ZodOptional<z.ZodBoolean>;
23988
+ deepnote_app_block_visible: z.ZodOptional<z.ZodBoolean>;
23989
+ deepnote_app_block_width: z.ZodOptional<z.ZodNumber>;
23990
+ deepnote_app_block_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23991
+ deepnote_app_block_subgroup_id: z.ZodOptional<z.ZodString>;
23992
+ deepnote_app_block_order: z.ZodOptional<z.ZodNumber>;
23993
+ } & {
23994
+ allow_embed: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["code_output", "code", "output"]>]>>;
23995
+ is_code_hidden: z.ZodOptional<z.ZodBoolean>;
23996
+ is_output_hidden: z.ZodOptional<z.ZodBoolean>;
23997
+ output_cleared: z.ZodOptional<z.ZodBoolean>;
23998
+ execution_start: z.ZodOptional<z.ZodNumber>;
23999
+ execution_millis: z.ZodOptional<z.ZodNumber>;
24000
+ source_hash: z.ZodOptional<z.ZodString>;
24001
+ execution_context_id: z.ZodOptional<z.ZodString>;
24002
+ deepnote_cell_height: z.ZodOptional<z.ZodNumber>;
24003
+ deepnote_output_heights: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">>;
24004
+ deepnote_table_state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24005
+ last_executed_function_notebook_id: z.ZodOptional<z.ZodString>;
24006
+ last_function_run_started_at: z.ZodOptional<z.ZodNumber>;
24007
+ function_notebook_export_states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24008
+ } & {
24009
+ deepnote_variable_name: z.ZodOptional<z.ZodString>;
24010
+ deepnote_agent_model: z.ZodOptional<z.ZodString>;
24011
+ }, z.ZodTypeAny, "passthrough"> | undefined;
24012
+ contentHash?: string | undefined;
24013
+ version?: number | undefined;
24014
+ executionCount?: number | null | undefined;
24015
+ executionFinishedAt?: string | undefined;
24016
+ executionStartedAt?: string | undefined;
24017
+ outputs?: any[] | undefined;
22872
24018
  } | {
22873
24019
  type: "code";
22874
24020
  id: string;