@app-vitals/agent-admin 0.2.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openapi.json +291 -0
- package/openapi.platform.json +392 -0
- package/package.json +2 -2
- package/prisma/client/browser.ts +15 -0
- package/prisma/client/client.ts +15 -0
- package/prisma/client/internal/class.ts +34 -4
- package/prisma/client/internal/prismaNamespace.ts +273 -1
- package/prisma/client/internal/prismaNamespaceBrowser.ts +47 -0
- package/prisma/client/models/AgentCronJob.ts +107 -1
- package/prisma/client/models/AgentCronRunRequest.ts +1233 -0
- package/prisma/client/models/AgentCronRunTranscript.ts +1339 -0
- package/prisma/client/models/AgentTranscriptRead.ts +1177 -0
- package/prisma/client/models.ts +3 -0
- package/prisma/migrations/20261027000000_add_cron_run_transcripts/migration.sql +37 -0
- package/prisma/migrations/20261028000000_add_cron_run_now/migration.sql +24 -0
- package/prisma/schema/schema.prisma +58 -0
- package/src/admin-boot.ts +18 -0
- package/src/admin-ui.fixtures.ts +2 -0
- package/src/admin-ui.smoke.test.ts +2 -0
- package/src/agent-cron-jobs.unit.test.ts +4 -0
- package/src/agent-cron-run-stats.smoke.test.ts +10 -0
- package/src/agent-cron-runs.integration.test.ts +93 -0
- package/src/agent-cron-runs.ts +47 -15
- package/src/agents-api.smoke.test.ts +18 -0
- package/src/agents-api.ts +30 -0
- package/src/api-auth.ts +1 -0
- package/src/api.smoke.test.ts +39 -0
- package/src/api.ts +15 -0
- package/src/chat.smoke.test.ts +2 -0
- package/src/cron-run-now-config.ts +20 -0
- package/src/cron-run-now-config.unit.test.ts +26 -0
- package/src/cron-run-now.smoke.test.ts +218 -0
- package/src/cron-run-now.ts +207 -0
- package/src/cron-run-transcripts.integration.test.ts +220 -0
- package/src/cron-run-transcripts.smoke.test.ts +286 -0
- package/src/cron-run-transcripts.ts +314 -0
- package/src/errors.ts +7 -0
- package/src/openapi-schemas.ts +78 -0
- package/src/openapi-schemas.unit.test.ts +4 -0
- package/src/transcript-config.ts +19 -0
- package/src/transcript-config.unit.test.ts +32 -0
|
@@ -416,6 +416,9 @@ export const ModelName = {
|
|
|
416
416
|
AgentCronRunModelBreakdown: 'AgentCronRunModelBreakdown',
|
|
417
417
|
AgentChatTokenUsageDailyByModel: 'AgentChatTokenUsageDailyByModel',
|
|
418
418
|
AgentAsk: 'AgentAsk',
|
|
419
|
+
AgentCronRunRequest: 'AgentCronRunRequest',
|
|
420
|
+
AgentCronRunTranscript: 'AgentCronRunTranscript',
|
|
421
|
+
AgentTranscriptRead: 'AgentTranscriptRead',
|
|
419
422
|
AgentGitHubInstallationsSnapshot: 'AgentGitHubInstallationsSnapshot',
|
|
420
423
|
PushSubscription: 'PushSubscription',
|
|
421
424
|
ChatThreadWatch: 'ChatThreadWatch',
|
|
@@ -435,7 +438,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
435
438
|
omit: GlobalOmitOptions
|
|
436
439
|
}
|
|
437
440
|
meta: {
|
|
438
|
-
modelProps: "agentWorkQueueSnapshot" | "agentPhaseMethodology" | "sessionFollow" | "sessionAlertState" | "agent" | "agentEnv" | "agentCronJob" | "agentTool" | "agentToken" | "agentPlugin" | "agentMember" | "account" | "accountMember" | "accountInvite" | "agentCronRun" | "agentCronRunSkillUsage" | "agentCronRunModelBreakdown" | "agentChatTokenUsageDailyByModel" | "agentAsk" | "agentGitHubInstallationsSnapshot" | "pushSubscription" | "chatThreadWatch" | "userNotificationPrefs"
|
|
441
|
+
modelProps: "agentWorkQueueSnapshot" | "agentPhaseMethodology" | "sessionFollow" | "sessionAlertState" | "agent" | "agentEnv" | "agentCronJob" | "agentTool" | "agentToken" | "agentPlugin" | "agentMember" | "account" | "accountMember" | "accountInvite" | "agentCronRun" | "agentCronRunSkillUsage" | "agentCronRunModelBreakdown" | "agentChatTokenUsageDailyByModel" | "agentAsk" | "agentCronRunRequest" | "agentCronRunTranscript" | "agentTranscriptRead" | "agentGitHubInstallationsSnapshot" | "pushSubscription" | "chatThreadWatch" | "userNotificationPrefs"
|
|
439
442
|
txIsolationLevel: TransactionIsolationLevel
|
|
440
443
|
}
|
|
441
444
|
model: {
|
|
@@ -1845,6 +1848,228 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
1845
1848
|
}
|
|
1846
1849
|
}
|
|
1847
1850
|
}
|
|
1851
|
+
AgentCronRunRequest: {
|
|
1852
|
+
payload: Prisma.$AgentCronRunRequestPayload<ExtArgs>
|
|
1853
|
+
fields: Prisma.AgentCronRunRequestFieldRefs
|
|
1854
|
+
operations: {
|
|
1855
|
+
findUnique: {
|
|
1856
|
+
args: Prisma.AgentCronRunRequestFindUniqueArgs<ExtArgs>
|
|
1857
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunRequestPayload> | null
|
|
1858
|
+
}
|
|
1859
|
+
findUniqueOrThrow: {
|
|
1860
|
+
args: Prisma.AgentCronRunRequestFindUniqueOrThrowArgs<ExtArgs>
|
|
1861
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunRequestPayload>
|
|
1862
|
+
}
|
|
1863
|
+
findFirst: {
|
|
1864
|
+
args: Prisma.AgentCronRunRequestFindFirstArgs<ExtArgs>
|
|
1865
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunRequestPayload> | null
|
|
1866
|
+
}
|
|
1867
|
+
findFirstOrThrow: {
|
|
1868
|
+
args: Prisma.AgentCronRunRequestFindFirstOrThrowArgs<ExtArgs>
|
|
1869
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunRequestPayload>
|
|
1870
|
+
}
|
|
1871
|
+
findMany: {
|
|
1872
|
+
args: Prisma.AgentCronRunRequestFindManyArgs<ExtArgs>
|
|
1873
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunRequestPayload>[]
|
|
1874
|
+
}
|
|
1875
|
+
create: {
|
|
1876
|
+
args: Prisma.AgentCronRunRequestCreateArgs<ExtArgs>
|
|
1877
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunRequestPayload>
|
|
1878
|
+
}
|
|
1879
|
+
createMany: {
|
|
1880
|
+
args: Prisma.AgentCronRunRequestCreateManyArgs<ExtArgs>
|
|
1881
|
+
result: BatchPayload
|
|
1882
|
+
}
|
|
1883
|
+
createManyAndReturn: {
|
|
1884
|
+
args: Prisma.AgentCronRunRequestCreateManyAndReturnArgs<ExtArgs>
|
|
1885
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunRequestPayload>[]
|
|
1886
|
+
}
|
|
1887
|
+
delete: {
|
|
1888
|
+
args: Prisma.AgentCronRunRequestDeleteArgs<ExtArgs>
|
|
1889
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunRequestPayload>
|
|
1890
|
+
}
|
|
1891
|
+
update: {
|
|
1892
|
+
args: Prisma.AgentCronRunRequestUpdateArgs<ExtArgs>
|
|
1893
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunRequestPayload>
|
|
1894
|
+
}
|
|
1895
|
+
deleteMany: {
|
|
1896
|
+
args: Prisma.AgentCronRunRequestDeleteManyArgs<ExtArgs>
|
|
1897
|
+
result: BatchPayload
|
|
1898
|
+
}
|
|
1899
|
+
updateMany: {
|
|
1900
|
+
args: Prisma.AgentCronRunRequestUpdateManyArgs<ExtArgs>
|
|
1901
|
+
result: BatchPayload
|
|
1902
|
+
}
|
|
1903
|
+
updateManyAndReturn: {
|
|
1904
|
+
args: Prisma.AgentCronRunRequestUpdateManyAndReturnArgs<ExtArgs>
|
|
1905
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunRequestPayload>[]
|
|
1906
|
+
}
|
|
1907
|
+
upsert: {
|
|
1908
|
+
args: Prisma.AgentCronRunRequestUpsertArgs<ExtArgs>
|
|
1909
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunRequestPayload>
|
|
1910
|
+
}
|
|
1911
|
+
aggregate: {
|
|
1912
|
+
args: Prisma.AgentCronRunRequestAggregateArgs<ExtArgs>
|
|
1913
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateAgentCronRunRequest>
|
|
1914
|
+
}
|
|
1915
|
+
groupBy: {
|
|
1916
|
+
args: Prisma.AgentCronRunRequestGroupByArgs<ExtArgs>
|
|
1917
|
+
result: runtime.Types.Utils.Optional<Prisma.AgentCronRunRequestGroupByOutputType>[]
|
|
1918
|
+
}
|
|
1919
|
+
count: {
|
|
1920
|
+
args: Prisma.AgentCronRunRequestCountArgs<ExtArgs>
|
|
1921
|
+
result: runtime.Types.Utils.Optional<Prisma.AgentCronRunRequestCountAggregateOutputType> | number
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
}
|
|
1925
|
+
AgentCronRunTranscript: {
|
|
1926
|
+
payload: Prisma.$AgentCronRunTranscriptPayload<ExtArgs>
|
|
1927
|
+
fields: Prisma.AgentCronRunTranscriptFieldRefs
|
|
1928
|
+
operations: {
|
|
1929
|
+
findUnique: {
|
|
1930
|
+
args: Prisma.AgentCronRunTranscriptFindUniqueArgs<ExtArgs>
|
|
1931
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunTranscriptPayload> | null
|
|
1932
|
+
}
|
|
1933
|
+
findUniqueOrThrow: {
|
|
1934
|
+
args: Prisma.AgentCronRunTranscriptFindUniqueOrThrowArgs<ExtArgs>
|
|
1935
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunTranscriptPayload>
|
|
1936
|
+
}
|
|
1937
|
+
findFirst: {
|
|
1938
|
+
args: Prisma.AgentCronRunTranscriptFindFirstArgs<ExtArgs>
|
|
1939
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunTranscriptPayload> | null
|
|
1940
|
+
}
|
|
1941
|
+
findFirstOrThrow: {
|
|
1942
|
+
args: Prisma.AgentCronRunTranscriptFindFirstOrThrowArgs<ExtArgs>
|
|
1943
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunTranscriptPayload>
|
|
1944
|
+
}
|
|
1945
|
+
findMany: {
|
|
1946
|
+
args: Prisma.AgentCronRunTranscriptFindManyArgs<ExtArgs>
|
|
1947
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunTranscriptPayload>[]
|
|
1948
|
+
}
|
|
1949
|
+
create: {
|
|
1950
|
+
args: Prisma.AgentCronRunTranscriptCreateArgs<ExtArgs>
|
|
1951
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunTranscriptPayload>
|
|
1952
|
+
}
|
|
1953
|
+
createMany: {
|
|
1954
|
+
args: Prisma.AgentCronRunTranscriptCreateManyArgs<ExtArgs>
|
|
1955
|
+
result: BatchPayload
|
|
1956
|
+
}
|
|
1957
|
+
createManyAndReturn: {
|
|
1958
|
+
args: Prisma.AgentCronRunTranscriptCreateManyAndReturnArgs<ExtArgs>
|
|
1959
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunTranscriptPayload>[]
|
|
1960
|
+
}
|
|
1961
|
+
delete: {
|
|
1962
|
+
args: Prisma.AgentCronRunTranscriptDeleteArgs<ExtArgs>
|
|
1963
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunTranscriptPayload>
|
|
1964
|
+
}
|
|
1965
|
+
update: {
|
|
1966
|
+
args: Prisma.AgentCronRunTranscriptUpdateArgs<ExtArgs>
|
|
1967
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunTranscriptPayload>
|
|
1968
|
+
}
|
|
1969
|
+
deleteMany: {
|
|
1970
|
+
args: Prisma.AgentCronRunTranscriptDeleteManyArgs<ExtArgs>
|
|
1971
|
+
result: BatchPayload
|
|
1972
|
+
}
|
|
1973
|
+
updateMany: {
|
|
1974
|
+
args: Prisma.AgentCronRunTranscriptUpdateManyArgs<ExtArgs>
|
|
1975
|
+
result: BatchPayload
|
|
1976
|
+
}
|
|
1977
|
+
updateManyAndReturn: {
|
|
1978
|
+
args: Prisma.AgentCronRunTranscriptUpdateManyAndReturnArgs<ExtArgs>
|
|
1979
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunTranscriptPayload>[]
|
|
1980
|
+
}
|
|
1981
|
+
upsert: {
|
|
1982
|
+
args: Prisma.AgentCronRunTranscriptUpsertArgs<ExtArgs>
|
|
1983
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentCronRunTranscriptPayload>
|
|
1984
|
+
}
|
|
1985
|
+
aggregate: {
|
|
1986
|
+
args: Prisma.AgentCronRunTranscriptAggregateArgs<ExtArgs>
|
|
1987
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateAgentCronRunTranscript>
|
|
1988
|
+
}
|
|
1989
|
+
groupBy: {
|
|
1990
|
+
args: Prisma.AgentCronRunTranscriptGroupByArgs<ExtArgs>
|
|
1991
|
+
result: runtime.Types.Utils.Optional<Prisma.AgentCronRunTranscriptGroupByOutputType>[]
|
|
1992
|
+
}
|
|
1993
|
+
count: {
|
|
1994
|
+
args: Prisma.AgentCronRunTranscriptCountArgs<ExtArgs>
|
|
1995
|
+
result: runtime.Types.Utils.Optional<Prisma.AgentCronRunTranscriptCountAggregateOutputType> | number
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
}
|
|
1999
|
+
AgentTranscriptRead: {
|
|
2000
|
+
payload: Prisma.$AgentTranscriptReadPayload<ExtArgs>
|
|
2001
|
+
fields: Prisma.AgentTranscriptReadFieldRefs
|
|
2002
|
+
operations: {
|
|
2003
|
+
findUnique: {
|
|
2004
|
+
args: Prisma.AgentTranscriptReadFindUniqueArgs<ExtArgs>
|
|
2005
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentTranscriptReadPayload> | null
|
|
2006
|
+
}
|
|
2007
|
+
findUniqueOrThrow: {
|
|
2008
|
+
args: Prisma.AgentTranscriptReadFindUniqueOrThrowArgs<ExtArgs>
|
|
2009
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentTranscriptReadPayload>
|
|
2010
|
+
}
|
|
2011
|
+
findFirst: {
|
|
2012
|
+
args: Prisma.AgentTranscriptReadFindFirstArgs<ExtArgs>
|
|
2013
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentTranscriptReadPayload> | null
|
|
2014
|
+
}
|
|
2015
|
+
findFirstOrThrow: {
|
|
2016
|
+
args: Prisma.AgentTranscriptReadFindFirstOrThrowArgs<ExtArgs>
|
|
2017
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentTranscriptReadPayload>
|
|
2018
|
+
}
|
|
2019
|
+
findMany: {
|
|
2020
|
+
args: Prisma.AgentTranscriptReadFindManyArgs<ExtArgs>
|
|
2021
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentTranscriptReadPayload>[]
|
|
2022
|
+
}
|
|
2023
|
+
create: {
|
|
2024
|
+
args: Prisma.AgentTranscriptReadCreateArgs<ExtArgs>
|
|
2025
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentTranscriptReadPayload>
|
|
2026
|
+
}
|
|
2027
|
+
createMany: {
|
|
2028
|
+
args: Prisma.AgentTranscriptReadCreateManyArgs<ExtArgs>
|
|
2029
|
+
result: BatchPayload
|
|
2030
|
+
}
|
|
2031
|
+
createManyAndReturn: {
|
|
2032
|
+
args: Prisma.AgentTranscriptReadCreateManyAndReturnArgs<ExtArgs>
|
|
2033
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentTranscriptReadPayload>[]
|
|
2034
|
+
}
|
|
2035
|
+
delete: {
|
|
2036
|
+
args: Prisma.AgentTranscriptReadDeleteArgs<ExtArgs>
|
|
2037
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentTranscriptReadPayload>
|
|
2038
|
+
}
|
|
2039
|
+
update: {
|
|
2040
|
+
args: Prisma.AgentTranscriptReadUpdateArgs<ExtArgs>
|
|
2041
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentTranscriptReadPayload>
|
|
2042
|
+
}
|
|
2043
|
+
deleteMany: {
|
|
2044
|
+
args: Prisma.AgentTranscriptReadDeleteManyArgs<ExtArgs>
|
|
2045
|
+
result: BatchPayload
|
|
2046
|
+
}
|
|
2047
|
+
updateMany: {
|
|
2048
|
+
args: Prisma.AgentTranscriptReadUpdateManyArgs<ExtArgs>
|
|
2049
|
+
result: BatchPayload
|
|
2050
|
+
}
|
|
2051
|
+
updateManyAndReturn: {
|
|
2052
|
+
args: Prisma.AgentTranscriptReadUpdateManyAndReturnArgs<ExtArgs>
|
|
2053
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentTranscriptReadPayload>[]
|
|
2054
|
+
}
|
|
2055
|
+
upsert: {
|
|
2056
|
+
args: Prisma.AgentTranscriptReadUpsertArgs<ExtArgs>
|
|
2057
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$AgentTranscriptReadPayload>
|
|
2058
|
+
}
|
|
2059
|
+
aggregate: {
|
|
2060
|
+
args: Prisma.AgentTranscriptReadAggregateArgs<ExtArgs>
|
|
2061
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateAgentTranscriptRead>
|
|
2062
|
+
}
|
|
2063
|
+
groupBy: {
|
|
2064
|
+
args: Prisma.AgentTranscriptReadGroupByArgs<ExtArgs>
|
|
2065
|
+
result: runtime.Types.Utils.Optional<Prisma.AgentTranscriptReadGroupByOutputType>[]
|
|
2066
|
+
}
|
|
2067
|
+
count: {
|
|
2068
|
+
args: Prisma.AgentTranscriptReadCountArgs<ExtArgs>
|
|
2069
|
+
result: runtime.Types.Utils.Optional<Prisma.AgentTranscriptReadCountAggregateOutputType> | number
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
2072
|
+
}
|
|
1848
2073
|
AgentGitHubInstallationsSnapshot: {
|
|
1849
2074
|
payload: Prisma.$AgentGitHubInstallationsSnapshotPayload<ExtArgs>
|
|
1850
2075
|
fields: Prisma.AgentGitHubInstallationsSnapshotFieldRefs
|
|
@@ -2286,6 +2511,8 @@ export const AgentCronJobScalarFieldEnum = {
|
|
|
2286
2511
|
name: 'name',
|
|
2287
2512
|
system: 'system',
|
|
2288
2513
|
lockdownDisabledAt: 'lockdownDisabledAt',
|
|
2514
|
+
runRequestedAt: 'runRequestedAt',
|
|
2515
|
+
runRequestedBy: 'runRequestedBy',
|
|
2289
2516
|
createdAt: 'createdAt',
|
|
2290
2517
|
updatedAt: 'updatedAt',
|
|
2291
2518
|
parentCronId: 'parentCronId'
|
|
@@ -2475,6 +2702,48 @@ export const AgentAskScalarFieldEnum = {
|
|
|
2475
2702
|
export type AgentAskScalarFieldEnum = (typeof AgentAskScalarFieldEnum)[keyof typeof AgentAskScalarFieldEnum]
|
|
2476
2703
|
|
|
2477
2704
|
|
|
2705
|
+
export const AgentCronRunRequestScalarFieldEnum = {
|
|
2706
|
+
id: 'id',
|
|
2707
|
+
cronId: 'cronId',
|
|
2708
|
+
agentId: 'agentId',
|
|
2709
|
+
requestedBy: 'requestedBy',
|
|
2710
|
+
requestedAt: 'requestedAt',
|
|
2711
|
+
status: 'status',
|
|
2712
|
+
honouredRunId: 'honouredRunId',
|
|
2713
|
+
createdAt: 'createdAt'
|
|
2714
|
+
} as const
|
|
2715
|
+
|
|
2716
|
+
export type AgentCronRunRequestScalarFieldEnum = (typeof AgentCronRunRequestScalarFieldEnum)[keyof typeof AgentCronRunRequestScalarFieldEnum]
|
|
2717
|
+
|
|
2718
|
+
|
|
2719
|
+
export const AgentCronRunTranscriptScalarFieldEnum = {
|
|
2720
|
+
id: 'id',
|
|
2721
|
+
runId: 'runId',
|
|
2722
|
+
agentId: 'agentId',
|
|
2723
|
+
cronId: 'cronId',
|
|
2724
|
+
sessionId: 'sessionId',
|
|
2725
|
+
bytes: 'bytes',
|
|
2726
|
+
truncated: 'truncated',
|
|
2727
|
+
redactions: 'redactions',
|
|
2728
|
+
body: 'body',
|
|
2729
|
+
createdAt: 'createdAt'
|
|
2730
|
+
} as const
|
|
2731
|
+
|
|
2732
|
+
export type AgentCronRunTranscriptScalarFieldEnum = (typeof AgentCronRunTranscriptScalarFieldEnum)[keyof typeof AgentCronRunTranscriptScalarFieldEnum]
|
|
2733
|
+
|
|
2734
|
+
|
|
2735
|
+
export const AgentTranscriptReadScalarFieldEnum = {
|
|
2736
|
+
id: 'id',
|
|
2737
|
+
runId: 'runId',
|
|
2738
|
+
agentId: 'agentId',
|
|
2739
|
+
reader: 'reader',
|
|
2740
|
+
scopeKind: 'scopeKind',
|
|
2741
|
+
at: 'at'
|
|
2742
|
+
} as const
|
|
2743
|
+
|
|
2744
|
+
export type AgentTranscriptReadScalarFieldEnum = (typeof AgentTranscriptReadScalarFieldEnum)[keyof typeof AgentTranscriptReadScalarFieldEnum]
|
|
2745
|
+
|
|
2746
|
+
|
|
2478
2747
|
export const AgentGitHubInstallationsSnapshotScalarFieldEnum = {
|
|
2479
2748
|
id: 'id',
|
|
2480
2749
|
agentId: 'agentId',
|
|
@@ -2830,6 +3099,9 @@ export type GlobalOmitConfig = {
|
|
|
2830
3099
|
agentCronRunModelBreakdown?: Prisma.AgentCronRunModelBreakdownOmit
|
|
2831
3100
|
agentChatTokenUsageDailyByModel?: Prisma.AgentChatTokenUsageDailyByModelOmit
|
|
2832
3101
|
agentAsk?: Prisma.AgentAskOmit
|
|
3102
|
+
agentCronRunRequest?: Prisma.AgentCronRunRequestOmit
|
|
3103
|
+
agentCronRunTranscript?: Prisma.AgentCronRunTranscriptOmit
|
|
3104
|
+
agentTranscriptRead?: Prisma.AgentTranscriptReadOmit
|
|
2833
3105
|
agentGitHubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotOmit
|
|
2834
3106
|
pushSubscription?: Prisma.PushSubscriptionOmit
|
|
2835
3107
|
chatThreadWatch?: Prisma.ChatThreadWatchOmit
|
|
@@ -70,6 +70,9 @@ export const ModelName = {
|
|
|
70
70
|
AgentCronRunModelBreakdown: 'AgentCronRunModelBreakdown',
|
|
71
71
|
AgentChatTokenUsageDailyByModel: 'AgentChatTokenUsageDailyByModel',
|
|
72
72
|
AgentAsk: 'AgentAsk',
|
|
73
|
+
AgentCronRunRequest: 'AgentCronRunRequest',
|
|
74
|
+
AgentCronRunTranscript: 'AgentCronRunTranscript',
|
|
75
|
+
AgentTranscriptRead: 'AgentTranscriptRead',
|
|
73
76
|
AgentGitHubInstallationsSnapshot: 'AgentGitHubInstallationsSnapshot',
|
|
74
77
|
PushSubscription: 'PushSubscription',
|
|
75
78
|
ChatThreadWatch: 'ChatThreadWatch',
|
|
@@ -198,6 +201,8 @@ export const AgentCronJobScalarFieldEnum = {
|
|
|
198
201
|
name: 'name',
|
|
199
202
|
system: 'system',
|
|
200
203
|
lockdownDisabledAt: 'lockdownDisabledAt',
|
|
204
|
+
runRequestedAt: 'runRequestedAt',
|
|
205
|
+
runRequestedBy: 'runRequestedBy',
|
|
201
206
|
createdAt: 'createdAt',
|
|
202
207
|
updatedAt: 'updatedAt',
|
|
203
208
|
parentCronId: 'parentCronId'
|
|
@@ -387,6 +392,48 @@ export const AgentAskScalarFieldEnum = {
|
|
|
387
392
|
export type AgentAskScalarFieldEnum = (typeof AgentAskScalarFieldEnum)[keyof typeof AgentAskScalarFieldEnum]
|
|
388
393
|
|
|
389
394
|
|
|
395
|
+
export const AgentCronRunRequestScalarFieldEnum = {
|
|
396
|
+
id: 'id',
|
|
397
|
+
cronId: 'cronId',
|
|
398
|
+
agentId: 'agentId',
|
|
399
|
+
requestedBy: 'requestedBy',
|
|
400
|
+
requestedAt: 'requestedAt',
|
|
401
|
+
status: 'status',
|
|
402
|
+
honouredRunId: 'honouredRunId',
|
|
403
|
+
createdAt: 'createdAt'
|
|
404
|
+
} as const
|
|
405
|
+
|
|
406
|
+
export type AgentCronRunRequestScalarFieldEnum = (typeof AgentCronRunRequestScalarFieldEnum)[keyof typeof AgentCronRunRequestScalarFieldEnum]
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
export const AgentCronRunTranscriptScalarFieldEnum = {
|
|
410
|
+
id: 'id',
|
|
411
|
+
runId: 'runId',
|
|
412
|
+
agentId: 'agentId',
|
|
413
|
+
cronId: 'cronId',
|
|
414
|
+
sessionId: 'sessionId',
|
|
415
|
+
bytes: 'bytes',
|
|
416
|
+
truncated: 'truncated',
|
|
417
|
+
redactions: 'redactions',
|
|
418
|
+
body: 'body',
|
|
419
|
+
createdAt: 'createdAt'
|
|
420
|
+
} as const
|
|
421
|
+
|
|
422
|
+
export type AgentCronRunTranscriptScalarFieldEnum = (typeof AgentCronRunTranscriptScalarFieldEnum)[keyof typeof AgentCronRunTranscriptScalarFieldEnum]
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
export const AgentTranscriptReadScalarFieldEnum = {
|
|
426
|
+
id: 'id',
|
|
427
|
+
runId: 'runId',
|
|
428
|
+
agentId: 'agentId',
|
|
429
|
+
reader: 'reader',
|
|
430
|
+
scopeKind: 'scopeKind',
|
|
431
|
+
at: 'at'
|
|
432
|
+
} as const
|
|
433
|
+
|
|
434
|
+
export type AgentTranscriptReadScalarFieldEnum = (typeof AgentTranscriptReadScalarFieldEnum)[keyof typeof AgentTranscriptReadScalarFieldEnum]
|
|
435
|
+
|
|
436
|
+
|
|
390
437
|
export const AgentGitHubInstallationsSnapshotScalarFieldEnum = {
|
|
391
438
|
id: 'id',
|
|
392
439
|
agentId: 'agentId',
|