@panorama-ai/gateway 2.31.9 → 2.31.40
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/database.types.d.ts
CHANGED
|
@@ -369,18 +369,12 @@ export type Database = {
|
|
|
369
369
|
id: string;
|
|
370
370
|
job_id: string;
|
|
371
371
|
last_error: string | null;
|
|
372
|
-
lease_acquired_at: string | null;
|
|
373
|
-
lease_expires_at: string | null;
|
|
374
|
-
lease_heartbeat_at: string | null;
|
|
375
|
-
lease_owner: string | null;
|
|
376
372
|
logs: Json;
|
|
377
373
|
next_tool_index: number;
|
|
378
374
|
pending_tool_calls: Json;
|
|
379
|
-
phase_generation: number;
|
|
380
375
|
planned_at: string | null;
|
|
381
376
|
progress_log_id: string | null;
|
|
382
377
|
soft_pacing_delay_seconds: number;
|
|
383
|
-
started_wake_generation: number | null;
|
|
384
378
|
state: string;
|
|
385
379
|
team_id: string;
|
|
386
380
|
tool_calls: Json;
|
|
@@ -402,18 +396,12 @@ export type Database = {
|
|
|
402
396
|
id?: string;
|
|
403
397
|
job_id: string;
|
|
404
398
|
last_error?: string | null;
|
|
405
|
-
lease_acquired_at?: string | null;
|
|
406
|
-
lease_expires_at?: string | null;
|
|
407
|
-
lease_heartbeat_at?: string | null;
|
|
408
|
-
lease_owner?: string | null;
|
|
409
399
|
logs?: Json;
|
|
410
400
|
next_tool_index?: number;
|
|
411
401
|
pending_tool_calls?: Json;
|
|
412
|
-
phase_generation?: number;
|
|
413
402
|
planned_at?: string | null;
|
|
414
403
|
progress_log_id?: string | null;
|
|
415
404
|
soft_pacing_delay_seconds?: number;
|
|
416
|
-
started_wake_generation?: number | null;
|
|
417
405
|
state?: string;
|
|
418
406
|
team_id: string;
|
|
419
407
|
tool_calls?: Json;
|
|
@@ -435,18 +423,12 @@ export type Database = {
|
|
|
435
423
|
id?: string;
|
|
436
424
|
job_id?: string;
|
|
437
425
|
last_error?: string | null;
|
|
438
|
-
lease_acquired_at?: string | null;
|
|
439
|
-
lease_expires_at?: string | null;
|
|
440
|
-
lease_heartbeat_at?: string | null;
|
|
441
|
-
lease_owner?: string | null;
|
|
442
426
|
logs?: Json;
|
|
443
427
|
next_tool_index?: number;
|
|
444
428
|
pending_tool_calls?: Json;
|
|
445
|
-
phase_generation?: number;
|
|
446
429
|
planned_at?: string | null;
|
|
447
430
|
progress_log_id?: string | null;
|
|
448
431
|
soft_pacing_delay_seconds?: number;
|
|
449
|
-
started_wake_generation?: number | null;
|
|
450
432
|
state?: string;
|
|
451
433
|
team_id?: string;
|
|
452
434
|
tool_calls?: Json;
|
|
@@ -1041,11 +1023,9 @@ export type Database = {
|
|
|
1041
1023
|
pause_reason: string | null;
|
|
1042
1024
|
scheduled_resume_at: string | null;
|
|
1043
1025
|
scheduled_resume_source_run_id: string | null;
|
|
1044
|
-
scheduled_resume_wake_generation: number | null;
|
|
1045
1026
|
system_template_slug: string | null;
|
|
1046
1027
|
team_id: string;
|
|
1047
1028
|
updated_at: string | null;
|
|
1048
|
-
wake_generation: number;
|
|
1049
1029
|
};
|
|
1050
1030
|
Insert: {
|
|
1051
1031
|
agent_state?: string;
|
|
@@ -1063,11 +1043,9 @@ export type Database = {
|
|
|
1063
1043
|
pause_reason?: string | null;
|
|
1064
1044
|
scheduled_resume_at?: string | null;
|
|
1065
1045
|
scheduled_resume_source_run_id?: string | null;
|
|
1066
|
-
scheduled_resume_wake_generation?: number | null;
|
|
1067
1046
|
system_template_slug?: string | null;
|
|
1068
1047
|
team_id: string;
|
|
1069
1048
|
updated_at?: string | null;
|
|
1070
|
-
wake_generation?: number;
|
|
1071
1049
|
};
|
|
1072
1050
|
Update: {
|
|
1073
1051
|
agent_state?: string;
|
|
@@ -1085,11 +1063,9 @@ export type Database = {
|
|
|
1085
1063
|
pause_reason?: string | null;
|
|
1086
1064
|
scheduled_resume_at?: string | null;
|
|
1087
1065
|
scheduled_resume_source_run_id?: string | null;
|
|
1088
|
-
scheduled_resume_wake_generation?: number | null;
|
|
1089
1066
|
system_template_slug?: string | null;
|
|
1090
1067
|
team_id?: string;
|
|
1091
1068
|
updated_at?: string | null;
|
|
1092
|
-
wake_generation?: number;
|
|
1093
1069
|
};
|
|
1094
1070
|
Relationships: [
|
|
1095
1071
|
{
|
|
@@ -6158,6 +6134,7 @@ export type Database = {
|
|
|
6158
6134
|
created_at: string;
|
|
6159
6135
|
cycle_id: string | null;
|
|
6160
6136
|
id: string;
|
|
6137
|
+
idempotency_key: string | null;
|
|
6161
6138
|
parameters: Json;
|
|
6162
6139
|
parent_tool_call_id: string | null;
|
|
6163
6140
|
resolved_tool_name: string | null;
|
|
@@ -6171,6 +6148,7 @@ export type Database = {
|
|
|
6171
6148
|
created_at?: string;
|
|
6172
6149
|
cycle_id?: string | null;
|
|
6173
6150
|
id?: string;
|
|
6151
|
+
idempotency_key?: string | null;
|
|
6174
6152
|
parameters: Json;
|
|
6175
6153
|
parent_tool_call_id?: string | null;
|
|
6176
6154
|
resolved_tool_name?: string | null;
|
|
@@ -6184,6 +6162,7 @@ export type Database = {
|
|
|
6184
6162
|
created_at?: string;
|
|
6185
6163
|
cycle_id?: string | null;
|
|
6186
6164
|
id?: string;
|
|
6165
|
+
idempotency_key?: string | null;
|
|
6187
6166
|
parameters?: Json;
|
|
6188
6167
|
parent_tool_call_id?: string | null;
|
|
6189
6168
|
resolved_tool_name?: string | null;
|
|
@@ -7426,7 +7405,6 @@ export type Database = {
|
|
|
7426
7405
|
rpm_last_updated_at: string | null;
|
|
7427
7406
|
scheduled_resume_at: string | null;
|
|
7428
7407
|
scheduled_resume_source_run_id: string | null;
|
|
7429
|
-
scheduled_resume_wake_generation: number | null;
|
|
7430
7408
|
search_provider_fallbacks: Json | null;
|
|
7431
7409
|
search_provider_id: string | null;
|
|
7432
7410
|
summary_chunk_chars: number | null;
|
|
@@ -7434,7 +7412,6 @@ export type Database = {
|
|
|
7434
7412
|
system_template_slug: string | null;
|
|
7435
7413
|
team_id: string | null;
|
|
7436
7414
|
updated_at: string | null;
|
|
7437
|
-
wake_generation: number | null;
|
|
7438
7415
|
web_read_content_provider_fallbacks: Json | null;
|
|
7439
7416
|
web_read_content_provider_id: string | null;
|
|
7440
7417
|
web_read_html_provider_fallbacks: Json | null;
|
|
@@ -8188,6 +8165,12 @@ export type Database = {
|
|
|
8188
8165
|
p_payload?: Json;
|
|
8189
8166
|
};
|
|
8190
8167
|
Returns: Json;
|
|
8168
|
+
} | {
|
|
8169
|
+
Args: {
|
|
8170
|
+
p_identifier: string;
|
|
8171
|
+
p_payload: Json;
|
|
8172
|
+
};
|
|
8173
|
+
Returns: Json;
|
|
8191
8174
|
};
|
|
8192
8175
|
agent_can_access_conversation: {
|
|
8193
8176
|
Args: {
|
|
@@ -8514,23 +8497,6 @@ export type Database = {
|
|
|
8514
8497
|
wake_generation: number;
|
|
8515
8498
|
}[];
|
|
8516
8499
|
};
|
|
8517
|
-
claim_due_agent_resume_with_planner: {
|
|
8518
|
-
Args: {
|
|
8519
|
-
p_agent_id: string;
|
|
8520
|
-
p_flags?: Json;
|
|
8521
|
-
p_max_attempts?: number;
|
|
8522
|
-
p_priority?: number;
|
|
8523
|
-
p_triggered_by?: string;
|
|
8524
|
-
};
|
|
8525
|
-
Returns: {
|
|
8526
|
-
claimed: boolean;
|
|
8527
|
-
enqueue_accepted: boolean;
|
|
8528
|
-
enqueue_created: boolean;
|
|
8529
|
-
job_id: number;
|
|
8530
|
-
reason: string;
|
|
8531
|
-
wake_generation: number;
|
|
8532
|
-
}[];
|
|
8533
|
-
};
|
|
8534
8500
|
claim_model_cache_entry_creation: {
|
|
8535
8501
|
Args: {
|
|
8536
8502
|
p_agent_id: string;
|
|
@@ -9318,6 +9284,23 @@ export type Database = {
|
|
|
9318
9284
|
};
|
|
9319
9285
|
Returns: string[];
|
|
9320
9286
|
};
|
|
9287
|
+
emit_agent_stop_request: {
|
|
9288
|
+
Args: {
|
|
9289
|
+
p_agent_id: string;
|
|
9290
|
+
};
|
|
9291
|
+
Returns: string;
|
|
9292
|
+
};
|
|
9293
|
+
emit_agent_wake_request: {
|
|
9294
|
+
Args: {
|
|
9295
|
+
p_agent_id: string;
|
|
9296
|
+
p_flags?: Json;
|
|
9297
|
+
p_run_at?: string;
|
|
9298
|
+
p_trigger_type: string;
|
|
9299
|
+
p_triggered_by: string;
|
|
9300
|
+
p_wake_behavior?: string;
|
|
9301
|
+
};
|
|
9302
|
+
Returns: string;
|
|
9303
|
+
};
|
|
9321
9304
|
emit_drive_change_batch_resource_event: {
|
|
9322
9305
|
Args: {
|
|
9323
9306
|
p_batch_id: string;
|
|
@@ -9400,6 +9383,15 @@ export type Database = {
|
|
|
9400
9383
|
};
|
|
9401
9384
|
Returns: undefined;
|
|
9402
9385
|
};
|
|
9386
|
+
emit_vm_operation_request: {
|
|
9387
|
+
Args: {
|
|
9388
|
+
p_operation_id: string;
|
|
9389
|
+
p_operation_type: string;
|
|
9390
|
+
p_status?: string;
|
|
9391
|
+
p_vm_id: string;
|
|
9392
|
+
};
|
|
9393
|
+
Returns: undefined;
|
|
9394
|
+
};
|
|
9403
9395
|
encrypt_api_key: {
|
|
9404
9396
|
Args: {
|
|
9405
9397
|
p_team_id: string;
|
|
@@ -10396,7 +10388,6 @@ export type Database = {
|
|
|
10396
10388
|
rpm_last_updated_at: string | null;
|
|
10397
10389
|
scheduled_resume_at: string | null;
|
|
10398
10390
|
scheduled_resume_source_run_id: string | null;
|
|
10399
|
-
scheduled_resume_wake_generation: number | null;
|
|
10400
10391
|
search_provider_fallbacks: Json | null;
|
|
10401
10392
|
search_provider_id: string | null;
|
|
10402
10393
|
summary_chunk_chars: number | null;
|
|
@@ -10404,7 +10395,6 @@ export type Database = {
|
|
|
10404
10395
|
system_template_slug: string | null;
|
|
10405
10396
|
team_id: string | null;
|
|
10406
10397
|
updated_at: string | null;
|
|
10407
|
-
wake_generation: number | null;
|
|
10408
10398
|
web_read_content_provider_fallbacks: Json | null;
|
|
10409
10399
|
web_read_content_provider_id: string | null;
|
|
10410
10400
|
web_read_html_provider_fallbacks: Json | null;
|
|
@@ -11401,13 +11391,11 @@ export type Database = {
|
|
|
11401
11391
|
Args: {
|
|
11402
11392
|
p_agent_id: string;
|
|
11403
11393
|
p_pause_reason?: string;
|
|
11404
|
-
p_started_wake_generation?: number;
|
|
11405
11394
|
};
|
|
11406
11395
|
Returns: {
|
|
11407
11396
|
agent_state: string;
|
|
11408
11397
|
reason: string;
|
|
11409
11398
|
recovered: boolean;
|
|
11410
|
-
wake_generation: number;
|
|
11411
11399
|
}[];
|
|
11412
11400
|
};
|
|
11413
11401
|
recover_external_event_for_retry: {
|
|
@@ -11420,15 +11408,6 @@ export type Database = {
|
|
|
11420
11408
|
};
|
|
11421
11409
|
Returns: Json;
|
|
11422
11410
|
};
|
|
11423
|
-
recover_orphaned_agent_jobs: {
|
|
11424
|
-
Args: never;
|
|
11425
|
-
Returns: {
|
|
11426
|
-
agent_id: string;
|
|
11427
|
-
log_created: boolean;
|
|
11428
|
-
orphan_reason: string;
|
|
11429
|
-
recovered_job_id: number;
|
|
11430
|
-
}[];
|
|
11431
|
-
};
|
|
11432
11411
|
recover_stale_operation_idempotency_record: {
|
|
11433
11412
|
Args: {
|
|
11434
11413
|
p_expected_request_hash?: string;
|
|
@@ -12157,16 +12136,6 @@ export type Database = {
|
|
|
12157
12136
|
};
|
|
12158
12137
|
Returns: Json;
|
|
12159
12138
|
};
|
|
12160
|
-
unlock_stuck_agent_jobs: {
|
|
12161
|
-
Args: never;
|
|
12162
|
-
Returns: {
|
|
12163
|
-
agent_id: string;
|
|
12164
|
-
locked_duration: string;
|
|
12165
|
-
log_created: boolean;
|
|
12166
|
-
stuck_reason: string;
|
|
12167
|
-
unlocked_job_id: number;
|
|
12168
|
-
}[];
|
|
12169
|
-
};
|
|
12170
12139
|
update_agent: {
|
|
12171
12140
|
Args: {
|
|
12172
12141
|
p_agent_id: string;
|