@constructive-io/react 0.28.3 → 0.29.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/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +120 -120
- package/admin/hooks/invalidation.js +232 -232
- package/admin/hooks/mutation-keys.d.ts +244 -244
- package/admin/hooks/mutation-keys.js +157 -157
- package/admin/hooks/mutations/index.d.ts +63 -63
- package/admin/hooks/mutations/index.js +63 -63
- package/admin/hooks/queries/index.d.ts +47 -47
- package/admin/hooks/queries/index.js +47 -47
- package/admin/hooks/queries/useAppPermissionsGetByMaskQuery.d.ts +3 -3
- package/admin/hooks/queries/useAppPermissionsGetByMaskQuery.js +2 -2
- package/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +3 -3
- package/admin/hooks/queries/useOrgIsManagerOfQuery.js +2 -2
- package/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.d.ts +3 -3
- package/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.js +2 -2
- package/admin/hooks/query-keys.d.ts +296 -296
- package/admin/hooks/query-keys.js +173 -173
- package/admin/orm/index.d.ts +67 -67
- package/admin/orm/index.js +44 -44
- package/admin/orm/input-types.d.ts +3168 -3168
- package/admin/orm/input-types.js +1 -1
- package/admin/orm/models/index.d.ts +22 -22
- package/admin/orm/models/index.js +45 -45
- package/admin/orm/mutation/index.d.ts +12 -12
- package/admin/orm/mutation/index.js +12 -12
- package/admin/orm/query/index.d.ts +47 -47
- package/admin/orm/query/index.js +68 -68
- package/admin/schema-types.d.ts +2497 -2497
- package/admin/types.d.ts +193 -193
- package/agent/hooks/index.d.ts +1 -1
- package/agent/hooks/index.js +1 -1
- package/agent/hooks/invalidation.d.ts +23 -23
- package/agent/hooks/invalidation.js +55 -55
- package/agent/hooks/mutation-keys.d.ts +46 -46
- package/agent/hooks/mutation-keys.js +28 -28
- package/agent/hooks/mutations/index.d.ts +12 -12
- package/agent/hooks/mutations/index.js +12 -12
- package/agent/hooks/queries/index.d.ts +8 -8
- package/agent/hooks/queries/index.js +8 -8
- package/agent/hooks/query-keys.d.ts +54 -54
- package/agent/hooks/query-keys.js +32 -32
- package/agent/orm/index.d.ts +8 -8
- package/agent/orm/index.js +8 -8
- package/agent/orm/input-types.d.ts +1788 -1788
- package/agent/orm/input-types.js +9 -9
- package/agent/orm/models/index.d.ts +4 -4
- package/agent/orm/models/index.js +9 -9
- package/agent/schema-types.d.ts +1226 -1226
- package/agent/types.d.ts +95 -95
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +184 -184
- package/api/hooks/invalidation.js +392 -392
- package/api/hooks/mutation-keys.d.ts +411 -411
- package/api/hooks/mutation-keys.js +227 -227
- package/api/hooks/mutations/index.d.ts +93 -93
- package/api/hooks/mutations/index.js +93 -93
- package/api/hooks/queries/index.d.ts +64 -64
- package/api/hooks/queries/index.js +64 -64
- package/api/hooks/queries/useApplyRegistryDefaultsQuery.d.ts +3 -3
- package/api/hooks/queries/useApplyRegistryDefaultsQuery.js +2 -2
- package/api/hooks/query-keys.d.ts +466 -466
- package/api/hooks/query-keys.js +251 -251
- package/api/orm/index.d.ts +77 -77
- package/api/orm/index.js +64 -64
- package/api/orm/input-types.d.ts +8781 -8781
- package/api/orm/input-types.js +48 -48
- package/api/orm/models/index.d.ts +32 -32
- package/api/orm/models/index.js +65 -65
- package/api/orm/mutation/index.d.ts +29 -29
- package/api/orm/mutation/index.js +30 -30
- package/api/orm/query/index.d.ts +1 -1
- package/api/orm/query/index.js +4 -4
- package/api/schema-types.d.ts +5628 -5628
- package/api/types.d.ts +435 -435
- package/auth/hooks/index.d.ts +1 -1
- package/auth/hooks/index.js +1 -1
- package/auth/hooks/invalidation.d.ts +42 -42
- package/auth/hooks/invalidation.js +90 -90
- package/auth/hooks/mutation-keys.d.ts +124 -124
- package/auth/hooks/mutation-keys.js +106 -106
- package/auth/hooks/mutations/index.d.ts +36 -36
- package/auth/hooks/mutations/index.js +36 -36
- package/auth/hooks/queries/index.d.ts +15 -15
- package/auth/hooks/queries/index.js +15 -15
- package/auth/hooks/query-keys.d.ts +102 -102
- package/auth/hooks/query-keys.js +59 -59
- package/auth/orm/index.d.ts +103 -103
- package/auth/orm/index.js +14 -14
- package/auth/orm/input-types.d.ts +2102 -2109
- package/auth/orm/input-types.js +5 -5
- package/auth/orm/models/index.d.ts +7 -7
- package/auth/orm/models/index.js +15 -15
- package/auth/orm/mutation/index.d.ts +138 -138
- package/auth/orm/mutation/index.js +168 -168
- package/auth/orm/query/index.d.ts +10 -10
- package/auth/orm/query/index.js +14 -14
- package/auth/schema-types.d.ts +1602 -1605
- package/auth/types.d.ts +86 -87
- package/compute/hooks/index.d.ts +1 -1
- package/compute/hooks/index.js +1 -1
- package/compute/hooks/invalidation.d.ts +183 -183
- package/compute/hooks/invalidation.js +391 -391
- package/compute/hooks/mutation-keys.d.ts +388 -388
- package/compute/hooks/mutation-keys.js +300 -300
- package/compute/hooks/mutations/index.d.ts +97 -97
- package/compute/hooks/mutations/index.js +97 -97
- package/compute/hooks/mutations/useCreateFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useCreateFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useDeleteFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useDeleteFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useUpdateFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useUpdateFunctionInvocationMutation.js +1 -1
- package/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.js +1 -1
- package/compute/hooks/queries/index.d.ts +59 -59
- package/compute/hooks/queries/index.js +59 -59
- package/compute/hooks/queries/useFunctionInvocationQuery.d.ts +4 -4
- package/compute/hooks/queries/useFunctionInvocationQuery.js +1 -1
- package/compute/hooks/queries/useFunctionInvocationsQuery.d.ts +4 -4
- package/compute/hooks/queries/useFunctionInvocationsQuery.js +1 -1
- package/compute/hooks/queries/usePlatformFunctionInvocationQuery.d.ts +4 -4
- package/compute/hooks/queries/usePlatformFunctionInvocationQuery.js +1 -1
- package/compute/hooks/queries/usePlatformFunctionInvocationsQuery.d.ts +4 -4
- package/compute/hooks/queries/usePlatformFunctionInvocationsQuery.js +1 -1
- package/compute/hooks/query-keys.d.ts +438 -438
- package/compute/hooks/query-keys.js +256 -256
- package/compute/orm/index.d.ts +110 -110
- package/compute/orm/index.js +64 -64
- package/compute/orm/input-types.d.ts +7256 -7037
- package/compute/orm/input-types.js +15 -13
- package/compute/orm/models/index.d.ts +32 -32
- package/compute/orm/models/index.js +65 -65
- package/compute/orm/mutation/index.d.ts +77 -77
- package/compute/orm/mutation/index.js +96 -96
- package/compute/schema-types.d.ts +4950 -4896
- package/compute/types.d.ts +470 -468
- package/config/hooks/index.d.ts +1 -1
- package/config/hooks/index.js +1 -1
- package/config/hooks/invalidation.d.ts +6 -6
- package/config/hooks/invalidation.js +15 -15
- package/config/hooks/mutation-keys.d.ts +24 -24
- package/config/hooks/mutation-keys.js +26 -26
- package/config/hooks/mutations/index.d.ts +9 -9
- package/config/hooks/mutations/index.js +9 -9
- package/config/hooks/queries/index.d.ts +2 -2
- package/config/hooks/queries/index.js +2 -2
- package/config/hooks/query-keys.d.ts +14 -14
- package/config/hooks/query-keys.js +9 -9
- package/config/orm/index.d.ts +30 -30
- package/config/orm/index.js +2 -2
- package/config/orm/input-types.d.ts +416 -416
- package/config/orm/models/index.d.ts +1 -1
- package/config/orm/models/index.js +3 -3
- package/config/orm/mutation/index.d.ts +47 -47
- package/config/orm/mutation/index.js +60 -60
- package/config/schema-types.d.ts +519 -519
- package/config/types.d.ts +35 -35
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +120 -120
- package/esm/admin/hooks/invalidation.js +233 -233
- package/esm/admin/hooks/mutation-keys.d.ts +244 -244
- package/esm/admin/hooks/mutation-keys.js +156 -156
- package/esm/admin/hooks/mutations/index.d.ts +63 -63
- package/esm/admin/hooks/mutations/index.js +63 -63
- package/esm/admin/hooks/queries/index.d.ts +47 -47
- package/esm/admin/hooks/queries/index.js +47 -47
- package/esm/admin/hooks/queries/useAppPermissionsGetByMaskQuery.d.ts +3 -3
- package/esm/admin/hooks/queries/useAppPermissionsGetByMaskQuery.js +2 -2
- package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +3 -3
- package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.js +2 -2
- package/esm/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.d.ts +3 -3
- package/esm/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.js +2 -2
- package/esm/admin/hooks/query-keys.d.ts +296 -296
- package/esm/admin/hooks/query-keys.js +172 -172
- package/esm/admin/orm/index.d.ts +67 -67
- package/esm/admin/orm/index.js +44 -44
- package/esm/admin/orm/input-types.d.ts +3168 -3168
- package/esm/admin/orm/input-types.js +1 -1
- package/esm/admin/orm/models/index.d.ts +22 -22
- package/esm/admin/orm/models/index.js +22 -22
- package/esm/admin/orm/mutation/index.d.ts +12 -12
- package/esm/admin/orm/mutation/index.js +12 -12
- package/esm/admin/orm/query/index.d.ts +47 -47
- package/esm/admin/orm/query/index.js +68 -68
- package/esm/admin/schema-types.d.ts +2497 -2497
- package/esm/admin/types.d.ts +193 -193
- package/esm/agent/hooks/index.d.ts +1 -1
- package/esm/agent/hooks/index.js +1 -1
- package/esm/agent/hooks/invalidation.d.ts +23 -23
- package/esm/agent/hooks/invalidation.js +56 -56
- package/esm/agent/hooks/mutation-keys.d.ts +46 -46
- package/esm/agent/hooks/mutation-keys.js +27 -27
- package/esm/agent/hooks/mutations/index.d.ts +12 -12
- package/esm/agent/hooks/mutations/index.js +12 -12
- package/esm/agent/hooks/queries/index.d.ts +8 -8
- package/esm/agent/hooks/queries/index.js +8 -8
- package/esm/agent/hooks/query-keys.d.ts +54 -54
- package/esm/agent/hooks/query-keys.js +31 -31
- package/esm/agent/orm/index.d.ts +8 -8
- package/esm/agent/orm/index.js +8 -8
- package/esm/agent/orm/input-types.d.ts +1788 -1788
- package/esm/agent/orm/input-types.js +9 -9
- package/esm/agent/orm/models/index.d.ts +4 -4
- package/esm/agent/orm/models/index.js +4 -4
- package/esm/agent/schema-types.d.ts +1226 -1226
- package/esm/agent/types.d.ts +95 -95
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +184 -184
- package/esm/api/hooks/invalidation.js +393 -393
- package/esm/api/hooks/mutation-keys.d.ts +411 -411
- package/esm/api/hooks/mutation-keys.js +226 -226
- package/esm/api/hooks/mutations/index.d.ts +93 -93
- package/esm/api/hooks/mutations/index.js +93 -93
- package/esm/api/hooks/queries/index.d.ts +64 -64
- package/esm/api/hooks/queries/index.js +64 -64
- package/esm/api/hooks/queries/useApplyRegistryDefaultsQuery.d.ts +3 -3
- package/esm/api/hooks/queries/useApplyRegistryDefaultsQuery.js +2 -2
- package/esm/api/hooks/query-keys.d.ts +466 -466
- package/esm/api/hooks/query-keys.js +250 -250
- package/esm/api/orm/index.d.ts +77 -77
- package/esm/api/orm/index.js +64 -64
- package/esm/api/orm/input-types.d.ts +8781 -8781
- package/esm/api/orm/input-types.js +48 -48
- package/esm/api/orm/models/index.d.ts +32 -32
- package/esm/api/orm/models/index.js +32 -32
- package/esm/api/orm/mutation/index.d.ts +29 -29
- package/esm/api/orm/mutation/index.js +30 -30
- package/esm/api/orm/query/index.d.ts +1 -1
- package/esm/api/orm/query/index.js +4 -4
- package/esm/api/schema-types.d.ts +5628 -5628
- package/esm/api/types.d.ts +435 -435
- package/esm/auth/hooks/index.d.ts +1 -1
- package/esm/auth/hooks/index.js +1 -1
- package/esm/auth/hooks/invalidation.d.ts +42 -42
- package/esm/auth/hooks/invalidation.js +91 -91
- package/esm/auth/hooks/mutation-keys.d.ts +124 -124
- package/esm/auth/hooks/mutation-keys.js +105 -105
- package/esm/auth/hooks/mutations/index.d.ts +36 -36
- package/esm/auth/hooks/mutations/index.js +36 -36
- package/esm/auth/hooks/queries/index.d.ts +15 -15
- package/esm/auth/hooks/queries/index.js +15 -15
- package/esm/auth/hooks/query-keys.d.ts +102 -102
- package/esm/auth/hooks/query-keys.js +58 -58
- package/esm/auth/orm/index.d.ts +103 -103
- package/esm/auth/orm/index.js +14 -14
- package/esm/auth/orm/input-types.d.ts +2102 -2109
- package/esm/auth/orm/input-types.js +5 -5
- package/esm/auth/orm/models/index.d.ts +7 -7
- package/esm/auth/orm/models/index.js +7 -7
- package/esm/auth/orm/mutation/index.d.ts +138 -138
- package/esm/auth/orm/mutation/index.js +168 -168
- package/esm/auth/orm/query/index.d.ts +10 -10
- package/esm/auth/orm/query/index.js +14 -14
- package/esm/auth/schema-types.d.ts +1602 -1605
- package/esm/auth/types.d.ts +86 -87
- package/esm/compute/hooks/index.d.ts +1 -1
- package/esm/compute/hooks/index.js +1 -1
- package/esm/compute/hooks/invalidation.d.ts +183 -183
- package/esm/compute/hooks/invalidation.js +392 -392
- package/esm/compute/hooks/mutation-keys.d.ts +388 -388
- package/esm/compute/hooks/mutation-keys.js +299 -299
- package/esm/compute/hooks/mutations/index.d.ts +97 -97
- package/esm/compute/hooks/mutations/index.js +97 -97
- package/esm/compute/hooks/mutations/useCreateFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useCreateFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useDeleteFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useDeleteFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useUpdateFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useUpdateFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.js +1 -1
- package/esm/compute/hooks/queries/index.d.ts +59 -59
- package/esm/compute/hooks/queries/index.js +59 -59
- package/esm/compute/hooks/queries/useFunctionInvocationQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/useFunctionInvocationQuery.js +1 -1
- package/esm/compute/hooks/queries/useFunctionInvocationsQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/useFunctionInvocationsQuery.js +1 -1
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationQuery.js +1 -1
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationsQuery.d.ts +4 -4
- package/esm/compute/hooks/queries/usePlatformFunctionInvocationsQuery.js +1 -1
- package/esm/compute/hooks/query-keys.d.ts +438 -438
- package/esm/compute/hooks/query-keys.js +255 -255
- package/esm/compute/orm/index.d.ts +110 -110
- package/esm/compute/orm/index.js +64 -64
- package/esm/compute/orm/input-types.d.ts +7256 -7037
- package/esm/compute/orm/input-types.js +15 -13
- package/esm/compute/orm/models/index.d.ts +32 -32
- package/esm/compute/orm/models/index.js +32 -32
- package/esm/compute/orm/mutation/index.d.ts +77 -77
- package/esm/compute/orm/mutation/index.js +96 -96
- package/esm/compute/schema-types.d.ts +4950 -4896
- package/esm/compute/types.d.ts +470 -468
- package/esm/config/hooks/index.d.ts +1 -1
- package/esm/config/hooks/index.js +1 -1
- package/esm/config/hooks/invalidation.d.ts +6 -6
- package/esm/config/hooks/invalidation.js +16 -16
- package/esm/config/hooks/mutation-keys.d.ts +24 -24
- package/esm/config/hooks/mutation-keys.js +25 -25
- package/esm/config/hooks/mutations/index.d.ts +9 -9
- package/esm/config/hooks/mutations/index.js +9 -9
- package/esm/config/hooks/queries/index.d.ts +2 -2
- package/esm/config/hooks/queries/index.js +2 -2
- package/esm/config/hooks/query-keys.d.ts +14 -14
- package/esm/config/hooks/query-keys.js +8 -8
- package/esm/config/orm/index.d.ts +30 -30
- package/esm/config/orm/index.js +2 -2
- package/esm/config/orm/input-types.d.ts +416 -416
- package/esm/config/orm/models/index.d.ts +1 -1
- package/esm/config/orm/models/index.js +1 -1
- package/esm/config/orm/mutation/index.d.ts +47 -47
- package/esm/config/orm/mutation/index.js +60 -60
- package/esm/config/schema-types.d.ts +519 -519
- package/esm/config/types.d.ts +35 -35
- package/esm/infra/hooks/index.d.ts +1 -1
- package/esm/infra/hooks/index.js +1 -1
- package/esm/infra/hooks/invalidation.d.ts +28 -28
- package/esm/infra/hooks/invalidation.js +66 -66
- package/esm/infra/hooks/mutation-keys.d.ts +58 -58
- package/esm/infra/hooks/mutation-keys.js +36 -36
- package/esm/infra/hooks/mutations/index.d.ts +16 -16
- package/esm/infra/hooks/mutations/index.js +16 -16
- package/esm/infra/hooks/queries/index.d.ts +10 -10
- package/esm/infra/hooks/queries/index.js +10 -10
- package/esm/infra/hooks/query-keys.d.ts +66 -66
- package/esm/infra/hooks/query-keys.js +38 -38
- package/esm/infra/orm/index.d.ts +15 -15
- package/esm/infra/orm/index.js +10 -10
- package/esm/infra/orm/input-types.d.ts +971 -971
- package/esm/infra/orm/models/index.d.ts +5 -5
- package/esm/infra/orm/models/index.js +5 -5
- package/esm/infra/orm/mutation/index.d.ts +9 -9
- package/esm/infra/orm/mutation/index.js +12 -12
- package/esm/infra/schema-types.d.ts +979 -979
- package/esm/infra/types.d.ts +72 -72
- package/esm/modules/hooks/index.d.ts +1 -1
- package/esm/modules/hooks/index.js +1 -1
- package/esm/modules/hooks/invalidation.d.ts +291 -291
- package/esm/modules/hooks/invalidation.js +563 -563
- package/esm/modules/hooks/mutation-keys.d.ts +602 -602
- package/esm/modules/hooks/mutation-keys.js +384 -384
- package/esm/modules/hooks/mutations/index.d.ts +164 -164
- package/esm/modules/hooks/mutations/index.js +164 -164
- package/esm/modules/hooks/queries/index.d.ts +106 -106
- package/esm/modules/hooks/queries/index.js +106 -106
- package/esm/modules/hooks/queries/useResolveBlueprintFieldQuery.d.ts +3 -3
- package/esm/modules/hooks/queries/useResolveBlueprintFieldQuery.js +2 -2
- package/esm/modules/hooks/queries/useResolveBlueprintTableQuery.d.ts +3 -3
- package/esm/modules/hooks/queries/useResolveBlueprintTableQuery.js +2 -2
- package/esm/modules/hooks/query-keys.d.ts +696 -696
- package/esm/modules/hooks/query-keys.js +399 -399
- package/esm/modules/orm/index.d.ts +126 -126
- package/esm/modules/orm/index.js +106 -106
- package/esm/modules/orm/input-types.d.ts +11482 -11468
- package/esm/modules/orm/input-types.js +1 -1
- package/esm/modules/orm/models/index.d.ts +53 -53
- package/esm/modules/orm/models/index.js +53 -53
- package/esm/modules/orm/mutation/index.d.ts +51 -51
- package/esm/modules/orm/mutation/index.js +42 -42
- package/esm/modules/orm/query/index.d.ts +3 -3
- package/esm/modules/orm/query/index.js +8 -8
- package/esm/modules/schema-types.d.ts +8363 -8355
- package/esm/modules/types.d.ts +1013 -1011
- package/esm/objects/hooks/index.d.ts +1 -1
- package/esm/objects/hooks/index.js +1 -1
- package/esm/objects/hooks/invalidation.d.ts +12 -12
- package/esm/objects/hooks/invalidation.js +33 -33
- package/esm/objects/hooks/mutation-keys.d.ts +26 -26
- package/esm/objects/hooks/mutation-keys.js +17 -17
- package/esm/objects/hooks/mutations/index.d.ts +7 -7
- package/esm/objects/hooks/mutations/index.js +7 -7
- package/esm/objects/hooks/queries/index.d.ts +4 -4
- package/esm/objects/hooks/queries/index.js +4 -4
- package/esm/objects/hooks/query-keys.d.ts +28 -28
- package/esm/objects/hooks/query-keys.js +16 -16
- package/esm/objects/orm/index.d.ts +9 -9
- package/esm/objects/orm/index.js +4 -4
- package/esm/objects/orm/input-types.d.ts +384 -384
- package/esm/objects/orm/models/index.d.ts +2 -2
- package/esm/objects/orm/models/index.js +2 -2
- package/esm/objects/orm/mutation/index.d.ts +9 -9
- package/esm/objects/orm/mutation/index.js +12 -12
- package/esm/objects/schema-types.d.ts +438 -438
- package/esm/objects/types.d.ts +23 -23
- package/esm/usage/hooks/index.d.ts +1 -1
- package/esm/usage/hooks/index.js +1 -1
- package/esm/usage/hooks/invalidation.d.ts +67 -67
- package/esm/usage/hooks/invalidation.js +140 -140
- package/esm/usage/hooks/mutation-keys.d.ts +136 -136
- package/esm/usage/hooks/mutation-keys.js +82 -82
- package/esm/usage/hooks/mutations/index.d.ts +37 -37
- package/esm/usage/hooks/mutations/index.js +37 -37
- package/esm/usage/hooks/queries/index.d.ts +24 -24
- package/esm/usage/hooks/queries/index.js +24 -24
- package/esm/usage/hooks/query-keys.d.ts +158 -158
- package/esm/usage/hooks/query-keys.js +91 -91
- package/esm/usage/orm/index.d.ts +29 -29
- package/esm/usage/orm/index.js +24 -24
- package/esm/usage/orm/input-types.d.ts +2049 -2049
- package/esm/usage/orm/input-types.js +5 -5
- package/esm/usage/orm/models/index.d.ts +12 -12
- package/esm/usage/orm/models/index.js +12 -12
- package/esm/usage/orm/mutation/index.d.ts +16 -16
- package/esm/usage/orm/mutation/index.js +12 -12
- package/esm/usage/schema-types.d.ts +1591 -1591
- package/esm/usage/types.d.ts +99 -99
- package/infra/hooks/index.d.ts +1 -1
- package/infra/hooks/index.js +1 -1
- package/infra/hooks/invalidation.d.ts +28 -28
- package/infra/hooks/invalidation.js +65 -65
- package/infra/hooks/mutation-keys.d.ts +58 -58
- package/infra/hooks/mutation-keys.js +37 -37
- package/infra/hooks/mutations/index.d.ts +16 -16
- package/infra/hooks/mutations/index.js +16 -16
- package/infra/hooks/queries/index.d.ts +10 -10
- package/infra/hooks/queries/index.js +10 -10
- package/infra/hooks/query-keys.d.ts +66 -66
- package/infra/hooks/query-keys.js +39 -39
- package/infra/orm/index.d.ts +15 -15
- package/infra/orm/index.js +10 -10
- package/infra/orm/input-types.d.ts +971 -971
- package/infra/orm/models/index.d.ts +5 -5
- package/infra/orm/models/index.js +11 -11
- package/infra/orm/mutation/index.d.ts +9 -9
- package/infra/orm/mutation/index.js +12 -12
- package/infra/schema-types.d.ts +979 -979
- package/infra/types.d.ts +72 -72
- package/modules/hooks/index.d.ts +1 -1
- package/modules/hooks/index.js +1 -1
- package/modules/hooks/invalidation.d.ts +291 -291
- package/modules/hooks/invalidation.js +562 -562
- package/modules/hooks/mutation-keys.d.ts +602 -602
- package/modules/hooks/mutation-keys.js +386 -386
- package/modules/hooks/mutations/index.d.ts +164 -164
- package/modules/hooks/mutations/index.js +164 -164
- package/modules/hooks/queries/index.d.ts +106 -106
- package/modules/hooks/queries/index.js +106 -106
- package/modules/hooks/queries/useResolveBlueprintFieldQuery.d.ts +3 -3
- package/modules/hooks/queries/useResolveBlueprintFieldQuery.js +2 -2
- package/modules/hooks/queries/useResolveBlueprintTableQuery.d.ts +3 -3
- package/modules/hooks/queries/useResolveBlueprintTableQuery.js +2 -2
- package/modules/hooks/query-keys.d.ts +696 -696
- package/modules/hooks/query-keys.js +401 -401
- package/modules/orm/index.d.ts +126 -126
- package/modules/orm/index.js +106 -106
- package/modules/orm/input-types.d.ts +11482 -11468
- package/modules/orm/input-types.js +1 -1
- package/modules/orm/models/index.d.ts +53 -53
- package/modules/orm/models/index.js +108 -108
- package/modules/orm/mutation/index.d.ts +51 -51
- package/modules/orm/mutation/index.js +42 -42
- package/modules/orm/query/index.d.ts +3 -3
- package/modules/orm/query/index.js +8 -8
- package/modules/schema-types.d.ts +8363 -8355
- package/modules/types.d.ts +1013 -1011
- package/objects/hooks/index.d.ts +1 -1
- package/objects/hooks/index.js +1 -1
- package/objects/hooks/invalidation.d.ts +12 -12
- package/objects/hooks/invalidation.js +32 -32
- package/objects/hooks/mutation-keys.d.ts +26 -26
- package/objects/hooks/mutation-keys.js +18 -18
- package/objects/hooks/mutations/index.d.ts +7 -7
- package/objects/hooks/mutations/index.js +7 -7
- package/objects/hooks/queries/index.d.ts +4 -4
- package/objects/hooks/queries/index.js +4 -4
- package/objects/hooks/query-keys.d.ts +28 -28
- package/objects/hooks/query-keys.js +17 -17
- package/objects/orm/index.d.ts +9 -9
- package/objects/orm/index.js +4 -4
- package/objects/orm/input-types.d.ts +384 -384
- package/objects/orm/models/index.d.ts +2 -2
- package/objects/orm/models/index.js +5 -5
- package/objects/orm/mutation/index.d.ts +9 -9
- package/objects/orm/mutation/index.js +12 -12
- package/objects/schema-types.d.ts +438 -438
- package/objects/types.d.ts +23 -23
- package/package.json +4 -4
- package/usage/hooks/index.d.ts +1 -1
- package/usage/hooks/index.js +1 -1
- package/usage/hooks/invalidation.d.ts +67 -67
- package/usage/hooks/invalidation.js +139 -139
- package/usage/hooks/mutation-keys.d.ts +136 -136
- package/usage/hooks/mutation-keys.js +83 -83
- package/usage/hooks/mutations/index.d.ts +37 -37
- package/usage/hooks/mutations/index.js +37 -37
- package/usage/hooks/queries/index.d.ts +24 -24
- package/usage/hooks/queries/index.js +24 -24
- package/usage/hooks/query-keys.d.ts +158 -158
- package/usage/hooks/query-keys.js +92 -92
- package/usage/orm/index.d.ts +29 -29
- package/usage/orm/index.js +24 -24
- package/usage/orm/input-types.d.ts +2049 -2049
- package/usage/orm/input-types.js +5 -5
- package/usage/orm/models/index.d.ts +12 -12
- package/usage/orm/models/index.js +25 -25
- package/usage/orm/mutation/index.d.ts +16 -16
- package/usage/orm/mutation/index.js +12 -12
- package/usage/schema-types.d.ts +1591 -1591
- package/usage/types.d.ts +99 -99
package/agent/schema-types.d.ts
CHANGED
|
@@ -4,488 +4,558 @@
|
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
6
|
import type { Agent, AgentMessage, AgentPersona, AgentPlan, AgentPrompt, AgentResource, AgentResourceChunk, AgentTask, AgentThread, BooleanFilter, DatetimeFilter, FullTextFilter, IntFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, VectorFilter } from './types';
|
|
7
|
-
/** Methods to use when ordering `Agent`. */
|
|
8
|
-
export type AgentOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'PERSONA_ID_ASC' | 'PERSONA_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'CONFIG_ASC' | 'CONFIG_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'IS_EPHEMERAL_ASC' | 'IS_EPHEMERAL_DESC';
|
|
9
|
-
/** Methods to use when ordering `AgentThread`. */
|
|
10
|
-
export type AgentThreadOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'IS_ARCHIVED_ASC' | 'IS_ARCHIVED_DESC' | 'ARCHIVED_AT_ASC' | 'ARCHIVED_AT_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'MODE_ASC' | 'MODE_DESC' | 'MODEL_ASC' | 'MODEL_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'PROMPT_TEMPLATE_ID_ASC' | 'PROMPT_TEMPLATE_ID_DESC' | 'AGENT_ID_ASC' | 'AGENT_ID_DESC' | 'PARENT_THREAD_ID_ASC' | 'PARENT_THREAD_ID_DESC';
|
|
11
7
|
/** Methods to use when ordering `AgentMessage`. */
|
|
12
|
-
export type AgentMessageOrderBy = '
|
|
8
|
+
export type AgentMessageOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'AGENT_ID_ASC' | 'AGENT_ID_DESC' | 'AUTHOR_ROLE_ASC' | 'AUTHOR_ROLE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'MODEL_ASC' | 'MODEL_DESC' | 'NATURAL' | 'PARTS_ASC' | 'PARTS_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
9
|
+
/** Methods to use when ordering `Agent`. */
|
|
10
|
+
export type AgentOrderBy = 'CONFIG_ASC' | 'CONFIG_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_EPHEMERAL_ASC' | 'IS_EPHEMERAL_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'PERSONA_ID_ASC' | 'PERSONA_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
11
|
+
/** Methods to use when ordering `AgentPersona`. */
|
|
12
|
+
export type AgentPersonaOrderBy = 'CONFIG_ASC' | 'CONFIG_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC';
|
|
13
13
|
/** Methods to use when ordering `AgentPlan`. */
|
|
14
|
-
export type AgentPlanOrderBy = '
|
|
15
|
-
/** Methods to use when ordering `AgentTask`. */
|
|
16
|
-
export type AgentTaskOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'PLAN_ID_ASC' | 'PLAN_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SOURCE_ASC' | 'SOURCE_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'ORDER_INDEX_ASC' | 'ORDER_INDEX_DESC' | 'REQUIRES_APPROVAL_ASC' | 'REQUIRES_APPROVAL_DESC' | 'APPROVAL_STATUS_ASC' | 'APPROVAL_STATUS_DESC' | 'APPROVED_BY_ASC' | 'APPROVED_BY_DESC' | 'APPROVED_AT_ASC' | 'APPROVED_AT_DESC' | 'APPROVAL_FEEDBACK_ASC' | 'APPROVAL_FEEDBACK_DESC';
|
|
14
|
+
export type AgentPlanOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
17
15
|
/** Methods to use when ordering `AgentPrompt`. */
|
|
18
|
-
export type AgentPromptOrderBy = '
|
|
19
|
-
/** Similarity metric for vector search */
|
|
20
|
-
export type VectorMetric = 'COSINE' | 'L2' | 'IP';
|
|
16
|
+
export type AgentPromptOrderBy = 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_DEFAULT_ASC' | 'IS_DEFAULT_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC';
|
|
21
17
|
/** Methods to use when ordering `AgentResourceChunk`. */
|
|
22
|
-
export type AgentResourceChunkOrderBy = '
|
|
23
|
-
/** Methods to use when ordering `AgentPersona`. */
|
|
24
|
-
export type AgentPersonaOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'CONFIG_ASC' | 'CONFIG_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC';
|
|
18
|
+
export type AgentResourceChunkOrderBy = 'AGENT_RESOURCE_ID_ASC' | 'AGENT_RESOURCE_ID_DESC' | 'BODY_ASC' | 'BODY_DESC' | 'CHUNK_INDEX_ASC' | 'CHUNK_INDEX_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_VECTOR_DISTANCE_ASC' | 'EMBEDDING_VECTOR_DISTANCE_DESC' | 'ID_ASC' | 'ID_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
25
19
|
/** Methods to use when ordering `AgentResource`. */
|
|
26
|
-
export type AgentResourceOrderBy = '
|
|
20
|
+
export type AgentResourceOrderBy = 'ARCHIVED_AT_ASC' | 'ARCHIVED_AT_DESC' | 'BODY_ASC' | 'BODY_DESC' | 'BODY_TRGM_SIMILARITY_ASC' | 'BODY_TRGM_SIMILARITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_UPDATED_AT_ASC' | 'EMBEDDING_UPDATED_AT_DESC' | 'EMBEDDING_VECTOR_DISTANCE_ASC' | 'EMBEDDING_VECTOR_DISTANCE_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_ARCHIVED_ASC' | 'IS_ARCHIVED_DESC' | 'KEYWORDS_ASC' | 'KEYWORDS_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'KIND_TRGM_SIMILARITY_ASC' | 'KIND_TRGM_SIMILARITY_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SEARCH_ASC' | 'SEARCH_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'TITLE_TRGM_SIMILARITY_ASC' | 'TITLE_TRGM_SIMILARITY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC';
|
|
21
|
+
/** Methods to use when ordering `AgentTask`. */
|
|
22
|
+
export type AgentTaskOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'APPROVAL_FEEDBACK_ASC' | 'APPROVAL_FEEDBACK_DESC' | 'APPROVAL_STATUS_ASC' | 'APPROVAL_STATUS_DESC' | 'APPROVED_AT_ASC' | 'APPROVED_AT_DESC' | 'APPROVED_BY_ASC' | 'APPROVED_BY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'ORDER_INDEX_ASC' | 'ORDER_INDEX_DESC' | 'PLAN_ID_ASC' | 'PLAN_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REQUIRES_APPROVAL_ASC' | 'REQUIRES_APPROVAL_DESC' | 'SOURCE_ASC' | 'SOURCE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
23
|
+
/** Methods to use when ordering `AgentThread`. */
|
|
24
|
+
export type AgentThreadOrderBy = 'AGENT_ID_ASC' | 'AGENT_ID_DESC' | 'ARCHIVED_AT_ASC' | 'ARCHIVED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ARCHIVED_ASC' | 'IS_ARCHIVED_DESC' | 'MODEL_ASC' | 'MODEL_DESC' | 'MODE_ASC' | 'MODE_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PARENT_THREAD_ID_ASC' | 'PARENT_THREAD_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROMPT_TEMPLATE_ID_ASC' | 'PROMPT_TEMPLATE_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
25
|
+
/** Similarity metric for vector search */
|
|
26
|
+
export type VectorMetric = 'COSINE' | 'IP' | 'L2';
|
|
27
27
|
/** A filter to be used against `Agent` object types. All fields are combined with a logical ‘and.’ */
|
|
28
28
|
export interface AgentFilter {
|
|
29
|
-
/** Filter by the object’s `
|
|
30
|
-
|
|
29
|
+
/** Filter by the object’s `agentMessages` relation. */
|
|
30
|
+
agentMessages?: AgentToManyAgentMessageFilter;
|
|
31
|
+
/** `agentMessages` exist. */
|
|
32
|
+
agentMessagesExist?: boolean;
|
|
33
|
+
/** Filter by the object’s `agentThreads` relation. */
|
|
34
|
+
agentThreads?: AgentToManyAgentThreadFilter;
|
|
35
|
+
/** `agentThreads` exist. */
|
|
36
|
+
agentThreadsExist?: boolean;
|
|
37
|
+
/** Checks for all expressions in this list. */
|
|
38
|
+
and?: AgentFilter[];
|
|
39
|
+
/** Filter by the object’s `childAgents` relation. */
|
|
40
|
+
childAgents?: AgentToManyAgentFilter;
|
|
41
|
+
/** `childAgents` exist. */
|
|
42
|
+
childAgentsExist?: boolean;
|
|
43
|
+
/** Filter by the object’s `config` field. */
|
|
44
|
+
config?: JSONFilter;
|
|
31
45
|
/** Filter by the object’s `createdAt` field. */
|
|
32
46
|
createdAt?: DatetimeFilter;
|
|
33
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
34
|
-
updatedAt?: DatetimeFilter;
|
|
35
|
-
/** Filter by the object’s `ownerId` field. */
|
|
36
|
-
ownerId?: UUIDFilter;
|
|
37
47
|
/** Filter by the object’s `databaseId` field. */
|
|
38
48
|
databaseId?: UUIDFilter;
|
|
39
|
-
/** Filter by the object’s `
|
|
40
|
-
|
|
41
|
-
/** Filter by the object’s `parentId` field. */
|
|
42
|
-
parentId?: UUIDFilter;
|
|
43
|
-
/** Filter by the object’s `name` field. */
|
|
44
|
-
name?: StringFilter;
|
|
45
|
-
/** Filter by the object’s `systemPrompt` field. */
|
|
46
|
-
systemPrompt?: StringFilter;
|
|
47
|
-
/** Filter by the object’s `config` field. */
|
|
48
|
-
config?: JSONFilter;
|
|
49
|
-
/** Filter by the object’s `status` field. */
|
|
50
|
-
status?: StringFilter;
|
|
49
|
+
/** Filter by the object’s `id` field. */
|
|
50
|
+
id?: UUIDFilter;
|
|
51
51
|
/** Filter by the object’s `isEphemeral` field. */
|
|
52
52
|
isEphemeral?: BooleanFilter;
|
|
53
|
-
/**
|
|
54
|
-
|
|
55
|
-
/** Checks for any expressions in this list. */
|
|
56
|
-
or?: AgentFilter[];
|
|
53
|
+
/** Filter by the object’s `name` field. */
|
|
54
|
+
name?: StringFilter;
|
|
57
55
|
/** Negates the expression. */
|
|
58
56
|
not?: AgentFilter;
|
|
57
|
+
/** Checks for any expressions in this list. */
|
|
58
|
+
or?: AgentFilter[];
|
|
59
|
+
/** Filter by the object’s `ownerId` field. */
|
|
60
|
+
ownerId?: UUIDFilter;
|
|
59
61
|
/** Filter by the object’s `parent` relation. */
|
|
60
62
|
parent?: AgentFilter;
|
|
61
63
|
/** A related `parent` exists. */
|
|
62
64
|
parentExists?: boolean;
|
|
65
|
+
/** Filter by the object’s `parentId` field. */
|
|
66
|
+
parentId?: UUIDFilter;
|
|
63
67
|
/** Filter by the object’s `persona` relation. */
|
|
64
68
|
persona?: AgentPersonaFilter;
|
|
65
69
|
/** A related `persona` exists. */
|
|
66
70
|
personaExists?: boolean;
|
|
67
|
-
/** Filter by the object’s `
|
|
68
|
-
|
|
69
|
-
/** `
|
|
70
|
-
|
|
71
|
-
/** Filter by the object’s `
|
|
72
|
-
|
|
73
|
-
/** `
|
|
74
|
-
|
|
75
|
-
/** Filter by the object’s `childAgents` relation. */
|
|
76
|
-
childAgents?: AgentToManyAgentFilter;
|
|
77
|
-
/** `childAgents` exist. */
|
|
78
|
-
childAgentsExist?: boolean;
|
|
71
|
+
/** Filter by the object’s `personaId` field. */
|
|
72
|
+
personaId?: UUIDFilter;
|
|
73
|
+
/** Filter by the object’s `status` field. */
|
|
74
|
+
status?: StringFilter;
|
|
75
|
+
/** Filter by the object’s `systemPrompt` field. */
|
|
76
|
+
systemPrompt?: StringFilter;
|
|
77
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
78
|
+
updatedAt?: DatetimeFilter;
|
|
79
79
|
}
|
|
80
|
-
/**
|
|
81
|
-
export interface
|
|
82
|
-
/**
|
|
83
|
-
|
|
80
|
+
/** An input for mutations affecting `Agent` */
|
|
81
|
+
export interface AgentInput {
|
|
82
|
+
/** Per-instance config overrides (model, temperature, tools) */
|
|
83
|
+
config?: unknown;
|
|
84
|
+
createdAt?: string;
|
|
85
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
86
|
+
databaseId: string;
|
|
87
|
+
id?: string;
|
|
88
|
+
/** If true, agent is deleted when its spawning thread is deleted */
|
|
89
|
+
isEphemeral?: boolean;
|
|
90
|
+
/** Display name for this agent instance */
|
|
91
|
+
name: string;
|
|
92
|
+
/** Human who owns/manages this agent */
|
|
93
|
+
ownerId?: string;
|
|
94
|
+
/** Parent agent (for sub-agent delegation hierarchy) */
|
|
95
|
+
parentId?: string;
|
|
96
|
+
/** Persona template this agent was created from */
|
|
97
|
+
personaId?: string;
|
|
98
|
+
/** Agent lifecycle status: active, paused, terminated */
|
|
99
|
+
status?: string;
|
|
100
|
+
/** System prompt override (NULL = inherit from persona) */
|
|
101
|
+
systemPrompt?: string;
|
|
102
|
+
updatedAt?: string;
|
|
103
|
+
}
|
|
104
|
+
/** A filter to be used against `AgentMessage` object types. All fields are combined with a logical ‘and.’ */
|
|
105
|
+
export interface AgentMessageFilter {
|
|
106
|
+
/** Filter by the object’s `actorId` field. */
|
|
107
|
+
actorId?: UUIDFilter;
|
|
108
|
+
/** Filter by the object’s `agent` relation. */
|
|
109
|
+
agent?: AgentFilter;
|
|
110
|
+
/** A related `agent` exists. */
|
|
111
|
+
agentExists?: boolean;
|
|
112
|
+
/** Filter by the object’s `agentId` field. */
|
|
113
|
+
agentId?: UUIDFilter;
|
|
114
|
+
/** Checks for all expressions in this list. */
|
|
115
|
+
and?: AgentMessageFilter[];
|
|
116
|
+
/** Filter by the object’s `authorRole` field. */
|
|
117
|
+
authorRole?: StringFilter;
|
|
84
118
|
/** Filter by the object’s `createdAt` field. */
|
|
85
119
|
createdAt?: DatetimeFilter;
|
|
120
|
+
/** Filter by the object’s `databaseId` field. */
|
|
121
|
+
databaseId?: UUIDFilter;
|
|
122
|
+
/** Filter by the object’s `id` field. */
|
|
123
|
+
id?: UUIDFilter;
|
|
124
|
+
/** Filter by the object’s `model` field. */
|
|
125
|
+
model?: StringFilter;
|
|
126
|
+
/** Negates the expression. */
|
|
127
|
+
not?: AgentMessageFilter;
|
|
128
|
+
/** Checks for any expressions in this list. */
|
|
129
|
+
or?: AgentMessageFilter[];
|
|
130
|
+
/** Filter by the object’s `parts` field. */
|
|
131
|
+
parts?: JSONFilter;
|
|
132
|
+
/** Filter by the object’s `thread` relation. */
|
|
133
|
+
thread?: AgentThreadFilter;
|
|
134
|
+
/** Filter by the object’s `threadId` field. */
|
|
135
|
+
threadId?: UUIDFilter;
|
|
86
136
|
/** Filter by the object’s `updatedAt` field. */
|
|
87
137
|
updatedAt?: DatetimeFilter;
|
|
138
|
+
}
|
|
139
|
+
/** An input for mutations affecting `AgentMessage` */
|
|
140
|
+
export interface AgentMessageInput {
|
|
141
|
+
/** User who authored this message */
|
|
142
|
+
actorId?: string;
|
|
143
|
+
/** Agent that authored this message (NULL for human messages) */
|
|
144
|
+
agentId?: string;
|
|
145
|
+
/** Who authored this message: user or assistant */
|
|
146
|
+
authorRole: string;
|
|
147
|
+
createdAt?: string;
|
|
148
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
149
|
+
databaseId: string;
|
|
150
|
+
id?: string;
|
|
151
|
+
/** LLM model that generated this response */
|
|
152
|
+
model?: string;
|
|
153
|
+
/** Message content: TextPart and ToolPart array */
|
|
154
|
+
parts?: unknown;
|
|
155
|
+
/** Foreign key to agent_thread */
|
|
156
|
+
threadId: string;
|
|
157
|
+
updatedAt?: string;
|
|
158
|
+
}
|
|
159
|
+
/** Represents an update to a `AgentMessage`. Fields that are set will be updated. */
|
|
160
|
+
export interface AgentMessagePatch {
|
|
161
|
+
/** User who authored this message */
|
|
162
|
+
actorId?: string;
|
|
163
|
+
/** Agent that authored this message (NULL for human messages) */
|
|
164
|
+
agentId?: string;
|
|
165
|
+
/** Who authored this message: user or assistant */
|
|
166
|
+
authorRole?: string;
|
|
167
|
+
createdAt?: string;
|
|
168
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
169
|
+
databaseId?: string;
|
|
170
|
+
id?: string;
|
|
171
|
+
/** LLM model that generated this response */
|
|
172
|
+
model?: string;
|
|
173
|
+
/** Message content: TextPart and ToolPart array */
|
|
174
|
+
parts?: unknown;
|
|
175
|
+
/** Foreign key to agent_thread */
|
|
176
|
+
threadId?: string;
|
|
177
|
+
updatedAt?: string;
|
|
178
|
+
}
|
|
179
|
+
/** Represents an update to a `Agent`. Fields that are set will be updated. */
|
|
180
|
+
export interface AgentPatch {
|
|
181
|
+
/** Per-instance config overrides (model, temperature, tools) */
|
|
182
|
+
config?: unknown;
|
|
183
|
+
createdAt?: string;
|
|
184
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
185
|
+
databaseId?: string;
|
|
186
|
+
id?: string;
|
|
187
|
+
/** If true, agent is deleted when its spawning thread is deleted */
|
|
188
|
+
isEphemeral?: boolean;
|
|
189
|
+
/** Display name for this agent instance */
|
|
190
|
+
name?: string;
|
|
191
|
+
/** Human who owns/manages this agent */
|
|
192
|
+
ownerId?: string;
|
|
193
|
+
/** Parent agent (for sub-agent delegation hierarchy) */
|
|
194
|
+
parentId?: string;
|
|
195
|
+
/** Persona template this agent was created from */
|
|
196
|
+
personaId?: string;
|
|
197
|
+
/** Agent lifecycle status: active, paused, terminated */
|
|
198
|
+
status?: string;
|
|
199
|
+
/** System prompt override (NULL = inherit from persona) */
|
|
200
|
+
systemPrompt?: string;
|
|
201
|
+
updatedAt?: string;
|
|
202
|
+
}
|
|
203
|
+
/** A filter to be used against `AgentPersona` object types. All fields are combined with a logical ‘and.’ */
|
|
204
|
+
export interface AgentPersonaFilter {
|
|
205
|
+
/** Filter by the object’s `agentsByPersonaId` relation. */
|
|
206
|
+
agentsByPersonaId?: AgentPersonaToManyAgentFilter;
|
|
207
|
+
/** `agentsByPersonaId` exist. */
|
|
208
|
+
agentsByPersonaIdExist?: boolean;
|
|
209
|
+
/** Checks for all expressions in this list. */
|
|
210
|
+
and?: AgentPersonaFilter[];
|
|
211
|
+
/** Filter by the object’s `config` field. */
|
|
212
|
+
config?: JSONFilter;
|
|
213
|
+
/** Filter by the object’s `createdAt` field. */
|
|
214
|
+
createdAt?: DatetimeFilter;
|
|
88
215
|
/** Filter by the object’s `createdBy` field. */
|
|
89
216
|
createdBy?: UUIDFilter;
|
|
90
|
-
/** Filter by the object’s `updatedBy` field. */
|
|
91
|
-
updatedBy?: UUIDFilter;
|
|
92
217
|
/** Filter by the object’s `databaseId` field. */
|
|
93
218
|
databaseId?: UUIDFilter;
|
|
94
|
-
/** Filter by the object’s `slug` field. */
|
|
95
|
-
slug?: StringFilter;
|
|
96
|
-
/** Filter by the object’s `name` field. */
|
|
97
|
-
name?: StringFilter;
|
|
98
219
|
/** Filter by the object’s `description` field. */
|
|
99
220
|
description?: StringFilter;
|
|
100
|
-
/** Filter by the object’s `
|
|
101
|
-
|
|
102
|
-
/** Filter by the object’s `resources` field. */
|
|
103
|
-
resources?: StringListFilter;
|
|
104
|
-
/** Filter by the object’s `config` field. */
|
|
105
|
-
config?: JSONFilter;
|
|
221
|
+
/** Filter by the object’s `id` field. */
|
|
222
|
+
id?: UUIDFilter;
|
|
106
223
|
/** Filter by the object’s `isActive` field. */
|
|
107
224
|
isActive?: BooleanFilter;
|
|
108
|
-
/**
|
|
109
|
-
|
|
110
|
-
/** Checks for any expressions in this list. */
|
|
111
|
-
or?: AgentPersonaFilter[];
|
|
225
|
+
/** Filter by the object’s `name` field. */
|
|
226
|
+
name?: StringFilter;
|
|
112
227
|
/** Negates the expression. */
|
|
113
228
|
not?: AgentPersonaFilter;
|
|
114
|
-
/**
|
|
115
|
-
|
|
116
|
-
/** `
|
|
117
|
-
|
|
229
|
+
/** Checks for any expressions in this list. */
|
|
230
|
+
or?: AgentPersonaFilter[];
|
|
231
|
+
/** Filter by the object’s `resources` field. */
|
|
232
|
+
resources?: StringListFilter;
|
|
233
|
+
/** Filter by the object’s `slug` field. */
|
|
234
|
+
slug?: StringFilter;
|
|
235
|
+
/** Filter by the object’s `systemPrompt` field. */
|
|
236
|
+
systemPrompt?: StringFilter;
|
|
237
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
238
|
+
updatedAt?: DatetimeFilter;
|
|
239
|
+
/** Filter by the object’s `updatedBy` field. */
|
|
240
|
+
updatedBy?: UUIDFilter;
|
|
118
241
|
}
|
|
119
|
-
/**
|
|
120
|
-
export interface
|
|
121
|
-
/**
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
|
|
242
|
+
/** An input for mutations affecting `AgentPersona` */
|
|
243
|
+
export interface AgentPersonaInput {
|
|
244
|
+
/** Model preferences, temperature, tool access, constraints */
|
|
245
|
+
config?: unknown;
|
|
246
|
+
createdAt?: string;
|
|
247
|
+
createdBy?: string;
|
|
248
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
249
|
+
databaseId: string;
|
|
250
|
+
/** Brief description of this persona role */
|
|
251
|
+
description?: string;
|
|
252
|
+
id?: string;
|
|
253
|
+
/** Whether this persona is available for use */
|
|
254
|
+
isActive?: boolean;
|
|
255
|
+
/** Display name for this persona */
|
|
256
|
+
name: string;
|
|
257
|
+
/** Slugs of agent_resource entries to link when spawning */
|
|
258
|
+
resources?: string[];
|
|
259
|
+
/** Unique human-readable identifier for this persona */
|
|
260
|
+
slug: string;
|
|
261
|
+
/** Default system prompt for agents using this persona */
|
|
262
|
+
systemPrompt?: string;
|
|
263
|
+
updatedAt?: string;
|
|
264
|
+
updatedBy?: string;
|
|
127
265
|
}
|
|
128
|
-
/**
|
|
129
|
-
export interface
|
|
130
|
-
/**
|
|
131
|
-
|
|
266
|
+
/** Represents an update to a `AgentPersona`. Fields that are set will be updated. */
|
|
267
|
+
export interface AgentPersonaPatch {
|
|
268
|
+
/** Model preferences, temperature, tool access, constraints */
|
|
269
|
+
config?: unknown;
|
|
270
|
+
createdAt?: string;
|
|
271
|
+
createdBy?: string;
|
|
272
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
273
|
+
databaseId?: string;
|
|
274
|
+
/** Brief description of this persona role */
|
|
275
|
+
description?: string;
|
|
276
|
+
id?: string;
|
|
277
|
+
/** Whether this persona is available for use */
|
|
278
|
+
isActive?: boolean;
|
|
279
|
+
/** Display name for this persona */
|
|
280
|
+
name?: string;
|
|
281
|
+
/** Slugs of agent_resource entries to link when spawning */
|
|
282
|
+
resources?: string[];
|
|
283
|
+
/** Unique human-readable identifier for this persona */
|
|
284
|
+
slug?: string;
|
|
285
|
+
/** Default system prompt for agents using this persona */
|
|
286
|
+
systemPrompt?: string;
|
|
287
|
+
updatedAt?: string;
|
|
288
|
+
updatedBy?: string;
|
|
289
|
+
}
|
|
290
|
+
/** A filter to be used against many `Agent` object types. All fields are combined with a logical ‘and.’ */
|
|
291
|
+
export interface AgentPersonaToManyAgentFilter {
|
|
132
292
|
/** Filters to entities where every related entity matches. */
|
|
133
|
-
every?:
|
|
293
|
+
every?: AgentFilter;
|
|
134
294
|
/** Filters to entities where no related entity matches. */
|
|
135
|
-
none?:
|
|
295
|
+
none?: AgentFilter;
|
|
296
|
+
/** Filters to entities where at least one related entity matches. */
|
|
297
|
+
some?: AgentFilter;
|
|
136
298
|
}
|
|
137
|
-
/** A filter to be used against `
|
|
138
|
-
export interface
|
|
139
|
-
/** Filter by the object’s `
|
|
140
|
-
|
|
299
|
+
/** A filter to be used against `AgentPlan` object types. All fields are combined with a logical ‘and.’ */
|
|
300
|
+
export interface AgentPlanFilter {
|
|
301
|
+
/** Filter by the object’s `agentTasksByPlanId` relation. */
|
|
302
|
+
agentTasksByPlanId?: AgentPlanToManyAgentTaskFilter;
|
|
303
|
+
/** `agentTasksByPlanId` exist. */
|
|
304
|
+
agentTasksByPlanIdExist?: boolean;
|
|
305
|
+
/** Checks for all expressions in this list. */
|
|
306
|
+
and?: AgentPlanFilter[];
|
|
141
307
|
/** Filter by the object’s `createdAt` field. */
|
|
142
308
|
createdAt?: DatetimeFilter;
|
|
143
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
144
|
-
updatedAt?: DatetimeFilter;
|
|
145
|
-
/** Filter by the object’s `ownerId` field. */
|
|
146
|
-
ownerId?: UUIDFilter;
|
|
147
309
|
/** Filter by the object’s `databaseId` field. */
|
|
148
310
|
databaseId?: UUIDFilter;
|
|
311
|
+
/** Filter by the object’s `description` field. */
|
|
312
|
+
description?: StringFilter;
|
|
313
|
+
/** Filter by the object’s `id` field. */
|
|
314
|
+
id?: UUIDFilter;
|
|
315
|
+
/** Negates the expression. */
|
|
316
|
+
not?: AgentPlanFilter;
|
|
317
|
+
/** Checks for any expressions in this list. */
|
|
318
|
+
or?: AgentPlanFilter[];
|
|
319
|
+
/** Filter by the object’s `ownerId` field. */
|
|
320
|
+
ownerId?: UUIDFilter;
|
|
149
321
|
/** Filter by the object’s `status` field. */
|
|
150
322
|
status?: StringFilter;
|
|
151
|
-
/** Filter by the object’s `
|
|
152
|
-
|
|
153
|
-
/** Filter by the object’s `
|
|
154
|
-
|
|
323
|
+
/** Filter by the object’s `thread` relation. */
|
|
324
|
+
thread?: AgentThreadFilter;
|
|
325
|
+
/** Filter by the object’s `threadId` field. */
|
|
326
|
+
threadId?: UUIDFilter;
|
|
155
327
|
/** Filter by the object’s `title` field. */
|
|
156
328
|
title?: StringFilter;
|
|
157
|
-
/** Filter by the object’s `
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
329
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
330
|
+
updatedAt?: DatetimeFilter;
|
|
331
|
+
}
|
|
332
|
+
/** An input for mutations affecting `AgentPlan` */
|
|
333
|
+
export interface AgentPlanInput {
|
|
334
|
+
createdAt?: string;
|
|
335
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
336
|
+
databaseId: string;
|
|
337
|
+
/** Overall goal or context for this plan */
|
|
338
|
+
description?: string;
|
|
339
|
+
id?: string;
|
|
340
|
+
/** User who owns this plan */
|
|
341
|
+
ownerId?: string;
|
|
342
|
+
/** Plan lifecycle: draft, active, completed, failed, cancelled */
|
|
343
|
+
status?: string;
|
|
344
|
+
/** Foreign key to agent_thread */
|
|
345
|
+
threadId: string;
|
|
346
|
+
/** Human-readable plan name */
|
|
347
|
+
title: string;
|
|
348
|
+
updatedAt?: string;
|
|
349
|
+
}
|
|
350
|
+
/** Represents an update to a `AgentPlan`. Fields that are set will be updated. */
|
|
351
|
+
export interface AgentPlanPatch {
|
|
352
|
+
createdAt?: string;
|
|
353
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
354
|
+
databaseId?: string;
|
|
355
|
+
/** Overall goal or context for this plan */
|
|
356
|
+
description?: string;
|
|
357
|
+
id?: string;
|
|
358
|
+
/** User who owns this plan */
|
|
359
|
+
ownerId?: string;
|
|
360
|
+
/** Plan lifecycle: draft, active, completed, failed, cancelled */
|
|
361
|
+
status?: string;
|
|
362
|
+
/** Foreign key to agent_thread */
|
|
363
|
+
threadId?: string;
|
|
364
|
+
/** Human-readable plan name */
|
|
365
|
+
title?: string;
|
|
366
|
+
updatedAt?: string;
|
|
367
|
+
}
|
|
368
|
+
/** A filter to be used against many `AgentTask` object types. All fields are combined with a logical ‘and.’ */
|
|
369
|
+
export interface AgentPlanToManyAgentTaskFilter {
|
|
370
|
+
/** Filters to entities where every related entity matches. */
|
|
371
|
+
every?: AgentTaskFilter;
|
|
372
|
+
/** Filters to entities where no related entity matches. */
|
|
373
|
+
none?: AgentTaskFilter;
|
|
374
|
+
/** Filters to entities where at least one related entity matches. */
|
|
375
|
+
some?: AgentTaskFilter;
|
|
201
376
|
}
|
|
202
377
|
/** A filter to be used against `AgentPrompt` object types. All fields are combined with a logical ‘and.’ */
|
|
203
378
|
export interface AgentPromptFilter {
|
|
204
|
-
/**
|
|
205
|
-
|
|
379
|
+
/** Checks for all expressions in this list. */
|
|
380
|
+
and?: AgentPromptFilter[];
|
|
381
|
+
/** Filter by the object’s `content` field. */
|
|
382
|
+
content?: StringFilter;
|
|
206
383
|
/** Filter by the object’s `createdAt` field. */
|
|
207
384
|
createdAt?: DatetimeFilter;
|
|
208
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
209
|
-
updatedAt?: DatetimeFilter;
|
|
210
385
|
/** Filter by the object’s `createdBy` field. */
|
|
211
386
|
createdBy?: UUIDFilter;
|
|
212
|
-
/** Filter by the object’s `updatedBy` field. */
|
|
213
|
-
updatedBy?: UUIDFilter;
|
|
214
387
|
/** Filter by the object’s `databaseId` field. */
|
|
215
388
|
databaseId?: UUIDFilter;
|
|
216
|
-
/** Filter by the object’s `name` field. */
|
|
217
|
-
name?: StringFilter;
|
|
218
|
-
/** Filter by the object’s `content` field. */
|
|
219
|
-
content?: StringFilter;
|
|
220
389
|
/** Filter by the object’s `description` field. */
|
|
221
390
|
description?: StringFilter;
|
|
391
|
+
/** Filter by the object’s `id` field. */
|
|
392
|
+
id?: UUIDFilter;
|
|
222
393
|
/** Filter by the object’s `isDefault` field. */
|
|
223
394
|
isDefault?: BooleanFilter;
|
|
224
395
|
/** Filter by the object’s `metadata` field. */
|
|
225
396
|
metadata?: JSONFilter;
|
|
226
|
-
/**
|
|
227
|
-
|
|
228
|
-
/** Checks for any expressions in this list. */
|
|
229
|
-
or?: AgentPromptFilter[];
|
|
397
|
+
/** Filter by the object’s `name` field. */
|
|
398
|
+
name?: StringFilter;
|
|
230
399
|
/** Negates the expression. */
|
|
231
400
|
not?: AgentPromptFilter;
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
export interface AgentThreadToManyAgentThreadFilter {
|
|
235
|
-
/** Filters to entities where at least one related entity matches. */
|
|
236
|
-
some?: AgentThreadFilter;
|
|
237
|
-
/** Filters to entities where every related entity matches. */
|
|
238
|
-
every?: AgentThreadFilter;
|
|
239
|
-
/** Filters to entities where no related entity matches. */
|
|
240
|
-
none?: AgentThreadFilter;
|
|
241
|
-
}
|
|
242
|
-
/** A filter to be used against many `AgentMessage` object types. All fields are combined with a logical ‘and.’ */
|
|
243
|
-
export interface AgentThreadToManyAgentMessageFilter {
|
|
244
|
-
/** Filters to entities where at least one related entity matches. */
|
|
245
|
-
some?: AgentMessageFilter;
|
|
246
|
-
/** Filters to entities where every related entity matches. */
|
|
247
|
-
every?: AgentMessageFilter;
|
|
248
|
-
/** Filters to entities where no related entity matches. */
|
|
249
|
-
none?: AgentMessageFilter;
|
|
250
|
-
}
|
|
251
|
-
/** A filter to be used against `AgentMessage` object types. All fields are combined with a logical ‘and.’ */
|
|
252
|
-
export interface AgentMessageFilter {
|
|
253
|
-
/** Filter by the object’s `id` field. */
|
|
254
|
-
id?: UUIDFilter;
|
|
255
|
-
/** Filter by the object’s `createdAt` field. */
|
|
256
|
-
createdAt?: DatetimeFilter;
|
|
401
|
+
/** Checks for any expressions in this list. */
|
|
402
|
+
or?: AgentPromptFilter[];
|
|
257
403
|
/** Filter by the object’s `updatedAt` field. */
|
|
258
404
|
updatedAt?: DatetimeFilter;
|
|
259
|
-
/** Filter by the object’s `
|
|
260
|
-
|
|
261
|
-
/** Filter by the object’s `parts` field. */
|
|
262
|
-
parts?: JSONFilter;
|
|
263
|
-
/** Filter by the object’s `threadId` field. */
|
|
264
|
-
threadId?: UUIDFilter;
|
|
265
|
-
/** Filter by the object’s `databaseId` field. */
|
|
266
|
-
databaseId?: UUIDFilter;
|
|
267
|
-
/** Filter by the object’s `authorRole` field. */
|
|
268
|
-
authorRole?: StringFilter;
|
|
269
|
-
/** Filter by the object’s `model` field. */
|
|
270
|
-
model?: StringFilter;
|
|
271
|
-
/** Filter by the object’s `agentId` field. */
|
|
272
|
-
agentId?: UUIDFilter;
|
|
273
|
-
/** Checks for all expressions in this list. */
|
|
274
|
-
and?: AgentMessageFilter[];
|
|
275
|
-
/** Checks for any expressions in this list. */
|
|
276
|
-
or?: AgentMessageFilter[];
|
|
277
|
-
/** Negates the expression. */
|
|
278
|
-
not?: AgentMessageFilter;
|
|
279
|
-
/** Filter by the object’s `agent` relation. */
|
|
280
|
-
agent?: AgentFilter;
|
|
281
|
-
/** A related `agent` exists. */
|
|
282
|
-
agentExists?: boolean;
|
|
283
|
-
/** Filter by the object’s `thread` relation. */
|
|
284
|
-
thread?: AgentThreadFilter;
|
|
285
|
-
}
|
|
286
|
-
/** A filter to be used against many `AgentPlan` object types. All fields are combined with a logical ‘and.’ */
|
|
287
|
-
export interface AgentThreadToManyAgentPlanFilter {
|
|
288
|
-
/** Filters to entities where at least one related entity matches. */
|
|
289
|
-
some?: AgentPlanFilter;
|
|
290
|
-
/** Filters to entities where every related entity matches. */
|
|
291
|
-
every?: AgentPlanFilter;
|
|
292
|
-
/** Filters to entities where no related entity matches. */
|
|
293
|
-
none?: AgentPlanFilter;
|
|
294
|
-
}
|
|
295
|
-
/** A filter to be used against `AgentPlan` object types. All fields are combined with a logical ‘and.’ */
|
|
296
|
-
export interface AgentPlanFilter {
|
|
297
|
-
/** Filter by the object’s `id` field. */
|
|
298
|
-
id?: UUIDFilter;
|
|
299
|
-
/** Filter by the object’s `createdAt` field. */
|
|
300
|
-
createdAt?: DatetimeFilter;
|
|
301
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
302
|
-
updatedAt?: DatetimeFilter;
|
|
303
|
-
/** Filter by the object’s `ownerId` field. */
|
|
304
|
-
ownerId?: UUIDFilter;
|
|
305
|
-
/** Filter by the object’s `threadId` field. */
|
|
306
|
-
threadId?: UUIDFilter;
|
|
307
|
-
/** Filter by the object’s `databaseId` field. */
|
|
308
|
-
databaseId?: UUIDFilter;
|
|
309
|
-
/** Filter by the object’s `title` field. */
|
|
310
|
-
title?: StringFilter;
|
|
311
|
-
/** Filter by the object’s `description` field. */
|
|
312
|
-
description?: StringFilter;
|
|
313
|
-
/** Filter by the object’s `status` field. */
|
|
314
|
-
status?: StringFilter;
|
|
315
|
-
/** Checks for all expressions in this list. */
|
|
316
|
-
and?: AgentPlanFilter[];
|
|
317
|
-
/** Checks for any expressions in this list. */
|
|
318
|
-
or?: AgentPlanFilter[];
|
|
319
|
-
/** Negates the expression. */
|
|
320
|
-
not?: AgentPlanFilter;
|
|
321
|
-
/** Filter by the object’s `thread` relation. */
|
|
322
|
-
thread?: AgentThreadFilter;
|
|
323
|
-
/** Filter by the object’s `agentTasksByPlanId` relation. */
|
|
324
|
-
agentTasksByPlanId?: AgentPlanToManyAgentTaskFilter;
|
|
325
|
-
/** `agentTasksByPlanId` exist. */
|
|
326
|
-
agentTasksByPlanIdExist?: boolean;
|
|
327
|
-
}
|
|
328
|
-
/** A filter to be used against many `AgentTask` object types. All fields are combined with a logical ‘and.’ */
|
|
329
|
-
export interface AgentPlanToManyAgentTaskFilter {
|
|
330
|
-
/** Filters to entities where at least one related entity matches. */
|
|
331
|
-
some?: AgentTaskFilter;
|
|
332
|
-
/** Filters to entities where every related entity matches. */
|
|
333
|
-
every?: AgentTaskFilter;
|
|
334
|
-
/** Filters to entities where no related entity matches. */
|
|
335
|
-
none?: AgentTaskFilter;
|
|
336
|
-
}
|
|
337
|
-
/** A filter to be used against `AgentTask` object types. All fields are combined with a logical ‘and.’ */
|
|
338
|
-
export interface AgentTaskFilter {
|
|
339
|
-
/** Filter by the object’s `id` field. */
|
|
340
|
-
id?: UUIDFilter;
|
|
341
|
-
/** Filter by the object’s `createdAt` field. */
|
|
342
|
-
createdAt?: DatetimeFilter;
|
|
343
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
344
|
-
updatedAt?: DatetimeFilter;
|
|
345
|
-
/** Filter by the object’s `actorId` field. */
|
|
346
|
-
actorId?: UUIDFilter;
|
|
347
|
-
/** Filter by the object’s `status` field. */
|
|
348
|
-
status?: StringFilter;
|
|
349
|
-
/** Filter by the object’s `planId` field. */
|
|
350
|
-
planId?: UUIDFilter;
|
|
351
|
-
/** Filter by the object’s `databaseId` field. */
|
|
352
|
-
databaseId?: UUIDFilter;
|
|
353
|
-
/** Filter by the object’s `description` field. */
|
|
354
|
-
description?: StringFilter;
|
|
355
|
-
/** Filter by the object’s `source` field. */
|
|
356
|
-
source?: StringFilter;
|
|
357
|
-
/** Filter by the object’s `error` field. */
|
|
358
|
-
error?: StringFilter;
|
|
359
|
-
/** Filter by the object’s `orderIndex` field. */
|
|
360
|
-
orderIndex?: IntFilter;
|
|
361
|
-
/** Filter by the object’s `requiresApproval` field. */
|
|
362
|
-
requiresApproval?: BooleanFilter;
|
|
363
|
-
/** Filter by the object’s `approvalStatus` field. */
|
|
364
|
-
approvalStatus?: StringFilter;
|
|
365
|
-
/** Filter by the object’s `approvedBy` field. */
|
|
366
|
-
approvedBy?: UUIDFilter;
|
|
367
|
-
/** Filter by the object’s `approvedAt` field. */
|
|
368
|
-
approvedAt?: DatetimeFilter;
|
|
369
|
-
/** Filter by the object’s `approvalFeedback` field. */
|
|
370
|
-
approvalFeedback?: StringFilter;
|
|
371
|
-
/** Checks for all expressions in this list. */
|
|
372
|
-
and?: AgentTaskFilter[];
|
|
373
|
-
/** Checks for any expressions in this list. */
|
|
374
|
-
or?: AgentTaskFilter[];
|
|
375
|
-
/** Negates the expression. */
|
|
376
|
-
not?: AgentTaskFilter;
|
|
377
|
-
/** Filter by the object’s `plan` relation. */
|
|
378
|
-
plan?: AgentPlanFilter;
|
|
405
|
+
/** Filter by the object’s `updatedBy` field. */
|
|
406
|
+
updatedBy?: UUIDFilter;
|
|
379
407
|
}
|
|
380
|
-
/**
|
|
381
|
-
export interface
|
|
382
|
-
/**
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
/**
|
|
387
|
-
|
|
408
|
+
/** An input for mutations affecting `AgentPrompt` */
|
|
409
|
+
export interface AgentPromptInput {
|
|
410
|
+
/** The system prompt template content */
|
|
411
|
+
content: string;
|
|
412
|
+
createdAt?: string;
|
|
413
|
+
createdBy?: string;
|
|
414
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
415
|
+
databaseId: string;
|
|
416
|
+
/** What this prompt template is for */
|
|
417
|
+
description?: string;
|
|
418
|
+
id?: string;
|
|
419
|
+
/** Whether this is the default prompt for the entity/app */
|
|
420
|
+
isDefault?: boolean;
|
|
421
|
+
/** Variables, tags, category metadata */
|
|
422
|
+
metadata?: unknown;
|
|
423
|
+
/** Unique name for lookup (e.g. default, code-review, sales-assistant) */
|
|
424
|
+
name: string;
|
|
425
|
+
updatedAt?: string;
|
|
426
|
+
updatedBy?: string;
|
|
388
427
|
}
|
|
389
|
-
/**
|
|
390
|
-
export interface
|
|
391
|
-
/**
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
|
|
428
|
+
/** Represents an update to a `AgentPrompt`. Fields that are set will be updated. */
|
|
429
|
+
export interface AgentPromptPatch {
|
|
430
|
+
/** The system prompt template content */
|
|
431
|
+
content?: string;
|
|
432
|
+
createdAt?: string;
|
|
433
|
+
createdBy?: string;
|
|
434
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
435
|
+
databaseId?: string;
|
|
436
|
+
/** What this prompt template is for */
|
|
437
|
+
description?: string;
|
|
438
|
+
id?: string;
|
|
439
|
+
/** Whether this is the default prompt for the entity/app */
|
|
440
|
+
isDefault?: boolean;
|
|
441
|
+
/** Variables, tags, category metadata */
|
|
442
|
+
metadata?: unknown;
|
|
443
|
+
/** Unique name for lookup (e.g. default, code-review, sales-assistant) */
|
|
444
|
+
name?: string;
|
|
445
|
+
updatedAt?: string;
|
|
446
|
+
updatedBy?: string;
|
|
397
447
|
}
|
|
398
448
|
/** A filter to be used against `AgentResourceChunk` object types. All fields are combined with a logical ‘and.’ */
|
|
399
449
|
export interface AgentResourceChunkFilter {
|
|
400
|
-
/** Filter by the object’s `
|
|
401
|
-
|
|
450
|
+
/** Filter by the object’s `agentResource` relation. */
|
|
451
|
+
agentResource?: AgentResourceFilter;
|
|
402
452
|
/** Filter by the object’s `agentResourceId` field. */
|
|
403
453
|
agentResourceId?: UUIDFilter;
|
|
454
|
+
/** Checks for all expressions in this list. */
|
|
455
|
+
and?: AgentResourceChunkFilter[];
|
|
404
456
|
/** Filter by the object’s `body` field. */
|
|
405
457
|
body?: StringFilter;
|
|
406
458
|
/** Filter by the object’s `chunkIndex` field. */
|
|
407
459
|
chunkIndex?: IntFilter;
|
|
460
|
+
/** Filter by the object’s `createdAt` field. */
|
|
461
|
+
createdAt?: DatetimeFilter;
|
|
408
462
|
/** Filter by the object’s `embedding` field. */
|
|
409
463
|
embedding?: VectorFilter;
|
|
464
|
+
/** Filter by the object’s `id` field. */
|
|
465
|
+
id?: UUIDFilter;
|
|
410
466
|
/** Filter by the object’s `metadata` field. */
|
|
411
467
|
metadata?: JSONFilter;
|
|
412
|
-
/** Filter by the object’s `createdAt` field. */
|
|
413
|
-
createdAt?: DatetimeFilter;
|
|
414
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
415
|
-
updatedAt?: DatetimeFilter;
|
|
416
|
-
/** Checks for all expressions in this list. */
|
|
417
|
-
and?: AgentResourceChunkFilter[];
|
|
418
|
-
/** Checks for any expressions in this list. */
|
|
419
|
-
or?: AgentResourceChunkFilter[];
|
|
420
468
|
/** Negates the expression. */
|
|
421
469
|
not?: AgentResourceChunkFilter;
|
|
422
|
-
/**
|
|
423
|
-
|
|
470
|
+
/** Checks for any expressions in this list. */
|
|
471
|
+
or?: AgentResourceChunkFilter[];
|
|
472
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
473
|
+
updatedAt?: DatetimeFilter;
|
|
424
474
|
/** VECTOR search on the `embedding` column. */
|
|
425
475
|
vectorEmbedding?: VectorNearbyInput;
|
|
426
476
|
}
|
|
477
|
+
/** An input for mutations affecting `AgentResourceChunk` */
|
|
478
|
+
export interface AgentResourceChunkInput {
|
|
479
|
+
agentResourceId: string;
|
|
480
|
+
body: string;
|
|
481
|
+
chunkIndex?: number;
|
|
482
|
+
createdAt?: string;
|
|
483
|
+
embedding?: number[];
|
|
484
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Mutually exclusive with `embedding` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
|
|
485
|
+
embeddingText?: string;
|
|
486
|
+
id?: string;
|
|
487
|
+
metadata?: unknown;
|
|
488
|
+
updatedAt?: string;
|
|
489
|
+
}
|
|
490
|
+
/** Represents an update to a `AgentResourceChunk`. Fields that are set will be updated. */
|
|
491
|
+
export interface AgentResourceChunkPatch {
|
|
492
|
+
agentResourceId?: string;
|
|
493
|
+
body?: string;
|
|
494
|
+
chunkIndex?: number;
|
|
495
|
+
createdAt?: string;
|
|
496
|
+
embedding?: number[];
|
|
497
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Mutually exclusive with `embedding` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
|
|
498
|
+
embeddingText?: string;
|
|
499
|
+
id?: string;
|
|
500
|
+
metadata?: unknown;
|
|
501
|
+
updatedAt?: string;
|
|
502
|
+
}
|
|
427
503
|
/** A filter to be used against `AgentResource` object types. All fields are combined with a logical ‘and.’ */
|
|
428
504
|
export interface AgentResourceFilter {
|
|
429
|
-
/** Filter by the object’s `
|
|
430
|
-
|
|
505
|
+
/** Filter by the object’s `agentResourceChunks` relation. */
|
|
506
|
+
agentResourceChunks?: AgentResourceToManyAgentResourceChunkFilter;
|
|
507
|
+
/** `agentResourceChunks` exist. */
|
|
508
|
+
agentResourceChunksExist?: boolean;
|
|
509
|
+
/** Checks for all expressions in this list. */
|
|
510
|
+
and?: AgentResourceFilter[];
|
|
511
|
+
/** Filter by the object’s `archivedAt` field. */
|
|
512
|
+
archivedAt?: DatetimeFilter;
|
|
513
|
+
/** Filter by the object’s `body` field. */
|
|
514
|
+
body?: StringTrgmFilter;
|
|
431
515
|
/** Filter by the object’s `createdAt` field. */
|
|
432
516
|
createdAt?: DatetimeFilter;
|
|
433
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
434
|
-
updatedAt?: DatetimeFilter;
|
|
435
517
|
/** Filter by the object’s `createdBy` field. */
|
|
436
518
|
createdBy?: UUIDFilter;
|
|
437
|
-
/** Filter by the object’s `updatedBy` field. */
|
|
438
|
-
updatedBy?: UUIDFilter;
|
|
439
519
|
/** Filter by the object’s `databaseId` field. */
|
|
440
520
|
databaseId?: UUIDFilter;
|
|
441
|
-
/** Filter by the object’s `slug` field. */
|
|
442
|
-
slug?: StringTrgmFilter;
|
|
443
|
-
/** Filter by the object’s `kind` field. */
|
|
444
|
-
kind?: StringTrgmFilter;
|
|
445
|
-
/** Filter by the object’s `title` field. */
|
|
446
|
-
title?: StringTrgmFilter;
|
|
447
521
|
/** Filter by the object’s `description` field. */
|
|
448
522
|
description?: StringTrgmFilter;
|
|
449
|
-
/** Filter by the object’s `body` field. */
|
|
450
|
-
body?: StringTrgmFilter;
|
|
451
|
-
/** Filter by the object’s `keywords` field. */
|
|
452
|
-
keywords?: StringListFilter;
|
|
453
|
-
/** Filter by the object’s `isActive` field. */
|
|
454
|
-
isActive?: BooleanFilter;
|
|
455
|
-
/** Filter by the object’s `metadata` field. */
|
|
456
|
-
metadata?: JSONFilter;
|
|
457
|
-
/** Filter by the object’s `isArchived` field. */
|
|
458
|
-
isArchived?: BooleanFilter;
|
|
459
|
-
/** Filter by the object’s `archivedAt` field. */
|
|
460
|
-
archivedAt?: DatetimeFilter;
|
|
461
|
-
/** Filter by the object’s `search` field. */
|
|
462
|
-
search?: FullTextFilter;
|
|
463
523
|
/** Filter by the object’s `embedding` field. */
|
|
464
524
|
embedding?: VectorFilter;
|
|
465
525
|
/** Filter by the object’s `embeddingUpdatedAt` field. */
|
|
466
526
|
embeddingUpdatedAt?: DatetimeFilter;
|
|
467
|
-
/**
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
|
|
527
|
+
/** Filter by the object’s `id` field. */
|
|
528
|
+
id?: UUIDFilter;
|
|
529
|
+
/** Filter by the object’s `isActive` field. */
|
|
530
|
+
isActive?: BooleanFilter;
|
|
531
|
+
/** Filter by the object’s `isArchived` field. */
|
|
532
|
+
isArchived?: BooleanFilter;
|
|
533
|
+
/** Filter by the object’s `keywords` field. */
|
|
534
|
+
keywords?: StringListFilter;
|
|
535
|
+
/** Filter by the object’s `kind` field. */
|
|
536
|
+
kind?: StringTrgmFilter;
|
|
537
|
+
/** Filter by the object’s `metadata` field. */
|
|
538
|
+
metadata?: JSONFilter;
|
|
471
539
|
/** Negates the expression. */
|
|
472
540
|
not?: AgentResourceFilter;
|
|
473
|
-
/**
|
|
474
|
-
|
|
475
|
-
/** `
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
|
|
479
|
-
/**
|
|
480
|
-
|
|
541
|
+
/** Checks for any expressions in this list. */
|
|
542
|
+
or?: AgentResourceFilter[];
|
|
543
|
+
/** Filter by the object’s `search` field. */
|
|
544
|
+
search?: FullTextFilter;
|
|
545
|
+
/** Filter by the object’s `slug` field. */
|
|
546
|
+
slug?: StringTrgmFilter;
|
|
547
|
+
/** Filter by the object’s `title` field. */
|
|
548
|
+
title?: StringTrgmFilter;
|
|
549
|
+
/** TRGM search on the `body` column. */
|
|
550
|
+
trgmBody?: TrgmSearchInput;
|
|
551
|
+
/** TRGM search on the `description` column. */
|
|
552
|
+
trgmDescription?: TrgmSearchInput;
|
|
481
553
|
/** TRGM search on the `kind` column. */
|
|
482
554
|
trgmKind?: TrgmSearchInput;
|
|
483
555
|
/** TRGM search on the `title` column. */
|
|
484
556
|
trgmTitle?: TrgmSearchInput;
|
|
485
|
-
/**
|
|
486
|
-
|
|
487
|
-
/** TRGM search on the `body` column. */
|
|
488
|
-
trgmBody?: TrgmSearchInput;
|
|
557
|
+
/** TSV search on the `search` column. */
|
|
558
|
+
tsvSearch?: string;
|
|
489
559
|
/**
|
|
490
560
|
* Composite unified search. Provide a search string and it will be dispatched to
|
|
491
561
|
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
|
|
@@ -494,657 +564,424 @@ export interface AgentResourceFilter {
|
|
|
494
564
|
* fields are populated.
|
|
495
565
|
*/
|
|
496
566
|
unifiedSearch?: string;
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
equalTo?: string;
|
|
504
|
-
/** Not equal to the specified value. */
|
|
505
|
-
notEqualTo?: string;
|
|
506
|
-
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
507
|
-
distinctFrom?: string;
|
|
508
|
-
/** Equal to the specified value, treating null like an ordinary value. */
|
|
509
|
-
notDistinctFrom?: string;
|
|
510
|
-
/** Included in the specified list. */
|
|
511
|
-
in?: string[];
|
|
512
|
-
/** Not included in the specified list. */
|
|
513
|
-
notIn?: string[];
|
|
514
|
-
/** Less than the specified value. */
|
|
515
|
-
lessThan?: string;
|
|
516
|
-
/** Less than or equal to the specified value. */
|
|
517
|
-
lessThanOrEqualTo?: string;
|
|
518
|
-
/** Greater than the specified value. */
|
|
519
|
-
greaterThan?: string;
|
|
520
|
-
/** Greater than or equal to the specified value. */
|
|
521
|
-
greaterThanOrEqualTo?: string;
|
|
522
|
-
/** Contains the specified string (case-sensitive). */
|
|
523
|
-
includes?: string;
|
|
524
|
-
/** Does not contain the specified string (case-sensitive). */
|
|
525
|
-
notIncludes?: string;
|
|
526
|
-
/** Contains the specified string (case-insensitive). */
|
|
527
|
-
includesInsensitive?: string;
|
|
528
|
-
/** Does not contain the specified string (case-insensitive). */
|
|
529
|
-
notIncludesInsensitive?: string;
|
|
530
|
-
/** Starts with the specified string (case-sensitive). */
|
|
531
|
-
startsWith?: string;
|
|
532
|
-
/** Does not start with the specified string (case-sensitive). */
|
|
533
|
-
notStartsWith?: string;
|
|
534
|
-
/** Starts with the specified string (case-insensitive). */
|
|
535
|
-
startsWithInsensitive?: string;
|
|
536
|
-
/** Does not start with the specified string (case-insensitive). */
|
|
537
|
-
notStartsWithInsensitive?: string;
|
|
538
|
-
/** Ends with the specified string (case-sensitive). */
|
|
539
|
-
endsWith?: string;
|
|
540
|
-
/** Does not end with the specified string (case-sensitive). */
|
|
541
|
-
notEndsWith?: string;
|
|
542
|
-
/** Ends with the specified string (case-insensitive). */
|
|
543
|
-
endsWithInsensitive?: string;
|
|
544
|
-
/** Does not end with the specified string (case-insensitive). */
|
|
545
|
-
notEndsWithInsensitive?: string;
|
|
546
|
-
/** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
547
|
-
like?: string;
|
|
548
|
-
/** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
549
|
-
notLike?: string;
|
|
550
|
-
/** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
551
|
-
likeInsensitive?: string;
|
|
552
|
-
/** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
553
|
-
notLikeInsensitive?: string;
|
|
554
|
-
/** Equal to the specified value (case-insensitive). */
|
|
555
|
-
equalToInsensitive?: string;
|
|
556
|
-
/** Not equal to the specified value (case-insensitive). */
|
|
557
|
-
notEqualToInsensitive?: string;
|
|
558
|
-
/** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
559
|
-
distinctFromInsensitive?: string;
|
|
560
|
-
/** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
561
|
-
notDistinctFromInsensitive?: string;
|
|
562
|
-
/** Included in the specified list (case-insensitive). */
|
|
563
|
-
inInsensitive?: string[];
|
|
564
|
-
/** Not included in the specified list (case-insensitive). */
|
|
565
|
-
notInInsensitive?: string[];
|
|
566
|
-
/** Less than the specified value (case-insensitive). */
|
|
567
|
-
lessThanInsensitive?: string;
|
|
568
|
-
/** Less than or equal to the specified value (case-insensitive). */
|
|
569
|
-
lessThanOrEqualToInsensitive?: string;
|
|
570
|
-
/** Greater than the specified value (case-insensitive). */
|
|
571
|
-
greaterThanInsensitive?: string;
|
|
572
|
-
/** Greater than or equal to the specified value (case-insensitive). */
|
|
573
|
-
greaterThanOrEqualToInsensitive?: string;
|
|
574
|
-
/** Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings. */
|
|
575
|
-
similarTo?: TrgmSearchInput;
|
|
576
|
-
/** Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value. */
|
|
577
|
-
wordSimilarTo?: TrgmSearchInput;
|
|
578
|
-
}
|
|
579
|
-
/** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */
|
|
580
|
-
export interface TrgmSearchInput {
|
|
581
|
-
/** The text to fuzzy-match against. Typos and misspellings are tolerated. */
|
|
582
|
-
value: string;
|
|
583
|
-
/** Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. */
|
|
584
|
-
threshold?: number;
|
|
585
|
-
}
|
|
586
|
-
/** A filter to be used against many `AgentResourceChunk` object types. All fields are combined with a logical ‘and.’ */
|
|
587
|
-
export interface AgentResourceToManyAgentResourceChunkFilter {
|
|
588
|
-
/** Filters to entities where at least one related entity matches. */
|
|
589
|
-
some?: AgentResourceChunkFilter;
|
|
590
|
-
/** Filters to entities where every related entity matches. */
|
|
591
|
-
every?: AgentResourceChunkFilter;
|
|
592
|
-
/** Filters to entities where no related entity matches. */
|
|
593
|
-
none?: AgentResourceChunkFilter;
|
|
594
|
-
}
|
|
595
|
-
/** Input for vector similarity search. Provide a query vector, optional metric, and optional max distance threshold. */
|
|
596
|
-
export interface VectorNearbyInput {
|
|
597
|
-
/** Query vector for similarity search. */
|
|
598
|
-
vector: number[];
|
|
599
|
-
/** Similarity metric to use (default: COSINE). */
|
|
600
|
-
metric?: VectorMetric;
|
|
601
|
-
/** Maximum distance threshold. Only rows within this distance are returned. */
|
|
602
|
-
distance?: number;
|
|
603
|
-
/** When true (default for tables with @hasChunks), transparently queries the chunks table and returns the minimum distance across parent + all chunks. Set to false to only search the parent embedding. */
|
|
604
|
-
includeChunks?: boolean;
|
|
605
|
-
/** Natural language text to embed server-side for similarity search. Mutually exclusive with `vector` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
|
|
606
|
-
text?: string;
|
|
607
|
-
}
|
|
608
|
-
export interface CreateAgentPlanInput {
|
|
609
|
-
clientMutationId?: string;
|
|
610
|
-
/** The `AgentPlan` to be created by this mutation. */
|
|
611
|
-
agentPlan: AgentPlanInput;
|
|
612
|
-
}
|
|
613
|
-
/** An input for mutations affecting `AgentPlan` */
|
|
614
|
-
export interface AgentPlanInput {
|
|
615
|
-
id?: string;
|
|
616
|
-
createdAt?: string;
|
|
617
|
-
updatedAt?: string;
|
|
618
|
-
/** User who owns this plan */
|
|
619
|
-
ownerId?: string;
|
|
620
|
-
/** Foreign key to agent_thread */
|
|
621
|
-
threadId: string;
|
|
622
|
-
/** Database that owns this resource (database-scoped isolation) */
|
|
623
|
-
databaseId: string;
|
|
624
|
-
/** Human-readable plan name */
|
|
625
|
-
title: string;
|
|
626
|
-
/** Overall goal or context for this plan */
|
|
627
|
-
description?: string;
|
|
628
|
-
/** Plan lifecycle: draft, active, completed, failed, cancelled */
|
|
629
|
-
status?: string;
|
|
630
|
-
}
|
|
631
|
-
export interface CreateAgentPromptInput {
|
|
632
|
-
clientMutationId?: string;
|
|
633
|
-
/** The `AgentPrompt` to be created by this mutation. */
|
|
634
|
-
agentPrompt: AgentPromptInput;
|
|
635
|
-
}
|
|
636
|
-
/** An input for mutations affecting `AgentPrompt` */
|
|
637
|
-
export interface AgentPromptInput {
|
|
638
|
-
id?: string;
|
|
639
|
-
createdAt?: string;
|
|
640
|
-
updatedAt?: string;
|
|
641
|
-
createdBy?: string;
|
|
642
|
-
updatedBy?: string;
|
|
643
|
-
/** Database that owns this resource (database-scoped isolation) */
|
|
644
|
-
databaseId: string;
|
|
645
|
-
/** Unique name for lookup (e.g. default, code-review, sales-assistant) */
|
|
646
|
-
name: string;
|
|
647
|
-
/** The system prompt template content */
|
|
648
|
-
content: string;
|
|
649
|
-
/** What this prompt template is for */
|
|
650
|
-
description?: string;
|
|
651
|
-
/** Whether this is the default prompt for the entity/app */
|
|
652
|
-
isDefault?: boolean;
|
|
653
|
-
/** Variables, tags, category metadata */
|
|
654
|
-
metadata?: unknown;
|
|
655
|
-
}
|
|
656
|
-
export interface CreateAgentInput {
|
|
657
|
-
clientMutationId?: string;
|
|
658
|
-
/** The `Agent` to be created by this mutation. */
|
|
659
|
-
agent: AgentInput;
|
|
660
|
-
}
|
|
661
|
-
/** An input for mutations affecting `Agent` */
|
|
662
|
-
export interface AgentInput {
|
|
663
|
-
id?: string;
|
|
664
|
-
createdAt?: string;
|
|
665
|
-
updatedAt?: string;
|
|
666
|
-
/** Human who owns/manages this agent */
|
|
667
|
-
ownerId?: string;
|
|
668
|
-
/** Database that owns this resource (database-scoped isolation) */
|
|
669
|
-
databaseId: string;
|
|
670
|
-
/** Persona template this agent was created from */
|
|
671
|
-
personaId?: string;
|
|
672
|
-
/** Parent agent (for sub-agent delegation hierarchy) */
|
|
673
|
-
parentId?: string;
|
|
674
|
-
/** Display name for this agent instance */
|
|
675
|
-
name: string;
|
|
676
|
-
/** System prompt override (NULL = inherit from persona) */
|
|
677
|
-
systemPrompt?: string;
|
|
678
|
-
/** Per-instance config overrides (model, temperature, tools) */
|
|
679
|
-
config?: unknown;
|
|
680
|
-
/** Agent lifecycle status: active, paused, terminated */
|
|
681
|
-
status?: string;
|
|
682
|
-
/** If true, agent is deleted when its spawning thread is deleted */
|
|
683
|
-
isEphemeral?: boolean;
|
|
684
|
-
}
|
|
685
|
-
export interface CreateAgentMessageInput {
|
|
686
|
-
clientMutationId?: string;
|
|
687
|
-
/** The `AgentMessage` to be created by this mutation. */
|
|
688
|
-
agentMessage: AgentMessageInput;
|
|
689
|
-
}
|
|
690
|
-
/** An input for mutations affecting `AgentMessage` */
|
|
691
|
-
export interface AgentMessageInput {
|
|
692
|
-
id?: string;
|
|
693
|
-
createdAt?: string;
|
|
694
|
-
updatedAt?: string;
|
|
695
|
-
/** User who authored this message */
|
|
696
|
-
actorId?: string;
|
|
697
|
-
/** Message content: TextPart and ToolPart array */
|
|
698
|
-
parts?: unknown;
|
|
699
|
-
/** Foreign key to agent_thread */
|
|
700
|
-
threadId: string;
|
|
701
|
-
/** Database that owns this resource (database-scoped isolation) */
|
|
702
|
-
databaseId: string;
|
|
703
|
-
/** Who authored this message: user or assistant */
|
|
704
|
-
authorRole: string;
|
|
705
|
-
/** LLM model that generated this response */
|
|
706
|
-
model?: string;
|
|
707
|
-
/** Agent that authored this message (NULL for human messages) */
|
|
708
|
-
agentId?: string;
|
|
709
|
-
}
|
|
710
|
-
export interface CreateAgentResourceChunkInput {
|
|
711
|
-
clientMutationId?: string;
|
|
712
|
-
/** The `AgentResourceChunk` to be created by this mutation. */
|
|
713
|
-
agentResourceChunk: AgentResourceChunkInput;
|
|
714
|
-
}
|
|
715
|
-
/** An input for mutations affecting `AgentResourceChunk` */
|
|
716
|
-
export interface AgentResourceChunkInput {
|
|
717
|
-
id?: string;
|
|
718
|
-
agentResourceId: string;
|
|
719
|
-
body: string;
|
|
720
|
-
chunkIndex?: number;
|
|
721
|
-
embedding?: number[];
|
|
722
|
-
metadata?: unknown;
|
|
723
|
-
createdAt?: string;
|
|
724
|
-
updatedAt?: string;
|
|
725
|
-
/** Natural language text to embed server-side into the `embedding` vector column. Mutually exclusive with `embedding` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
|
|
726
|
-
embeddingText?: string;
|
|
727
|
-
}
|
|
728
|
-
export interface CreateAgentTaskInput {
|
|
729
|
-
clientMutationId?: string;
|
|
730
|
-
/** The `AgentTask` to be created by this mutation. */
|
|
731
|
-
agentTask: AgentTaskInput;
|
|
732
|
-
}
|
|
733
|
-
/** An input for mutations affecting `AgentTask` */
|
|
734
|
-
export interface AgentTaskInput {
|
|
735
|
-
id?: string;
|
|
736
|
-
createdAt?: string;
|
|
737
|
-
updatedAt?: string;
|
|
738
|
-
/** User who authored this task */
|
|
739
|
-
actorId?: string;
|
|
740
|
-
/** Current status of this task */
|
|
741
|
-
status?: string;
|
|
742
|
-
/** Foreign key to agent_plan */
|
|
743
|
-
planId: string;
|
|
744
|
-
/** Database that owns this resource (database-scoped isolation) */
|
|
745
|
-
databaseId: string;
|
|
746
|
-
/** Natural-language description of the work to do */
|
|
747
|
-
description: string;
|
|
748
|
-
/** Who created the task: agent or user */
|
|
749
|
-
source?: string;
|
|
750
|
-
/** Error message captured when the task failed */
|
|
751
|
-
error?: string;
|
|
752
|
-
/** Position within the plan (for ordered task lists) */
|
|
753
|
-
orderIndex?: number;
|
|
754
|
-
/** Whether this task is an approval gate requiring human decision */
|
|
755
|
-
requiresApproval?: boolean;
|
|
756
|
-
/** Approval decision: pending, approved, rejected (NULL if not an approval task) */
|
|
757
|
-
approvalStatus?: string;
|
|
758
|
-
/** User who approved or rejected this task */
|
|
759
|
-
approvedBy?: string;
|
|
760
|
-
/** Timestamp of the approval or rejection decision */
|
|
761
|
-
approvedAt?: string;
|
|
762
|
-
/** Reviewer feedback or reason for the decision */
|
|
763
|
-
approvalFeedback?: string;
|
|
764
|
-
}
|
|
765
|
-
export interface CreateAgentPersonaInput {
|
|
766
|
-
clientMutationId?: string;
|
|
767
|
-
/** The `AgentPersona` to be created by this mutation. */
|
|
768
|
-
agentPersona: AgentPersonaInput;
|
|
769
|
-
}
|
|
770
|
-
/** An input for mutations affecting `AgentPersona` */
|
|
771
|
-
export interface AgentPersonaInput {
|
|
772
|
-
id?: string;
|
|
773
|
-
createdAt?: string;
|
|
774
|
-
updatedAt?: string;
|
|
775
|
-
createdBy?: string;
|
|
776
|
-
updatedBy?: string;
|
|
777
|
-
/** Database that owns this resource (database-scoped isolation) */
|
|
778
|
-
databaseId: string;
|
|
779
|
-
/** Unique human-readable identifier for this persona */
|
|
780
|
-
slug: string;
|
|
781
|
-
/** Display name for this persona */
|
|
782
|
-
name: string;
|
|
783
|
-
/** Brief description of this persona role */
|
|
784
|
-
description?: string;
|
|
785
|
-
/** Default system prompt for agents using this persona */
|
|
786
|
-
systemPrompt?: string;
|
|
787
|
-
/** Slugs of agent_resource entries to link when spawning */
|
|
788
|
-
resources?: string[];
|
|
789
|
-
/** Model preferences, temperature, tool access, constraints */
|
|
790
|
-
config?: unknown;
|
|
791
|
-
/** Whether this persona is available for use */
|
|
792
|
-
isActive?: boolean;
|
|
793
|
-
}
|
|
794
|
-
export interface CreateAgentThreadInput {
|
|
795
|
-
clientMutationId?: string;
|
|
796
|
-
/** The `AgentThread` to be created by this mutation. */
|
|
797
|
-
agentThread: AgentThreadInput;
|
|
798
|
-
}
|
|
799
|
-
/** An input for mutations affecting `AgentThread` */
|
|
800
|
-
export interface AgentThreadInput {
|
|
801
|
-
id?: string;
|
|
802
|
-
createdAt?: string;
|
|
803
|
-
updatedAt?: string;
|
|
804
|
-
/** User who owns this thread */
|
|
805
|
-
ownerId?: string;
|
|
806
|
-
/** Database that owns this resource (database-scoped isolation) */
|
|
807
|
-
databaseId: string;
|
|
808
|
-
/** Current status of this thread */
|
|
809
|
-
status?: string;
|
|
810
|
-
/** Whether this record has been archived by the user */
|
|
811
|
-
isArchived?: boolean;
|
|
812
|
-
/** Timestamp when this record was archived, NULL if active */
|
|
813
|
-
archivedAt?: string;
|
|
814
|
-
/** Human-readable conversation title */
|
|
815
|
-
title?: string;
|
|
816
|
-
/** Conversation mode: ask (plain Q&A) or agent (tool-enabled) */
|
|
817
|
-
mode?: string;
|
|
818
|
-
/** LLM model id this thread is bound to */
|
|
819
|
-
model?: string;
|
|
820
|
-
/** System prompt active for this thread */
|
|
821
|
-
systemPrompt?: string;
|
|
822
|
-
/** User-defined labels for organizing and filtering threads */
|
|
823
|
-
tags?: string[];
|
|
824
|
-
/** Optional FK to a shared prompt template */
|
|
825
|
-
promptTemplateId?: string;
|
|
826
|
-
/** Agent instance assigned to this thread */
|
|
827
|
-
agentId?: string;
|
|
828
|
-
/** Parent thread that spawned this sub-conversation */
|
|
829
|
-
parentThreadId?: string;
|
|
830
|
-
}
|
|
831
|
-
export interface CreateAgentResourceInput {
|
|
832
|
-
clientMutationId?: string;
|
|
833
|
-
/** The `AgentResource` to be created by this mutation. */
|
|
834
|
-
agentResource: AgentResourceInput;
|
|
567
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
568
|
+
updatedAt?: DatetimeFilter;
|
|
569
|
+
/** Filter by the object’s `updatedBy` field. */
|
|
570
|
+
updatedBy?: UUIDFilter;
|
|
571
|
+
/** VECTOR search on the `embedding` column. */
|
|
572
|
+
vectorEmbedding?: VectorNearbyInput;
|
|
835
573
|
}
|
|
836
574
|
/** An input for mutations affecting `AgentResource` */
|
|
837
575
|
export interface AgentResourceInput {
|
|
838
|
-
|
|
576
|
+
/** Timestamp when this record was archived, NULL if active */
|
|
577
|
+
archivedAt?: string;
|
|
578
|
+
/** Full content (instructions for skills, reference text for knowledge) */
|
|
579
|
+
body: string;
|
|
839
580
|
createdAt?: string;
|
|
840
|
-
updatedAt?: string;
|
|
841
581
|
createdBy?: string;
|
|
842
|
-
updatedBy?: string;
|
|
843
582
|
/** Database that owns this resource (database-scoped isolation) */
|
|
844
|
-
databaseId: string;
|
|
845
|
-
/** Unique human-readable identifier for portable references */
|
|
846
|
-
slug: string;
|
|
847
|
-
/** Resource type: skill, knowledge, or convention */
|
|
848
|
-
kind?: string;
|
|
849
|
-
/** Resource name or title */
|
|
850
|
-
title: string;
|
|
583
|
+
databaseId: string;
|
|
851
584
|
/** Brief description of this resource */
|
|
852
585
|
description?: string;
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
586
|
+
embedding?: number[];
|
|
587
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Mutually exclusive with `embedding` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
|
|
588
|
+
embeddingText?: string;
|
|
589
|
+
embeddingUpdatedAt?: string;
|
|
590
|
+
id?: string;
|
|
857
591
|
/** Whether this resource is active and retrievable */
|
|
858
592
|
isActive?: boolean;
|
|
859
|
-
/** Structured metadata: category, version, author, custom attributes */
|
|
860
|
-
metadata?: unknown;
|
|
861
593
|
/** Whether this record has been archived by the user */
|
|
862
594
|
isArchived?: boolean;
|
|
595
|
+
/** Keywords for deterministic retrieval routing */
|
|
596
|
+
keywords?: string[];
|
|
597
|
+
/** Resource type: skill, knowledge, or convention */
|
|
598
|
+
kind?: string;
|
|
599
|
+
/** Structured metadata: category, version, author, custom attributes */
|
|
600
|
+
metadata?: unknown;
|
|
601
|
+
/** Unique human-readable identifier for portable references */
|
|
602
|
+
slug: string;
|
|
603
|
+
/** Resource name or title */
|
|
604
|
+
title: string;
|
|
605
|
+
updatedAt?: string;
|
|
606
|
+
updatedBy?: string;
|
|
607
|
+
}
|
|
608
|
+
/** Represents an update to a `AgentResource`. Fields that are set will be updated. */
|
|
609
|
+
export interface AgentResourcePatch {
|
|
863
610
|
/** Timestamp when this record was archived, NULL if active */
|
|
864
611
|
archivedAt?: string;
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
/** Natural language text to embed server-side into the `embedding` vector column. Mutually exclusive with `embedding` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
|
|
868
|
-
embeddingText?: string;
|
|
869
|
-
}
|
|
870
|
-
export interface UpdateAgentPlanInput {
|
|
871
|
-
clientMutationId?: string;
|
|
872
|
-
id: string;
|
|
873
|
-
/** An object where the defined keys will be set on the `AgentPlan` being updated. */
|
|
874
|
-
agentPlanPatch: AgentPlanPatch;
|
|
875
|
-
}
|
|
876
|
-
/** Represents an update to a `AgentPlan`. Fields that are set will be updated. */
|
|
877
|
-
export interface AgentPlanPatch {
|
|
878
|
-
id?: string;
|
|
612
|
+
/** Full content (instructions for skills, reference text for knowledge) */
|
|
613
|
+
body?: string;
|
|
879
614
|
createdAt?: string;
|
|
880
|
-
|
|
881
|
-
/** User who owns this plan */
|
|
882
|
-
ownerId?: string;
|
|
883
|
-
/** Foreign key to agent_thread */
|
|
884
|
-
threadId?: string;
|
|
615
|
+
createdBy?: string;
|
|
885
616
|
/** Database that owns this resource (database-scoped isolation) */
|
|
886
617
|
databaseId?: string;
|
|
887
|
-
/**
|
|
888
|
-
title?: string;
|
|
889
|
-
/** Overall goal or context for this plan */
|
|
618
|
+
/** Brief description of this resource */
|
|
890
619
|
description?: string;
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
clientMutationId?: string;
|
|
896
|
-
id: string;
|
|
897
|
-
/** An object where the defined keys will be set on the `AgentPrompt` being updated. */
|
|
898
|
-
agentPromptPatch: AgentPromptPatch;
|
|
899
|
-
}
|
|
900
|
-
/** Represents an update to a `AgentPrompt`. Fields that are set will be updated. */
|
|
901
|
-
export interface AgentPromptPatch {
|
|
620
|
+
embedding?: number[];
|
|
621
|
+
/** Natural language text to embed server-side into the `embedding` vector column. Mutually exclusive with `embedding` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
|
|
622
|
+
embeddingText?: string;
|
|
623
|
+
embeddingUpdatedAt?: string;
|
|
902
624
|
id?: string;
|
|
903
|
-
|
|
625
|
+
/** Whether this resource is active and retrievable */
|
|
626
|
+
isActive?: boolean;
|
|
627
|
+
/** Whether this record has been archived by the user */
|
|
628
|
+
isArchived?: boolean;
|
|
629
|
+
/** Keywords for deterministic retrieval routing */
|
|
630
|
+
keywords?: string[];
|
|
631
|
+
/** Resource type: skill, knowledge, or convention */
|
|
632
|
+
kind?: string;
|
|
633
|
+
/** Structured metadata: category, version, author, custom attributes */
|
|
634
|
+
metadata?: unknown;
|
|
635
|
+
/** Unique human-readable identifier for portable references */
|
|
636
|
+
slug?: string;
|
|
637
|
+
/** Resource name or title */
|
|
638
|
+
title?: string;
|
|
904
639
|
updatedAt?: string;
|
|
905
|
-
createdBy?: string;
|
|
906
640
|
updatedBy?: string;
|
|
907
|
-
/** Database that owns this resource (database-scoped isolation) */
|
|
908
|
-
databaseId?: string;
|
|
909
|
-
/** Unique name for lookup (e.g. default, code-review, sales-assistant) */
|
|
910
|
-
name?: string;
|
|
911
|
-
/** The system prompt template content */
|
|
912
|
-
content?: string;
|
|
913
|
-
/** What this prompt template is for */
|
|
914
|
-
description?: string;
|
|
915
|
-
/** Whether this is the default prompt for the entity/app */
|
|
916
|
-
isDefault?: boolean;
|
|
917
|
-
/** Variables, tags, category metadata */
|
|
918
|
-
metadata?: unknown;
|
|
919
641
|
}
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
/**
|
|
927
|
-
|
|
928
|
-
id?: string;
|
|
929
|
-
createdAt?: string;
|
|
930
|
-
updatedAt?: string;
|
|
931
|
-
/** Human who owns/manages this agent */
|
|
932
|
-
ownerId?: string;
|
|
933
|
-
/** Database that owns this resource (database-scoped isolation) */
|
|
934
|
-
databaseId?: string;
|
|
935
|
-
/** Persona template this agent was created from */
|
|
936
|
-
personaId?: string;
|
|
937
|
-
/** Parent agent (for sub-agent delegation hierarchy) */
|
|
938
|
-
parentId?: string;
|
|
939
|
-
/** Display name for this agent instance */
|
|
940
|
-
name?: string;
|
|
941
|
-
/** System prompt override (NULL = inherit from persona) */
|
|
942
|
-
systemPrompt?: string;
|
|
943
|
-
/** Per-instance config overrides (model, temperature, tools) */
|
|
944
|
-
config?: unknown;
|
|
945
|
-
/** Agent lifecycle status: active, paused, terminated */
|
|
946
|
-
status?: string;
|
|
947
|
-
/** If true, agent is deleted when its spawning thread is deleted */
|
|
948
|
-
isEphemeral?: boolean;
|
|
642
|
+
/** A filter to be used against many `AgentResourceChunk` object types. All fields are combined with a logical ‘and.’ */
|
|
643
|
+
export interface AgentResourceToManyAgentResourceChunkFilter {
|
|
644
|
+
/** Filters to entities where every related entity matches. */
|
|
645
|
+
every?: AgentResourceChunkFilter;
|
|
646
|
+
/** Filters to entities where no related entity matches. */
|
|
647
|
+
none?: AgentResourceChunkFilter;
|
|
648
|
+
/** Filters to entities where at least one related entity matches. */
|
|
649
|
+
some?: AgentResourceChunkFilter;
|
|
949
650
|
}
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
651
|
+
/** A filter to be used against `AgentTask` object types. All fields are combined with a logical ‘and.’ */
|
|
652
|
+
export interface AgentTaskFilter {
|
|
653
|
+
/** Filter by the object’s `actorId` field. */
|
|
654
|
+
actorId?: UUIDFilter;
|
|
655
|
+
/** Checks for all expressions in this list. */
|
|
656
|
+
and?: AgentTaskFilter[];
|
|
657
|
+
/** Filter by the object’s `approvalFeedback` field. */
|
|
658
|
+
approvalFeedback?: StringFilter;
|
|
659
|
+
/** Filter by the object’s `approvalStatus` field. */
|
|
660
|
+
approvalStatus?: StringFilter;
|
|
661
|
+
/** Filter by the object’s `approvedAt` field. */
|
|
662
|
+
approvedAt?: DatetimeFilter;
|
|
663
|
+
/** Filter by the object’s `approvedBy` field. */
|
|
664
|
+
approvedBy?: UUIDFilter;
|
|
665
|
+
/** Filter by the object’s `createdAt` field. */
|
|
666
|
+
createdAt?: DatetimeFilter;
|
|
667
|
+
/** Filter by the object’s `databaseId` field. */
|
|
668
|
+
databaseId?: UUIDFilter;
|
|
669
|
+
/** Filter by the object’s `description` field. */
|
|
670
|
+
description?: StringFilter;
|
|
671
|
+
/** Filter by the object’s `error` field. */
|
|
672
|
+
error?: StringFilter;
|
|
673
|
+
/** Filter by the object’s `id` field. */
|
|
674
|
+
id?: UUIDFilter;
|
|
675
|
+
/** Negates the expression. */
|
|
676
|
+
not?: AgentTaskFilter;
|
|
677
|
+
/** Checks for any expressions in this list. */
|
|
678
|
+
or?: AgentTaskFilter[];
|
|
679
|
+
/** Filter by the object’s `orderIndex` field. */
|
|
680
|
+
orderIndex?: IntFilter;
|
|
681
|
+
/** Filter by the object’s `plan` relation. */
|
|
682
|
+
plan?: AgentPlanFilter;
|
|
683
|
+
/** Filter by the object’s `planId` field. */
|
|
684
|
+
planId?: UUIDFilter;
|
|
685
|
+
/** Filter by the object’s `requiresApproval` field. */
|
|
686
|
+
requiresApproval?: BooleanFilter;
|
|
687
|
+
/** Filter by the object’s `source` field. */
|
|
688
|
+
source?: StringFilter;
|
|
689
|
+
/** Filter by the object’s `status` field. */
|
|
690
|
+
status?: StringFilter;
|
|
691
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
692
|
+
updatedAt?: DatetimeFilter;
|
|
955
693
|
}
|
|
956
|
-
/**
|
|
957
|
-
export interface
|
|
958
|
-
|
|
959
|
-
createdAt?: string;
|
|
960
|
-
updatedAt?: string;
|
|
961
|
-
/** User who authored this message */
|
|
694
|
+
/** An input for mutations affecting `AgentTask` */
|
|
695
|
+
export interface AgentTaskInput {
|
|
696
|
+
/** User who authored this task */
|
|
962
697
|
actorId?: string;
|
|
963
|
-
/**
|
|
964
|
-
|
|
965
|
-
/**
|
|
966
|
-
|
|
698
|
+
/** Reviewer feedback or reason for the decision */
|
|
699
|
+
approvalFeedback?: string;
|
|
700
|
+
/** Approval decision: pending, approved, rejected (NULL if not an approval task) */
|
|
701
|
+
approvalStatus?: string;
|
|
702
|
+
/** Timestamp of the approval or rejection decision */
|
|
703
|
+
approvedAt?: string;
|
|
704
|
+
/** User who approved or rejected this task */
|
|
705
|
+
approvedBy?: string;
|
|
706
|
+
createdAt?: string;
|
|
967
707
|
/** Database that owns this resource (database-scoped isolation) */
|
|
968
|
-
databaseId
|
|
969
|
-
/**
|
|
970
|
-
|
|
971
|
-
/**
|
|
972
|
-
|
|
973
|
-
/** Agent that authored this message (NULL for human messages) */
|
|
974
|
-
agentId?: string;
|
|
975
|
-
}
|
|
976
|
-
export interface UpdateAgentResourceChunkInput {
|
|
977
|
-
clientMutationId?: string;
|
|
978
|
-
id: string;
|
|
979
|
-
/** An object where the defined keys will be set on the `AgentResourceChunk` being updated. */
|
|
980
|
-
agentResourceChunkPatch: AgentResourceChunkPatch;
|
|
981
|
-
}
|
|
982
|
-
/** Represents an update to a `AgentResourceChunk`. Fields that are set will be updated. */
|
|
983
|
-
export interface AgentResourceChunkPatch {
|
|
708
|
+
databaseId: string;
|
|
709
|
+
/** Natural-language description of the work to do */
|
|
710
|
+
description: string;
|
|
711
|
+
/** Error message captured when the task failed */
|
|
712
|
+
error?: string;
|
|
984
713
|
id?: string;
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
714
|
+
/** Position within the plan (for ordered task lists) */
|
|
715
|
+
orderIndex?: number;
|
|
716
|
+
/** Foreign key to agent_plan */
|
|
717
|
+
planId: string;
|
|
718
|
+
/** Whether this task is an approval gate requiring human decision */
|
|
719
|
+
requiresApproval?: boolean;
|
|
720
|
+
/** Who created the task: agent or user */
|
|
721
|
+
source?: string;
|
|
722
|
+
/** Current status of this task */
|
|
723
|
+
status?: string;
|
|
991
724
|
updatedAt?: string;
|
|
992
|
-
/** Natural language text to embed server-side into the `embedding` vector column. Mutually exclusive with `embedding` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
|
|
993
|
-
embeddingText?: string;
|
|
994
|
-
}
|
|
995
|
-
export interface UpdateAgentTaskInput {
|
|
996
|
-
clientMutationId?: string;
|
|
997
|
-
id: string;
|
|
998
|
-
/** An object where the defined keys will be set on the `AgentTask` being updated. */
|
|
999
|
-
agentTaskPatch: AgentTaskPatch;
|
|
1000
725
|
}
|
|
1001
726
|
/** Represents an update to a `AgentTask`. Fields that are set will be updated. */
|
|
1002
727
|
export interface AgentTaskPatch {
|
|
1003
|
-
|
|
728
|
+
/** User who authored this task */
|
|
729
|
+
actorId?: string;
|
|
730
|
+
/** Reviewer feedback or reason for the decision */
|
|
731
|
+
approvalFeedback?: string;
|
|
732
|
+
/** Approval decision: pending, approved, rejected (NULL if not an approval task) */
|
|
733
|
+
approvalStatus?: string;
|
|
734
|
+
/** Timestamp of the approval or rejection decision */
|
|
735
|
+
approvedAt?: string;
|
|
736
|
+
/** User who approved or rejected this task */
|
|
737
|
+
approvedBy?: string;
|
|
1004
738
|
createdAt?: string;
|
|
1005
|
-
updatedAt?: string;
|
|
1006
|
-
/** User who authored this task */
|
|
1007
|
-
actorId?: string;
|
|
1008
|
-
/** Current status of this task */
|
|
1009
|
-
status?: string;
|
|
1010
|
-
/** Foreign key to agent_plan */
|
|
1011
|
-
planId?: string;
|
|
1012
739
|
/** Database that owns this resource (database-scoped isolation) */
|
|
1013
740
|
databaseId?: string;
|
|
1014
741
|
/** Natural-language description of the work to do */
|
|
1015
742
|
description?: string;
|
|
1016
|
-
/** Who created the task: agent or user */
|
|
1017
|
-
source?: string;
|
|
1018
743
|
/** Error message captured when the task failed */
|
|
1019
744
|
error?: string;
|
|
745
|
+
id?: string;
|
|
1020
746
|
/** Position within the plan (for ordered task lists) */
|
|
1021
747
|
orderIndex?: number;
|
|
748
|
+
/** Foreign key to agent_plan */
|
|
749
|
+
planId?: string;
|
|
1022
750
|
/** Whether this task is an approval gate requiring human decision */
|
|
1023
751
|
requiresApproval?: boolean;
|
|
1024
|
-
/**
|
|
1025
|
-
|
|
1026
|
-
/**
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
approvedAt?: string;
|
|
1030
|
-
/** Reviewer feedback or reason for the decision */
|
|
1031
|
-
approvalFeedback?: string;
|
|
752
|
+
/** Who created the task: agent or user */
|
|
753
|
+
source?: string;
|
|
754
|
+
/** Current status of this task */
|
|
755
|
+
status?: string;
|
|
756
|
+
updatedAt?: string;
|
|
1032
757
|
}
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
758
|
+
/** A filter to be used against `AgentThread` object types. All fields are combined with a logical ‘and.’ */
|
|
759
|
+
export interface AgentThreadFilter {
|
|
760
|
+
/** Filter by the object’s `agent` relation. */
|
|
761
|
+
agent?: AgentFilter;
|
|
762
|
+
/** A related `agent` exists. */
|
|
763
|
+
agentExists?: boolean;
|
|
764
|
+
/** Filter by the object’s `agentId` field. */
|
|
765
|
+
agentId?: UUIDFilter;
|
|
766
|
+
/** Filter by the object’s `agentMessagesByThreadId` relation. */
|
|
767
|
+
agentMessagesByThreadId?: AgentThreadToManyAgentMessageFilter;
|
|
768
|
+
/** `agentMessagesByThreadId` exist. */
|
|
769
|
+
agentMessagesByThreadIdExist?: boolean;
|
|
770
|
+
/** Filter by the object’s `agentPlansByThreadId` relation. */
|
|
771
|
+
agentPlansByThreadId?: AgentThreadToManyAgentPlanFilter;
|
|
772
|
+
/** `agentPlansByThreadId` exist. */
|
|
773
|
+
agentPlansByThreadIdExist?: boolean;
|
|
774
|
+
/** Filter by the object’s `agentThreadsByParentThreadId` relation. */
|
|
775
|
+
agentThreadsByParentThreadId?: AgentThreadToManyAgentThreadFilter;
|
|
776
|
+
/** `agentThreadsByParentThreadId` exist. */
|
|
777
|
+
agentThreadsByParentThreadIdExist?: boolean;
|
|
778
|
+
/** Checks for all expressions in this list. */
|
|
779
|
+
and?: AgentThreadFilter[];
|
|
780
|
+
/** Filter by the object’s `archivedAt` field. */
|
|
781
|
+
archivedAt?: DatetimeFilter;
|
|
782
|
+
/** Filter by the object’s `createdAt` field. */
|
|
783
|
+
createdAt?: DatetimeFilter;
|
|
784
|
+
/** Filter by the object’s `databaseId` field. */
|
|
785
|
+
databaseId?: UUIDFilter;
|
|
786
|
+
/** Filter by the object’s `id` field. */
|
|
787
|
+
id?: UUIDFilter;
|
|
788
|
+
/** Filter by the object’s `isArchived` field. */
|
|
789
|
+
isArchived?: BooleanFilter;
|
|
790
|
+
/** Filter by the object’s `mode` field. */
|
|
791
|
+
mode?: StringFilter;
|
|
792
|
+
/** Filter by the object’s `model` field. */
|
|
793
|
+
model?: StringFilter;
|
|
794
|
+
/** Negates the expression. */
|
|
795
|
+
not?: AgentThreadFilter;
|
|
796
|
+
/** Checks for any expressions in this list. */
|
|
797
|
+
or?: AgentThreadFilter[];
|
|
798
|
+
/** Filter by the object’s `ownerId` field. */
|
|
799
|
+
ownerId?: UUIDFilter;
|
|
800
|
+
/** Filter by the object’s `parentThread` relation. */
|
|
801
|
+
parentThread?: AgentThreadFilter;
|
|
802
|
+
/** A related `parentThread` exists. */
|
|
803
|
+
parentThreadExists?: boolean;
|
|
804
|
+
/** Filter by the object’s `parentThreadId` field. */
|
|
805
|
+
parentThreadId?: UUIDFilter;
|
|
806
|
+
/** Filter by the object’s `promptTemplate` relation. */
|
|
807
|
+
promptTemplate?: AgentPromptFilter;
|
|
808
|
+
/** A related `promptTemplate` exists. */
|
|
809
|
+
promptTemplateExists?: boolean;
|
|
810
|
+
/** Filter by the object’s `promptTemplateId` field. */
|
|
811
|
+
promptTemplateId?: UUIDFilter;
|
|
812
|
+
/** Filter by the object’s `status` field. */
|
|
813
|
+
status?: StringFilter;
|
|
814
|
+
/** Filter by the object’s `systemPrompt` field. */
|
|
815
|
+
systemPrompt?: StringFilter;
|
|
816
|
+
/** Filter by the object’s `tags` field. */
|
|
817
|
+
tags?: StringListFilter;
|
|
818
|
+
/** Filter by the object’s `title` field. */
|
|
819
|
+
title?: StringFilter;
|
|
820
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
821
|
+
updatedAt?: DatetimeFilter;
|
|
1038
822
|
}
|
|
1039
|
-
/**
|
|
1040
|
-
export interface
|
|
1041
|
-
|
|
823
|
+
/** An input for mutations affecting `AgentThread` */
|
|
824
|
+
export interface AgentThreadInput {
|
|
825
|
+
/** Agent instance assigned to this thread */
|
|
826
|
+
agentId?: string;
|
|
827
|
+
/** Timestamp when this record was archived, NULL if active */
|
|
828
|
+
archivedAt?: string;
|
|
1042
829
|
createdAt?: string;
|
|
1043
|
-
updatedAt?: string;
|
|
1044
|
-
createdBy?: string;
|
|
1045
|
-
updatedBy?: string;
|
|
1046
830
|
/** Database that owns this resource (database-scoped isolation) */
|
|
1047
|
-
databaseId
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
831
|
+
databaseId: string;
|
|
832
|
+
id?: string;
|
|
833
|
+
/** Whether this record has been archived by the user */
|
|
834
|
+
isArchived?: boolean;
|
|
835
|
+
/** Conversation mode: ask (plain Q&A) or agent (tool-enabled) */
|
|
836
|
+
mode?: string;
|
|
837
|
+
/** LLM model id this thread is bound to */
|
|
838
|
+
model?: string;
|
|
839
|
+
/** User who owns this thread */
|
|
840
|
+
ownerId?: string;
|
|
841
|
+
/** Parent thread that spawned this sub-conversation */
|
|
842
|
+
parentThreadId?: string;
|
|
843
|
+
/** Optional FK to a shared prompt template */
|
|
844
|
+
promptTemplateId?: string;
|
|
845
|
+
/** Current status of this thread */
|
|
846
|
+
status?: string;
|
|
847
|
+
/** System prompt active for this thread */
|
|
1055
848
|
systemPrompt?: string;
|
|
1056
|
-
/**
|
|
1057
|
-
|
|
1058
|
-
/**
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
isActive?: boolean;
|
|
1062
|
-
}
|
|
1063
|
-
export interface UpdateAgentThreadInput {
|
|
1064
|
-
clientMutationId?: string;
|
|
1065
|
-
id: string;
|
|
1066
|
-
/** An object where the defined keys will be set on the `AgentThread` being updated. */
|
|
1067
|
-
agentThreadPatch: AgentThreadPatch;
|
|
849
|
+
/** User-defined labels for organizing and filtering threads */
|
|
850
|
+
tags?: string[];
|
|
851
|
+
/** Human-readable conversation title */
|
|
852
|
+
title?: string;
|
|
853
|
+
updatedAt?: string;
|
|
1068
854
|
}
|
|
1069
855
|
/** Represents an update to a `AgentThread`. Fields that are set will be updated. */
|
|
1070
856
|
export interface AgentThreadPatch {
|
|
1071
|
-
|
|
857
|
+
/** Agent instance assigned to this thread */
|
|
858
|
+
agentId?: string;
|
|
859
|
+
/** Timestamp when this record was archived, NULL if active */
|
|
860
|
+
archivedAt?: string;
|
|
1072
861
|
createdAt?: string;
|
|
1073
|
-
updatedAt?: string;
|
|
1074
|
-
/** User who owns this thread */
|
|
1075
|
-
ownerId?: string;
|
|
1076
862
|
/** Database that owns this resource (database-scoped isolation) */
|
|
1077
863
|
databaseId?: string;
|
|
1078
|
-
|
|
1079
|
-
status?: string;
|
|
864
|
+
id?: string;
|
|
1080
865
|
/** Whether this record has been archived by the user */
|
|
1081
866
|
isArchived?: boolean;
|
|
1082
|
-
/** Timestamp when this record was archived, NULL if active */
|
|
1083
|
-
archivedAt?: string;
|
|
1084
|
-
/** Human-readable conversation title */
|
|
1085
|
-
title?: string;
|
|
1086
867
|
/** Conversation mode: ask (plain Q&A) or agent (tool-enabled) */
|
|
1087
868
|
mode?: string;
|
|
1088
869
|
/** LLM model id this thread is bound to */
|
|
1089
870
|
model?: string;
|
|
871
|
+
/** User who owns this thread */
|
|
872
|
+
ownerId?: string;
|
|
873
|
+
/** Parent thread that spawned this sub-conversation */
|
|
874
|
+
parentThreadId?: string;
|
|
875
|
+
/** Optional FK to a shared prompt template */
|
|
876
|
+
promptTemplateId?: string;
|
|
877
|
+
/** Current status of this thread */
|
|
878
|
+
status?: string;
|
|
1090
879
|
/** System prompt active for this thread */
|
|
1091
880
|
systemPrompt?: string;
|
|
1092
881
|
/** User-defined labels for organizing and filtering threads */
|
|
1093
882
|
tags?: string[];
|
|
1094
|
-
/**
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
883
|
+
/** Human-readable conversation title */
|
|
884
|
+
title?: string;
|
|
885
|
+
updatedAt?: string;
|
|
886
|
+
}
|
|
887
|
+
/** A filter to be used against many `AgentMessage` object types. All fields are combined with a logical ‘and.’ */
|
|
888
|
+
export interface AgentThreadToManyAgentMessageFilter {
|
|
889
|
+
/** Filters to entities where every related entity matches. */
|
|
890
|
+
every?: AgentMessageFilter;
|
|
891
|
+
/** Filters to entities where no related entity matches. */
|
|
892
|
+
none?: AgentMessageFilter;
|
|
893
|
+
/** Filters to entities where at least one related entity matches. */
|
|
894
|
+
some?: AgentMessageFilter;
|
|
895
|
+
}
|
|
896
|
+
/** A filter to be used against many `AgentPlan` object types. All fields are combined with a logical ‘and.’ */
|
|
897
|
+
export interface AgentThreadToManyAgentPlanFilter {
|
|
898
|
+
/** Filters to entities where every related entity matches. */
|
|
899
|
+
every?: AgentPlanFilter;
|
|
900
|
+
/** Filters to entities where no related entity matches. */
|
|
901
|
+
none?: AgentPlanFilter;
|
|
902
|
+
/** Filters to entities where at least one related entity matches. */
|
|
903
|
+
some?: AgentPlanFilter;
|
|
904
|
+
}
|
|
905
|
+
/** A filter to be used against many `AgentThread` object types. All fields are combined with a logical ‘and.’ */
|
|
906
|
+
export interface AgentThreadToManyAgentThreadFilter {
|
|
907
|
+
/** Filters to entities where every related entity matches. */
|
|
908
|
+
every?: AgentThreadFilter;
|
|
909
|
+
/** Filters to entities where no related entity matches. */
|
|
910
|
+
none?: AgentThreadFilter;
|
|
911
|
+
/** Filters to entities where at least one related entity matches. */
|
|
912
|
+
some?: AgentThreadFilter;
|
|
913
|
+
}
|
|
914
|
+
/** A filter to be used against many `Agent` object types. All fields are combined with a logical ‘and.’ */
|
|
915
|
+
export interface AgentToManyAgentFilter {
|
|
916
|
+
/** Filters to entities where every related entity matches. */
|
|
917
|
+
every?: AgentFilter;
|
|
918
|
+
/** Filters to entities where no related entity matches. */
|
|
919
|
+
none?: AgentFilter;
|
|
920
|
+
/** Filters to entities where at least one related entity matches. */
|
|
921
|
+
some?: AgentFilter;
|
|
922
|
+
}
|
|
923
|
+
/** A filter to be used against many `AgentMessage` object types. All fields are combined with a logical ‘and.’ */
|
|
924
|
+
export interface AgentToManyAgentMessageFilter {
|
|
925
|
+
/** Filters to entities where every related entity matches. */
|
|
926
|
+
every?: AgentMessageFilter;
|
|
927
|
+
/** Filters to entities where no related entity matches. */
|
|
928
|
+
none?: AgentMessageFilter;
|
|
929
|
+
/** Filters to entities where at least one related entity matches. */
|
|
930
|
+
some?: AgentMessageFilter;
|
|
931
|
+
}
|
|
932
|
+
/** A filter to be used against many `AgentThread` object types. All fields are combined with a logical ‘and.’ */
|
|
933
|
+
export interface AgentToManyAgentThreadFilter {
|
|
934
|
+
/** Filters to entities where every related entity matches. */
|
|
935
|
+
every?: AgentThreadFilter;
|
|
936
|
+
/** Filters to entities where no related entity matches. */
|
|
937
|
+
none?: AgentThreadFilter;
|
|
938
|
+
/** Filters to entities where at least one related entity matches. */
|
|
939
|
+
some?: AgentThreadFilter;
|
|
940
|
+
}
|
|
941
|
+
export interface CreateAgentInput {
|
|
942
|
+
/** The `Agent` to be created by this mutation. */
|
|
943
|
+
agent: AgentInput;
|
|
944
|
+
clientMutationId?: string;
|
|
945
|
+
}
|
|
946
|
+
export interface CreateAgentMessageInput {
|
|
947
|
+
/** The `AgentMessage` to be created by this mutation. */
|
|
948
|
+
agentMessage: AgentMessageInput;
|
|
949
|
+
clientMutationId?: string;
|
|
950
|
+
}
|
|
951
|
+
export interface CreateAgentPersonaInput {
|
|
952
|
+
/** The `AgentPersona` to be created by this mutation. */
|
|
953
|
+
agentPersona: AgentPersonaInput;
|
|
954
|
+
clientMutationId?: string;
|
|
955
|
+
}
|
|
956
|
+
export interface CreateAgentPlanInput {
|
|
957
|
+
/** The `AgentPlan` to be created by this mutation. */
|
|
958
|
+
agentPlan: AgentPlanInput;
|
|
959
|
+
clientMutationId?: string;
|
|
1100
960
|
}
|
|
1101
|
-
export interface
|
|
961
|
+
export interface CreateAgentPromptInput {
|
|
962
|
+
/** The `AgentPrompt` to be created by this mutation. */
|
|
963
|
+
agentPrompt: AgentPromptInput;
|
|
1102
964
|
clientMutationId?: string;
|
|
1103
|
-
id: string;
|
|
1104
|
-
/** An object where the defined keys will be set on the `AgentResource` being updated. */
|
|
1105
|
-
agentResourcePatch: AgentResourcePatch;
|
|
1106
965
|
}
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
updatedAt?: string;
|
|
1112
|
-
createdBy?: string;
|
|
1113
|
-
updatedBy?: string;
|
|
1114
|
-
/** Database that owns this resource (database-scoped isolation) */
|
|
1115
|
-
databaseId?: string;
|
|
1116
|
-
/** Unique human-readable identifier for portable references */
|
|
1117
|
-
slug?: string;
|
|
1118
|
-
/** Resource type: skill, knowledge, or convention */
|
|
1119
|
-
kind?: string;
|
|
1120
|
-
/** Resource name or title */
|
|
1121
|
-
title?: string;
|
|
1122
|
-
/** Brief description of this resource */
|
|
1123
|
-
description?: string;
|
|
1124
|
-
/** Full content (instructions for skills, reference text for knowledge) */
|
|
1125
|
-
body?: string;
|
|
1126
|
-
/** Keywords for deterministic retrieval routing */
|
|
1127
|
-
keywords?: string[];
|
|
1128
|
-
/** Whether this resource is active and retrievable */
|
|
1129
|
-
isActive?: boolean;
|
|
1130
|
-
/** Structured metadata: category, version, author, custom attributes */
|
|
1131
|
-
metadata?: unknown;
|
|
1132
|
-
/** Whether this record has been archived by the user */
|
|
1133
|
-
isArchived?: boolean;
|
|
1134
|
-
/** Timestamp when this record was archived, NULL if active */
|
|
1135
|
-
archivedAt?: string;
|
|
1136
|
-
embedding?: number[];
|
|
1137
|
-
embeddingUpdatedAt?: string;
|
|
1138
|
-
/** Natural language text to embed server-side into the `embedding` vector column. Mutually exclusive with `embedding` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
|
|
1139
|
-
embeddingText?: string;
|
|
966
|
+
export interface CreateAgentResourceChunkInput {
|
|
967
|
+
/** The `AgentResourceChunk` to be created by this mutation. */
|
|
968
|
+
agentResourceChunk: AgentResourceChunkInput;
|
|
969
|
+
clientMutationId?: string;
|
|
1140
970
|
}
|
|
1141
|
-
export interface
|
|
971
|
+
export interface CreateAgentResourceInput {
|
|
972
|
+
/** The `AgentResource` to be created by this mutation. */
|
|
973
|
+
agentResource: AgentResourceInput;
|
|
1142
974
|
clientMutationId?: string;
|
|
1143
|
-
id: string;
|
|
1144
975
|
}
|
|
1145
|
-
export interface
|
|
976
|
+
export interface CreateAgentTaskInput {
|
|
977
|
+
/** The `AgentTask` to be created by this mutation. */
|
|
978
|
+
agentTask: AgentTaskInput;
|
|
979
|
+
clientMutationId?: string;
|
|
980
|
+
}
|
|
981
|
+
export interface CreateAgentThreadInput {
|
|
982
|
+
/** The `AgentThread` to be created by this mutation. */
|
|
983
|
+
agentThread: AgentThreadInput;
|
|
1146
984
|
clientMutationId?: string;
|
|
1147
|
-
id: string;
|
|
1148
985
|
}
|
|
1149
986
|
export interface DeleteAgentInput {
|
|
1150
987
|
clientMutationId?: string;
|
|
@@ -1154,19 +991,19 @@ export interface DeleteAgentMessageInput {
|
|
|
1154
991
|
clientMutationId?: string;
|
|
1155
992
|
id: string;
|
|
1156
993
|
}
|
|
1157
|
-
export interface
|
|
994
|
+
export interface DeleteAgentPersonaInput {
|
|
1158
995
|
clientMutationId?: string;
|
|
1159
996
|
id: string;
|
|
1160
997
|
}
|
|
1161
|
-
export interface
|
|
998
|
+
export interface DeleteAgentPlanInput {
|
|
1162
999
|
clientMutationId?: string;
|
|
1163
1000
|
id: string;
|
|
1164
1001
|
}
|
|
1165
|
-
export interface
|
|
1002
|
+
export interface DeleteAgentPromptInput {
|
|
1166
1003
|
clientMutationId?: string;
|
|
1167
1004
|
id: string;
|
|
1168
1005
|
}
|
|
1169
|
-
export interface
|
|
1006
|
+
export interface DeleteAgentResourceChunkInput {
|
|
1170
1007
|
clientMutationId?: string;
|
|
1171
1008
|
id: string;
|
|
1172
1009
|
}
|
|
@@ -1174,6 +1011,14 @@ export interface DeleteAgentResourceInput {
|
|
|
1174
1011
|
clientMutationId?: string;
|
|
1175
1012
|
id: string;
|
|
1176
1013
|
}
|
|
1014
|
+
export interface DeleteAgentTaskInput {
|
|
1015
|
+
clientMutationId?: string;
|
|
1016
|
+
id: string;
|
|
1017
|
+
}
|
|
1018
|
+
export interface DeleteAgentThreadInput {
|
|
1019
|
+
clientMutationId?: string;
|
|
1020
|
+
id: string;
|
|
1021
|
+
}
|
|
1177
1022
|
export interface ProvisionBucketInput {
|
|
1178
1023
|
/** The logical bucket key (e.g., "public", "private") */
|
|
1179
1024
|
bucketKey: string;
|
|
@@ -1183,283 +1028,460 @@ export interface ProvisionBucketInput {
|
|
|
1183
1028
|
*/
|
|
1184
1029
|
ownerId?: string;
|
|
1185
1030
|
}
|
|
1186
|
-
/** A
|
|
1187
|
-
export interface
|
|
1188
|
-
|
|
1189
|
-
|
|
1031
|
+
/** A filter to be used against String fields with pg_trgm support. All fields are combined with a logical ‘and.’ */
|
|
1032
|
+
export interface StringTrgmFilter {
|
|
1033
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
1034
|
+
distinctFrom?: string;
|
|
1035
|
+
/** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
1036
|
+
distinctFromInsensitive?: string;
|
|
1037
|
+
/** Ends with the specified string (case-sensitive). */
|
|
1038
|
+
endsWith?: string;
|
|
1039
|
+
/** Ends with the specified string (case-insensitive). */
|
|
1040
|
+
endsWithInsensitive?: string;
|
|
1041
|
+
/** Equal to the specified value. */
|
|
1042
|
+
equalTo?: string;
|
|
1043
|
+
/** Equal to the specified value (case-insensitive). */
|
|
1044
|
+
equalToInsensitive?: string;
|
|
1045
|
+
/** Greater than the specified value. */
|
|
1046
|
+
greaterThan?: string;
|
|
1047
|
+
/** Greater than the specified value (case-insensitive). */
|
|
1048
|
+
greaterThanInsensitive?: string;
|
|
1049
|
+
/** Greater than or equal to the specified value. */
|
|
1050
|
+
greaterThanOrEqualTo?: string;
|
|
1051
|
+
/** Greater than or equal to the specified value (case-insensitive). */
|
|
1052
|
+
greaterThanOrEqualToInsensitive?: string;
|
|
1053
|
+
/** Included in the specified list. */
|
|
1054
|
+
in?: string[];
|
|
1055
|
+
/** Included in the specified list (case-insensitive). */
|
|
1056
|
+
inInsensitive?: string[];
|
|
1057
|
+
/** Contains the specified string (case-sensitive). */
|
|
1058
|
+
includes?: string;
|
|
1059
|
+
/** Contains the specified string (case-insensitive). */
|
|
1060
|
+
includesInsensitive?: string;
|
|
1061
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1062
|
+
isNull?: boolean;
|
|
1063
|
+
/** Less than the specified value. */
|
|
1064
|
+
lessThan?: string;
|
|
1065
|
+
/** Less than the specified value (case-insensitive). */
|
|
1066
|
+
lessThanInsensitive?: string;
|
|
1067
|
+
/** Less than or equal to the specified value. */
|
|
1068
|
+
lessThanOrEqualTo?: string;
|
|
1069
|
+
/** Less than or equal to the specified value (case-insensitive). */
|
|
1070
|
+
lessThanOrEqualToInsensitive?: string;
|
|
1071
|
+
/** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
1072
|
+
like?: string;
|
|
1073
|
+
/** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
1074
|
+
likeInsensitive?: string;
|
|
1075
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1076
|
+
notDistinctFrom?: string;
|
|
1077
|
+
/** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
1078
|
+
notDistinctFromInsensitive?: string;
|
|
1079
|
+
/** Does not end with the specified string (case-sensitive). */
|
|
1080
|
+
notEndsWith?: string;
|
|
1081
|
+
/** Does not end with the specified string (case-insensitive). */
|
|
1082
|
+
notEndsWithInsensitive?: string;
|
|
1083
|
+
/** Not equal to the specified value. */
|
|
1084
|
+
notEqualTo?: string;
|
|
1085
|
+
/** Not equal to the specified value (case-insensitive). */
|
|
1086
|
+
notEqualToInsensitive?: string;
|
|
1087
|
+
/** Not included in the specified list. */
|
|
1088
|
+
notIn?: string[];
|
|
1089
|
+
/** Not included in the specified list (case-insensitive). */
|
|
1090
|
+
notInInsensitive?: string[];
|
|
1091
|
+
/** Does not contain the specified string (case-sensitive). */
|
|
1092
|
+
notIncludes?: string;
|
|
1093
|
+
/** Does not contain the specified string (case-insensitive). */
|
|
1094
|
+
notIncludesInsensitive?: string;
|
|
1095
|
+
/** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
1096
|
+
notLike?: string;
|
|
1097
|
+
/** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
1098
|
+
notLikeInsensitive?: string;
|
|
1099
|
+
/** Does not start with the specified string (case-sensitive). */
|
|
1100
|
+
notStartsWith?: string;
|
|
1101
|
+
/** Does not start with the specified string (case-insensitive). */
|
|
1102
|
+
notStartsWithInsensitive?: string;
|
|
1103
|
+
/** Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings. */
|
|
1104
|
+
similarTo?: TrgmSearchInput;
|
|
1105
|
+
/** Starts with the specified string (case-sensitive). */
|
|
1106
|
+
startsWith?: string;
|
|
1107
|
+
/** Starts with the specified string (case-insensitive). */
|
|
1108
|
+
startsWithInsensitive?: string;
|
|
1109
|
+
/** Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value. */
|
|
1110
|
+
wordSimilarTo?: TrgmSearchInput;
|
|
1111
|
+
}
|
|
1112
|
+
/** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */
|
|
1113
|
+
export interface TrgmSearchInput {
|
|
1114
|
+
/** Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. */
|
|
1115
|
+
threshold?: number;
|
|
1116
|
+
/** The text to fuzzy-match against. Typos and misspellings are tolerated. */
|
|
1117
|
+
value: string;
|
|
1118
|
+
}
|
|
1119
|
+
export interface UpdateAgentInput {
|
|
1120
|
+
/** An object where the defined keys will be set on the `Agent` being updated. */
|
|
1121
|
+
agentPatch: AgentPatch;
|
|
1122
|
+
clientMutationId?: string;
|
|
1123
|
+
id: string;
|
|
1124
|
+
}
|
|
1125
|
+
export interface UpdateAgentMessageInput {
|
|
1126
|
+
/** An object where the defined keys will be set on the `AgentMessage` being updated. */
|
|
1127
|
+
agentMessagePatch: AgentMessagePatch;
|
|
1128
|
+
clientMutationId?: string;
|
|
1129
|
+
id: string;
|
|
1130
|
+
}
|
|
1131
|
+
export interface UpdateAgentPersonaInput {
|
|
1132
|
+
/** An object where the defined keys will be set on the `AgentPersona` being updated. */
|
|
1133
|
+
agentPersonaPatch: AgentPersonaPatch;
|
|
1134
|
+
clientMutationId?: string;
|
|
1135
|
+
id: string;
|
|
1136
|
+
}
|
|
1137
|
+
export interface UpdateAgentPlanInput {
|
|
1138
|
+
/** An object where the defined keys will be set on the `AgentPlan` being updated. */
|
|
1139
|
+
agentPlanPatch: AgentPlanPatch;
|
|
1140
|
+
clientMutationId?: string;
|
|
1141
|
+
id: string;
|
|
1142
|
+
}
|
|
1143
|
+
export interface UpdateAgentPromptInput {
|
|
1144
|
+
/** An object where the defined keys will be set on the `AgentPrompt` being updated. */
|
|
1145
|
+
agentPromptPatch: AgentPromptPatch;
|
|
1146
|
+
clientMutationId?: string;
|
|
1147
|
+
id: string;
|
|
1148
|
+
}
|
|
1149
|
+
export interface UpdateAgentResourceChunkInput {
|
|
1150
|
+
/** An object where the defined keys will be set on the `AgentResourceChunk` being updated. */
|
|
1151
|
+
agentResourceChunkPatch: AgentResourceChunkPatch;
|
|
1152
|
+
clientMutationId?: string;
|
|
1153
|
+
id: string;
|
|
1154
|
+
}
|
|
1155
|
+
export interface UpdateAgentResourceInput {
|
|
1156
|
+
/** An object where the defined keys will be set on the `AgentResource` being updated. */
|
|
1157
|
+
agentResourcePatch: AgentResourcePatch;
|
|
1158
|
+
clientMutationId?: string;
|
|
1159
|
+
id: string;
|
|
1160
|
+
}
|
|
1161
|
+
export interface UpdateAgentTaskInput {
|
|
1162
|
+
/** An object where the defined keys will be set on the `AgentTask` being updated. */
|
|
1163
|
+
agentTaskPatch: AgentTaskPatch;
|
|
1164
|
+
clientMutationId?: string;
|
|
1165
|
+
id: string;
|
|
1166
|
+
}
|
|
1167
|
+
export interface UpdateAgentThreadInput {
|
|
1168
|
+
/** An object where the defined keys will be set on the `AgentThread` being updated. */
|
|
1169
|
+
agentThreadPatch: AgentThreadPatch;
|
|
1170
|
+
clientMutationId?: string;
|
|
1171
|
+
id: string;
|
|
1172
|
+
}
|
|
1173
|
+
/** Input for vector similarity search. Provide a query vector, optional metric, and optional max distance threshold. */
|
|
1174
|
+
export interface VectorNearbyInput {
|
|
1175
|
+
/** Maximum distance threshold. Only rows within this distance are returned. */
|
|
1176
|
+
distance?: number;
|
|
1177
|
+
/** When true (default for tables with @hasChunks), transparently queries the chunks table and returns the minimum distance across parent + all chunks. Set to false to only search the parent embedding. */
|
|
1178
|
+
includeChunks?: boolean;
|
|
1179
|
+
/** Similarity metric to use (default: COSINE). */
|
|
1180
|
+
metric?: VectorMetric;
|
|
1181
|
+
/** Natural language text to embed server-side for similarity search. Mutually exclusive with `vector` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
|
|
1182
|
+
text?: string;
|
|
1183
|
+
/** Query vector for similarity search. */
|
|
1184
|
+
vector: number[];
|
|
1185
|
+
}
|
|
1186
|
+
/** Root meta schema type */
|
|
1187
|
+
export interface MetaSchema {
|
|
1188
|
+
tables: MetaTable[];
|
|
1189
|
+
}
|
|
1190
|
+
/** A connection to a list of `AgentMessage` values. */
|
|
1191
|
+
export interface AgentMessageConnection {
|
|
1192
|
+
edges: AgentMessageEdge[];
|
|
1193
|
+
nodes: AgentMessage[];
|
|
1190
1194
|
pageInfo: PageInfo;
|
|
1191
1195
|
totalCount: number;
|
|
1192
1196
|
}
|
|
1193
|
-
/** A connection to a list of `
|
|
1194
|
-
export interface
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
+
/** A connection to a list of `AgentPersona` values. */
|
|
1198
|
+
export interface AgentPersonaConnection {
|
|
1199
|
+
edges: AgentPersonaEdge[];
|
|
1200
|
+
nodes: AgentPersona[];
|
|
1197
1201
|
pageInfo: PageInfo;
|
|
1198
1202
|
totalCount: number;
|
|
1199
1203
|
}
|
|
1200
|
-
/** A connection to a list of `
|
|
1201
|
-
export interface
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
+
/** A connection to a list of `AgentPlan` values. */
|
|
1205
|
+
export interface AgentPlanConnection {
|
|
1206
|
+
edges: AgentPlanEdge[];
|
|
1207
|
+
nodes: AgentPlan[];
|
|
1204
1208
|
pageInfo: PageInfo;
|
|
1205
1209
|
totalCount: number;
|
|
1206
1210
|
}
|
|
1207
|
-
/** A connection to a list of `
|
|
1208
|
-
export interface
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
+
/** A connection to a list of `AgentPrompt` values. */
|
|
1212
|
+
export interface AgentPromptConnection {
|
|
1213
|
+
edges: AgentPromptEdge[];
|
|
1214
|
+
nodes: AgentPrompt[];
|
|
1211
1215
|
pageInfo: PageInfo;
|
|
1212
1216
|
totalCount: number;
|
|
1213
1217
|
}
|
|
1214
1218
|
/** A connection to a list of `AgentResourceChunk` values. */
|
|
1215
1219
|
export interface AgentResourceChunkConnection {
|
|
1216
|
-
nodes: AgentResourceChunk[];
|
|
1217
1220
|
edges: AgentResourceChunkEdge[];
|
|
1221
|
+
nodes: AgentResourceChunk[];
|
|
1218
1222
|
pageInfo: PageInfo;
|
|
1219
1223
|
totalCount: number;
|
|
1220
1224
|
}
|
|
1221
|
-
/** A connection to a list of `
|
|
1222
|
-
export interface
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
+
/** A connection to a list of `AgentResource` values. */
|
|
1226
|
+
export interface AgentResourceConnection {
|
|
1227
|
+
edges: AgentResourceEdge[];
|
|
1228
|
+
nodes: AgentResource[];
|
|
1225
1229
|
pageInfo: PageInfo;
|
|
1226
1230
|
totalCount: number;
|
|
1227
1231
|
}
|
|
1228
|
-
/** A connection to a list of `
|
|
1229
|
-
export interface
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
+
/** A connection to a list of `AgentTask` values. */
|
|
1233
|
+
export interface AgentTaskConnection {
|
|
1234
|
+
edges: AgentTaskEdge[];
|
|
1235
|
+
nodes: AgentTask[];
|
|
1232
1236
|
pageInfo: PageInfo;
|
|
1233
1237
|
totalCount: number;
|
|
1234
1238
|
}
|
|
1235
1239
|
/** A connection to a list of `AgentThread` values. */
|
|
1236
1240
|
export interface AgentThreadConnection {
|
|
1237
|
-
nodes: AgentThread[];
|
|
1238
1241
|
edges: AgentThreadEdge[];
|
|
1242
|
+
nodes: AgentThread[];
|
|
1239
1243
|
pageInfo: PageInfo;
|
|
1240
1244
|
totalCount: number;
|
|
1241
1245
|
}
|
|
1242
|
-
/** A connection to a list of `
|
|
1243
|
-
export interface
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
+
/** A connection to a list of `Agent` values. */
|
|
1247
|
+
export interface AgentConnection {
|
|
1248
|
+
edges: AgentEdge[];
|
|
1249
|
+
nodes: Agent[];
|
|
1246
1250
|
pageInfo: PageInfo;
|
|
1247
1251
|
totalCount: number;
|
|
1248
1252
|
}
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1253
|
+
export interface CreateAgentPayload {
|
|
1254
|
+
/** The `Agent` that was created by this mutation. */
|
|
1255
|
+
agent?: Agent | null;
|
|
1256
|
+
agentEdge?: AgentEdge | null;
|
|
1257
|
+
clientMutationId?: string | null;
|
|
1252
1258
|
}
|
|
1253
|
-
export interface
|
|
1259
|
+
export interface CreateAgentMessagePayload {
|
|
1260
|
+
/** The `AgentMessage` that was created by this mutation. */
|
|
1261
|
+
agentMessage?: AgentMessage | null;
|
|
1262
|
+
agentMessageEdge?: AgentMessageEdge | null;
|
|
1263
|
+
clientMutationId?: string | null;
|
|
1264
|
+
}
|
|
1265
|
+
export interface CreateAgentPersonaPayload {
|
|
1266
|
+
/** The `AgentPersona` that was created by this mutation. */
|
|
1267
|
+
agentPersona?: AgentPersona | null;
|
|
1268
|
+
agentPersonaEdge?: AgentPersonaEdge | null;
|
|
1254
1269
|
clientMutationId?: string | null;
|
|
1270
|
+
}
|
|
1271
|
+
export interface CreateAgentPlanPayload {
|
|
1255
1272
|
/** The `AgentPlan` that was created by this mutation. */
|
|
1256
1273
|
agentPlan?: AgentPlan | null;
|
|
1257
1274
|
agentPlanEdge?: AgentPlanEdge | null;
|
|
1275
|
+
clientMutationId?: string | null;
|
|
1258
1276
|
}
|
|
1259
1277
|
export interface CreateAgentPromptPayload {
|
|
1260
|
-
clientMutationId?: string | null;
|
|
1261
1278
|
/** The `AgentPrompt` that was created by this mutation. */
|
|
1262
1279
|
agentPrompt?: AgentPrompt | null;
|
|
1263
1280
|
agentPromptEdge?: AgentPromptEdge | null;
|
|
1264
|
-
}
|
|
1265
|
-
export interface CreateAgentPayload {
|
|
1266
1281
|
clientMutationId?: string | null;
|
|
1267
|
-
/** The `Agent` that was created by this mutation. */
|
|
1268
|
-
agent?: Agent | null;
|
|
1269
|
-
agentEdge?: AgentEdge | null;
|
|
1270
1282
|
}
|
|
1271
|
-
export interface
|
|
1283
|
+
export interface CreateAgentResourcePayload {
|
|
1284
|
+
/** The `AgentResource` that was created by this mutation. */
|
|
1285
|
+
agentResource?: AgentResource | null;
|
|
1286
|
+
agentResourceEdge?: AgentResourceEdge | null;
|
|
1272
1287
|
clientMutationId?: string | null;
|
|
1273
|
-
/** The `AgentMessage` that was created by this mutation. */
|
|
1274
|
-
agentMessage?: AgentMessage | null;
|
|
1275
|
-
agentMessageEdge?: AgentMessageEdge | null;
|
|
1276
1288
|
}
|
|
1277
1289
|
export interface CreateAgentResourceChunkPayload {
|
|
1278
|
-
clientMutationId?: string | null;
|
|
1279
1290
|
/** The `AgentResourceChunk` that was created by this mutation. */
|
|
1280
1291
|
agentResourceChunk?: AgentResourceChunk | null;
|
|
1281
1292
|
agentResourceChunkEdge?: AgentResourceChunkEdge | null;
|
|
1293
|
+
clientMutationId?: string | null;
|
|
1282
1294
|
}
|
|
1283
1295
|
export interface CreateAgentTaskPayload {
|
|
1284
|
-
clientMutationId?: string | null;
|
|
1285
1296
|
/** The `AgentTask` that was created by this mutation. */
|
|
1286
1297
|
agentTask?: AgentTask | null;
|
|
1287
1298
|
agentTaskEdge?: AgentTaskEdge | null;
|
|
1288
|
-
}
|
|
1289
|
-
export interface CreateAgentPersonaPayload {
|
|
1290
1299
|
clientMutationId?: string | null;
|
|
1291
|
-
/** The `AgentPersona` that was created by this mutation. */
|
|
1292
|
-
agentPersona?: AgentPersona | null;
|
|
1293
|
-
agentPersonaEdge?: AgentPersonaEdge | null;
|
|
1294
1300
|
}
|
|
1295
1301
|
export interface CreateAgentThreadPayload {
|
|
1296
|
-
clientMutationId?: string | null;
|
|
1297
1302
|
/** The `AgentThread` that was created by this mutation. */
|
|
1298
1303
|
agentThread?: AgentThread | null;
|
|
1299
1304
|
agentThreadEdge?: AgentThreadEdge | null;
|
|
1300
|
-
}
|
|
1301
|
-
export interface CreateAgentResourcePayload {
|
|
1302
|
-
clientMutationId?: string | null;
|
|
1303
|
-
/** The `AgentResource` that was created by this mutation. */
|
|
1304
|
-
agentResource?: AgentResource | null;
|
|
1305
|
-
agentResourceEdge?: AgentResourceEdge | null;
|
|
1306
|
-
}
|
|
1307
|
-
export interface UpdateAgentPlanPayload {
|
|
1308
|
-
clientMutationId?: string | null;
|
|
1309
|
-
/** The `AgentPlan` that was updated by this mutation. */
|
|
1310
|
-
agentPlan?: AgentPlan | null;
|
|
1311
|
-
agentPlanEdge?: AgentPlanEdge | null;
|
|
1312
|
-
}
|
|
1313
|
-
export interface UpdateAgentPromptPayload {
|
|
1314
1305
|
clientMutationId?: string | null;
|
|
1315
|
-
/** The `AgentPrompt` that was updated by this mutation. */
|
|
1316
|
-
agentPrompt?: AgentPrompt | null;
|
|
1317
|
-
agentPromptEdge?: AgentPromptEdge | null;
|
|
1318
1306
|
}
|
|
1319
|
-
export interface
|
|
1320
|
-
|
|
1321
|
-
/** The `Agent` that was updated by this mutation. */
|
|
1307
|
+
export interface DeleteAgentPayload {
|
|
1308
|
+
/** The `Agent` that was deleted by this mutation. */
|
|
1322
1309
|
agent?: Agent | null;
|
|
1323
1310
|
agentEdge?: AgentEdge | null;
|
|
1324
|
-
}
|
|
1325
|
-
export interface UpdateAgentMessagePayload {
|
|
1326
1311
|
clientMutationId?: string | null;
|
|
1327
|
-
|
|
1312
|
+
}
|
|
1313
|
+
export interface DeleteAgentMessagePayload {
|
|
1314
|
+
/** The `AgentMessage` that was deleted by this mutation. */
|
|
1328
1315
|
agentMessage?: AgentMessage | null;
|
|
1329
1316
|
agentMessageEdge?: AgentMessageEdge | null;
|
|
1330
|
-
}
|
|
1331
|
-
export interface UpdateAgentResourceChunkPayload {
|
|
1332
|
-
clientMutationId?: string | null;
|
|
1333
|
-
/** The `AgentResourceChunk` that was updated by this mutation. */
|
|
1334
|
-
agentResourceChunk?: AgentResourceChunk | null;
|
|
1335
|
-
agentResourceChunkEdge?: AgentResourceChunkEdge | null;
|
|
1336
|
-
}
|
|
1337
|
-
export interface UpdateAgentTaskPayload {
|
|
1338
1317
|
clientMutationId?: string | null;
|
|
1339
|
-
/** The `AgentTask` that was updated by this mutation. */
|
|
1340
|
-
agentTask?: AgentTask | null;
|
|
1341
|
-
agentTaskEdge?: AgentTaskEdge | null;
|
|
1342
1318
|
}
|
|
1343
|
-
export interface
|
|
1344
|
-
|
|
1345
|
-
/** The `AgentPersona` that was updated by this mutation. */
|
|
1319
|
+
export interface DeleteAgentPersonaPayload {
|
|
1320
|
+
/** The `AgentPersona` that was deleted by this mutation. */
|
|
1346
1321
|
agentPersona?: AgentPersona | null;
|
|
1347
1322
|
agentPersonaEdge?: AgentPersonaEdge | null;
|
|
1348
|
-
}
|
|
1349
|
-
export interface UpdateAgentThreadPayload {
|
|
1350
|
-
clientMutationId?: string | null;
|
|
1351
|
-
/** The `AgentThread` that was updated by this mutation. */
|
|
1352
|
-
agentThread?: AgentThread | null;
|
|
1353
|
-
agentThreadEdge?: AgentThreadEdge | null;
|
|
1354
|
-
}
|
|
1355
|
-
export interface UpdateAgentResourcePayload {
|
|
1356
1323
|
clientMutationId?: string | null;
|
|
1357
|
-
/** The `AgentResource` that was updated by this mutation. */
|
|
1358
|
-
agentResource?: AgentResource | null;
|
|
1359
|
-
agentResourceEdge?: AgentResourceEdge | null;
|
|
1360
1324
|
}
|
|
1361
1325
|
export interface DeleteAgentPlanPayload {
|
|
1362
|
-
clientMutationId?: string | null;
|
|
1363
1326
|
/** The `AgentPlan` that was deleted by this mutation. */
|
|
1364
1327
|
agentPlan?: AgentPlan | null;
|
|
1365
1328
|
agentPlanEdge?: AgentPlanEdge | null;
|
|
1329
|
+
clientMutationId?: string | null;
|
|
1366
1330
|
}
|
|
1367
1331
|
export interface DeleteAgentPromptPayload {
|
|
1368
|
-
clientMutationId?: string | null;
|
|
1369
1332
|
/** The `AgentPrompt` that was deleted by this mutation. */
|
|
1370
1333
|
agentPrompt?: AgentPrompt | null;
|
|
1371
1334
|
agentPromptEdge?: AgentPromptEdge | null;
|
|
1372
|
-
}
|
|
1373
|
-
export interface DeleteAgentPayload {
|
|
1374
1335
|
clientMutationId?: string | null;
|
|
1375
|
-
/** The `Agent` that was deleted by this mutation. */
|
|
1376
|
-
agent?: Agent | null;
|
|
1377
|
-
agentEdge?: AgentEdge | null;
|
|
1378
1336
|
}
|
|
1379
|
-
export interface
|
|
1337
|
+
export interface DeleteAgentResourcePayload {
|
|
1338
|
+
/** The `AgentResource` that was deleted by this mutation. */
|
|
1339
|
+
agentResource?: AgentResource | null;
|
|
1340
|
+
agentResourceEdge?: AgentResourceEdge | null;
|
|
1380
1341
|
clientMutationId?: string | null;
|
|
1381
|
-
/** The `AgentMessage` that was deleted by this mutation. */
|
|
1382
|
-
agentMessage?: AgentMessage | null;
|
|
1383
|
-
agentMessageEdge?: AgentMessageEdge | null;
|
|
1384
1342
|
}
|
|
1385
1343
|
export interface DeleteAgentResourceChunkPayload {
|
|
1386
|
-
clientMutationId?: string | null;
|
|
1387
1344
|
/** The `AgentResourceChunk` that was deleted by this mutation. */
|
|
1388
1345
|
agentResourceChunk?: AgentResourceChunk | null;
|
|
1389
1346
|
agentResourceChunkEdge?: AgentResourceChunkEdge | null;
|
|
1347
|
+
clientMutationId?: string | null;
|
|
1390
1348
|
}
|
|
1391
1349
|
export interface DeleteAgentTaskPayload {
|
|
1392
|
-
clientMutationId?: string | null;
|
|
1393
1350
|
/** The `AgentTask` that was deleted by this mutation. */
|
|
1394
1351
|
agentTask?: AgentTask | null;
|
|
1395
1352
|
agentTaskEdge?: AgentTaskEdge | null;
|
|
1396
|
-
}
|
|
1397
|
-
export interface DeleteAgentPersonaPayload {
|
|
1398
1353
|
clientMutationId?: string | null;
|
|
1399
|
-
/** The `AgentPersona` that was deleted by this mutation. */
|
|
1400
|
-
agentPersona?: AgentPersona | null;
|
|
1401
|
-
agentPersonaEdge?: AgentPersonaEdge | null;
|
|
1402
1354
|
}
|
|
1403
1355
|
export interface DeleteAgentThreadPayload {
|
|
1404
|
-
clientMutationId?: string | null;
|
|
1405
1356
|
/** The `AgentThread` that was deleted by this mutation. */
|
|
1406
1357
|
agentThread?: AgentThread | null;
|
|
1407
1358
|
agentThreadEdge?: AgentThreadEdge | null;
|
|
1408
|
-
}
|
|
1409
|
-
export interface DeleteAgentResourcePayload {
|
|
1410
1359
|
clientMutationId?: string | null;
|
|
1411
|
-
/** The `AgentResource` that was deleted by this mutation. */
|
|
1412
|
-
agentResource?: AgentResource | null;
|
|
1413
|
-
agentResourceEdge?: AgentResourceEdge | null;
|
|
1414
1360
|
}
|
|
1415
1361
|
export interface ProvisionBucketPayload {
|
|
1416
|
-
/** Whether provisioning succeeded */
|
|
1417
|
-
success: boolean;
|
|
1418
|
-
/** The S3 bucket name that was provisioned */
|
|
1419
|
-
bucketName: string;
|
|
1420
1362
|
/** The access type applied */
|
|
1421
1363
|
accessType: string;
|
|
1422
|
-
/** The
|
|
1423
|
-
|
|
1364
|
+
/** The S3 bucket name that was provisioned */
|
|
1365
|
+
bucketName: string;
|
|
1424
1366
|
/** The S3 endpoint (null for AWS S3 default) */
|
|
1425
1367
|
endpoint?: string | null;
|
|
1426
1368
|
/** Error message if provisioning failed */
|
|
1427
1369
|
error?: string | null;
|
|
1370
|
+
/** The storage provider used */
|
|
1371
|
+
provider: string;
|
|
1372
|
+
/** Whether provisioning succeeded */
|
|
1373
|
+
success: boolean;
|
|
1374
|
+
}
|
|
1375
|
+
export interface UpdateAgentPayload {
|
|
1376
|
+
/** The `Agent` that was updated by this mutation. */
|
|
1377
|
+
agent?: Agent | null;
|
|
1378
|
+
agentEdge?: AgentEdge | null;
|
|
1379
|
+
clientMutationId?: string | null;
|
|
1380
|
+
}
|
|
1381
|
+
export interface UpdateAgentMessagePayload {
|
|
1382
|
+
/** The `AgentMessage` that was updated by this mutation. */
|
|
1383
|
+
agentMessage?: AgentMessage | null;
|
|
1384
|
+
agentMessageEdge?: AgentMessageEdge | null;
|
|
1385
|
+
clientMutationId?: string | null;
|
|
1386
|
+
}
|
|
1387
|
+
export interface UpdateAgentPersonaPayload {
|
|
1388
|
+
/** The `AgentPersona` that was updated by this mutation. */
|
|
1389
|
+
agentPersona?: AgentPersona | null;
|
|
1390
|
+
agentPersonaEdge?: AgentPersonaEdge | null;
|
|
1391
|
+
clientMutationId?: string | null;
|
|
1392
|
+
}
|
|
1393
|
+
export interface UpdateAgentPlanPayload {
|
|
1394
|
+
/** The `AgentPlan` that was updated by this mutation. */
|
|
1395
|
+
agentPlan?: AgentPlan | null;
|
|
1396
|
+
agentPlanEdge?: AgentPlanEdge | null;
|
|
1397
|
+
clientMutationId?: string | null;
|
|
1398
|
+
}
|
|
1399
|
+
export interface UpdateAgentPromptPayload {
|
|
1400
|
+
/** The `AgentPrompt` that was updated by this mutation. */
|
|
1401
|
+
agentPrompt?: AgentPrompt | null;
|
|
1402
|
+
agentPromptEdge?: AgentPromptEdge | null;
|
|
1403
|
+
clientMutationId?: string | null;
|
|
1404
|
+
}
|
|
1405
|
+
export interface UpdateAgentResourcePayload {
|
|
1406
|
+
/** The `AgentResource` that was updated by this mutation. */
|
|
1407
|
+
agentResource?: AgentResource | null;
|
|
1408
|
+
agentResourceEdge?: AgentResourceEdge | null;
|
|
1409
|
+
clientMutationId?: string | null;
|
|
1410
|
+
}
|
|
1411
|
+
export interface UpdateAgentResourceChunkPayload {
|
|
1412
|
+
/** The `AgentResourceChunk` that was updated by this mutation. */
|
|
1413
|
+
agentResourceChunk?: AgentResourceChunk | null;
|
|
1414
|
+
agentResourceChunkEdge?: AgentResourceChunkEdge | null;
|
|
1415
|
+
clientMutationId?: string | null;
|
|
1416
|
+
}
|
|
1417
|
+
export interface UpdateAgentTaskPayload {
|
|
1418
|
+
/** The `AgentTask` that was updated by this mutation. */
|
|
1419
|
+
agentTask?: AgentTask | null;
|
|
1420
|
+
agentTaskEdge?: AgentTaskEdge | null;
|
|
1421
|
+
clientMutationId?: string | null;
|
|
1422
|
+
}
|
|
1423
|
+
export interface UpdateAgentThreadPayload {
|
|
1424
|
+
/** The `AgentThread` that was updated by this mutation. */
|
|
1425
|
+
agentThread?: AgentThread | null;
|
|
1426
|
+
agentThreadEdge?: AgentThreadEdge | null;
|
|
1427
|
+
clientMutationId?: string | null;
|
|
1428
|
+
}
|
|
1429
|
+
/** Information about a database table */
|
|
1430
|
+
export interface MetaTable {
|
|
1431
|
+
constraints: MetaConstraints;
|
|
1432
|
+
fields: MetaField[];
|
|
1433
|
+
foreignKeyConstraints: MetaForeignKeyConstraint[];
|
|
1434
|
+
/** i18n metadata (null if no @i18n tag) */
|
|
1435
|
+
i18n?: MetaI18n | null;
|
|
1436
|
+
indexes: MetaIndex[];
|
|
1437
|
+
inflection: MetaInflection;
|
|
1438
|
+
name: string;
|
|
1439
|
+
primaryKeyConstraints: MetaPrimaryKeyConstraint[];
|
|
1440
|
+
query: MetaQuery;
|
|
1441
|
+
/** Realtime metadata (null if no @realtime tag) */
|
|
1442
|
+
realtime?: MetaRealtime | null;
|
|
1443
|
+
relations: MetaRelations;
|
|
1444
|
+
schemaName: string;
|
|
1445
|
+
/** Search metadata (null if no search configured) */
|
|
1446
|
+
search?: MetaSearch | null;
|
|
1447
|
+
/** Storage metadata (null if not a storage table) */
|
|
1448
|
+
storage?: MetaStorage | null;
|
|
1449
|
+
uniqueConstraints: MetaUniqueConstraint[];
|
|
1428
1450
|
}
|
|
1429
|
-
/** A `
|
|
1430
|
-
export interface
|
|
1451
|
+
/** A `AgentMessage` edge in the connection. */
|
|
1452
|
+
export interface AgentMessageEdge {
|
|
1431
1453
|
cursor?: string | null;
|
|
1432
|
-
/** The `
|
|
1433
|
-
node?:
|
|
1454
|
+
/** The `AgentMessage` at the end of the edge. */
|
|
1455
|
+
node?: AgentMessage | null;
|
|
1434
1456
|
}
|
|
1435
1457
|
/** Information about pagination in a connection. */
|
|
1436
1458
|
export interface PageInfo {
|
|
1459
|
+
/** When paginating forwards, the cursor to continue. */
|
|
1460
|
+
endCursor?: string | null;
|
|
1437
1461
|
/** When paginating forwards, are there more items? */
|
|
1438
1462
|
hasNextPage: boolean;
|
|
1439
1463
|
/** When paginating backwards, are there more items? */
|
|
1440
1464
|
hasPreviousPage: boolean;
|
|
1441
1465
|
/** When paginating backwards, the cursor to continue. */
|
|
1442
1466
|
startCursor?: string | null;
|
|
1443
|
-
/** When paginating forwards, the cursor to continue. */
|
|
1444
|
-
endCursor?: string | null;
|
|
1445
1467
|
}
|
|
1446
|
-
/** A `
|
|
1447
|
-
export interface
|
|
1468
|
+
/** A `AgentPersona` edge in the connection. */
|
|
1469
|
+
export interface AgentPersonaEdge {
|
|
1448
1470
|
cursor?: string | null;
|
|
1449
|
-
/** The `
|
|
1450
|
-
node?:
|
|
1471
|
+
/** The `AgentPersona` at the end of the edge. */
|
|
1472
|
+
node?: AgentPersona | null;
|
|
1451
1473
|
}
|
|
1452
|
-
/** A `
|
|
1453
|
-
export interface
|
|
1474
|
+
/** A `AgentPlan` edge in the connection. */
|
|
1475
|
+
export interface AgentPlanEdge {
|
|
1454
1476
|
cursor?: string | null;
|
|
1455
|
-
/** The `
|
|
1456
|
-
node?:
|
|
1477
|
+
/** The `AgentPlan` at the end of the edge. */
|
|
1478
|
+
node?: AgentPlan | null;
|
|
1457
1479
|
}
|
|
1458
|
-
/** A `
|
|
1459
|
-
export interface
|
|
1480
|
+
/** A `AgentPrompt` edge in the connection. */
|
|
1481
|
+
export interface AgentPromptEdge {
|
|
1460
1482
|
cursor?: string | null;
|
|
1461
|
-
/** The `
|
|
1462
|
-
node?:
|
|
1483
|
+
/** The `AgentPrompt` at the end of the edge. */
|
|
1484
|
+
node?: AgentPrompt | null;
|
|
1463
1485
|
}
|
|
1464
1486
|
/** A `AgentResourceChunk` edge in the connection. */
|
|
1465
1487
|
export interface AgentResourceChunkEdge {
|
|
@@ -1467,134 +1489,112 @@ export interface AgentResourceChunkEdge {
|
|
|
1467
1489
|
/** The `AgentResourceChunk` at the end of the edge. */
|
|
1468
1490
|
node?: AgentResourceChunk | null;
|
|
1469
1491
|
}
|
|
1492
|
+
/** A `AgentResource` edge in the connection. */
|
|
1493
|
+
export interface AgentResourceEdge {
|
|
1494
|
+
cursor?: string | null;
|
|
1495
|
+
/** The `AgentResource` at the end of the edge. */
|
|
1496
|
+
node?: AgentResource | null;
|
|
1497
|
+
}
|
|
1470
1498
|
/** A `AgentTask` edge in the connection. */
|
|
1471
1499
|
export interface AgentTaskEdge {
|
|
1472
1500
|
cursor?: string | null;
|
|
1473
1501
|
/** The `AgentTask` at the end of the edge. */
|
|
1474
1502
|
node?: AgentTask | null;
|
|
1475
1503
|
}
|
|
1476
|
-
/** A `AgentPersona` edge in the connection. */
|
|
1477
|
-
export interface AgentPersonaEdge {
|
|
1478
|
-
cursor?: string | null;
|
|
1479
|
-
/** The `AgentPersona` at the end of the edge. */
|
|
1480
|
-
node?: AgentPersona | null;
|
|
1481
|
-
}
|
|
1482
1504
|
/** A `AgentThread` edge in the connection. */
|
|
1483
1505
|
export interface AgentThreadEdge {
|
|
1484
1506
|
cursor?: string | null;
|
|
1485
1507
|
/** The `AgentThread` at the end of the edge. */
|
|
1486
1508
|
node?: AgentThread | null;
|
|
1487
1509
|
}
|
|
1488
|
-
/** A `
|
|
1489
|
-
export interface
|
|
1510
|
+
/** A `Agent` edge in the connection. */
|
|
1511
|
+
export interface AgentEdge {
|
|
1490
1512
|
cursor?: string | null;
|
|
1491
|
-
/** The `
|
|
1492
|
-
node?:
|
|
1513
|
+
/** The `Agent` at the end of the edge. */
|
|
1514
|
+
node?: Agent | null;
|
|
1493
1515
|
}
|
|
1494
|
-
/**
|
|
1495
|
-
export interface
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
indexes: MetaIndex[];
|
|
1500
|
-
constraints: MetaConstraints;
|
|
1501
|
-
foreignKeyConstraints: MetaForeignKeyConstraint[];
|
|
1502
|
-
primaryKeyConstraints: MetaPrimaryKeyConstraint[];
|
|
1503
|
-
uniqueConstraints: MetaUniqueConstraint[];
|
|
1504
|
-
relations: MetaRelations;
|
|
1505
|
-
inflection: MetaInflection;
|
|
1506
|
-
query: MetaQuery;
|
|
1507
|
-
/** Storage metadata (null if not a storage table) */
|
|
1508
|
-
storage?: MetaStorage | null;
|
|
1509
|
-
/** Search metadata (null if no search configured) */
|
|
1510
|
-
search?: MetaSearch | null;
|
|
1511
|
-
/** i18n metadata (null if no @i18n tag) */
|
|
1512
|
-
i18n?: MetaI18n | null;
|
|
1513
|
-
/** Realtime metadata (null if no @realtime tag) */
|
|
1514
|
-
realtime?: MetaRealtime | null;
|
|
1516
|
+
/** Table constraints */
|
|
1517
|
+
export interface MetaConstraints {
|
|
1518
|
+
foreignKey: MetaForeignKeyConstraint[];
|
|
1519
|
+
primaryKey?: MetaPrimaryKeyConstraint | null;
|
|
1520
|
+
unique: MetaUniqueConstraint[];
|
|
1515
1521
|
}
|
|
1516
1522
|
/** Information about a table field/column */
|
|
1517
1523
|
export interface MetaField {
|
|
1518
|
-
name: string;
|
|
1519
|
-
type: MetaType;
|
|
1520
|
-
isNotNull: boolean;
|
|
1521
|
-
hasDefault: boolean;
|
|
1522
|
-
isPrimaryKey: boolean;
|
|
1523
|
-
isForeignKey: boolean;
|
|
1524
1524
|
description?: string | null;
|
|
1525
1525
|
/** Enum metadata if this field has an enum type */
|
|
1526
1526
|
enumValues?: MetaEnum | null;
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1527
|
+
hasDefault: boolean;
|
|
1528
|
+
isForeignKey: boolean;
|
|
1529
|
+
isNotNull: boolean;
|
|
1530
|
+
isPrimaryKey: boolean;
|
|
1530
1531
|
name: string;
|
|
1531
|
-
|
|
1532
|
-
isPrimary: boolean;
|
|
1533
|
-
columns: string[];
|
|
1534
|
-
fields?: MetaField[] | null;
|
|
1535
|
-
}
|
|
1536
|
-
/** Table constraints */
|
|
1537
|
-
export interface MetaConstraints {
|
|
1538
|
-
primaryKey?: MetaPrimaryKeyConstraint | null;
|
|
1539
|
-
unique: MetaUniqueConstraint[];
|
|
1540
|
-
foreignKey: MetaForeignKeyConstraint[];
|
|
1532
|
+
type: MetaType;
|
|
1541
1533
|
}
|
|
1542
1534
|
/** Information about a foreign key constraint */
|
|
1543
1535
|
export interface MetaForeignKeyConstraint {
|
|
1544
|
-
name: string;
|
|
1545
1536
|
fields: MetaField[];
|
|
1546
|
-
|
|
1547
|
-
referencedFields: string[];
|
|
1537
|
+
name: string;
|
|
1548
1538
|
refFields?: MetaField[] | null;
|
|
1549
1539
|
refTable?: MetaRefTable | null;
|
|
1540
|
+
referencedFields: string[];
|
|
1541
|
+
referencedTable: string;
|
|
1550
1542
|
}
|
|
1551
|
-
/**
|
|
1552
|
-
export interface
|
|
1553
|
-
|
|
1554
|
-
|
|
1543
|
+
/** i18n metadata for a table with @i18n tag */
|
|
1544
|
+
export interface MetaI18n {
|
|
1545
|
+
/** Fields that are translatable */
|
|
1546
|
+
translatableFields: MetaI18nField[];
|
|
1547
|
+
/** Name of the translation table */
|
|
1548
|
+
translationTable: string;
|
|
1555
1549
|
}
|
|
1556
|
-
/** Information about a
|
|
1557
|
-
export interface
|
|
1550
|
+
/** Information about a database index */
|
|
1551
|
+
export interface MetaIndex {
|
|
1552
|
+
columns: string[];
|
|
1553
|
+
fields?: MetaField[] | null;
|
|
1554
|
+
isPrimary: boolean;
|
|
1555
|
+
isUnique: boolean;
|
|
1558
1556
|
name: string;
|
|
1559
|
-
fields: MetaField[];
|
|
1560
|
-
}
|
|
1561
|
-
/** Table relations */
|
|
1562
|
-
export interface MetaRelations {
|
|
1563
|
-
belongsTo: MetaBelongsToRelation[];
|
|
1564
|
-
has: MetaHasRelation[];
|
|
1565
|
-
hasOne: MetaHasRelation[];
|
|
1566
|
-
hasMany: MetaHasRelation[];
|
|
1567
|
-
manyToMany: MetaManyToManyRelation[];
|
|
1568
1557
|
}
|
|
1569
1558
|
/** Table inflection names */
|
|
1570
1559
|
export interface MetaInflection {
|
|
1571
|
-
tableType: string;
|
|
1572
1560
|
allRows: string;
|
|
1561
|
+
conditionType: string;
|
|
1573
1562
|
connection: string;
|
|
1563
|
+
createInputType: string;
|
|
1564
|
+
createPayloadType: string;
|
|
1565
|
+
deletePayloadType: string;
|
|
1574
1566
|
edge: string;
|
|
1575
1567
|
filterType?: string | null;
|
|
1576
1568
|
orderByType: string;
|
|
1577
|
-
conditionType: string;
|
|
1578
1569
|
patchType?: string | null;
|
|
1579
|
-
|
|
1580
|
-
createPayloadType: string;
|
|
1570
|
+
tableType: string;
|
|
1581
1571
|
updatePayloadType?: string | null;
|
|
1582
|
-
|
|
1572
|
+
}
|
|
1573
|
+
/** Information about a primary key constraint */
|
|
1574
|
+
export interface MetaPrimaryKeyConstraint {
|
|
1575
|
+
fields: MetaField[];
|
|
1576
|
+
name: string;
|
|
1583
1577
|
}
|
|
1584
1578
|
/** Table query/mutation names */
|
|
1585
1579
|
export interface MetaQuery {
|
|
1586
1580
|
all: string;
|
|
1587
|
-
one?: string | null;
|
|
1588
1581
|
create?: string | null;
|
|
1589
|
-
update?: string | null;
|
|
1590
1582
|
delete?: string | null;
|
|
1583
|
+
one?: string | null;
|
|
1584
|
+
update?: string | null;
|
|
1591
1585
|
}
|
|
1592
|
-
/**
|
|
1593
|
-
export interface
|
|
1594
|
-
/**
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1586
|
+
/** Realtime metadata for a table with @realtime tag */
|
|
1587
|
+
export interface MetaRealtime {
|
|
1588
|
+
/** The generated subscription field name (e.g. onPostChanged) */
|
|
1589
|
+
subscriptionFieldName: string;
|
|
1590
|
+
}
|
|
1591
|
+
/** Table relations */
|
|
1592
|
+
export interface MetaRelations {
|
|
1593
|
+
belongsTo: MetaBelongsToRelation[];
|
|
1594
|
+
has: MetaHasRelation[];
|
|
1595
|
+
hasMany: MetaHasRelation[];
|
|
1596
|
+
hasOne: MetaHasRelation[];
|
|
1597
|
+
manyToMany: MetaManyToManyRelation[];
|
|
1598
1598
|
}
|
|
1599
1599
|
/** Search metadata for a table */
|
|
1600
1600
|
export interface MetaSearch {
|
|
@@ -1602,31 +1602,22 @@ export interface MetaSearch {
|
|
|
1602
1602
|
algorithms: string[];
|
|
1603
1603
|
/** Searchable columns with their algorithm */
|
|
1604
1604
|
columns: MetaSearchColumn[];
|
|
1605
|
-
/** Whether unifiedSearch composite filter is available */
|
|
1606
|
-
hasUnifiedSearch: boolean;
|
|
1607
1605
|
/** Per-table search configuration */
|
|
1608
1606
|
config?: MetaSearchConfig | null;
|
|
1607
|
+
/** Whether unifiedSearch composite filter is available */
|
|
1608
|
+
hasUnifiedSearch: boolean;
|
|
1609
1609
|
}
|
|
1610
|
-
/**
|
|
1611
|
-
export interface
|
|
1612
|
-
/**
|
|
1613
|
-
|
|
1614
|
-
/**
|
|
1615
|
-
|
|
1616
|
-
}
|
|
1617
|
-
/** Realtime metadata for a table with @realtime tag */
|
|
1618
|
-
export interface MetaRealtime {
|
|
1619
|
-
/** The generated subscription field name (e.g. onPostChanged) */
|
|
1620
|
-
subscriptionFieldName: string;
|
|
1610
|
+
/** Storage metadata for a table */
|
|
1611
|
+
export interface MetaStorage {
|
|
1612
|
+
/** Whether this table is a storage buckets table */
|
|
1613
|
+
isBucketsTable: boolean;
|
|
1614
|
+
/** Whether this table is a storage files table */
|
|
1615
|
+
isFilesTable: boolean;
|
|
1621
1616
|
}
|
|
1622
|
-
/** Information about a
|
|
1623
|
-
export interface
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
isArray: boolean;
|
|
1627
|
-
isNotNull?: boolean | null;
|
|
1628
|
-
hasDefault?: boolean | null;
|
|
1629
|
-
subtype?: string | null;
|
|
1617
|
+
/** Information about a unique constraint */
|
|
1618
|
+
export interface MetaUniqueConstraint {
|
|
1619
|
+
fields: MetaField[];
|
|
1620
|
+
name: string;
|
|
1630
1621
|
}
|
|
1631
1622
|
/** Information about a PostgreSQL enum type */
|
|
1632
1623
|
export interface MetaEnum {
|
|
@@ -1635,61 +1626,70 @@ export interface MetaEnum {
|
|
|
1635
1626
|
/** Allowed values for this enum */
|
|
1636
1627
|
values: string[];
|
|
1637
1628
|
}
|
|
1629
|
+
/** Information about a PostgreSQL type */
|
|
1630
|
+
export interface MetaType {
|
|
1631
|
+
gqlType: string;
|
|
1632
|
+
hasDefault?: boolean | null;
|
|
1633
|
+
isArray: boolean;
|
|
1634
|
+
isNotNull?: boolean | null;
|
|
1635
|
+
pgType: string;
|
|
1636
|
+
subtype?: string | null;
|
|
1637
|
+
}
|
|
1638
1638
|
/** Reference to a related table */
|
|
1639
1639
|
export interface MetaRefTable {
|
|
1640
1640
|
name: string;
|
|
1641
1641
|
}
|
|
1642
|
+
/** A translatable field */
|
|
1643
|
+
export interface MetaI18nField {
|
|
1644
|
+
/** GraphQL field name */
|
|
1645
|
+
name: string;
|
|
1646
|
+
/** PostgreSQL column type (text, citext) */
|
|
1647
|
+
type: string;
|
|
1648
|
+
}
|
|
1642
1649
|
/** A belongs-to (forward FK) relation */
|
|
1643
1650
|
export interface MetaBelongsToRelation {
|
|
1644
1651
|
fieldName?: string | null;
|
|
1645
1652
|
isUnique: boolean;
|
|
1646
|
-
type?: string | null;
|
|
1647
1653
|
keys: MetaField[];
|
|
1648
1654
|
references: MetaRefTable;
|
|
1655
|
+
type?: string | null;
|
|
1649
1656
|
}
|
|
1650
1657
|
/** A has-one or has-many (reverse FK) relation */
|
|
1651
1658
|
export interface MetaHasRelation {
|
|
1652
1659
|
fieldName?: string | null;
|
|
1653
1660
|
isUnique: boolean;
|
|
1654
|
-
type?: string | null;
|
|
1655
1661
|
keys: MetaField[];
|
|
1656
1662
|
referencedBy: MetaRefTable;
|
|
1663
|
+
type?: string | null;
|
|
1657
1664
|
}
|
|
1658
1665
|
/** A many-to-many relation via junction table */
|
|
1659
1666
|
export interface MetaManyToManyRelation {
|
|
1660
1667
|
fieldName?: string | null;
|
|
1661
|
-
type?: string | null;
|
|
1662
|
-
junctionTable: MetaRefTable;
|
|
1663
1668
|
junctionLeftConstraint: MetaForeignKeyConstraint;
|
|
1664
1669
|
junctionLeftKeyAttributes: MetaField[];
|
|
1665
1670
|
junctionRightConstraint: MetaForeignKeyConstraint;
|
|
1666
1671
|
junctionRightKeyAttributes: MetaField[];
|
|
1672
|
+
junctionTable: MetaRefTable;
|
|
1667
1673
|
leftKeyAttributes: MetaField[];
|
|
1668
1674
|
rightKeyAttributes: MetaField[];
|
|
1669
1675
|
rightTable: MetaRefTable;
|
|
1676
|
+
type?: string | null;
|
|
1670
1677
|
}
|
|
1671
1678
|
/** A searchable column with its algorithm */
|
|
1672
1679
|
export interface MetaSearchColumn {
|
|
1673
|
-
/** Column name (camelCase) */
|
|
1674
|
-
name: string;
|
|
1675
1680
|
/** Search algorithm: tsvector, bm25, trgm, or vector */
|
|
1676
1681
|
algorithm: string;
|
|
1682
|
+
/** Column name (camelCase) */
|
|
1683
|
+
name: string;
|
|
1677
1684
|
}
|
|
1678
1685
|
/** Per-table search configuration from @searchConfig smart tag */
|
|
1679
1686
|
export interface MetaSearchConfig {
|
|
1680
|
-
/** JSON-encoded per-adapter score weights */
|
|
1681
|
-
weights?: string | null;
|
|
1682
|
-
/** Whether recency boosting is enabled */
|
|
1683
|
-
boostRecent: boolean;
|
|
1684
|
-
/** Field used for recency decay */
|
|
1685
|
-
boostRecencyField?: string | null;
|
|
1686
1687
|
/** Exponential decay factor per day */
|
|
1687
1688
|
boostRecencyDecay?: number | null;
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
type: string;
|
|
1689
|
+
/** Field used for recency decay */
|
|
1690
|
+
boostRecencyField?: string | null;
|
|
1691
|
+
/** Whether recency boosting is enabled */
|
|
1692
|
+
boostRecent: boolean;
|
|
1693
|
+
/** JSON-encoded per-adapter score weights */
|
|
1694
|
+
weights?: string | null;
|
|
1695
1695
|
}
|