@panorama-ai/gateway 2.30.279 → 2.31.9
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/README.md +51 -65
- package/dist/cli-args.d.ts +0 -2
- package/dist/cli-args.d.ts.map +1 -1
- package/dist/cli-args.js +0 -8
- package/dist/cli-args.js.map +1 -1
- package/dist/database.types.d.ts +92 -693
- package/dist/database.types.d.ts.map +1 -1
- package/dist/database.types.js.map +1 -1
- package/dist/drive-sync/config.d.ts +14 -0
- package/dist/drive-sync/config.d.ts.map +1 -0
- package/dist/drive-sync/config.js +45 -0
- package/dist/drive-sync/config.js.map +1 -0
- package/dist/drive-sync/drive-sync-filesystem.d.ts.map +1 -0
- package/dist/drive-sync/drive-sync-filesystem.js.map +1 -0
- package/dist/drive-sync/drive-sync-planner.d.ts.map +1 -0
- package/dist/drive-sync/drive-sync-planner.js.map +1 -0
- package/dist/drive-sync/drive-sync-remote-planner.d.ts.map +1 -0
- package/dist/drive-sync/drive-sync-remote-planner.js.map +1 -0
- package/dist/{managed-runtime → drive-sync}/drive-sync-scheduler.d.ts +12 -11
- package/dist/drive-sync/drive-sync-scheduler.d.ts.map +1 -0
- package/dist/{managed-runtime → drive-sync}/drive-sync-scheduler.js +7 -5
- package/dist/drive-sync/drive-sync-scheduler.js.map +1 -0
- package/dist/drive-sync/drive-sync-state-applier.d.ts.map +1 -0
- package/dist/drive-sync/drive-sync-state-applier.js.map +1 -0
- package/dist/drive-sync/drive-sync-transfer.d.ts.map +1 -0
- package/dist/drive-sync/drive-sync-transfer.js.map +1 -0
- package/dist/{managed-runtime → drive-sync}/drive-sync.d.ts +29 -12
- package/dist/drive-sync/drive-sync.d.ts.map +1 -0
- package/dist/{managed-runtime → drive-sync}/drive-sync.js +64 -28
- package/dist/drive-sync/drive-sync.js.map +1 -0
- package/dist/{managed-runtime → drive-sync}/runtime-utils.d.ts +2 -2
- package/dist/drive-sync/runtime-utils.d.ts.map +1 -0
- package/dist/{managed-runtime → drive-sync}/runtime-utils.js +1 -1
- package/dist/drive-sync/runtime-utils.js.map +1 -0
- package/dist/gateway-local-runtime.d.ts +7 -1
- package/dist/gateway-local-runtime.d.ts.map +1 -1
- package/dist/gateway-local-runtime.js +26 -5
- package/dist/gateway-local-runtime.js.map +1 -1
- package/dist/gateway-state.d.ts +4 -0
- package/dist/gateway-state.d.ts.map +1 -1
- package/dist/gateway-state.js +6 -2
- package/dist/gateway-state.js.map +1 -1
- package/dist/index.js +2177 -3627
- package/dist/index.js.map +4 -4
- package/dist/local-runtime/drive-sync-supervisor.d.ts +14 -0
- package/dist/local-runtime/drive-sync-supervisor.d.ts.map +1 -0
- package/dist/local-runtime/drive-sync-supervisor.js +79 -0
- package/dist/local-runtime/drive-sync-supervisor.js.map +1 -0
- package/dist/local-runtime/shutdown-supervisor.d.ts +1 -0
- package/dist/local-runtime/shutdown-supervisor.d.ts.map +1 -1
- package/dist/local-runtime/shutdown-supervisor.js +5 -2
- package/dist/local-runtime/shutdown-supervisor.js.map +1 -1
- package/package.json +6 -6
- package/dist/managed-runtime/config.d.ts +0 -33
- package/dist/managed-runtime/config.d.ts.map +0 -1
- package/dist/managed-runtime/config.js +0 -111
- package/dist/managed-runtime/config.js.map +0 -1
- package/dist/managed-runtime/control-client.d.ts +0 -66
- package/dist/managed-runtime/control-client.d.ts.map +0 -1
- package/dist/managed-runtime/control-client.js +0 -142
- package/dist/managed-runtime/control-client.js.map +0 -1
- package/dist/managed-runtime/dependencies.d.ts +0 -19
- package/dist/managed-runtime/dependencies.d.ts.map +0 -1
- package/dist/managed-runtime/dependencies.js +0 -30
- package/dist/managed-runtime/dependencies.js.map +0 -1
- package/dist/managed-runtime/drive-sync-filesystem.d.ts.map +0 -1
- package/dist/managed-runtime/drive-sync-filesystem.js.map +0 -1
- package/dist/managed-runtime/drive-sync-planner.d.ts.map +0 -1
- package/dist/managed-runtime/drive-sync-planner.js.map +0 -1
- package/dist/managed-runtime/drive-sync-remote-planner.d.ts.map +0 -1
- package/dist/managed-runtime/drive-sync-remote-planner.js.map +0 -1
- package/dist/managed-runtime/drive-sync-scheduler.d.ts.map +0 -1
- package/dist/managed-runtime/drive-sync-scheduler.js.map +0 -1
- package/dist/managed-runtime/drive-sync-state-applier.d.ts.map +0 -1
- package/dist/managed-runtime/drive-sync-state-applier.js.map +0 -1
- package/dist/managed-runtime/drive-sync-transfer.d.ts.map +0 -1
- package/dist/managed-runtime/drive-sync-transfer.js.map +0 -1
- package/dist/managed-runtime/drive-sync.d.ts.map +0 -1
- package/dist/managed-runtime/drive-sync.js.map +0 -1
- package/dist/managed-runtime/execution-dispatcher.d.ts +0 -25
- package/dist/managed-runtime/execution-dispatcher.d.ts.map +0 -1
- package/dist/managed-runtime/execution-dispatcher.js +0 -155
- package/dist/managed-runtime/execution-dispatcher.js.map +0 -1
- package/dist/managed-runtime/heartbeat.d.ts +0 -7
- package/dist/managed-runtime/heartbeat.d.ts.map +0 -1
- package/dist/managed-runtime/heartbeat.js +0 -44
- package/dist/managed-runtime/heartbeat.js.map +0 -1
- package/dist/managed-runtime/host-state.d.ts +0 -15
- package/dist/managed-runtime/host-state.d.ts.map +0 -1
- package/dist/managed-runtime/host-state.js +0 -50
- package/dist/managed-runtime/host-state.js.map +0 -1
- package/dist/managed-runtime/realtime.d.ts +0 -25
- package/dist/managed-runtime/realtime.d.ts.map +0 -1
- package/dist/managed-runtime/realtime.js +0 -189
- package/dist/managed-runtime/realtime.js.map +0 -1
- package/dist/managed-runtime/runtime-utils.d.ts.map +0 -1
- package/dist/managed-runtime/runtime-utils.js.map +0 -1
- package/dist/managed-runtime/shell-execution.d.ts +0 -33
- package/dist/managed-runtime/shell-execution.d.ts.map +0 -1
- package/dist/managed-runtime/shell-execution.js +0 -186
- package/dist/managed-runtime/shell-execution.js.map +0 -1
- package/dist/managed-runtime/step-result.d.ts +0 -22
- package/dist/managed-runtime/step-result.d.ts.map +0 -1
- package/dist/managed-runtime/step-result.js +0 -252
- package/dist/managed-runtime/step-result.js.map +0 -1
- package/dist/managed-runtime/wake-signal.d.ts +0 -5
- package/dist/managed-runtime/wake-signal.d.ts.map +0 -1
- package/dist/managed-runtime/wake-signal.js +0 -29
- package/dist/managed-runtime/wake-signal.js.map +0 -1
- package/dist/managed-runtime.d.ts +0 -8
- package/dist/managed-runtime.d.ts.map +0 -1
- package/dist/managed-runtime.js +0 -268
- package/dist/managed-runtime.js.map +0 -1
- /package/dist/{managed-runtime → drive-sync}/drive-sync-filesystem.d.ts +0 -0
- /package/dist/{managed-runtime → drive-sync}/drive-sync-filesystem.js +0 -0
- /package/dist/{managed-runtime → drive-sync}/drive-sync-planner.d.ts +0 -0
- /package/dist/{managed-runtime → drive-sync}/drive-sync-planner.js +0 -0
- /package/dist/{managed-runtime → drive-sync}/drive-sync-remote-planner.d.ts +0 -0
- /package/dist/{managed-runtime → drive-sync}/drive-sync-remote-planner.js +0 -0
- /package/dist/{managed-runtime → drive-sync}/drive-sync-state-applier.d.ts +0 -0
- /package/dist/{managed-runtime → drive-sync}/drive-sync-state-applier.js +0 -0
- /package/dist/{managed-runtime → drive-sync}/drive-sync-transfer.d.ts +0 -0
- /package/dist/{managed-runtime → drive-sync}/drive-sync-transfer.js +0 -0
package/dist/database.types.d.ts
CHANGED
|
@@ -529,7 +529,6 @@ export type Database = {
|
|
|
529
529
|
id: string;
|
|
530
530
|
job_id: string;
|
|
531
531
|
metadata: Json;
|
|
532
|
-
runtime: string;
|
|
533
532
|
started_at: string;
|
|
534
533
|
status: string;
|
|
535
534
|
summary_long: string | null;
|
|
@@ -546,7 +545,6 @@ export type Database = {
|
|
|
546
545
|
id?: string;
|
|
547
546
|
job_id: string;
|
|
548
547
|
metadata?: Json;
|
|
549
|
-
runtime?: string;
|
|
550
548
|
started_at?: string;
|
|
551
549
|
status?: string;
|
|
552
550
|
summary_long?: string | null;
|
|
@@ -563,7 +561,6 @@ export type Database = {
|
|
|
563
561
|
id?: string;
|
|
564
562
|
job_id?: string;
|
|
565
563
|
metadata?: Json;
|
|
566
|
-
runtime?: string;
|
|
567
564
|
started_at?: string;
|
|
568
565
|
status?: string;
|
|
569
566
|
summary_long?: string | null;
|
|
@@ -1029,7 +1026,6 @@ export type Database = {
|
|
|
1029
1026
|
};
|
|
1030
1027
|
agents: {
|
|
1031
1028
|
Row: {
|
|
1032
|
-
agent_runtime: string;
|
|
1033
1029
|
agent_state: string;
|
|
1034
1030
|
created_at: string;
|
|
1035
1031
|
created_by: string;
|
|
@@ -1052,7 +1048,6 @@ export type Database = {
|
|
|
1052
1048
|
wake_generation: number;
|
|
1053
1049
|
};
|
|
1054
1050
|
Insert: {
|
|
1055
|
-
agent_runtime?: string;
|
|
1056
1051
|
agent_state?: string;
|
|
1057
1052
|
created_at?: string;
|
|
1058
1053
|
created_by: string;
|
|
@@ -1075,7 +1070,6 @@ export type Database = {
|
|
|
1075
1070
|
wake_generation?: number;
|
|
1076
1071
|
};
|
|
1077
1072
|
Update: {
|
|
1078
|
-
agent_runtime?: string;
|
|
1079
1073
|
agent_state?: string;
|
|
1080
1074
|
created_at?: string;
|
|
1081
1075
|
created_by?: string;
|
|
@@ -2075,6 +2069,7 @@ export type Database = {
|
|
|
2075
2069
|
status: string;
|
|
2076
2070
|
team_id: string;
|
|
2077
2071
|
updated_at: string;
|
|
2072
|
+
vm_id: string | null;
|
|
2078
2073
|
};
|
|
2079
2074
|
Insert: {
|
|
2080
2075
|
agent_id?: string | null;
|
|
@@ -2087,6 +2082,7 @@ export type Database = {
|
|
|
2087
2082
|
status?: string;
|
|
2088
2083
|
team_id: string;
|
|
2089
2084
|
updated_at?: string;
|
|
2085
|
+
vm_id?: string | null;
|
|
2090
2086
|
};
|
|
2091
2087
|
Update: {
|
|
2092
2088
|
agent_id?: string | null;
|
|
@@ -2099,6 +2095,7 @@ export type Database = {
|
|
|
2099
2095
|
status?: string;
|
|
2100
2096
|
team_id?: string;
|
|
2101
2097
|
updated_at?: string;
|
|
2098
|
+
vm_id?: string | null;
|
|
2102
2099
|
};
|
|
2103
2100
|
Relationships: [
|
|
2104
2101
|
{
|
|
@@ -2121,6 +2118,13 @@ export type Database = {
|
|
|
2121
2118
|
isOneToOne: false;
|
|
2122
2119
|
referencedRelation: "teams";
|
|
2123
2120
|
referencedColumns: ["id"];
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
foreignKeyName: "drive_sync_clients_vm_id_fkey";
|
|
2124
|
+
columns: ["vm_id"];
|
|
2125
|
+
isOneToOne: false;
|
|
2126
|
+
referencedRelation: "team_resources";
|
|
2127
|
+
referencedColumns: ["id"];
|
|
2124
2128
|
}
|
|
2125
2129
|
];
|
|
2126
2130
|
};
|
|
@@ -2918,369 +2922,6 @@ export type Database = {
|
|
|
2918
2922
|
};
|
|
2919
2923
|
Relationships: [];
|
|
2920
2924
|
};
|
|
2921
|
-
linux_agent_executions: {
|
|
2922
|
-
Row: {
|
|
2923
|
-
agent_id: string;
|
|
2924
|
-
claim_token: string | null;
|
|
2925
|
-
claimed_by: string | null;
|
|
2926
|
-
command: string;
|
|
2927
|
-
completed_at: string | null;
|
|
2928
|
-
control_signal: string | null;
|
|
2929
|
-
created_at: string;
|
|
2930
|
-
cycle_id: string | null;
|
|
2931
|
-
dispatched_at: string | null;
|
|
2932
|
-
duration_ms: number | null;
|
|
2933
|
-
error: string | null;
|
|
2934
|
-
exit_code: number | null;
|
|
2935
|
-
host_attempt_generation: number | null;
|
|
2936
|
-
host_id: string | null;
|
|
2937
|
-
id: string;
|
|
2938
|
-
metadata: Json;
|
|
2939
|
-
requested_at: string;
|
|
2940
|
-
run_id: string | null;
|
|
2941
|
-
run_step_id: string | null;
|
|
2942
|
-
started_at: string | null;
|
|
2943
|
-
status: string;
|
|
2944
|
-
stderr: string | null;
|
|
2945
|
-
stderr_bytes: number;
|
|
2946
|
-
stderr_overflow_ref: string | null;
|
|
2947
|
-
stderr_preview: string | null;
|
|
2948
|
-
stdout: string | null;
|
|
2949
|
-
stdout_bytes: number;
|
|
2950
|
-
stdout_overflow_ref: string | null;
|
|
2951
|
-
stdout_preview: string | null;
|
|
2952
|
-
updated_at: string;
|
|
2953
|
-
worker_job_id: string | null;
|
|
2954
|
-
};
|
|
2955
|
-
Insert: {
|
|
2956
|
-
agent_id: string;
|
|
2957
|
-
claim_token?: string | null;
|
|
2958
|
-
claimed_by?: string | null;
|
|
2959
|
-
command: string;
|
|
2960
|
-
completed_at?: string | null;
|
|
2961
|
-
control_signal?: string | null;
|
|
2962
|
-
created_at?: string;
|
|
2963
|
-
cycle_id?: string | null;
|
|
2964
|
-
dispatched_at?: string | null;
|
|
2965
|
-
duration_ms?: number | null;
|
|
2966
|
-
error?: string | null;
|
|
2967
|
-
exit_code?: number | null;
|
|
2968
|
-
host_attempt_generation?: number | null;
|
|
2969
|
-
host_id?: string | null;
|
|
2970
|
-
id?: string;
|
|
2971
|
-
metadata?: Json;
|
|
2972
|
-
requested_at?: string;
|
|
2973
|
-
run_id?: string | null;
|
|
2974
|
-
run_step_id?: string | null;
|
|
2975
|
-
started_at?: string | null;
|
|
2976
|
-
status?: string;
|
|
2977
|
-
stderr?: string | null;
|
|
2978
|
-
stderr_bytes?: number;
|
|
2979
|
-
stderr_overflow_ref?: string | null;
|
|
2980
|
-
stderr_preview?: string | null;
|
|
2981
|
-
stdout?: string | null;
|
|
2982
|
-
stdout_bytes?: number;
|
|
2983
|
-
stdout_overflow_ref?: string | null;
|
|
2984
|
-
stdout_preview?: string | null;
|
|
2985
|
-
updated_at?: string;
|
|
2986
|
-
worker_job_id?: string | null;
|
|
2987
|
-
};
|
|
2988
|
-
Update: {
|
|
2989
|
-
agent_id?: string;
|
|
2990
|
-
claim_token?: string | null;
|
|
2991
|
-
claimed_by?: string | null;
|
|
2992
|
-
command?: string;
|
|
2993
|
-
completed_at?: string | null;
|
|
2994
|
-
control_signal?: string | null;
|
|
2995
|
-
created_at?: string;
|
|
2996
|
-
cycle_id?: string | null;
|
|
2997
|
-
dispatched_at?: string | null;
|
|
2998
|
-
duration_ms?: number | null;
|
|
2999
|
-
error?: string | null;
|
|
3000
|
-
exit_code?: number | null;
|
|
3001
|
-
host_attempt_generation?: number | null;
|
|
3002
|
-
host_id?: string | null;
|
|
3003
|
-
id?: string;
|
|
3004
|
-
metadata?: Json;
|
|
3005
|
-
requested_at?: string;
|
|
3006
|
-
run_id?: string | null;
|
|
3007
|
-
run_step_id?: string | null;
|
|
3008
|
-
started_at?: string | null;
|
|
3009
|
-
status?: string;
|
|
3010
|
-
stderr?: string | null;
|
|
3011
|
-
stderr_bytes?: number;
|
|
3012
|
-
stderr_overflow_ref?: string | null;
|
|
3013
|
-
stderr_preview?: string | null;
|
|
3014
|
-
stdout?: string | null;
|
|
3015
|
-
stdout_bytes?: number;
|
|
3016
|
-
stdout_overflow_ref?: string | null;
|
|
3017
|
-
stdout_preview?: string | null;
|
|
3018
|
-
updated_at?: string;
|
|
3019
|
-
worker_job_id?: string | null;
|
|
3020
|
-
};
|
|
3021
|
-
Relationships: [
|
|
3022
|
-
{
|
|
3023
|
-
foreignKeyName: "linux_agent_executions_agent_id_fkey";
|
|
3024
|
-
columns: ["agent_id"];
|
|
3025
|
-
isOneToOne: false;
|
|
3026
|
-
referencedRelation: "agent_full";
|
|
3027
|
-
referencedColumns: ["id"];
|
|
3028
|
-
},
|
|
3029
|
-
{
|
|
3030
|
-
foreignKeyName: "linux_agent_executions_agent_id_fkey";
|
|
3031
|
-
columns: ["agent_id"];
|
|
3032
|
-
isOneToOne: false;
|
|
3033
|
-
referencedRelation: "agents";
|
|
3034
|
-
referencedColumns: ["id"];
|
|
3035
|
-
},
|
|
3036
|
-
{
|
|
3037
|
-
foreignKeyName: "linux_agent_executions_cycle_id_fkey";
|
|
3038
|
-
columns: ["cycle_id"];
|
|
3039
|
-
isOneToOne: false;
|
|
3040
|
-
referencedRelation: "agent_cycles";
|
|
3041
|
-
referencedColumns: ["id"];
|
|
3042
|
-
},
|
|
3043
|
-
{
|
|
3044
|
-
foreignKeyName: "linux_agent_executions_cycle_id_fkey";
|
|
3045
|
-
columns: ["cycle_id"];
|
|
3046
|
-
isOneToOne: false;
|
|
3047
|
-
referencedRelation: "debug_cycle_facts";
|
|
3048
|
-
referencedColumns: ["cycle_id"];
|
|
3049
|
-
},
|
|
3050
|
-
{
|
|
3051
|
-
foreignKeyName: "linux_agent_executions_host_id_fkey";
|
|
3052
|
-
columns: ["host_id"];
|
|
3053
|
-
isOneToOne: false;
|
|
3054
|
-
referencedRelation: "linux_agent_hosts";
|
|
3055
|
-
referencedColumns: ["id"];
|
|
3056
|
-
},
|
|
3057
|
-
{
|
|
3058
|
-
foreignKeyName: "linux_agent_executions_run_id_fkey";
|
|
3059
|
-
columns: ["run_id"];
|
|
3060
|
-
isOneToOne: false;
|
|
3061
|
-
referencedRelation: "agent_cycle_runs";
|
|
3062
|
-
referencedColumns: ["id"];
|
|
3063
|
-
},
|
|
3064
|
-
{
|
|
3065
|
-
foreignKeyName: "linux_agent_executions_run_id_fkey";
|
|
3066
|
-
columns: ["run_id"];
|
|
3067
|
-
isOneToOne: false;
|
|
3068
|
-
referencedRelation: "debug_cycle_facts";
|
|
3069
|
-
referencedColumns: ["run_id"];
|
|
3070
|
-
},
|
|
3071
|
-
{
|
|
3072
|
-
foreignKeyName: "linux_agent_executions_run_id_fkey";
|
|
3073
|
-
columns: ["run_id"];
|
|
3074
|
-
isOneToOne: false;
|
|
3075
|
-
referencedRelation: "debug_tool_call_facts";
|
|
3076
|
-
referencedColumns: ["run_id"];
|
|
3077
|
-
},
|
|
3078
|
-
{
|
|
3079
|
-
foreignKeyName: "linux_agent_executions_run_step_id_fkey";
|
|
3080
|
-
columns: ["run_step_id"];
|
|
3081
|
-
isOneToOne: false;
|
|
3082
|
-
referencedRelation: "agent_cycle_run_steps";
|
|
3083
|
-
referencedColumns: ["id"];
|
|
3084
|
-
},
|
|
3085
|
-
{
|
|
3086
|
-
foreignKeyName: "linux_agent_executions_run_step_id_fkey";
|
|
3087
|
-
columns: ["run_step_id"];
|
|
3088
|
-
isOneToOne: false;
|
|
3089
|
-
referencedRelation: "debug_tool_call_facts";
|
|
3090
|
-
referencedColumns: ["step_id"];
|
|
3091
|
-
}
|
|
3092
|
-
];
|
|
3093
|
-
};
|
|
3094
|
-
linux_agent_hosts: {
|
|
3095
|
-
Row: {
|
|
3096
|
-
agent_id: string;
|
|
3097
|
-
allocation_state: string;
|
|
3098
|
-
attempt_generation: number;
|
|
3099
|
-
cli_auth_token_created_at: string | null;
|
|
3100
|
-
cli_auth_token_hash: string | null;
|
|
3101
|
-
created_at: string;
|
|
3102
|
-
desired_power_state: string;
|
|
3103
|
-
error: string | null;
|
|
3104
|
-
host_control_token_created_at: string | null;
|
|
3105
|
-
host_control_token_hash: string | null;
|
|
3106
|
-
host_identifier: string | null;
|
|
3107
|
-
id: string;
|
|
3108
|
-
image_ref: string | null;
|
|
3109
|
-
last_heartbeat_at: string | null;
|
|
3110
|
-
metadata: Json;
|
|
3111
|
-
provider: string;
|
|
3112
|
-
provisioning_started_at: string | null;
|
|
3113
|
-
ready_at: string | null;
|
|
3114
|
-
runtime_id: string | null;
|
|
3115
|
-
runtime_state: string;
|
|
3116
|
-
started_at: string | null;
|
|
3117
|
-
status: string;
|
|
3118
|
-
stopped_at: string | null;
|
|
3119
|
-
updated_at: string;
|
|
3120
|
-
};
|
|
3121
|
-
Insert: {
|
|
3122
|
-
agent_id: string;
|
|
3123
|
-
allocation_state?: string;
|
|
3124
|
-
attempt_generation?: number;
|
|
3125
|
-
cli_auth_token_created_at?: string | null;
|
|
3126
|
-
cli_auth_token_hash?: string | null;
|
|
3127
|
-
created_at?: string;
|
|
3128
|
-
desired_power_state?: string;
|
|
3129
|
-
error?: string | null;
|
|
3130
|
-
host_control_token_created_at?: string | null;
|
|
3131
|
-
host_control_token_hash?: string | null;
|
|
3132
|
-
host_identifier?: string | null;
|
|
3133
|
-
id?: string;
|
|
3134
|
-
image_ref?: string | null;
|
|
3135
|
-
last_heartbeat_at?: string | null;
|
|
3136
|
-
metadata?: Json;
|
|
3137
|
-
provider?: string;
|
|
3138
|
-
provisioning_started_at?: string | null;
|
|
3139
|
-
ready_at?: string | null;
|
|
3140
|
-
runtime_id?: string | null;
|
|
3141
|
-
runtime_state?: string;
|
|
3142
|
-
started_at?: string | null;
|
|
3143
|
-
status?: string;
|
|
3144
|
-
stopped_at?: string | null;
|
|
3145
|
-
updated_at?: string;
|
|
3146
|
-
};
|
|
3147
|
-
Update: {
|
|
3148
|
-
agent_id?: string;
|
|
3149
|
-
allocation_state?: string;
|
|
3150
|
-
attempt_generation?: number;
|
|
3151
|
-
cli_auth_token_created_at?: string | null;
|
|
3152
|
-
cli_auth_token_hash?: string | null;
|
|
3153
|
-
created_at?: string;
|
|
3154
|
-
desired_power_state?: string;
|
|
3155
|
-
error?: string | null;
|
|
3156
|
-
host_control_token_created_at?: string | null;
|
|
3157
|
-
host_control_token_hash?: string | null;
|
|
3158
|
-
host_identifier?: string | null;
|
|
3159
|
-
id?: string;
|
|
3160
|
-
image_ref?: string | null;
|
|
3161
|
-
last_heartbeat_at?: string | null;
|
|
3162
|
-
metadata?: Json;
|
|
3163
|
-
provider?: string;
|
|
3164
|
-
provisioning_started_at?: string | null;
|
|
3165
|
-
ready_at?: string | null;
|
|
3166
|
-
runtime_id?: string | null;
|
|
3167
|
-
runtime_state?: string;
|
|
3168
|
-
started_at?: string | null;
|
|
3169
|
-
status?: string;
|
|
3170
|
-
stopped_at?: string | null;
|
|
3171
|
-
updated_at?: string;
|
|
3172
|
-
};
|
|
3173
|
-
Relationships: [
|
|
3174
|
-
{
|
|
3175
|
-
foreignKeyName: "linux_agent_hosts_agent_id_fkey";
|
|
3176
|
-
columns: ["agent_id"];
|
|
3177
|
-
isOneToOne: true;
|
|
3178
|
-
referencedRelation: "agent_full";
|
|
3179
|
-
referencedColumns: ["id"];
|
|
3180
|
-
},
|
|
3181
|
-
{
|
|
3182
|
-
foreignKeyName: "linux_agent_hosts_agent_id_fkey";
|
|
3183
|
-
columns: ["agent_id"];
|
|
3184
|
-
isOneToOne: true;
|
|
3185
|
-
referencedRelation: "agents";
|
|
3186
|
-
referencedColumns: ["id"];
|
|
3187
|
-
}
|
|
3188
|
-
];
|
|
3189
|
-
};
|
|
3190
|
-
linux_host_operations: {
|
|
3191
|
-
Row: {
|
|
3192
|
-
agent_id: string;
|
|
3193
|
-
attempt_count: number;
|
|
3194
|
-
canceled_at: string | null;
|
|
3195
|
-
completed_at: string | null;
|
|
3196
|
-
created_at: string;
|
|
3197
|
-
error: string | null;
|
|
3198
|
-
host_id: string;
|
|
3199
|
-
id: string;
|
|
3200
|
-
idempotency_key: string;
|
|
3201
|
-
lease_acquired_at: string | null;
|
|
3202
|
-
lease_expires_at: string | null;
|
|
3203
|
-
lease_owner: string | null;
|
|
3204
|
-
operation_type: string;
|
|
3205
|
-
reason: string;
|
|
3206
|
-
request_payload: Json;
|
|
3207
|
-
requested_by: string | null;
|
|
3208
|
-
result_payload: Json | null;
|
|
3209
|
-
stale_at: string | null;
|
|
3210
|
-
started_at: string | null;
|
|
3211
|
-
status: string;
|
|
3212
|
-
updated_at: string;
|
|
3213
|
-
};
|
|
3214
|
-
Insert: {
|
|
3215
|
-
agent_id: string;
|
|
3216
|
-
attempt_count?: number;
|
|
3217
|
-
canceled_at?: string | null;
|
|
3218
|
-
completed_at?: string | null;
|
|
3219
|
-
created_at?: string;
|
|
3220
|
-
error?: string | null;
|
|
3221
|
-
host_id: string;
|
|
3222
|
-
id?: string;
|
|
3223
|
-
idempotency_key: string;
|
|
3224
|
-
lease_acquired_at?: string | null;
|
|
3225
|
-
lease_expires_at?: string | null;
|
|
3226
|
-
lease_owner?: string | null;
|
|
3227
|
-
operation_type: string;
|
|
3228
|
-
reason: string;
|
|
3229
|
-
request_payload?: Json;
|
|
3230
|
-
requested_by?: string | null;
|
|
3231
|
-
result_payload?: Json | null;
|
|
3232
|
-
stale_at?: string | null;
|
|
3233
|
-
started_at?: string | null;
|
|
3234
|
-
status?: string;
|
|
3235
|
-
updated_at?: string;
|
|
3236
|
-
};
|
|
3237
|
-
Update: {
|
|
3238
|
-
agent_id?: string;
|
|
3239
|
-
attempt_count?: number;
|
|
3240
|
-
canceled_at?: string | null;
|
|
3241
|
-
completed_at?: string | null;
|
|
3242
|
-
created_at?: string;
|
|
3243
|
-
error?: string | null;
|
|
3244
|
-
host_id?: string;
|
|
3245
|
-
id?: string;
|
|
3246
|
-
idempotency_key?: string;
|
|
3247
|
-
lease_acquired_at?: string | null;
|
|
3248
|
-
lease_expires_at?: string | null;
|
|
3249
|
-
lease_owner?: string | null;
|
|
3250
|
-
operation_type?: string;
|
|
3251
|
-
reason?: string;
|
|
3252
|
-
request_payload?: Json;
|
|
3253
|
-
requested_by?: string | null;
|
|
3254
|
-
result_payload?: Json | null;
|
|
3255
|
-
stale_at?: string | null;
|
|
3256
|
-
started_at?: string | null;
|
|
3257
|
-
status?: string;
|
|
3258
|
-
updated_at?: string;
|
|
3259
|
-
};
|
|
3260
|
-
Relationships: [
|
|
3261
|
-
{
|
|
3262
|
-
foreignKeyName: "linux_host_operations_agent_id_fkey";
|
|
3263
|
-
columns: ["agent_id"];
|
|
3264
|
-
isOneToOne: false;
|
|
3265
|
-
referencedRelation: "agent_full";
|
|
3266
|
-
referencedColumns: ["id"];
|
|
3267
|
-
},
|
|
3268
|
-
{
|
|
3269
|
-
foreignKeyName: "linux_host_operations_agent_id_fkey";
|
|
3270
|
-
columns: ["agent_id"];
|
|
3271
|
-
isOneToOne: false;
|
|
3272
|
-
referencedRelation: "agents";
|
|
3273
|
-
referencedColumns: ["id"];
|
|
3274
|
-
},
|
|
3275
|
-
{
|
|
3276
|
-
foreignKeyName: "linux_host_operations_host_id_fkey";
|
|
3277
|
-
columns: ["host_id"];
|
|
3278
|
-
isOneToOne: false;
|
|
3279
|
-
referencedRelation: "linux_agent_hosts";
|
|
3280
|
-
referencedColumns: ["id"];
|
|
3281
|
-
}
|
|
3282
|
-
];
|
|
3283
|
-
};
|
|
3284
2925
|
log_embeddings: {
|
|
3285
2926
|
Row: {
|
|
3286
2927
|
agent_id: string;
|
|
@@ -6645,99 +6286,6 @@ export type Database = {
|
|
|
6645
6286
|
}
|
|
6646
6287
|
];
|
|
6647
6288
|
};
|
|
6648
|
-
tool_invocations: {
|
|
6649
|
-
Row: {
|
|
6650
|
-
agent_id: string;
|
|
6651
|
-
completed_at: string | null;
|
|
6652
|
-
created_at: string;
|
|
6653
|
-
cycle_id: string | null;
|
|
6654
|
-
host_attempt_generation: number | null;
|
|
6655
|
-
host_id: string | null;
|
|
6656
|
-
id: string;
|
|
6657
|
-
input: Json;
|
|
6658
|
-
metadata: Json;
|
|
6659
|
-
result: Json | null;
|
|
6660
|
-
source: string;
|
|
6661
|
-
started_at: string | null;
|
|
6662
|
-
status: string;
|
|
6663
|
-
system_error: string | null;
|
|
6664
|
-
tool_id: string;
|
|
6665
|
-
tool_name: string;
|
|
6666
|
-
};
|
|
6667
|
-
Insert: {
|
|
6668
|
-
agent_id: string;
|
|
6669
|
-
completed_at?: string | null;
|
|
6670
|
-
created_at?: string;
|
|
6671
|
-
cycle_id?: string | null;
|
|
6672
|
-
host_attempt_generation?: number | null;
|
|
6673
|
-
host_id?: string | null;
|
|
6674
|
-
id?: string;
|
|
6675
|
-
input?: Json;
|
|
6676
|
-
metadata?: Json;
|
|
6677
|
-
result?: Json | null;
|
|
6678
|
-
source?: string;
|
|
6679
|
-
started_at?: string | null;
|
|
6680
|
-
status?: string;
|
|
6681
|
-
system_error?: string | null;
|
|
6682
|
-
tool_id: string;
|
|
6683
|
-
tool_name: string;
|
|
6684
|
-
};
|
|
6685
|
-
Update: {
|
|
6686
|
-
agent_id?: string;
|
|
6687
|
-
completed_at?: string | null;
|
|
6688
|
-
created_at?: string;
|
|
6689
|
-
cycle_id?: string | null;
|
|
6690
|
-
host_attempt_generation?: number | null;
|
|
6691
|
-
host_id?: string | null;
|
|
6692
|
-
id?: string;
|
|
6693
|
-
input?: Json;
|
|
6694
|
-
metadata?: Json;
|
|
6695
|
-
result?: Json | null;
|
|
6696
|
-
source?: string;
|
|
6697
|
-
started_at?: string | null;
|
|
6698
|
-
status?: string;
|
|
6699
|
-
system_error?: string | null;
|
|
6700
|
-
tool_id?: string;
|
|
6701
|
-
tool_name?: string;
|
|
6702
|
-
};
|
|
6703
|
-
Relationships: [
|
|
6704
|
-
{
|
|
6705
|
-
foreignKeyName: "tool_invocations_agent_id_fkey";
|
|
6706
|
-
columns: ["agent_id"];
|
|
6707
|
-
isOneToOne: false;
|
|
6708
|
-
referencedRelation: "agent_full";
|
|
6709
|
-
referencedColumns: ["id"];
|
|
6710
|
-
},
|
|
6711
|
-
{
|
|
6712
|
-
foreignKeyName: "tool_invocations_agent_id_fkey";
|
|
6713
|
-
columns: ["agent_id"];
|
|
6714
|
-
isOneToOne: false;
|
|
6715
|
-
referencedRelation: "agents";
|
|
6716
|
-
referencedColumns: ["id"];
|
|
6717
|
-
},
|
|
6718
|
-
{
|
|
6719
|
-
foreignKeyName: "tool_invocations_cycle_id_fkey";
|
|
6720
|
-
columns: ["cycle_id"];
|
|
6721
|
-
isOneToOne: false;
|
|
6722
|
-
referencedRelation: "agent_cycles";
|
|
6723
|
-
referencedColumns: ["id"];
|
|
6724
|
-
},
|
|
6725
|
-
{
|
|
6726
|
-
foreignKeyName: "tool_invocations_cycle_id_fkey";
|
|
6727
|
-
columns: ["cycle_id"];
|
|
6728
|
-
isOneToOne: false;
|
|
6729
|
-
referencedRelation: "debug_cycle_facts";
|
|
6730
|
-
referencedColumns: ["cycle_id"];
|
|
6731
|
-
},
|
|
6732
|
-
{
|
|
6733
|
-
foreignKeyName: "tool_invocations_host_id_fkey";
|
|
6734
|
-
columns: ["host_id"];
|
|
6735
|
-
isOneToOne: false;
|
|
6736
|
-
referencedRelation: "linux_agent_hosts";
|
|
6737
|
-
referencedColumns: ["id"];
|
|
6738
|
-
}
|
|
6739
|
-
];
|
|
6740
|
-
};
|
|
6741
6289
|
tool_registry_versions: {
|
|
6742
6290
|
Row: {
|
|
6743
6291
|
id: string;
|
|
@@ -7682,6 +7230,68 @@ export type Database = {
|
|
|
7682
7230
|
}
|
|
7683
7231
|
];
|
|
7684
7232
|
};
|
|
7233
|
+
workflow_start_requests: {
|
|
7234
|
+
Row: {
|
|
7235
|
+
attempt_count: number;
|
|
7236
|
+
completed_at: string | null;
|
|
7237
|
+
created_at: string;
|
|
7238
|
+
dedupe_key: string;
|
|
7239
|
+
id: string;
|
|
7240
|
+
last_error: string | null;
|
|
7241
|
+
payload: Json;
|
|
7242
|
+
request_kind: string;
|
|
7243
|
+
started_at: string | null;
|
|
7244
|
+
status: string;
|
|
7245
|
+
task_queue: string;
|
|
7246
|
+
team_id: string | null;
|
|
7247
|
+
updated_at: string;
|
|
7248
|
+
workflow_id: string;
|
|
7249
|
+
workflow_type: string;
|
|
7250
|
+
};
|
|
7251
|
+
Insert: {
|
|
7252
|
+
attempt_count?: number;
|
|
7253
|
+
completed_at?: string | null;
|
|
7254
|
+
created_at?: string;
|
|
7255
|
+
dedupe_key: string;
|
|
7256
|
+
id?: string;
|
|
7257
|
+
last_error?: string | null;
|
|
7258
|
+
payload?: Json;
|
|
7259
|
+
request_kind: string;
|
|
7260
|
+
started_at?: string | null;
|
|
7261
|
+
status?: string;
|
|
7262
|
+
task_queue: string;
|
|
7263
|
+
team_id?: string | null;
|
|
7264
|
+
updated_at?: string;
|
|
7265
|
+
workflow_id: string;
|
|
7266
|
+
workflow_type: string;
|
|
7267
|
+
};
|
|
7268
|
+
Update: {
|
|
7269
|
+
attempt_count?: number;
|
|
7270
|
+
completed_at?: string | null;
|
|
7271
|
+
created_at?: string;
|
|
7272
|
+
dedupe_key?: string;
|
|
7273
|
+
id?: string;
|
|
7274
|
+
last_error?: string | null;
|
|
7275
|
+
payload?: Json;
|
|
7276
|
+
request_kind?: string;
|
|
7277
|
+
started_at?: string | null;
|
|
7278
|
+
status?: string;
|
|
7279
|
+
task_queue?: string;
|
|
7280
|
+
team_id?: string | null;
|
|
7281
|
+
updated_at?: string;
|
|
7282
|
+
workflow_id?: string;
|
|
7283
|
+
workflow_type?: string;
|
|
7284
|
+
};
|
|
7285
|
+
Relationships: [
|
|
7286
|
+
{
|
|
7287
|
+
foreignKeyName: "workflow_start_requests_team_id_fkey";
|
|
7288
|
+
columns: ["team_id"];
|
|
7289
|
+
isOneToOne: false;
|
|
7290
|
+
referencedRelation: "teams";
|
|
7291
|
+
referencedColumns: ["id"];
|
|
7292
|
+
}
|
|
7293
|
+
];
|
|
7294
|
+
};
|
|
7685
7295
|
};
|
|
7686
7296
|
Views: {
|
|
7687
7297
|
agent_cycle_cache_stats: {
|
|
@@ -7778,7 +7388,6 @@ export type Database = {
|
|
|
7778
7388
|
agent_full: {
|
|
7779
7389
|
Row: {
|
|
7780
7390
|
action_summary: string | null;
|
|
7781
|
-
agent_runtime: string | null;
|
|
7782
7391
|
agent_state: string | null;
|
|
7783
7392
|
auto_model_selection: boolean | null;
|
|
7784
7393
|
context: string | null;
|
|
@@ -7929,7 +7538,6 @@ export type Database = {
|
|
|
7929
7538
|
Row: {
|
|
7930
7539
|
agent_id: string | null;
|
|
7931
7540
|
agent_name: string | null;
|
|
7932
|
-
agent_runtime: string | null;
|
|
7933
7541
|
available_tools_count: number | null;
|
|
7934
7542
|
billing_mode: string | null;
|
|
7935
7543
|
blocked_at: string | null;
|
|
@@ -8013,7 +7621,6 @@ export type Database = {
|
|
|
8013
7621
|
Row: {
|
|
8014
7622
|
agent_id: string | null;
|
|
8015
7623
|
agent_name: string | null;
|
|
8016
|
-
agent_runtime: string | null;
|
|
8017
7624
|
api_calls_count: number | null;
|
|
8018
7625
|
attempt_id: string | null;
|
|
8019
7626
|
completed_at: string | null;
|
|
@@ -9011,35 +8618,6 @@ export type Database = {
|
|
|
9011
8618
|
};
|
|
9012
8619
|
Returns: number;
|
|
9013
8620
|
};
|
|
9014
|
-
complete_linux_agent_execution: {
|
|
9015
|
-
Args: {
|
|
9016
|
-
p_claim_token: string;
|
|
9017
|
-
p_control_signal?: string;
|
|
9018
|
-
p_duration_ms?: number;
|
|
9019
|
-
p_error?: string;
|
|
9020
|
-
p_execution_id: string;
|
|
9021
|
-
p_execution_metadata?: Json;
|
|
9022
|
-
p_execution_status: string;
|
|
9023
|
-
p_exit_code?: number;
|
|
9024
|
-
p_stderr?: string;
|
|
9025
|
-
p_stderr_bytes?: number;
|
|
9026
|
-
p_stderr_overflow_ref?: string;
|
|
9027
|
-
p_stderr_preview?: string;
|
|
9028
|
-
p_stdout?: string;
|
|
9029
|
-
p_stdout_bytes?: number;
|
|
9030
|
-
p_stdout_overflow_ref?: string;
|
|
9031
|
-
p_stdout_preview?: string;
|
|
9032
|
-
p_step_error?: string;
|
|
9033
|
-
p_step_result?: Json;
|
|
9034
|
-
p_step_status?: string;
|
|
9035
|
-
p_step_uncertainty_reason?: string;
|
|
9036
|
-
};
|
|
9037
|
-
Returns: {
|
|
9038
|
-
agent_id: string;
|
|
9039
|
-
run_id: string;
|
|
9040
|
-
step_updated: boolean;
|
|
9041
|
-
}[];
|
|
9042
|
-
};
|
|
9043
8621
|
complete_model_cache_entry_creation: {
|
|
9044
8622
|
Args: {
|
|
9045
8623
|
p_agent_id: string;
|
|
@@ -9125,6 +8703,14 @@ export type Database = {
|
|
|
9125
8703
|
isSetofReturn: true;
|
|
9126
8704
|
};
|
|
9127
8705
|
};
|
|
8706
|
+
copy_agent_home_drive: {
|
|
8707
|
+
Args: {
|
|
8708
|
+
p_actor_user_id?: string;
|
|
8709
|
+
p_source_agent_id: string;
|
|
8710
|
+
p_target_agent_id: string;
|
|
8711
|
+
};
|
|
8712
|
+
Returns: Json;
|
|
8713
|
+
};
|
|
9128
8714
|
create_agent_event: {
|
|
9129
8715
|
Args: {
|
|
9130
8716
|
p_actor?: string;
|
|
@@ -9329,58 +8915,6 @@ export type Database = {
|
|
|
9329
8915
|
};
|
|
9330
8916
|
Returns: Json;
|
|
9331
8917
|
};
|
|
9332
|
-
create_linux_agent_execution_if_runnable: {
|
|
9333
|
-
Args: {
|
|
9334
|
-
p_agent_id: string;
|
|
9335
|
-
p_command: string;
|
|
9336
|
-
p_cycle_id: string;
|
|
9337
|
-
p_host_attempt_generation: number;
|
|
9338
|
-
p_host_id: string;
|
|
9339
|
-
p_metadata?: Json;
|
|
9340
|
-
p_run_id: string;
|
|
9341
|
-
p_run_step_id: string;
|
|
9342
|
-
p_worker_job_id: string;
|
|
9343
|
-
};
|
|
9344
|
-
Returns: {
|
|
9345
|
-
agent_id: string;
|
|
9346
|
-
claim_token: string | null;
|
|
9347
|
-
claimed_by: string | null;
|
|
9348
|
-
command: string;
|
|
9349
|
-
completed_at: string | null;
|
|
9350
|
-
control_signal: string | null;
|
|
9351
|
-
created_at: string;
|
|
9352
|
-
cycle_id: string | null;
|
|
9353
|
-
dispatched_at: string | null;
|
|
9354
|
-
duration_ms: number | null;
|
|
9355
|
-
error: string | null;
|
|
9356
|
-
exit_code: number | null;
|
|
9357
|
-
host_attempt_generation: number | null;
|
|
9358
|
-
host_id: string | null;
|
|
9359
|
-
id: string;
|
|
9360
|
-
metadata: Json;
|
|
9361
|
-
requested_at: string;
|
|
9362
|
-
run_id: string | null;
|
|
9363
|
-
run_step_id: string | null;
|
|
9364
|
-
started_at: string | null;
|
|
9365
|
-
status: string;
|
|
9366
|
-
stderr: string | null;
|
|
9367
|
-
stderr_bytes: number;
|
|
9368
|
-
stderr_overflow_ref: string | null;
|
|
9369
|
-
stderr_preview: string | null;
|
|
9370
|
-
stdout: string | null;
|
|
9371
|
-
stdout_bytes: number;
|
|
9372
|
-
stdout_overflow_ref: string | null;
|
|
9373
|
-
stdout_preview: string | null;
|
|
9374
|
-
updated_at: string;
|
|
9375
|
-
worker_job_id: string | null;
|
|
9376
|
-
};
|
|
9377
|
-
SetofOptions: {
|
|
9378
|
-
from: "*";
|
|
9379
|
-
to: "linux_agent_executions";
|
|
9380
|
-
isOneToOne: true;
|
|
9381
|
-
isSetofReturn: false;
|
|
9382
|
-
};
|
|
9383
|
-
};
|
|
9384
8918
|
create_message: {
|
|
9385
8919
|
Args: {
|
|
9386
8920
|
p_agent_id: string;
|
|
@@ -9744,54 +9278,6 @@ export type Database = {
|
|
|
9744
9278
|
};
|
|
9745
9279
|
Returns: string;
|
|
9746
9280
|
};
|
|
9747
|
-
dispatch_linux_agent_execution: {
|
|
9748
|
-
Args: {
|
|
9749
|
-
p_agent_id: string;
|
|
9750
|
-
p_claim_token?: string;
|
|
9751
|
-
p_claimed_by: string;
|
|
9752
|
-
p_host_attempt_generation: number;
|
|
9753
|
-
p_host_id: string;
|
|
9754
|
-
};
|
|
9755
|
-
Returns: {
|
|
9756
|
-
agent_id: string;
|
|
9757
|
-
claim_token: string | null;
|
|
9758
|
-
claimed_by: string | null;
|
|
9759
|
-
command: string;
|
|
9760
|
-
completed_at: string | null;
|
|
9761
|
-
control_signal: string | null;
|
|
9762
|
-
created_at: string;
|
|
9763
|
-
cycle_id: string | null;
|
|
9764
|
-
dispatched_at: string | null;
|
|
9765
|
-
duration_ms: number | null;
|
|
9766
|
-
error: string | null;
|
|
9767
|
-
exit_code: number | null;
|
|
9768
|
-
host_attempt_generation: number | null;
|
|
9769
|
-
host_id: string | null;
|
|
9770
|
-
id: string;
|
|
9771
|
-
metadata: Json;
|
|
9772
|
-
requested_at: string;
|
|
9773
|
-
run_id: string | null;
|
|
9774
|
-
run_step_id: string | null;
|
|
9775
|
-
started_at: string | null;
|
|
9776
|
-
status: string;
|
|
9777
|
-
stderr: string | null;
|
|
9778
|
-
stderr_bytes: number;
|
|
9779
|
-
stderr_overflow_ref: string | null;
|
|
9780
|
-
stderr_preview: string | null;
|
|
9781
|
-
stdout: string | null;
|
|
9782
|
-
stdout_bytes: number;
|
|
9783
|
-
stdout_overflow_ref: string | null;
|
|
9784
|
-
stdout_preview: string | null;
|
|
9785
|
-
updated_at: string;
|
|
9786
|
-
worker_job_id: string | null;
|
|
9787
|
-
};
|
|
9788
|
-
SetofOptions: {
|
|
9789
|
-
from: "*";
|
|
9790
|
-
to: "linux_agent_executions";
|
|
9791
|
-
isOneToOne: true;
|
|
9792
|
-
isSetofReturn: false;
|
|
9793
|
-
};
|
|
9794
|
-
};
|
|
9795
9281
|
drive_entry_name: {
|
|
9796
9282
|
Args: {
|
|
9797
9283
|
p_path: string;
|
|
@@ -10044,6 +9530,13 @@ export type Database = {
|
|
|
10044
9530
|
isSetofReturn: false;
|
|
10045
9531
|
};
|
|
10046
9532
|
};
|
|
9533
|
+
ensure_agent_home_drive: {
|
|
9534
|
+
Args: {
|
|
9535
|
+
p_agent_id: string;
|
|
9536
|
+
p_created_by?: string;
|
|
9537
|
+
};
|
|
9538
|
+
Returns: Json;
|
|
9539
|
+
};
|
|
10047
9540
|
ensure_agent_peer_conversation: {
|
|
10048
9541
|
Args: {
|
|
10049
9542
|
p_source_agent_id: string;
|
|
@@ -10865,7 +10358,6 @@ export type Database = {
|
|
|
10865
10358
|
};
|
|
10866
10359
|
Returns: {
|
|
10867
10360
|
action_summary: string | null;
|
|
10868
|
-
agent_runtime: string | null;
|
|
10869
10361
|
agent_state: string | null;
|
|
10870
10362
|
auto_model_selection: boolean | null;
|
|
10871
10363
|
context: string | null;
|
|
@@ -11309,38 +10801,6 @@ export type Database = {
|
|
|
11309
10801
|
isSetofReturn: false;
|
|
11310
10802
|
};
|
|
11311
10803
|
};
|
|
11312
|
-
interrupt_linux_agent_executions: {
|
|
11313
|
-
Args: {
|
|
11314
|
-
p_agent_id: string;
|
|
11315
|
-
p_control_signal?: string;
|
|
11316
|
-
p_execution_error?: string;
|
|
11317
|
-
p_execution_metadata?: Json;
|
|
11318
|
-
p_pending_step_status?: string;
|
|
11319
|
-
p_running_step_status?: string;
|
|
11320
|
-
p_step_error?: string;
|
|
11321
|
-
p_step_result?: Json;
|
|
11322
|
-
p_step_uncertainty_reason?: string;
|
|
11323
|
-
};
|
|
11324
|
-
Returns: {
|
|
11325
|
-
applied_step_status: string;
|
|
11326
|
-
execution_id: string;
|
|
11327
|
-
previous_execution_status: string;
|
|
11328
|
-
run_id: string;
|
|
11329
|
-
run_step_id: string;
|
|
11330
|
-
}[];
|
|
11331
|
-
};
|
|
11332
|
-
interrupt_tool_invocations: {
|
|
11333
|
-
Args: {
|
|
11334
|
-
p_agent_id: string;
|
|
11335
|
-
p_invocation_metadata?: Json;
|
|
11336
|
-
p_system_error?: string;
|
|
11337
|
-
};
|
|
11338
|
-
Returns: {
|
|
11339
|
-
applied_status: string;
|
|
11340
|
-
previous_status: string;
|
|
11341
|
-
tool_invocation_id: string;
|
|
11342
|
-
}[];
|
|
11343
|
-
};
|
|
11344
10804
|
invite_team_member: {
|
|
11345
10805
|
Args: {
|
|
11346
10806
|
p_email: string;
|
|
@@ -11356,13 +10816,6 @@ export type Database = {
|
|
|
11356
10816
|
};
|
|
11357
10817
|
Returns: boolean;
|
|
11358
10818
|
};
|
|
11359
|
-
is_current_linux_host_runtime: {
|
|
11360
|
-
Args: {
|
|
11361
|
-
p_attempt_generation: number;
|
|
11362
|
-
p_host_id: string;
|
|
11363
|
-
};
|
|
11364
|
-
Returns: boolean;
|
|
11365
|
-
};
|
|
11366
10819
|
is_dev_access_allowed: {
|
|
11367
10820
|
Args: never;
|
|
11368
10821
|
Returns: boolean;
|
|
@@ -12085,6 +11538,7 @@ export type Database = {
|
|
|
12085
11538
|
p_host_id?: string;
|
|
12086
11539
|
p_metadata?: Json;
|
|
12087
11540
|
p_team_id: string;
|
|
11541
|
+
p_vm_id?: string;
|
|
12088
11542
|
};
|
|
12089
11543
|
Returns: {
|
|
12090
11544
|
agent_id: string | null;
|
|
@@ -12097,6 +11551,7 @@ export type Database = {
|
|
|
12097
11551
|
status: string;
|
|
12098
11552
|
team_id: string;
|
|
12099
11553
|
updated_at: string;
|
|
11554
|
+
vm_id: string | null;
|
|
12100
11555
|
};
|
|
12101
11556
|
SetofOptions: {
|
|
12102
11557
|
from: "*";
|
|
@@ -12230,19 +11685,6 @@ export type Database = {
|
|
|
12230
11685
|
isSetofReturn: false;
|
|
12231
11686
|
};
|
|
12232
11687
|
};
|
|
12233
|
-
request_linux_host_runtime_intent: {
|
|
12234
|
-
Args: {
|
|
12235
|
-
p_agent_id: string;
|
|
12236
|
-
p_allocation_state?: string;
|
|
12237
|
-
p_desired_power_state?: string;
|
|
12238
|
-
p_priority?: number;
|
|
12239
|
-
p_queue_name?: string;
|
|
12240
|
-
p_reason?: string;
|
|
12241
|
-
p_request_payload?: Json;
|
|
12242
|
-
p_requested_by?: string;
|
|
12243
|
-
};
|
|
12244
|
-
Returns: Json;
|
|
12245
|
-
};
|
|
12246
11688
|
request_vm_operation: {
|
|
12247
11689
|
Args: {
|
|
12248
11690
|
p_idempotency_key?: string;
|
|
@@ -12612,52 +12054,6 @@ export type Database = {
|
|
|
12612
12054
|
};
|
|
12613
12055
|
Returns: boolean;
|
|
12614
12056
|
};
|
|
12615
|
-
start_linux_agent_execution: {
|
|
12616
|
-
Args: {
|
|
12617
|
-
p_claim_token: string;
|
|
12618
|
-
p_claimed_by: string;
|
|
12619
|
-
p_execution_id: string;
|
|
12620
|
-
};
|
|
12621
|
-
Returns: {
|
|
12622
|
-
agent_id: string;
|
|
12623
|
-
claim_token: string | null;
|
|
12624
|
-
claimed_by: string | null;
|
|
12625
|
-
command: string;
|
|
12626
|
-
completed_at: string | null;
|
|
12627
|
-
control_signal: string | null;
|
|
12628
|
-
created_at: string;
|
|
12629
|
-
cycle_id: string | null;
|
|
12630
|
-
dispatched_at: string | null;
|
|
12631
|
-
duration_ms: number | null;
|
|
12632
|
-
error: string | null;
|
|
12633
|
-
exit_code: number | null;
|
|
12634
|
-
host_attempt_generation: number | null;
|
|
12635
|
-
host_id: string | null;
|
|
12636
|
-
id: string;
|
|
12637
|
-
metadata: Json;
|
|
12638
|
-
requested_at: string;
|
|
12639
|
-
run_id: string | null;
|
|
12640
|
-
run_step_id: string | null;
|
|
12641
|
-
started_at: string | null;
|
|
12642
|
-
status: string;
|
|
12643
|
-
stderr: string | null;
|
|
12644
|
-
stderr_bytes: number;
|
|
12645
|
-
stderr_overflow_ref: string | null;
|
|
12646
|
-
stderr_preview: string | null;
|
|
12647
|
-
stdout: string | null;
|
|
12648
|
-
stdout_bytes: number;
|
|
12649
|
-
stdout_overflow_ref: string | null;
|
|
12650
|
-
stdout_preview: string | null;
|
|
12651
|
-
updated_at: string;
|
|
12652
|
-
worker_job_id: string | null;
|
|
12653
|
-
};
|
|
12654
|
-
SetofOptions: {
|
|
12655
|
-
from: "*";
|
|
12656
|
-
to: "linux_agent_executions";
|
|
12657
|
-
isOneToOne: true;
|
|
12658
|
-
isSetofReturn: false;
|
|
12659
|
-
};
|
|
12660
|
-
};
|
|
12661
12057
|
switch_team: {
|
|
12662
12058
|
Args: {
|
|
12663
12059
|
p_team_id: string;
|
|
@@ -12994,6 +12390,7 @@ export type Database = {
|
|
|
12994
12390
|
p_mime_type?: string;
|
|
12995
12391
|
p_path: string;
|
|
12996
12392
|
p_size_bytes: number;
|
|
12393
|
+
p_source_operation?: string;
|
|
12997
12394
|
p_source_operation_id?: string;
|
|
12998
12395
|
p_source_type?: string;
|
|
12999
12396
|
p_storage_key: string;
|
|
@@ -13028,8 +12425,10 @@ export type Database = {
|
|
|
13028
12425
|
p_drive_id: string;
|
|
13029
12426
|
p_expected_version_id?: string;
|
|
13030
12427
|
p_mime_type?: string;
|
|
12428
|
+
p_operation_metadata?: Json;
|
|
13031
12429
|
p_path: string;
|
|
13032
12430
|
p_size_bytes: number;
|
|
12431
|
+
p_source_operation?: string;
|
|
13033
12432
|
p_source_operation_id?: string;
|
|
13034
12433
|
p_storage_key: string;
|
|
13035
12434
|
p_version_id: string;
|