@ai-matrx/chat 0.3.6 → 0.3.11
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/CHANGELOG.md +39 -0
- package/dist/agents/components/context-items/bodies/WebpageBody.js +3 -8
- package/dist/agents/components/inputs/smart-input/InputActionButtons.d.ts +4 -0
- package/dist/agents/components/inputs/smart-input/InputActionButtons.js +16 -9
- package/dist/agents/components/inputs/smart-input/RunControlsMenu.d.ts +2 -0
- package/dist/agents/components/inputs/smart-input/RunControlsMenu.js +2 -0
- package/dist/agents/components/inputs/smart-input/SmartAgentInputStacked.js +1 -1
- package/dist/agents/components/inputs/smart-input/composer/ComposerAgentPill.js +4 -6
- package/dist/agents/components/inputs/smart-input/composer/ComposerMenu.js +16 -2
- package/dist/agents/components/inputs/smart-input/composer/ComposerOutput.js +9 -4
- package/dist/agents/components/inputs/smart-input/composer/ComposerPlusMenu.d.ts +3 -1
- package/dist/agents/components/inputs/smart-input/composer/ComposerPlusMenu.js +2 -2
- package/dist/agents/components/inputs/smart-input/composer/composer-types.d.ts +5 -0
- package/dist/agents/components/inputs/variable-input-variations/AgentVariableCards.js +1 -1
- package/dist/agents/components/live-run/LiveRunDisplay.d.ts +7 -1
- package/dist/agents/components/live-run/LiveRunDisplay.js +10 -3
- package/dist/agents/components/messages-display/TranscriptIntegrityCopyButton.js +4 -10
- package/dist/agents/components/shared/AgentOptionsMenu.js +2 -2
- package/dist/agents/constants/system-agent-registry.d.ts +0 -3
- package/dist/agents/constants/system-agent-registry.js +0 -3
- package/dist/agents/hooks/useFloatingAgentRun.d.ts +19 -0
- package/dist/agents/hooks/useFloatingAgentRun.js +32 -9
- package/dist/agents/prompt-preview/PromptPreviewContent.js +2 -6
- package/dist/agents/redux/execution-system/message-crud/edit-message.thunk.js +3 -6
- package/dist/agents/redux/execution-system/message-crud/fork-and-resubmit-from-message.thunk.js +1 -1
- package/dist/compute/targets.d.ts +2 -6
- package/dist/context/sources/scopes.d.ts +3 -3
- package/dist/host/db-types.d.ts +350 -168
- package/dist/host/window-openers.d.ts +23 -5
- package/dist/surfaces/manifests/chat.manifest.js +3 -1
- package/dist/ui/mandates-storage/mandateStorage.d.ts +15 -0
- package/dist/ui/mandates-storage/shortcutStorage.d.ts +3 -0
- package/dist/utils/rich-editor/in-place/caret-handoff.js +2 -1
- package/dist/voice-agent/components/VoiceDebugPanel.js +4 -8
- package/dist/voice-agent/relay/VoiceRelayBar.d.ts +7 -1
- package/dist/voice-agent/relay/VoiceRelayBar.js +90 -24
- package/dist/window-panels/windows/agents/LiveRunWindow.d.ts +3 -1
- package/dist/window-panels/windows/agents/LiveRunWindow.js +5 -2
- package/package.json +8 -8
package/dist/host/db-types.d.ts
CHANGED
|
@@ -4466,6 +4466,13 @@ export type ChatDatabase = {
|
|
|
4466
4466
|
isOneToOne: false;
|
|
4467
4467
|
referencedRelation: "canvas_items";
|
|
4468
4468
|
referencedColumns: ["id"];
|
|
4469
|
+
},
|
|
4470
|
+
{
|
|
4471
|
+
foreignKeyName: "canvas_items_version_chain_same_owner";
|
|
4472
|
+
columns: ["user_id", "parent_canvas_id"];
|
|
4473
|
+
isOneToOne: false;
|
|
4474
|
+
referencedRelation: "canvas_items";
|
|
4475
|
+
referencedColumns: ["user_id", "id"];
|
|
4469
4476
|
}
|
|
4470
4477
|
];
|
|
4471
4478
|
};
|
|
@@ -8088,6 +8095,7 @@ export type ChatDatabase = {
|
|
|
8088
8095
|
has_nested_objects: boolean;
|
|
8089
8096
|
id: string;
|
|
8090
8097
|
is_current: boolean;
|
|
8098
|
+
metadata: Json;
|
|
8091
8099
|
organization_id: string;
|
|
8092
8100
|
scope_id: string;
|
|
8093
8101
|
source_type: Database["public"]["Enums"]["context_source_type"];
|
|
@@ -8115,6 +8123,7 @@ export type ChatDatabase = {
|
|
|
8115
8123
|
has_nested_objects?: boolean;
|
|
8116
8124
|
id?: string;
|
|
8117
8125
|
is_current?: boolean;
|
|
8126
|
+
metadata?: Json;
|
|
8118
8127
|
organization_id: string;
|
|
8119
8128
|
scope_id: string;
|
|
8120
8129
|
source_type?: Database["public"]["Enums"]["context_source_type"];
|
|
@@ -8142,6 +8151,7 @@ export type ChatDatabase = {
|
|
|
8142
8151
|
has_nested_objects?: boolean;
|
|
8143
8152
|
id?: string;
|
|
8144
8153
|
is_current?: boolean;
|
|
8154
|
+
metadata?: Json;
|
|
8145
8155
|
organization_id?: string;
|
|
8146
8156
|
scope_id?: string;
|
|
8147
8157
|
source_type?: Database["public"]["Enums"]["context_source_type"];
|
|
@@ -12267,6 +12277,107 @@ export type ChatDatabase = {
|
|
|
12267
12277
|
}
|
|
12268
12278
|
];
|
|
12269
12279
|
};
|
|
12280
|
+
account_closure: {
|
|
12281
|
+
Row: {
|
|
12282
|
+
closed_at: string;
|
|
12283
|
+
created_at: string;
|
|
12284
|
+
created_by: string | null;
|
|
12285
|
+
deleted_at: string | null;
|
|
12286
|
+
erased_at: string | null;
|
|
12287
|
+
id: string;
|
|
12288
|
+
metadata: Json;
|
|
12289
|
+
organization_id: string;
|
|
12290
|
+
published_to_web: boolean;
|
|
12291
|
+
published_to_web_at: string | null;
|
|
12292
|
+
published_to_web_by: string | null;
|
|
12293
|
+
reason: string | null;
|
|
12294
|
+
reopened_at: string | null;
|
|
12295
|
+
request_ref: string | null;
|
|
12296
|
+
revoked: Json;
|
|
12297
|
+
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
12298
|
+
updated_at: string;
|
|
12299
|
+
updated_by: string | null;
|
|
12300
|
+
user_id: string;
|
|
12301
|
+
version: number;
|
|
12302
|
+
visibility: Database["platform"]["Enums"]["visibility"];
|
|
12303
|
+
};
|
|
12304
|
+
Insert: {
|
|
12305
|
+
closed_at?: string;
|
|
12306
|
+
created_at?: string;
|
|
12307
|
+
created_by?: string | null;
|
|
12308
|
+
deleted_at?: string | null;
|
|
12309
|
+
erased_at?: string | null;
|
|
12310
|
+
id?: string;
|
|
12311
|
+
metadata?: Json;
|
|
12312
|
+
organization_id: string;
|
|
12313
|
+
published_to_web?: boolean;
|
|
12314
|
+
published_to_web_at?: string | null;
|
|
12315
|
+
published_to_web_by?: string | null;
|
|
12316
|
+
reason?: string | null;
|
|
12317
|
+
reopened_at?: string | null;
|
|
12318
|
+
request_ref?: string | null;
|
|
12319
|
+
revoked?: Json;
|
|
12320
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
12321
|
+
updated_at?: string;
|
|
12322
|
+
updated_by?: string | null;
|
|
12323
|
+
user_id: string;
|
|
12324
|
+
version?: number;
|
|
12325
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
12326
|
+
};
|
|
12327
|
+
Update: {
|
|
12328
|
+
closed_at?: string;
|
|
12329
|
+
created_at?: string;
|
|
12330
|
+
created_by?: string | null;
|
|
12331
|
+
deleted_at?: string | null;
|
|
12332
|
+
erased_at?: string | null;
|
|
12333
|
+
id?: string;
|
|
12334
|
+
metadata?: Json;
|
|
12335
|
+
organization_id?: string;
|
|
12336
|
+
published_to_web?: boolean;
|
|
12337
|
+
published_to_web_at?: string | null;
|
|
12338
|
+
published_to_web_by?: string | null;
|
|
12339
|
+
reason?: string | null;
|
|
12340
|
+
reopened_at?: string | null;
|
|
12341
|
+
request_ref?: string | null;
|
|
12342
|
+
revoked?: Json;
|
|
12343
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
12344
|
+
updated_at?: string;
|
|
12345
|
+
updated_by?: string | null;
|
|
12346
|
+
user_id?: string;
|
|
12347
|
+
version?: number;
|
|
12348
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
12349
|
+
};
|
|
12350
|
+
Relationships: [
|
|
12351
|
+
{
|
|
12352
|
+
foreignKeyName: "account_closure_created_by_fkey";
|
|
12353
|
+
columns: ["created_by"];
|
|
12354
|
+
isOneToOne: false;
|
|
12355
|
+
referencedRelation: "users";
|
|
12356
|
+
referencedColumns: ["id"];
|
|
12357
|
+
},
|
|
12358
|
+
{
|
|
12359
|
+
foreignKeyName: "account_closure_organization_id_fkey";
|
|
12360
|
+
columns: ["organization_id"];
|
|
12361
|
+
isOneToOne: false;
|
|
12362
|
+
referencedRelation: "organizations";
|
|
12363
|
+
referencedColumns: ["id"];
|
|
12364
|
+
},
|
|
12365
|
+
{
|
|
12366
|
+
foreignKeyName: "account_closure_updated_by_fkey";
|
|
12367
|
+
columns: ["updated_by"];
|
|
12368
|
+
isOneToOne: false;
|
|
12369
|
+
referencedRelation: "users";
|
|
12370
|
+
referencedColumns: ["id"];
|
|
12371
|
+
},
|
|
12372
|
+
{
|
|
12373
|
+
foreignKeyName: "account_closure_user_id_fkey";
|
|
12374
|
+
columns: ["user_id"];
|
|
12375
|
+
isOneToOne: false;
|
|
12376
|
+
referencedRelation: "users";
|
|
12377
|
+
referencedColumns: ["id"];
|
|
12378
|
+
}
|
|
12379
|
+
];
|
|
12380
|
+
};
|
|
12270
12381
|
api_keys: {
|
|
12271
12382
|
Row: {
|
|
12272
12383
|
created_at: string;
|
|
@@ -12921,14 +13032,14 @@ export type ChatDatabase = {
|
|
|
12921
13032
|
};
|
|
12922
13033
|
Relationships: [
|
|
12923
13034
|
{
|
|
12924
|
-
foreignKeyName: "
|
|
13035
|
+
foreignKeyName: "memberships_created_by_fkey";
|
|
12925
13036
|
columns: ["created_by"];
|
|
12926
13037
|
isOneToOne: false;
|
|
12927
13038
|
referencedRelation: "users";
|
|
12928
13039
|
referencedColumns: ["id"];
|
|
12929
13040
|
},
|
|
12930
13041
|
{
|
|
12931
|
-
foreignKeyName: "
|
|
13042
|
+
foreignKeyName: "memberships_invited_by_fkey";
|
|
12932
13043
|
columns: ["invited_by"];
|
|
12933
13044
|
isOneToOne: false;
|
|
12934
13045
|
referencedRelation: "users";
|
|
@@ -12942,14 +13053,14 @@ export type ChatDatabase = {
|
|
|
12942
13053
|
referencedColumns: ["id"];
|
|
12943
13054
|
},
|
|
12944
13055
|
{
|
|
12945
|
-
foreignKeyName: "
|
|
13056
|
+
foreignKeyName: "memberships_updated_by_fkey";
|
|
12946
13057
|
columns: ["updated_by"];
|
|
12947
13058
|
isOneToOne: false;
|
|
12948
13059
|
referencedRelation: "users";
|
|
12949
13060
|
referencedColumns: ["id"];
|
|
12950
13061
|
},
|
|
12951
13062
|
{
|
|
12952
|
-
foreignKeyName: "
|
|
13063
|
+
foreignKeyName: "memberships_user_id_fkey";
|
|
12953
13064
|
columns: ["user_id"];
|
|
12954
13065
|
isOneToOne: false;
|
|
12955
13066
|
referencedRelation: "users";
|
|
@@ -13266,14 +13377,14 @@ export type ChatDatabase = {
|
|
|
13266
13377
|
};
|
|
13267
13378
|
Relationships: [
|
|
13268
13379
|
{
|
|
13269
|
-
foreignKeyName: "
|
|
13380
|
+
foreignKeyName: "organizations_created_by_fkey";
|
|
13270
13381
|
columns: ["created_by"];
|
|
13271
13382
|
isOneToOne: false;
|
|
13272
13383
|
referencedRelation: "users";
|
|
13273
13384
|
referencedColumns: ["id"];
|
|
13274
13385
|
},
|
|
13275
13386
|
{
|
|
13276
|
-
foreignKeyName: "
|
|
13387
|
+
foreignKeyName: "organizations_updated_by_fkey";
|
|
13277
13388
|
columns: ["updated_by"];
|
|
13278
13389
|
isOneToOne: false;
|
|
13279
13390
|
referencedRelation: "users";
|
|
@@ -13342,21 +13453,21 @@ export type ChatDatabase = {
|
|
|
13342
13453
|
referencedColumns: ["id"];
|
|
13343
13454
|
},
|
|
13344
13455
|
{
|
|
13345
|
-
foreignKeyName: "
|
|
13456
|
+
foreignKeyName: "permissions_created_by_fkey";
|
|
13346
13457
|
columns: ["created_by"];
|
|
13347
13458
|
isOneToOne: false;
|
|
13348
13459
|
referencedRelation: "users";
|
|
13349
13460
|
referencedColumns: ["id"];
|
|
13350
13461
|
},
|
|
13351
13462
|
{
|
|
13352
|
-
foreignKeyName: "
|
|
13463
|
+
foreignKeyName: "permissions_granted_to_user_id_fkey";
|
|
13353
13464
|
columns: ["granted_to_user_id"];
|
|
13354
13465
|
isOneToOne: false;
|
|
13355
13466
|
referencedRelation: "users";
|
|
13356
13467
|
referencedColumns: ["id"];
|
|
13357
13468
|
},
|
|
13358
13469
|
{
|
|
13359
|
-
foreignKeyName: "
|
|
13470
|
+
foreignKeyName: "permissions_reviewed_by_fkey";
|
|
13360
13471
|
columns: ["reviewed_by"];
|
|
13361
13472
|
isOneToOne: false;
|
|
13362
13473
|
referencedRelation: "users";
|
|
@@ -13364,6 +13475,103 @@ export type ChatDatabase = {
|
|
|
13364
13475
|
}
|
|
13365
13476
|
];
|
|
13366
13477
|
};
|
|
13478
|
+
personal_data_column: {
|
|
13479
|
+
Row: {
|
|
13480
|
+
column_name: string;
|
|
13481
|
+
created_at: string;
|
|
13482
|
+
created_by: string | null;
|
|
13483
|
+
handling: string;
|
|
13484
|
+
id: string;
|
|
13485
|
+
metadata: Json;
|
|
13486
|
+
organization_id: string;
|
|
13487
|
+
published_to_web: boolean;
|
|
13488
|
+
published_to_web_at: string | null;
|
|
13489
|
+
published_to_web_by: string | null;
|
|
13490
|
+
reason: string;
|
|
13491
|
+
replacement: string | null;
|
|
13492
|
+
schema_name: string;
|
|
13493
|
+
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
13494
|
+
subject_column: string | null;
|
|
13495
|
+
subject_filter: string | null;
|
|
13496
|
+
subject_match: string;
|
|
13497
|
+
table_name: string;
|
|
13498
|
+
updated_at: string;
|
|
13499
|
+
updated_by: string | null;
|
|
13500
|
+
version: number;
|
|
13501
|
+
visibility: Database["platform"]["Enums"]["visibility"];
|
|
13502
|
+
};
|
|
13503
|
+
Insert: {
|
|
13504
|
+
column_name: string;
|
|
13505
|
+
created_at?: string;
|
|
13506
|
+
created_by?: string | null;
|
|
13507
|
+
handling: string;
|
|
13508
|
+
id?: string;
|
|
13509
|
+
metadata?: Json;
|
|
13510
|
+
organization_id: string;
|
|
13511
|
+
published_to_web?: boolean;
|
|
13512
|
+
published_to_web_at?: string | null;
|
|
13513
|
+
published_to_web_by?: string | null;
|
|
13514
|
+
reason: string;
|
|
13515
|
+
replacement?: string | null;
|
|
13516
|
+
schema_name: string;
|
|
13517
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
13518
|
+
subject_column?: string | null;
|
|
13519
|
+
subject_filter?: string | null;
|
|
13520
|
+
subject_match?: string;
|
|
13521
|
+
table_name: string;
|
|
13522
|
+
updated_at?: string;
|
|
13523
|
+
updated_by?: string | null;
|
|
13524
|
+
version?: number;
|
|
13525
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
13526
|
+
};
|
|
13527
|
+
Update: {
|
|
13528
|
+
column_name?: string;
|
|
13529
|
+
created_at?: string;
|
|
13530
|
+
created_by?: string | null;
|
|
13531
|
+
handling?: string;
|
|
13532
|
+
id?: string;
|
|
13533
|
+
metadata?: Json;
|
|
13534
|
+
organization_id?: string;
|
|
13535
|
+
published_to_web?: boolean;
|
|
13536
|
+
published_to_web_at?: string | null;
|
|
13537
|
+
published_to_web_by?: string | null;
|
|
13538
|
+
reason?: string;
|
|
13539
|
+
replacement?: string | null;
|
|
13540
|
+
schema_name?: string;
|
|
13541
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
13542
|
+
subject_column?: string | null;
|
|
13543
|
+
subject_filter?: string | null;
|
|
13544
|
+
subject_match?: string;
|
|
13545
|
+
table_name?: string;
|
|
13546
|
+
updated_at?: string;
|
|
13547
|
+
updated_by?: string | null;
|
|
13548
|
+
version?: number;
|
|
13549
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
13550
|
+
};
|
|
13551
|
+
Relationships: [
|
|
13552
|
+
{
|
|
13553
|
+
foreignKeyName: "personal_data_column_created_by_fkey";
|
|
13554
|
+
columns: ["created_by"];
|
|
13555
|
+
isOneToOne: false;
|
|
13556
|
+
referencedRelation: "users";
|
|
13557
|
+
referencedColumns: ["id"];
|
|
13558
|
+
},
|
|
13559
|
+
{
|
|
13560
|
+
foreignKeyName: "personal_data_column_organization_id_fkey";
|
|
13561
|
+
columns: ["organization_id"];
|
|
13562
|
+
isOneToOne: false;
|
|
13563
|
+
referencedRelation: "organizations";
|
|
13564
|
+
referencedColumns: ["id"];
|
|
13565
|
+
},
|
|
13566
|
+
{
|
|
13567
|
+
foreignKeyName: "personal_data_column_updated_by_fkey";
|
|
13568
|
+
columns: ["updated_by"];
|
|
13569
|
+
isOneToOne: false;
|
|
13570
|
+
referencedRelation: "users";
|
|
13571
|
+
referencedColumns: ["id"];
|
|
13572
|
+
}
|
|
13573
|
+
];
|
|
13574
|
+
};
|
|
13367
13575
|
publish_binding: {
|
|
13368
13576
|
Row: {
|
|
13369
13577
|
bound_at: string;
|
|
@@ -13784,7 +13992,7 @@ export type ChatDatabase = {
|
|
|
13784
13992
|
};
|
|
13785
13993
|
Relationships: [
|
|
13786
13994
|
{
|
|
13787
|
-
foreignKeyName: "
|
|
13995
|
+
foreignKeyName: "memberships_invited_by_fkey";
|
|
13788
13996
|
columns: ["invited_by"];
|
|
13789
13997
|
isOneToOne: false;
|
|
13790
13998
|
referencedRelation: "users";
|
|
@@ -13798,7 +14006,7 @@ export type ChatDatabase = {
|
|
|
13798
14006
|
referencedColumns: ["id"];
|
|
13799
14007
|
},
|
|
13800
14008
|
{
|
|
13801
|
-
foreignKeyName: "
|
|
14009
|
+
foreignKeyName: "memberships_user_id_fkey";
|
|
13802
14010
|
columns: ["user_id"];
|
|
13803
14011
|
isOneToOne: false;
|
|
13804
14012
|
referencedRelation: "users";
|
|
@@ -14294,6 +14502,12 @@ export type ChatDatabase = {
|
|
|
14294
14502
|
Args: never;
|
|
14295
14503
|
Returns: string[];
|
|
14296
14504
|
};
|
|
14505
|
+
arm_fixture_delete: {
|
|
14506
|
+
Args: {
|
|
14507
|
+
p_ids: string[];
|
|
14508
|
+
};
|
|
14509
|
+
Returns: number;
|
|
14510
|
+
};
|
|
14297
14511
|
asks_about_caller: {
|
|
14298
14512
|
Args: {
|
|
14299
14513
|
p_function?: string;
|
|
@@ -14475,6 +14689,13 @@ export type ChatDatabase = {
|
|
|
14475
14689
|
};
|
|
14476
14690
|
Returns: boolean;
|
|
14477
14691
|
};
|
|
14692
|
+
close_account: {
|
|
14693
|
+
Args: {
|
|
14694
|
+
p_reason?: string;
|
|
14695
|
+
p_user?: string;
|
|
14696
|
+
};
|
|
14697
|
+
Returns: Json;
|
|
14698
|
+
};
|
|
14478
14699
|
component_original_lane: {
|
|
14479
14700
|
Args: {
|
|
14480
14701
|
p_schema: string;
|
|
@@ -14672,6 +14893,13 @@ export type ChatDatabase = {
|
|
|
14672
14893
|
user_id: string;
|
|
14673
14894
|
}[];
|
|
14674
14895
|
};
|
|
14896
|
+
erase_account: {
|
|
14897
|
+
Args: {
|
|
14898
|
+
p_request_ref: string;
|
|
14899
|
+
p_user: string;
|
|
14900
|
+
};
|
|
14901
|
+
Returns: Json;
|
|
14902
|
+
};
|
|
14675
14903
|
external_principal_card: {
|
|
14676
14904
|
Args: {
|
|
14677
14905
|
p_user_id?: string;
|
|
@@ -15246,6 +15474,14 @@ export type ChatDatabase = {
|
|
|
15246
15474
|
why: string;
|
|
15247
15475
|
}[];
|
|
15248
15476
|
};
|
|
15477
|
+
personal_data_unregistered: {
|
|
15478
|
+
Args: never;
|
|
15479
|
+
Returns: {
|
|
15480
|
+
column_name: string;
|
|
15481
|
+
schema_name: string;
|
|
15482
|
+
table_name: string;
|
|
15483
|
+
}[];
|
|
15484
|
+
};
|
|
15249
15485
|
personal_opens_row: {
|
|
15250
15486
|
Args: {
|
|
15251
15487
|
p_id: string;
|
|
@@ -15492,6 +15728,13 @@ export type ChatDatabase = {
|
|
|
15492
15728
|
};
|
|
15493
15729
|
Returns: Json;
|
|
15494
15730
|
};
|
|
15731
|
+
reopen_account: {
|
|
15732
|
+
Args: {
|
|
15733
|
+
p_reason?: string;
|
|
15734
|
+
p_user: string;
|
|
15735
|
+
};
|
|
15736
|
+
Returns: Json;
|
|
15737
|
+
};
|
|
15495
15738
|
reserved_namespace: {
|
|
15496
15739
|
Args: never;
|
|
15497
15740
|
Returns: {
|
|
@@ -16335,6 +16578,7 @@ export type ChatDatabase = {
|
|
|
16335
16578
|
required_output_keys: string[];
|
|
16336
16579
|
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
16337
16580
|
source_mandate_id: string | null;
|
|
16581
|
+
typed_input_complete: boolean;
|
|
16338
16582
|
updated_at: string;
|
|
16339
16583
|
updated_by: string | null;
|
|
16340
16584
|
version: number;
|
|
@@ -16380,6 +16624,7 @@ export type ChatDatabase = {
|
|
|
16380
16624
|
required_output_keys?: string[];
|
|
16381
16625
|
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
16382
16626
|
source_mandate_id?: string | null;
|
|
16627
|
+
typed_input_complete?: boolean;
|
|
16383
16628
|
updated_at?: string;
|
|
16384
16629
|
updated_by?: string | null;
|
|
16385
16630
|
version?: number;
|
|
@@ -16425,6 +16670,7 @@ export type ChatDatabase = {
|
|
|
16425
16670
|
required_output_keys?: string[];
|
|
16426
16671
|
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
16427
16672
|
source_mandate_id?: string | null;
|
|
16673
|
+
typed_input_complete?: boolean;
|
|
16428
16674
|
updated_at?: string;
|
|
16429
16675
|
updated_by?: string | null;
|
|
16430
16676
|
version?: number;
|
|
@@ -23612,6 +23858,84 @@ export type ChatDatabase = {
|
|
|
23612
23858
|
};
|
|
23613
23859
|
Relationships: [];
|
|
23614
23860
|
};
|
|
23861
|
+
public_compat_wrapper: {
|
|
23862
|
+
Row: {
|
|
23863
|
+
created_at: string;
|
|
23864
|
+
expires_at: string;
|
|
23865
|
+
forwarder_oid: unknown;
|
|
23866
|
+
identity: string;
|
|
23867
|
+
owner_schema: string;
|
|
23868
|
+
};
|
|
23869
|
+
Insert: {
|
|
23870
|
+
created_at?: string;
|
|
23871
|
+
expires_at: string;
|
|
23872
|
+
forwarder_oid?: unknown;
|
|
23873
|
+
identity: string;
|
|
23874
|
+
owner_schema: string;
|
|
23875
|
+
};
|
|
23876
|
+
Update: {
|
|
23877
|
+
created_at?: string;
|
|
23878
|
+
expires_at?: string;
|
|
23879
|
+
forwarder_oid?: unknown;
|
|
23880
|
+
identity?: string;
|
|
23881
|
+
owner_schema?: string;
|
|
23882
|
+
};
|
|
23883
|
+
Relationships: [];
|
|
23884
|
+
};
|
|
23885
|
+
public_placement_baseline: {
|
|
23886
|
+
Row: {
|
|
23887
|
+
identity: string;
|
|
23888
|
+
object_type: string;
|
|
23889
|
+
taken_at: string;
|
|
23890
|
+
};
|
|
23891
|
+
Insert: {
|
|
23892
|
+
identity: string;
|
|
23893
|
+
object_type: string;
|
|
23894
|
+
taken_at?: string;
|
|
23895
|
+
};
|
|
23896
|
+
Update: {
|
|
23897
|
+
identity?: string;
|
|
23898
|
+
object_type?: string;
|
|
23899
|
+
taken_at?: string;
|
|
23900
|
+
};
|
|
23901
|
+
Relationships: [];
|
|
23902
|
+
};
|
|
23903
|
+
public_placement_domain: {
|
|
23904
|
+
Row: {
|
|
23905
|
+
prefix: string;
|
|
23906
|
+
schema_name: string;
|
|
23907
|
+
};
|
|
23908
|
+
Insert: {
|
|
23909
|
+
prefix: string;
|
|
23910
|
+
schema_name: string;
|
|
23911
|
+
};
|
|
23912
|
+
Update: {
|
|
23913
|
+
prefix?: string;
|
|
23914
|
+
schema_name?: string;
|
|
23915
|
+
};
|
|
23916
|
+
Relationships: [];
|
|
23917
|
+
};
|
|
23918
|
+
public_restore_permit: {
|
|
23919
|
+
Row: {
|
|
23920
|
+
approved_by: string;
|
|
23921
|
+
expires_at: string;
|
|
23922
|
+
identity: string;
|
|
23923
|
+
reason: string;
|
|
23924
|
+
};
|
|
23925
|
+
Insert: {
|
|
23926
|
+
approved_by: string;
|
|
23927
|
+
expires_at: string;
|
|
23928
|
+
identity: string;
|
|
23929
|
+
reason: string;
|
|
23930
|
+
};
|
|
23931
|
+
Update: {
|
|
23932
|
+
approved_by?: string;
|
|
23933
|
+
expires_at?: string;
|
|
23934
|
+
identity?: string;
|
|
23935
|
+
reason?: string;
|
|
23936
|
+
};
|
|
23937
|
+
Relationships: [];
|
|
23938
|
+
};
|
|
23615
23939
|
purpose: {
|
|
23616
23940
|
Row: {
|
|
23617
23941
|
created_at: string;
|
|
@@ -32074,13 +32398,6 @@ export type ChatDatabase = {
|
|
|
32074
32398
|
slug: string;
|
|
32075
32399
|
}[];
|
|
32076
32400
|
};
|
|
32077
|
-
_d31_impl_add_data_row_to_user_table: {
|
|
32078
|
-
Args: {
|
|
32079
|
-
p_data: Json;
|
|
32080
|
-
p_table_id: string;
|
|
32081
|
-
};
|
|
32082
|
-
Returns: Json;
|
|
32083
|
-
};
|
|
32084
32401
|
_d31_impl_add_feedback_comment: {
|
|
32085
32402
|
Args: {
|
|
32086
32403
|
p_author_name: string;
|
|
@@ -32157,14 +32474,6 @@ export type ChatDatabase = {
|
|
|
32157
32474
|
isSetofReturn: true;
|
|
32158
32475
|
};
|
|
32159
32476
|
};
|
|
32160
|
-
_d31_impl_get_user_table_complete: {
|
|
32161
|
-
Args: {
|
|
32162
|
-
p_sort_direction?: string;
|
|
32163
|
-
p_sort_field?: string;
|
|
32164
|
-
p_table_id: string;
|
|
32165
|
-
};
|
|
32166
|
-
Returns: Json;
|
|
32167
|
-
};
|
|
32168
32477
|
_d31_impl_reply_to_user_review: {
|
|
32169
32478
|
Args: {
|
|
32170
32479
|
p_feedback_id: string;
|
|
@@ -32183,36 +32492,6 @@ export type ChatDatabase = {
|
|
|
32183
32492
|
};
|
|
32184
32493
|
Returns: Json;
|
|
32185
32494
|
};
|
|
32186
|
-
_d31_impl_update_user_list: {
|
|
32187
|
-
Args: {
|
|
32188
|
-
p_authenticated_read?: boolean;
|
|
32189
|
-
p_description?: string;
|
|
32190
|
-
p_is_public?: boolean;
|
|
32191
|
-
p_items?: Json;
|
|
32192
|
-
p_list_id: string;
|
|
32193
|
-
p_list_name?: string;
|
|
32194
|
-
p_public_read?: boolean;
|
|
32195
|
-
};
|
|
32196
|
-
Returns: Json;
|
|
32197
|
-
};
|
|
32198
|
-
_d31_impl_update_user_table_config: {
|
|
32199
|
-
Args: {
|
|
32200
|
-
p_field_updates?: Json;
|
|
32201
|
-
p_table_id: string;
|
|
32202
|
-
p_table_updates?: Json;
|
|
32203
|
-
};
|
|
32204
|
-
Returns: Json;
|
|
32205
|
-
};
|
|
32206
|
-
_d31_impl_update_user_table_metadata: {
|
|
32207
|
-
Args: {
|
|
32208
|
-
p_authenticated_read?: boolean;
|
|
32209
|
-
p_description?: string;
|
|
32210
|
-
p_is_public?: boolean;
|
|
32211
|
-
p_table_id: string;
|
|
32212
|
-
p_table_name?: string;
|
|
32213
|
-
};
|
|
32214
|
-
Returns: Json;
|
|
32215
|
-
};
|
|
32216
32495
|
_dict_context_owner_org: {
|
|
32217
32496
|
Args: {
|
|
32218
32497
|
p_level: string;
|
|
@@ -34781,6 +35060,18 @@ export type ChatDatabase = {
|
|
|
34781
35060
|
};
|
|
34782
35061
|
Returns: Json;
|
|
34783
35062
|
};
|
|
35063
|
+
applet_public_intro: {
|
|
35064
|
+
Args: {
|
|
35065
|
+
p_slug: string;
|
|
35066
|
+
};
|
|
35067
|
+
Returns: Json;
|
|
35068
|
+
};
|
|
35069
|
+
applets_public: {
|
|
35070
|
+
Args: {
|
|
35071
|
+
p_templates_only?: boolean;
|
|
35072
|
+
};
|
|
35073
|
+
Returns: Json;
|
|
35074
|
+
};
|
|
34784
35075
|
apply_template_definition: {
|
|
34785
35076
|
Args: {
|
|
34786
35077
|
p_definition: Json;
|
|
@@ -35223,21 +35514,6 @@ export type ChatDatabase = {
|
|
|
35223
35514
|
};
|
|
35224
35515
|
Returns: boolean;
|
|
35225
35516
|
};
|
|
35226
|
-
check_prompt_app_drift: {
|
|
35227
|
-
Args: {
|
|
35228
|
-
p_user_id?: string;
|
|
35229
|
-
};
|
|
35230
|
-
Returns: {
|
|
35231
|
-
app_id: string;
|
|
35232
|
-
app_name: string;
|
|
35233
|
-
current_version: number;
|
|
35234
|
-
pinned_version: number;
|
|
35235
|
-
prompt_id: string;
|
|
35236
|
-
prompt_name: string;
|
|
35237
|
-
prompt_source_type: string;
|
|
35238
|
-
versions_behind: number;
|
|
35239
|
-
}[];
|
|
35240
|
-
};
|
|
35241
35517
|
check_rate_limit: {
|
|
35242
35518
|
Args: {
|
|
35243
35519
|
p_app_id: string;
|
|
@@ -37766,8 +38042,6 @@ export type ChatDatabase = {
|
|
|
37766
38042
|
p_slug?: string;
|
|
37767
38043
|
};
|
|
37768
38044
|
Returns: {
|
|
37769
|
-
agent_id: string;
|
|
37770
|
-
agent_version_id: string;
|
|
37771
38045
|
allowed_imports: Json;
|
|
37772
38046
|
category: string;
|
|
37773
38047
|
component_code: string;
|
|
@@ -37776,41 +38050,15 @@ export type ChatDatabase = {
|
|
|
37776
38050
|
favicon_url: string;
|
|
37777
38051
|
id: string;
|
|
37778
38052
|
layout_config: Json;
|
|
37779
|
-
mandate_agent_id: string;
|
|
37780
|
-
mandate_agent_version_id: string;
|
|
37781
|
-
mandate_id: string;
|
|
37782
|
-
mandate_key: string;
|
|
37783
38053
|
name: string;
|
|
37784
38054
|
preview_image_url: string;
|
|
37785
38055
|
publisher_name: string;
|
|
37786
|
-
shell_config: Json;
|
|
37787
|
-
shell_kind: string;
|
|
37788
|
-
slot_code: Json;
|
|
37789
|
-
slot_overrides: Json;
|
|
37790
38056
|
slug: string;
|
|
37791
38057
|
styling_config: Json;
|
|
37792
38058
|
success_rate: number;
|
|
37793
38059
|
tagline: string;
|
|
37794
38060
|
tags: string[];
|
|
37795
38061
|
total_executions: number;
|
|
37796
|
-
use_latest: boolean;
|
|
37797
|
-
variable_schema: Json;
|
|
37798
|
-
}[];
|
|
37799
|
-
};
|
|
37800
|
-
get_aga_public_execution: {
|
|
37801
|
-
Args: {
|
|
37802
|
-
p_app_id: string;
|
|
37803
|
-
};
|
|
37804
|
-
Returns: {
|
|
37805
|
-
auto_context_disabled: boolean;
|
|
37806
|
-
context_policies: Json;
|
|
37807
|
-
custom_tools: Json;
|
|
37808
|
-
id: string;
|
|
37809
|
-
model_id: string;
|
|
37810
|
-
settings: Json;
|
|
37811
|
-
tools: string[];
|
|
37812
|
-
ui_gates: Json;
|
|
37813
|
-
variable_definitions: Json;
|
|
37814
38062
|
}[];
|
|
37815
38063
|
};
|
|
37816
38064
|
get_agent_conversations: {
|
|
@@ -38400,74 +38648,12 @@ export type ChatDatabase = {
|
|
|
38400
38648
|
table_name: string;
|
|
38401
38649
|
}[];
|
|
38402
38650
|
};
|
|
38403
|
-
get_prompt_app_execution_payload: {
|
|
38404
|
-
Args: {
|
|
38405
|
-
p_app_id: string;
|
|
38406
|
-
};
|
|
38407
|
-
Returns: Json;
|
|
38408
|
-
};
|
|
38409
|
-
get_prompt_app_public_data: {
|
|
38410
|
-
Args: {
|
|
38411
|
-
p_app_id?: string;
|
|
38412
|
-
p_slug?: string;
|
|
38413
|
-
};
|
|
38414
|
-
Returns: {
|
|
38415
|
-
allowed_imports: Json;
|
|
38416
|
-
category: string;
|
|
38417
|
-
component_code: string;
|
|
38418
|
-
component_language: string;
|
|
38419
|
-
description: string;
|
|
38420
|
-
favicon_url: string;
|
|
38421
|
-
id: string;
|
|
38422
|
-
layout_config: Json;
|
|
38423
|
-
name: string;
|
|
38424
|
-
preview_image_url: string;
|
|
38425
|
-
slug: string;
|
|
38426
|
-
styling_config: Json;
|
|
38427
|
-
success_rate: number;
|
|
38428
|
-
tagline: string;
|
|
38429
|
-
tags: string[];
|
|
38430
|
-
total_executions: number;
|
|
38431
|
-
variable_schema: Json;
|
|
38432
|
-
}[];
|
|
38433
|
-
};
|
|
38434
38651
|
get_public_flashcard_set: {
|
|
38435
38652
|
Args: {
|
|
38436
38653
|
p_set_id: string;
|
|
38437
38654
|
};
|
|
38438
38655
|
Returns: Json;
|
|
38439
38656
|
};
|
|
38440
|
-
get_published_app_with_prompt: {
|
|
38441
|
-
Args: {
|
|
38442
|
-
p_app_id?: string;
|
|
38443
|
-
p_slug?: string;
|
|
38444
|
-
};
|
|
38445
|
-
Returns: {
|
|
38446
|
-
allowed_imports: Json;
|
|
38447
|
-
category: string;
|
|
38448
|
-
component_code: string;
|
|
38449
|
-
component_language: string;
|
|
38450
|
-
description: string;
|
|
38451
|
-
favicon_url: string;
|
|
38452
|
-
id: string;
|
|
38453
|
-
layout_config: Json;
|
|
38454
|
-
name: string;
|
|
38455
|
-
preview_image_url: string;
|
|
38456
|
-
prompt_id: string;
|
|
38457
|
-
prompt_messages: Json;
|
|
38458
|
-
prompt_settings: Json;
|
|
38459
|
-
prompt_variable_defaults: Json;
|
|
38460
|
-
slug: string;
|
|
38461
|
-
status: string;
|
|
38462
|
-
styling_config: Json;
|
|
38463
|
-
success_rate: number;
|
|
38464
|
-
tagline: string;
|
|
38465
|
-
tags: string[];
|
|
38466
|
-
total_executions: number;
|
|
38467
|
-
user_id: string;
|
|
38468
|
-
variable_schema: Json;
|
|
38469
|
-
}[];
|
|
38470
|
-
};
|
|
38471
38657
|
get_resource_access: {
|
|
38472
38658
|
Args: {
|
|
38473
38659
|
p_resource_id: string;
|
|
@@ -41929,13 +42115,6 @@ export type ChatDatabase = {
|
|
|
41929
42115
|
user_id: string;
|
|
41930
42116
|
}[];
|
|
41931
42117
|
};
|
|
41932
|
-
pin_prompt_app_to_version: {
|
|
41933
|
-
Args: {
|
|
41934
|
-
p_app_id: string;
|
|
41935
|
-
p_version_id: string;
|
|
41936
|
-
};
|
|
41937
|
-
Returns: Json;
|
|
41938
|
-
};
|
|
41939
42118
|
plpgsql_check_function: {
|
|
41940
42119
|
Args: {
|
|
41941
42120
|
all_warnings?: boolean;
|
|
@@ -47413,6 +47592,7 @@ export type ChatDatabase = {
|
|
|
47413
47592
|
completed_at: string | null;
|
|
47414
47593
|
created_at: string;
|
|
47415
47594
|
created_by: string | null;
|
|
47595
|
+
deleted_at: string | null;
|
|
47416
47596
|
id: string;
|
|
47417
47597
|
metadata: Json;
|
|
47418
47598
|
mutation_id: string;
|
|
@@ -47436,6 +47616,7 @@ export type ChatDatabase = {
|
|
|
47436
47616
|
completed_at?: string | null;
|
|
47437
47617
|
created_at?: string;
|
|
47438
47618
|
created_by?: string | null;
|
|
47619
|
+
deleted_at?: string | null;
|
|
47439
47620
|
id?: string;
|
|
47440
47621
|
metadata?: Json;
|
|
47441
47622
|
mutation_id: string;
|
|
@@ -47459,6 +47640,7 @@ export type ChatDatabase = {
|
|
|
47459
47640
|
completed_at?: string | null;
|
|
47460
47641
|
created_at?: string;
|
|
47461
47642
|
created_by?: string | null;
|
|
47643
|
+
deleted_at?: string | null;
|
|
47462
47644
|
id?: string;
|
|
47463
47645
|
metadata?: Json;
|
|
47464
47646
|
mutation_id?: string;
|