@swiss-ai-hub/web 0.318.0 → 0.320.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/README.md +2 -2
- package/{pages/auth/login.vue → components/Auth/LoginPanel.vue} +3 -33
- package/components/FormKit/CronInput.vue +208 -0
- package/components/FormKit/LocaleInput.vue +11 -1
- package/components/Knowledge/Document/List.vue +20 -9
- package/composables/app/useAppVersion.ts +30 -11
- package/composables/document/useScheduledDeletions.ts +16 -8
- package/formkit.config.ts +62 -1
- package/i18n/locales/de.yaml +24 -0
- package/i18n/locales/en.yaml +23 -0
- package/i18n/locales/fr.yaml +24 -0
- package/i18n/locales/it.yaml +24 -0
- package/middleware/auth.global.ts +34 -16
- package/package.json +1 -1
- package/pages/[tenant]/service/agents/[agent_class]-[agent_id]/configuration.vue +3 -0
- package/pages/[tenant]/service/processes/[process_class]-[process_id]/configuration.vue +2 -0
- package/pages/auth/login/[idp].vue +57 -0
- package/pages/auth/login/index.vue +46 -0
- package/sdk/client/client/client.gen.ts +1 -3
- package/sdk/client/client/types.gen.ts +7 -13
- package/sdk/client/client/utils.gen.ts +1 -2
- package/sdk/client/core/queryKeySerializer.gen.ts +1 -6
- package/sdk/client/core/types.gen.ts +5 -3
- package/sdk/client/index.ts +21 -0
- package/sdk/client/schemas.gen.ts +1423 -299
- package/sdk/client/sdk.gen.ts +72 -0
- package/sdk/client/types.gen.ts +937 -35
|
@@ -409,6 +409,9 @@ export const AgentClassDTOSchema = {
|
|
|
409
409
|
{
|
|
410
410
|
$ref: "#/components/schemas/ColorPicker",
|
|
411
411
|
},
|
|
412
|
+
{
|
|
413
|
+
$ref: "#/components/schemas/CronInput",
|
|
414
|
+
},
|
|
412
415
|
{
|
|
413
416
|
$ref: "#/components/schemas/DatePicker",
|
|
414
417
|
},
|
|
@@ -543,6 +546,13 @@ export const AgentClassDTOSchema = {
|
|
|
543
546
|
description:
|
|
544
547
|
"Whether the agent class can participate in a chat-based conversation",
|
|
545
548
|
},
|
|
549
|
+
is_schedulable: {
|
|
550
|
+
type: "boolean",
|
|
551
|
+
title: "Is Schedulable",
|
|
552
|
+
description:
|
|
553
|
+
"Whether the agent class can be run automatically on a cron schedule",
|
|
554
|
+
default: false,
|
|
555
|
+
},
|
|
546
556
|
is_online: {
|
|
547
557
|
anyOf: [
|
|
548
558
|
{
|
|
@@ -630,6 +640,9 @@ export const AgentConfigDTOSchema = {
|
|
|
630
640
|
{
|
|
631
641
|
$ref: "#/components/schemas/ColorPicker",
|
|
632
642
|
},
|
|
643
|
+
{
|
|
644
|
+
$ref: "#/components/schemas/CronInput",
|
|
645
|
+
},
|
|
633
646
|
{
|
|
634
647
|
$ref: "#/components/schemas/DatePicker",
|
|
635
648
|
},
|
|
@@ -5634,6 +5647,9 @@ export const ContextualizedAgentEventSchema = {
|
|
|
5634
5647
|
{
|
|
5635
5648
|
$ref: "#/components/schemas/RAGStartEvent",
|
|
5636
5649
|
},
|
|
5650
|
+
{
|
|
5651
|
+
$ref: "#/components/schemas/CronStartEvent",
|
|
5652
|
+
},
|
|
5637
5653
|
{
|
|
5638
5654
|
$ref: "#/components/schemas/ExceptionEvent",
|
|
5639
5655
|
},
|
|
@@ -5706,6 +5722,9 @@ export const ContextualizedAgentEventSchema = {
|
|
|
5706
5722
|
{
|
|
5707
5723
|
$ref: "#/components/schemas/MailBatchDraftedEvent",
|
|
5708
5724
|
},
|
|
5725
|
+
{
|
|
5726
|
+
$ref: "#/components/schemas/MailBatchClassifiedEvent",
|
|
5727
|
+
},
|
|
5709
5728
|
],
|
|
5710
5729
|
title: "Event",
|
|
5711
5730
|
description: "Data of the event itself.",
|
|
@@ -6048,6 +6067,278 @@ export const CreateTokenResponseSchema = {
|
|
|
6048
6067
|
title: "CreateTokenResponse",
|
|
6049
6068
|
} as const;
|
|
6050
6069
|
|
|
6070
|
+
export const CronInputSchema = {
|
|
6071
|
+
properties: {
|
|
6072
|
+
is_formkit_element: {
|
|
6073
|
+
type: "boolean",
|
|
6074
|
+
const: true,
|
|
6075
|
+
title: "Is Formkit Element",
|
|
6076
|
+
description: "Indicates that this element is a FormKit element",
|
|
6077
|
+
default: true,
|
|
6078
|
+
},
|
|
6079
|
+
if: {
|
|
6080
|
+
anyOf: [
|
|
6081
|
+
{
|
|
6082
|
+
type: "string",
|
|
6083
|
+
pattern: "^\\$.+",
|
|
6084
|
+
},
|
|
6085
|
+
{
|
|
6086
|
+
type: "null",
|
|
6087
|
+
},
|
|
6088
|
+
],
|
|
6089
|
+
title: "If",
|
|
6090
|
+
description: "Conditional expression to show this element",
|
|
6091
|
+
},
|
|
6092
|
+
id: {
|
|
6093
|
+
anyOf: [
|
|
6094
|
+
{
|
|
6095
|
+
type: "string",
|
|
6096
|
+
},
|
|
6097
|
+
{
|
|
6098
|
+
type: "null",
|
|
6099
|
+
},
|
|
6100
|
+
],
|
|
6101
|
+
title: "Id",
|
|
6102
|
+
description: "Unique identifier for this element",
|
|
6103
|
+
},
|
|
6104
|
+
nullable: {
|
|
6105
|
+
type: "boolean",
|
|
6106
|
+
title: "Nullable",
|
|
6107
|
+
description:
|
|
6108
|
+
"Render with a sibling toggle that sets this field to null when off",
|
|
6109
|
+
default: false,
|
|
6110
|
+
},
|
|
6111
|
+
defaultEnabled: {
|
|
6112
|
+
anyOf: [
|
|
6113
|
+
{
|
|
6114
|
+
type: "boolean",
|
|
6115
|
+
},
|
|
6116
|
+
{
|
|
6117
|
+
type: "null",
|
|
6118
|
+
},
|
|
6119
|
+
],
|
|
6120
|
+
title: "Defaultenabled",
|
|
6121
|
+
description:
|
|
6122
|
+
"For a nullable element, whether its toggle should start enabled on a fresh form (i.e. the field's data default is non-null). Ignored for non-nullable elements.",
|
|
6123
|
+
},
|
|
6124
|
+
formkit: {
|
|
6125
|
+
type: "string",
|
|
6126
|
+
const: "cronInput",
|
|
6127
|
+
title: "Formkit",
|
|
6128
|
+
description: "Cron schedule input element.",
|
|
6129
|
+
default: "cronInput",
|
|
6130
|
+
},
|
|
6131
|
+
name: {
|
|
6132
|
+
anyOf: [
|
|
6133
|
+
{
|
|
6134
|
+
type: "string",
|
|
6135
|
+
},
|
|
6136
|
+
{
|
|
6137
|
+
type: "null",
|
|
6138
|
+
},
|
|
6139
|
+
],
|
|
6140
|
+
title: "Name",
|
|
6141
|
+
description: "Name of this field",
|
|
6142
|
+
},
|
|
6143
|
+
label: {
|
|
6144
|
+
anyOf: [
|
|
6145
|
+
{
|
|
6146
|
+
$ref: "#/components/schemas/LocaleString",
|
|
6147
|
+
},
|
|
6148
|
+
{
|
|
6149
|
+
type: "string",
|
|
6150
|
+
},
|
|
6151
|
+
],
|
|
6152
|
+
title: "Label",
|
|
6153
|
+
description: "Label of this field",
|
|
6154
|
+
},
|
|
6155
|
+
help: {
|
|
6156
|
+
anyOf: [
|
|
6157
|
+
{
|
|
6158
|
+
$ref: "#/components/schemas/LocaleString",
|
|
6159
|
+
},
|
|
6160
|
+
{
|
|
6161
|
+
type: "string",
|
|
6162
|
+
},
|
|
6163
|
+
{
|
|
6164
|
+
type: "null",
|
|
6165
|
+
},
|
|
6166
|
+
],
|
|
6167
|
+
title: "Help",
|
|
6168
|
+
description: "Help text of this field",
|
|
6169
|
+
},
|
|
6170
|
+
value: {
|
|
6171
|
+
anyOf: [
|
|
6172
|
+
{
|
|
6173
|
+
type: "string",
|
|
6174
|
+
},
|
|
6175
|
+
{
|
|
6176
|
+
type: "integer",
|
|
6177
|
+
},
|
|
6178
|
+
{
|
|
6179
|
+
type: "number",
|
|
6180
|
+
},
|
|
6181
|
+
{
|
|
6182
|
+
type: "boolean",
|
|
6183
|
+
},
|
|
6184
|
+
{
|
|
6185
|
+
items: {
|
|
6186
|
+
type: "string",
|
|
6187
|
+
},
|
|
6188
|
+
type: "array",
|
|
6189
|
+
},
|
|
6190
|
+
{
|
|
6191
|
+
additionalProperties: {
|
|
6192
|
+
type: "string",
|
|
6193
|
+
},
|
|
6194
|
+
type: "object",
|
|
6195
|
+
},
|
|
6196
|
+
{
|
|
6197
|
+
type: "null",
|
|
6198
|
+
},
|
|
6199
|
+
],
|
|
6200
|
+
title: "Value",
|
|
6201
|
+
description: "Default value for this field",
|
|
6202
|
+
},
|
|
6203
|
+
required: {
|
|
6204
|
+
type: "boolean",
|
|
6205
|
+
title: "Required",
|
|
6206
|
+
description: "Whether this field is required",
|
|
6207
|
+
default: false,
|
|
6208
|
+
},
|
|
6209
|
+
additional_validation_rules: {
|
|
6210
|
+
anyOf: [
|
|
6211
|
+
{
|
|
6212
|
+
type: "string",
|
|
6213
|
+
},
|
|
6214
|
+
{
|
|
6215
|
+
type: "null",
|
|
6216
|
+
},
|
|
6217
|
+
],
|
|
6218
|
+
title: "Additional Validation Rules",
|
|
6219
|
+
description: "Validation expression",
|
|
6220
|
+
},
|
|
6221
|
+
timezonePlaceholder: {
|
|
6222
|
+
anyOf: [
|
|
6223
|
+
{
|
|
6224
|
+
$ref: "#/components/schemas/LocaleString",
|
|
6225
|
+
},
|
|
6226
|
+
{
|
|
6227
|
+
type: "string",
|
|
6228
|
+
},
|
|
6229
|
+
{
|
|
6230
|
+
type: "null",
|
|
6231
|
+
},
|
|
6232
|
+
],
|
|
6233
|
+
title: "Timezoneplaceholder",
|
|
6234
|
+
description: "Placeholder for the timezone select",
|
|
6235
|
+
},
|
|
6236
|
+
filter: {
|
|
6237
|
+
type: "boolean",
|
|
6238
|
+
title: "Filter",
|
|
6239
|
+
description: "Whether to enable filtering/search on the timezone select",
|
|
6240
|
+
default: true,
|
|
6241
|
+
},
|
|
6242
|
+
validation: {
|
|
6243
|
+
type: "string",
|
|
6244
|
+
title: "Validation",
|
|
6245
|
+
readOnly: true,
|
|
6246
|
+
},
|
|
6247
|
+
},
|
|
6248
|
+
additionalProperties: true,
|
|
6249
|
+
type: "object",
|
|
6250
|
+
required: ["label", "validation"],
|
|
6251
|
+
title: "CronInput",
|
|
6252
|
+
description:
|
|
6253
|
+
'A FormKit element for editing the cron schedule of a schedulable agent profile.\n\nThe element renders the five cron positions plus a timezone selector, and the submitted value\nmatches the fields of `CronSchedule`:\n{\n "minute": str,\n "hour": str,\n "day_of_month": str,\n "month": str,\n "day_of_week": str,\n "timezone": str,\n}\n\nPresets and the plain-language summary of the current schedule are delivered by the Admin UI\n(see the cron schedule configuration UI issue); this element only declares the contract.\n\n### Form Duality\n```python\nfrom swiss_ai_hub.core.form.elements.cron_input import CronInput\nfrom swiss_ai_hub.core.scheduling.cron_schedule import CronSchedule\n\nclass MyAgentConfig(AgentConfig):\n schedule: Annotated[\n CronSchedule | CronInput | None,\n Field(description="When this profile runs automatically"),\n ] = None\n\n# Form mode - for rendering:\nconfig = MyAgentConfig(schedule=CronInput(label=LocaleString(en="Schedule")))\n\n# Data mode - from submission (Pydantic validates into CronSchedule):\nconfig = MyAgentConfig(schedule=CronSchedule(hour="12", timezone="Europe/Zurich"))\n```',
|
|
6254
|
+
} as const;
|
|
6255
|
+
|
|
6256
|
+
export const CronStartEventSchema = {
|
|
6257
|
+
properties: {
|
|
6258
|
+
event_id: {
|
|
6259
|
+
type: "string",
|
|
6260
|
+
title: "Event Id",
|
|
6261
|
+
},
|
|
6262
|
+
created_at: {
|
|
6263
|
+
type: "integer",
|
|
6264
|
+
title: "Created At",
|
|
6265
|
+
description:
|
|
6266
|
+
"The time (in ns since epoch) the event was stored in the event store",
|
|
6267
|
+
},
|
|
6268
|
+
display_name: {
|
|
6269
|
+
anyOf: [
|
|
6270
|
+
{
|
|
6271
|
+
$ref: "#/components/schemas/LocaleString",
|
|
6272
|
+
},
|
|
6273
|
+
{
|
|
6274
|
+
type: "null",
|
|
6275
|
+
},
|
|
6276
|
+
],
|
|
6277
|
+
description: "Display name for the event",
|
|
6278
|
+
},
|
|
6279
|
+
display_description: {
|
|
6280
|
+
anyOf: [
|
|
6281
|
+
{
|
|
6282
|
+
$ref: "#/components/schemas/LocaleString",
|
|
6283
|
+
},
|
|
6284
|
+
{
|
|
6285
|
+
type: "null",
|
|
6286
|
+
},
|
|
6287
|
+
],
|
|
6288
|
+
description: "Display description for the event",
|
|
6289
|
+
},
|
|
6290
|
+
locale: {
|
|
6291
|
+
type: "string",
|
|
6292
|
+
title: "Locale",
|
|
6293
|
+
description:
|
|
6294
|
+
"The locale the scheduled run reports its display output in.",
|
|
6295
|
+
default: "de",
|
|
6296
|
+
},
|
|
6297
|
+
user: {
|
|
6298
|
+
anyOf: [
|
|
6299
|
+
{
|
|
6300
|
+
$ref: "#/components/schemas/UserIdentity",
|
|
6301
|
+
},
|
|
6302
|
+
{
|
|
6303
|
+
type: "null",
|
|
6304
|
+
},
|
|
6305
|
+
],
|
|
6306
|
+
description:
|
|
6307
|
+
"Always None — scheduled runs are system-initiated and carry no execution identity.",
|
|
6308
|
+
},
|
|
6309
|
+
scheduled_for: {
|
|
6310
|
+
type: "string",
|
|
6311
|
+
format: "date-time",
|
|
6312
|
+
title: "Scheduled For",
|
|
6313
|
+
description:
|
|
6314
|
+
"The cron occurrence this run fires for, in UTC. Distinct from `created_at`, which records when the scheduler published the event — the two differ by the scheduler's tick latency.",
|
|
6315
|
+
},
|
|
6316
|
+
_event_name: {
|
|
6317
|
+
type: "string",
|
|
6318
|
+
title: "Event Name",
|
|
6319
|
+
description:
|
|
6320
|
+
"The event type name, usually the class name. If unknown, uses _unknown_event_name.\nUsed during deserialization to decide which subclass to instantiate.",
|
|
6321
|
+
readOnly: true,
|
|
6322
|
+
},
|
|
6323
|
+
_parent_event_names: {
|
|
6324
|
+
items: {
|
|
6325
|
+
type: "string",
|
|
6326
|
+
},
|
|
6327
|
+
type: "array",
|
|
6328
|
+
title: "Parent Event Names",
|
|
6329
|
+
description:
|
|
6330
|
+
"Contains the names of all parent classes up until BaseEvent, ordered from deepest to least deep inheritance.",
|
|
6331
|
+
readOnly: true,
|
|
6332
|
+
},
|
|
6333
|
+
},
|
|
6334
|
+
additionalProperties: true,
|
|
6335
|
+
type: "object",
|
|
6336
|
+
required: ["scheduled_for", "_event_name", "_parent_event_names"],
|
|
6337
|
+
title: "CronStartEvent",
|
|
6338
|
+
description:
|
|
6339
|
+
"Start event fired by the cron scheduler — handling it is what makes an agent schedulable.\n\nMirrors how accepting a `UserMessageEvent` makes an agent conversational: `AgentRunner` derives\n`is_schedulable` from the start events an agent declares, so a blueprint opts in by adding a step\nthat consumes this event, with no separate registration.\n\nScheduled runs are system runs, so `user` is always None and the agent must not depend on an\ninitiating identity. Whatever tenant context the agent needs comes from its own profile\nconfiguration (as `OrgMemoryWriteConfig.tenant_id` already does), never from the run.",
|
|
6340
|
+
} as const;
|
|
6341
|
+
|
|
6051
6342
|
export const Custom_OutputSchema = {
|
|
6052
6343
|
properties: {
|
|
6053
6344
|
input: {
|
|
@@ -7229,7 +7520,21 @@ export const DraftedReplyRefSchema = {
|
|
|
7229
7520
|
source_uid: {
|
|
7230
7521
|
type: "string",
|
|
7231
7522
|
title: "Source Uid",
|
|
7232
|
-
description:
|
|
7523
|
+
description:
|
|
7524
|
+
"IMAP UID the source message had in the folder it was read from. A blueprint that files the message before drafting (EmailClassificationAgent) reports the pre-move UID, which no longer resolves on the server — it identifies the message within the run, not for a later fetch.",
|
|
7525
|
+
},
|
|
7526
|
+
category: {
|
|
7527
|
+
anyOf: [
|
|
7528
|
+
{
|
|
7529
|
+
type: "string",
|
|
7530
|
+
},
|
|
7531
|
+
{
|
|
7532
|
+
type: "null",
|
|
7533
|
+
},
|
|
7534
|
+
],
|
|
7535
|
+
title: "Category",
|
|
7536
|
+
description:
|
|
7537
|
+
"Category the source message was classified under, when drafting followed a classification run. Null when the drafting blueprint does not classify.",
|
|
7233
7538
|
},
|
|
7234
7539
|
drafts_folder: {
|
|
7235
7540
|
type: "string",
|
|
@@ -8057,6 +8362,13 @@ export const FullAgentInstanceDTOSchema = {
|
|
|
8057
8362
|
description:
|
|
8058
8363
|
"Whether the agent can participate in a chat-based conversation",
|
|
8059
8364
|
},
|
|
8365
|
+
is_schedulable: {
|
|
8366
|
+
type: "boolean",
|
|
8367
|
+
title: "Is Schedulable",
|
|
8368
|
+
description:
|
|
8369
|
+
"Whether the agent can be run automatically on a cron schedule",
|
|
8370
|
+
default: false,
|
|
8371
|
+
},
|
|
8060
8372
|
start_events: {
|
|
8061
8373
|
items: {
|
|
8062
8374
|
$ref: "#/components/schemas/EventSpecs",
|
|
@@ -8218,6 +8530,9 @@ export const FullProcessInstanceDTOSchema = {
|
|
|
8218
8530
|
{
|
|
8219
8531
|
$ref: "#/components/schemas/ColorPicker",
|
|
8220
8532
|
},
|
|
8533
|
+
{
|
|
8534
|
+
$ref: "#/components/schemas/CronInput",
|
|
8535
|
+
},
|
|
8221
8536
|
{
|
|
8222
8537
|
$ref: "#/components/schemas/DatePicker",
|
|
8223
8538
|
},
|
|
@@ -8513,6 +8828,9 @@ export const GroupSchema = {
|
|
|
8513
8828
|
{
|
|
8514
8829
|
$ref: "#/components/schemas/ColorPicker",
|
|
8515
8830
|
},
|
|
8831
|
+
{
|
|
8832
|
+
$ref: "#/components/schemas/CronInput",
|
|
8833
|
+
},
|
|
8516
8834
|
{
|
|
8517
8835
|
$ref: "#/components/schemas/DatePicker",
|
|
8518
8836
|
},
|
|
@@ -9029,6 +9347,9 @@ export const HumanInDTOSchema = {
|
|
|
9029
9347
|
{
|
|
9030
9348
|
$ref: "#/components/schemas/ColorPicker",
|
|
9031
9349
|
},
|
|
9350
|
+
{
|
|
9351
|
+
$ref: "#/components/schemas/CronInput",
|
|
9352
|
+
},
|
|
9032
9353
|
{
|
|
9033
9354
|
$ref: "#/components/schemas/DatePicker",
|
|
9034
9355
|
},
|
|
@@ -9175,6 +9496,9 @@ export const HumanInSpecsSchema = {
|
|
|
9175
9496
|
{
|
|
9176
9497
|
$ref: "#/components/schemas/ColorPicker",
|
|
9177
9498
|
},
|
|
9499
|
+
{
|
|
9500
|
+
$ref: "#/components/schemas/CronInput",
|
|
9501
|
+
},
|
|
9178
9502
|
{
|
|
9179
9503
|
$ref: "#/components/schemas/DatePicker",
|
|
9180
9504
|
},
|
|
@@ -12707,6 +13031,32 @@ export const LLMCostEventSchema = {
|
|
|
12707
13031
|
description:
|
|
12708
13032
|
"The name of the LLM service (e.g., 'openai/gpt-4') this event pertains to.",
|
|
12709
13033
|
},
|
|
13034
|
+
user_id: {
|
|
13035
|
+
anyOf: [
|
|
13036
|
+
{
|
|
13037
|
+
type: "string",
|
|
13038
|
+
},
|
|
13039
|
+
{
|
|
13040
|
+
type: "null",
|
|
13041
|
+
},
|
|
13042
|
+
],
|
|
13043
|
+
title: "User Id",
|
|
13044
|
+
description:
|
|
13045
|
+
"Invoking user, so spend is queryable per user. None for runs with no user context.",
|
|
13046
|
+
},
|
|
13047
|
+
tenant_id: {
|
|
13048
|
+
anyOf: [
|
|
13049
|
+
{
|
|
13050
|
+
type: "string",
|
|
13051
|
+
},
|
|
13052
|
+
{
|
|
13053
|
+
type: "null",
|
|
13054
|
+
},
|
|
13055
|
+
],
|
|
13056
|
+
title: "Tenant Id",
|
|
13057
|
+
description:
|
|
13058
|
+
"Acting tenant, so spend is queryable per tenant. None for sysadmins and system runs.",
|
|
13059
|
+
},
|
|
12710
13060
|
_event_name: {
|
|
12711
13061
|
type: "string",
|
|
12712
13062
|
title: "Event Name",
|
|
@@ -12973,6 +13323,69 @@ export const LLMEventSchema = {
|
|
|
12973
13323
|
title: "LLMEvent",
|
|
12974
13324
|
} as const;
|
|
12975
13325
|
|
|
13326
|
+
export const LLMSpendSchema = {
|
|
13327
|
+
properties: {
|
|
13328
|
+
user_id: {
|
|
13329
|
+
anyOf: [
|
|
13330
|
+
{
|
|
13331
|
+
type: "string",
|
|
13332
|
+
},
|
|
13333
|
+
{
|
|
13334
|
+
type: "null",
|
|
13335
|
+
},
|
|
13336
|
+
],
|
|
13337
|
+
title: "User Id",
|
|
13338
|
+
description: "Invoking user, None when grouping by tenant.",
|
|
13339
|
+
},
|
|
13340
|
+
tenant_id: {
|
|
13341
|
+
anyOf: [
|
|
13342
|
+
{
|
|
13343
|
+
type: "string",
|
|
13344
|
+
},
|
|
13345
|
+
{
|
|
13346
|
+
type: "null",
|
|
13347
|
+
},
|
|
13348
|
+
],
|
|
13349
|
+
title: "Tenant Id",
|
|
13350
|
+
description: "Acting tenant, None for runs outside a tenant.",
|
|
13351
|
+
},
|
|
13352
|
+
calls: {
|
|
13353
|
+
type: "integer",
|
|
13354
|
+
title: "Calls",
|
|
13355
|
+
description: "Number of LLM calls attributed to this key.",
|
|
13356
|
+
default: 0,
|
|
13357
|
+
},
|
|
13358
|
+
prompt_tokens_costs: {
|
|
13359
|
+
type: "number",
|
|
13360
|
+
title: "Prompt Tokens Costs",
|
|
13361
|
+
description: "Cost of prompt tokens.",
|
|
13362
|
+
default: 0,
|
|
13363
|
+
},
|
|
13364
|
+
completion_tokens_costs: {
|
|
13365
|
+
type: "number",
|
|
13366
|
+
title: "Completion Tokens Costs",
|
|
13367
|
+
description: "Cost of completion tokens.",
|
|
13368
|
+
default: 0,
|
|
13369
|
+
},
|
|
13370
|
+
embedding_tokens_costs: {
|
|
13371
|
+
type: "number",
|
|
13372
|
+
title: "Embedding Tokens Costs",
|
|
13373
|
+
description: "Cost of embedding tokens.",
|
|
13374
|
+
default: 0,
|
|
13375
|
+
},
|
|
13376
|
+
total_costs: {
|
|
13377
|
+
type: "number",
|
|
13378
|
+
title: "Total Costs",
|
|
13379
|
+
description: "Sum of prompt, completion and embedding costs.",
|
|
13380
|
+
default: 0,
|
|
13381
|
+
},
|
|
13382
|
+
},
|
|
13383
|
+
type: "object",
|
|
13384
|
+
title: "LLMSpend",
|
|
13385
|
+
description:
|
|
13386
|
+
"LLM spend aggregated over one attribution key (a user or a tenant).\n\nCosts come from the platform's own `LLMCostEvent` records rather than from LiteLLM's spend log:\nthe gateway can only attribute the user, so the tenant dimension exists here alone (see #1451).",
|
|
13387
|
+
} as const;
|
|
13388
|
+
|
|
12976
13389
|
export const LLMStopEventSchema = {
|
|
12977
13390
|
properties: {
|
|
12978
13391
|
event_id: {
|
|
@@ -13689,6 +14102,8 @@ export const LocaleInputSchema = {
|
|
|
13689
14102
|
validation: {
|
|
13690
14103
|
type: "string",
|
|
13691
14104
|
title: "Validation",
|
|
14105
|
+
description:
|
|
14106
|
+
"Emits `localeRequired` where other elements emit FormKit's `required`.\n\nFormKit's `required` rule only asks whether a value is present, and this element's\nvalue is always a `{de, en, fr, it}` object — non-empty, therefore passing, even when\nevery locale inside it is blank. `localeRequired` (registered in the frontend FormKit\nconfig) looks at the locale values themselves.",
|
|
13692
14107
|
readOnly: true,
|
|
13693
14108
|
},
|
|
13694
14109
|
},
|
|
@@ -13859,7 +14274,7 @@ export const MailAttachmentRefSchema = {
|
|
|
13859
14274
|
"Reference to a fetched mail attachment whose bytes are stored in S3, not carried in the event.\n\nMirrors ``UserUploadedFile``: attachments are referenced by ``file_id`` (the S3 object key within the\nagent's dedicated bucket) so large binaries never bloat the persisted/streamed event.",
|
|
13860
14275
|
} as const;
|
|
13861
14276
|
|
|
13862
|
-
export const
|
|
14277
|
+
export const MailBatchClassifiedEventSchema = {
|
|
13863
14278
|
properties: {
|
|
13864
14279
|
event_id: {
|
|
13865
14280
|
type: "string",
|
|
@@ -13896,165 +14311,44 @@ export const MailBatchDraftedEventSchema = {
|
|
|
13896
14311
|
source_folder: {
|
|
13897
14312
|
type: "string",
|
|
13898
14313
|
title: "Source Folder",
|
|
13899
|
-
description: "Folder the
|
|
14314
|
+
description: "Folder the classified messages were read from.",
|
|
13900
14315
|
},
|
|
13901
14316
|
count: {
|
|
13902
14317
|
type: "integer",
|
|
13903
14318
|
title: "Count",
|
|
13904
|
-
description: "Number of
|
|
13905
|
-
},
|
|
13906
|
-
drafted: {
|
|
13907
|
-
items: {
|
|
13908
|
-
$ref: "#/components/schemas/DraftedReplyRef",
|
|
13909
|
-
},
|
|
13910
|
-
type: "array",
|
|
13911
|
-
title: "Drafted",
|
|
13912
|
-
description: "Per-message references to the created reply drafts.",
|
|
13913
|
-
},
|
|
13914
|
-
_event_name: {
|
|
13915
|
-
type: "string",
|
|
13916
|
-
title: "Event Name",
|
|
13917
|
-
description:
|
|
13918
|
-
"The event type name, usually the class name. If unknown, uses _unknown_event_name.\nUsed during deserialization to decide which subclass to instantiate.",
|
|
13919
|
-
readOnly: true,
|
|
14319
|
+
description: "Number of messages classified and filed in this run.",
|
|
13920
14320
|
},
|
|
13921
|
-
|
|
13922
|
-
|
|
13923
|
-
type: "
|
|
14321
|
+
per_category: {
|
|
14322
|
+
additionalProperties: {
|
|
14323
|
+
type: "integer",
|
|
13924
14324
|
},
|
|
13925
|
-
type: "
|
|
13926
|
-
title: "
|
|
14325
|
+
type: "object",
|
|
14326
|
+
title: "Per Category",
|
|
13927
14327
|
description:
|
|
13928
|
-
"
|
|
13929
|
-
readOnly: true,
|
|
13930
|
-
},
|
|
13931
|
-
},
|
|
13932
|
-
additionalProperties: true,
|
|
13933
|
-
type: "object",
|
|
13934
|
-
required: ["source_folder", "count", "_event_name", "_parent_event_names"],
|
|
13935
|
-
title: "MailBatchDraftedEvent",
|
|
13936
|
-
description:
|
|
13937
|
-
"Records that a batch of reply drafts was appended to the Drafts folder for a human to review and send.\n\nThe agent never sends — the drafts sitting in Drafts are the human handoff. Each source message is left unread and\nmarked as drafted so it is not drafted again on the next run.",
|
|
13938
|
-
} as const;
|
|
13939
|
-
|
|
13940
|
-
export const MailFetchedEventSchema = {
|
|
13941
|
-
properties: {
|
|
13942
|
-
event_id: {
|
|
13943
|
-
type: "string",
|
|
13944
|
-
title: "Event Id",
|
|
14328
|
+
"How many messages were filed under each configured category.",
|
|
13945
14329
|
},
|
|
13946
|
-
|
|
14330
|
+
fallback_count: {
|
|
13947
14331
|
type: "integer",
|
|
13948
|
-
title: "
|
|
14332
|
+
title: "Fallback Count",
|
|
13949
14333
|
description:
|
|
13950
|
-
"
|
|
13951
|
-
|
|
13952
|
-
display_name: {
|
|
13953
|
-
anyOf: [
|
|
13954
|
-
{
|
|
13955
|
-
$ref: "#/components/schemas/LocaleString",
|
|
13956
|
-
},
|
|
13957
|
-
{
|
|
13958
|
-
type: "null",
|
|
13959
|
-
},
|
|
13960
|
-
],
|
|
13961
|
-
description: "Display name for the event",
|
|
13962
|
-
},
|
|
13963
|
-
display_description: {
|
|
13964
|
-
anyOf: [
|
|
13965
|
-
{
|
|
13966
|
-
$ref: "#/components/schemas/LocaleString",
|
|
13967
|
-
},
|
|
13968
|
-
{
|
|
13969
|
-
type: "null",
|
|
13970
|
-
},
|
|
13971
|
-
],
|
|
13972
|
-
description: "Display description for the event",
|
|
13973
|
-
},
|
|
13974
|
-
message_id: {
|
|
13975
|
-
type: "string",
|
|
13976
|
-
title: "Message Id",
|
|
13977
|
-
description: "IMAP UID of the fetched message within the inbox folder.",
|
|
13978
|
-
},
|
|
13979
|
-
sender: {
|
|
13980
|
-
type: "string",
|
|
13981
|
-
title: "Sender",
|
|
13982
|
-
description: "Raw From header of the message.",
|
|
13983
|
-
},
|
|
13984
|
-
subject: {
|
|
13985
|
-
type: "string",
|
|
13986
|
-
title: "Subject",
|
|
13987
|
-
description: "Subject header of the message.",
|
|
13988
|
-
},
|
|
13989
|
-
date: {
|
|
13990
|
-
anyOf: [
|
|
13991
|
-
{
|
|
13992
|
-
type: "string",
|
|
13993
|
-
format: "date-time",
|
|
13994
|
-
},
|
|
13995
|
-
{
|
|
13996
|
-
type: "null",
|
|
13997
|
-
},
|
|
13998
|
-
],
|
|
13999
|
-
title: "Date",
|
|
14000
|
-
description: "Date header of the message, if parseable.",
|
|
14001
|
-
},
|
|
14002
|
-
body_text: {
|
|
14003
|
-
anyOf: [
|
|
14004
|
-
{
|
|
14005
|
-
type: "string",
|
|
14006
|
-
},
|
|
14007
|
-
{
|
|
14008
|
-
type: "null",
|
|
14009
|
-
},
|
|
14010
|
-
],
|
|
14011
|
-
title: "Body Text",
|
|
14012
|
-
description: "Plain-text body of the message, if present.",
|
|
14334
|
+
"How many messages went to the fallback folder instead of a category.",
|
|
14335
|
+
default: 0,
|
|
14013
14336
|
},
|
|
14014
|
-
|
|
14015
|
-
|
|
14016
|
-
|
|
14017
|
-
type: "string",
|
|
14018
|
-
},
|
|
14019
|
-
{
|
|
14020
|
-
type: "null",
|
|
14021
|
-
},
|
|
14022
|
-
],
|
|
14023
|
-
title: "Rfc Message Id",
|
|
14337
|
+
failed_count: {
|
|
14338
|
+
type: "integer",
|
|
14339
|
+
title: "Failed Count",
|
|
14024
14340
|
description:
|
|
14025
|
-
"
|
|
14026
|
-
|
|
14027
|
-
references: {
|
|
14028
|
-
anyOf: [
|
|
14029
|
-
{
|
|
14030
|
-
type: "string",
|
|
14031
|
-
},
|
|
14032
|
-
{
|
|
14033
|
-
type: "null",
|
|
14034
|
-
},
|
|
14035
|
-
],
|
|
14036
|
-
title: "References",
|
|
14037
|
-
description: "RFC References header of the message, if present.",
|
|
14038
|
-
},
|
|
14039
|
-
reply_to: {
|
|
14040
|
-
anyOf: [
|
|
14041
|
-
{
|
|
14042
|
-
type: "string",
|
|
14043
|
-
},
|
|
14044
|
-
{
|
|
14045
|
-
type: "null",
|
|
14046
|
-
},
|
|
14047
|
-
],
|
|
14048
|
-
title: "Reply To",
|
|
14049
|
-
description: "Reply-To header of the message, if present.",
|
|
14341
|
+
"How many messages the classifier could not reach a verdict on at all. They are filed into the failure folder rather than left in the inbox, where they would be re-selected on every run forever.",
|
|
14342
|
+
default: 0,
|
|
14050
14343
|
},
|
|
14051
|
-
|
|
14344
|
+
classified: {
|
|
14052
14345
|
items: {
|
|
14053
|
-
$ref: "#/components/schemas/
|
|
14346
|
+
$ref: "#/components/schemas/MailClassificationRef",
|
|
14054
14347
|
},
|
|
14055
14348
|
type: "array",
|
|
14056
|
-
title: "
|
|
14057
|
-
description:
|
|
14349
|
+
title: "Classified",
|
|
14350
|
+
description:
|
|
14351
|
+
"Per-message classification verdicts and filing destinations.",
|
|
14058
14352
|
},
|
|
14059
14353
|
_event_name: {
|
|
14060
14354
|
type: "string",
|
|
@@ -14076,19 +14370,382 @@ export const MailFetchedEventSchema = {
|
|
|
14076
14370
|
},
|
|
14077
14371
|
additionalProperties: true,
|
|
14078
14372
|
type: "object",
|
|
14079
|
-
required: [
|
|
14080
|
-
|
|
14081
|
-
"sender",
|
|
14082
|
-
"subject",
|
|
14083
|
-
"_event_name",
|
|
14084
|
-
"_parent_event_names",
|
|
14085
|
-
],
|
|
14086
|
-
title: "MailFetchedEvent",
|
|
14373
|
+
required: ["source_folder", "count", "_event_name", "_parent_event_names"],
|
|
14374
|
+
title: "MailBatchClassifiedEvent",
|
|
14087
14375
|
description:
|
|
14088
|
-
"
|
|
14376
|
+
"Summarises one classification run: how many messages were classified and where each was filed.\n\nOne event per run rather than one per message, matching `MailBatchDraftedEvent` — the per-message detail rides in\n`classified`. Filing is what prevents reprocessing: every message leaves the source folder, so the next unread\nlisting cannot see it again.",
|
|
14089
14377
|
} as const;
|
|
14090
14378
|
|
|
14091
|
-
export const
|
|
14379
|
+
export const MailBatchDraftedEventSchema = {
|
|
14380
|
+
properties: {
|
|
14381
|
+
event_id: {
|
|
14382
|
+
type: "string",
|
|
14383
|
+
title: "Event Id",
|
|
14384
|
+
},
|
|
14385
|
+
created_at: {
|
|
14386
|
+
type: "integer",
|
|
14387
|
+
title: "Created At",
|
|
14388
|
+
description:
|
|
14389
|
+
"The time (in ns since epoch) the event was stored in the event store",
|
|
14390
|
+
},
|
|
14391
|
+
display_name: {
|
|
14392
|
+
anyOf: [
|
|
14393
|
+
{
|
|
14394
|
+
$ref: "#/components/schemas/LocaleString",
|
|
14395
|
+
},
|
|
14396
|
+
{
|
|
14397
|
+
type: "null",
|
|
14398
|
+
},
|
|
14399
|
+
],
|
|
14400
|
+
description: "Display name for the event",
|
|
14401
|
+
},
|
|
14402
|
+
display_description: {
|
|
14403
|
+
anyOf: [
|
|
14404
|
+
{
|
|
14405
|
+
$ref: "#/components/schemas/LocaleString",
|
|
14406
|
+
},
|
|
14407
|
+
{
|
|
14408
|
+
type: "null",
|
|
14409
|
+
},
|
|
14410
|
+
],
|
|
14411
|
+
description: "Display description for the event",
|
|
14412
|
+
},
|
|
14413
|
+
source_folder: {
|
|
14414
|
+
type: "string",
|
|
14415
|
+
title: "Source Folder",
|
|
14416
|
+
description: "Folder the drafted messages were read from.",
|
|
14417
|
+
},
|
|
14418
|
+
count: {
|
|
14419
|
+
type: "integer",
|
|
14420
|
+
title: "Count",
|
|
14421
|
+
description: "Number of reply drafts created in this run.",
|
|
14422
|
+
},
|
|
14423
|
+
per_category: {
|
|
14424
|
+
additionalProperties: {
|
|
14425
|
+
type: "integer",
|
|
14426
|
+
},
|
|
14427
|
+
type: "object",
|
|
14428
|
+
title: "Per Category",
|
|
14429
|
+
description:
|
|
14430
|
+
"How many drafts were created for each category, when drafting followed a classification run. Empty when the drafting blueprint does not classify.",
|
|
14431
|
+
},
|
|
14432
|
+
skipped_count: {
|
|
14433
|
+
type: "integer",
|
|
14434
|
+
title: "Skipped Count",
|
|
14435
|
+
description:
|
|
14436
|
+
"Messages in the batch that got no draft: usually because their category was not opted in, or no category fitted them at all.",
|
|
14437
|
+
default: 0,
|
|
14438
|
+
},
|
|
14439
|
+
drafted: {
|
|
14440
|
+
items: {
|
|
14441
|
+
$ref: "#/components/schemas/DraftedReplyRef",
|
|
14442
|
+
},
|
|
14443
|
+
type: "array",
|
|
14444
|
+
title: "Drafted",
|
|
14445
|
+
description: "Per-message references to the created reply drafts.",
|
|
14446
|
+
},
|
|
14447
|
+
_event_name: {
|
|
14448
|
+
type: "string",
|
|
14449
|
+
title: "Event Name",
|
|
14450
|
+
description:
|
|
14451
|
+
"The event type name, usually the class name. If unknown, uses _unknown_event_name.\nUsed during deserialization to decide which subclass to instantiate.",
|
|
14452
|
+
readOnly: true,
|
|
14453
|
+
},
|
|
14454
|
+
_parent_event_names: {
|
|
14455
|
+
items: {
|
|
14456
|
+
type: "string",
|
|
14457
|
+
},
|
|
14458
|
+
type: "array",
|
|
14459
|
+
title: "Parent Event Names",
|
|
14460
|
+
description:
|
|
14461
|
+
"Contains the names of all parent classes up until BaseEvent, ordered from deepest to least deep inheritance.",
|
|
14462
|
+
readOnly: true,
|
|
14463
|
+
},
|
|
14464
|
+
},
|
|
14465
|
+
additionalProperties: true,
|
|
14466
|
+
type: "object",
|
|
14467
|
+
required: ["source_folder", "count", "_event_name", "_parent_event_names"],
|
|
14468
|
+
title: "MailBatchDraftedEvent",
|
|
14469
|
+
description:
|
|
14470
|
+
"Records that a batch of reply drafts was appended to the Drafts folder for a human to review and send.\n\nThe agent never sends — the drafts sitting in Drafts are the human handoff. Each source message is left unread and\nmarked as drafted so it is not drafted again on the next run.",
|
|
14471
|
+
} as const;
|
|
14472
|
+
|
|
14473
|
+
export const MailClassificationRefSchema = {
|
|
14474
|
+
properties: {
|
|
14475
|
+
message_id: {
|
|
14476
|
+
type: "string",
|
|
14477
|
+
title: "Message Id",
|
|
14478
|
+
description: "IMAP UID of the message within the source folder.",
|
|
14479
|
+
},
|
|
14480
|
+
sender: {
|
|
14481
|
+
type: "string",
|
|
14482
|
+
title: "Sender",
|
|
14483
|
+
description: "Raw From header of the message.",
|
|
14484
|
+
},
|
|
14485
|
+
subject: {
|
|
14486
|
+
type: "string",
|
|
14487
|
+
title: "Subject",
|
|
14488
|
+
description: "Subject header of the message.",
|
|
14489
|
+
},
|
|
14490
|
+
category: {
|
|
14491
|
+
anyOf: [
|
|
14492
|
+
{
|
|
14493
|
+
type: "string",
|
|
14494
|
+
},
|
|
14495
|
+
{
|
|
14496
|
+
type: "null",
|
|
14497
|
+
},
|
|
14498
|
+
],
|
|
14499
|
+
title: "Category",
|
|
14500
|
+
description:
|
|
14501
|
+
"Configured category the message was filed under, or null when it went to the fallback folder because no category clearly fitted.",
|
|
14502
|
+
},
|
|
14503
|
+
target_folder: {
|
|
14504
|
+
type: "string",
|
|
14505
|
+
title: "Target Folder",
|
|
14506
|
+
description: "Folder the message was filed into.",
|
|
14507
|
+
},
|
|
14508
|
+
reason: {
|
|
14509
|
+
type: "string",
|
|
14510
|
+
title: "Reason",
|
|
14511
|
+
description:
|
|
14512
|
+
"Model's stated reason for the choice — the audit trail for a misfile.",
|
|
14513
|
+
},
|
|
14514
|
+
folder_created: {
|
|
14515
|
+
type: "boolean",
|
|
14516
|
+
title: "Folder Created",
|
|
14517
|
+
description:
|
|
14518
|
+
"Whether this message's target folder was created during the run. Folders are created once up front for the whole batch, so every message routed to a newly created folder carries this, not only the first one.",
|
|
14519
|
+
default: false,
|
|
14520
|
+
},
|
|
14521
|
+
attachments: {
|
|
14522
|
+
items: {
|
|
14523
|
+
$ref: "#/components/schemas/MailAttachmentRef",
|
|
14524
|
+
},
|
|
14525
|
+
type: "array",
|
|
14526
|
+
title: "Attachments",
|
|
14527
|
+
description: "References to the message's attachments stored in S3.",
|
|
14528
|
+
},
|
|
14529
|
+
original_message: {
|
|
14530
|
+
anyOf: [
|
|
14531
|
+
{
|
|
14532
|
+
$ref: "#/components/schemas/MailMessageRef",
|
|
14533
|
+
},
|
|
14534
|
+
{
|
|
14535
|
+
type: "null",
|
|
14536
|
+
},
|
|
14537
|
+
],
|
|
14538
|
+
description: "Reference to the original RFC822 message stored in S3.",
|
|
14539
|
+
},
|
|
14540
|
+
},
|
|
14541
|
+
type: "object",
|
|
14542
|
+
required: ["message_id", "sender", "subject", "target_folder", "reason"],
|
|
14543
|
+
title: "MailClassificationRef",
|
|
14544
|
+
description:
|
|
14545
|
+
"One classified message and where it was filed — the per-message detail behind a run summary.",
|
|
14546
|
+
} as const;
|
|
14547
|
+
|
|
14548
|
+
export const MailFetchedEventSchema = {
|
|
14549
|
+
properties: {
|
|
14550
|
+
event_id: {
|
|
14551
|
+
type: "string",
|
|
14552
|
+
title: "Event Id",
|
|
14553
|
+
},
|
|
14554
|
+
created_at: {
|
|
14555
|
+
type: "integer",
|
|
14556
|
+
title: "Created At",
|
|
14557
|
+
description:
|
|
14558
|
+
"The time (in ns since epoch) the event was stored in the event store",
|
|
14559
|
+
},
|
|
14560
|
+
display_name: {
|
|
14561
|
+
anyOf: [
|
|
14562
|
+
{
|
|
14563
|
+
$ref: "#/components/schemas/LocaleString",
|
|
14564
|
+
},
|
|
14565
|
+
{
|
|
14566
|
+
type: "null",
|
|
14567
|
+
},
|
|
14568
|
+
],
|
|
14569
|
+
description: "Display name for the event",
|
|
14570
|
+
},
|
|
14571
|
+
display_description: {
|
|
14572
|
+
anyOf: [
|
|
14573
|
+
{
|
|
14574
|
+
$ref: "#/components/schemas/LocaleString",
|
|
14575
|
+
},
|
|
14576
|
+
{
|
|
14577
|
+
type: "null",
|
|
14578
|
+
},
|
|
14579
|
+
],
|
|
14580
|
+
description: "Display description for the event",
|
|
14581
|
+
},
|
|
14582
|
+
message_id: {
|
|
14583
|
+
type: "string",
|
|
14584
|
+
title: "Message Id",
|
|
14585
|
+
description: "IMAP UID of the fetched message within the inbox folder.",
|
|
14586
|
+
},
|
|
14587
|
+
sender: {
|
|
14588
|
+
type: "string",
|
|
14589
|
+
title: "Sender",
|
|
14590
|
+
description: "Raw From header of the message.",
|
|
14591
|
+
},
|
|
14592
|
+
subject: {
|
|
14593
|
+
type: "string",
|
|
14594
|
+
title: "Subject",
|
|
14595
|
+
description: "Subject header of the message.",
|
|
14596
|
+
},
|
|
14597
|
+
date: {
|
|
14598
|
+
anyOf: [
|
|
14599
|
+
{
|
|
14600
|
+
type: "string",
|
|
14601
|
+
format: "date-time",
|
|
14602
|
+
},
|
|
14603
|
+
{
|
|
14604
|
+
type: "null",
|
|
14605
|
+
},
|
|
14606
|
+
],
|
|
14607
|
+
title: "Date",
|
|
14608
|
+
description: "Date header of the message, if parseable.",
|
|
14609
|
+
},
|
|
14610
|
+
body_text: {
|
|
14611
|
+
anyOf: [
|
|
14612
|
+
{
|
|
14613
|
+
type: "string",
|
|
14614
|
+
},
|
|
14615
|
+
{
|
|
14616
|
+
type: "null",
|
|
14617
|
+
},
|
|
14618
|
+
],
|
|
14619
|
+
title: "Body Text",
|
|
14620
|
+
description: "Plain-text body of the message, if present.",
|
|
14621
|
+
},
|
|
14622
|
+
rfc_message_id: {
|
|
14623
|
+
anyOf: [
|
|
14624
|
+
{
|
|
14625
|
+
type: "string",
|
|
14626
|
+
},
|
|
14627
|
+
{
|
|
14628
|
+
type: "null",
|
|
14629
|
+
},
|
|
14630
|
+
],
|
|
14631
|
+
title: "Rfc Message Id",
|
|
14632
|
+
description:
|
|
14633
|
+
"RFC Message-ID header of the message — used to thread a reply draft.",
|
|
14634
|
+
},
|
|
14635
|
+
references: {
|
|
14636
|
+
anyOf: [
|
|
14637
|
+
{
|
|
14638
|
+
type: "string",
|
|
14639
|
+
},
|
|
14640
|
+
{
|
|
14641
|
+
type: "null",
|
|
14642
|
+
},
|
|
14643
|
+
],
|
|
14644
|
+
title: "References",
|
|
14645
|
+
description: "RFC References header of the message, if present.",
|
|
14646
|
+
},
|
|
14647
|
+
reply_to: {
|
|
14648
|
+
anyOf: [
|
|
14649
|
+
{
|
|
14650
|
+
type: "string",
|
|
14651
|
+
},
|
|
14652
|
+
{
|
|
14653
|
+
type: "null",
|
|
14654
|
+
},
|
|
14655
|
+
],
|
|
14656
|
+
title: "Reply To",
|
|
14657
|
+
description: "Reply-To header of the message, if present.",
|
|
14658
|
+
},
|
|
14659
|
+
attachments: {
|
|
14660
|
+
items: {
|
|
14661
|
+
$ref: "#/components/schemas/MailAttachmentRef",
|
|
14662
|
+
},
|
|
14663
|
+
type: "array",
|
|
14664
|
+
title: "Attachments",
|
|
14665
|
+
description: "References to the message's attachments stored in S3.",
|
|
14666
|
+
},
|
|
14667
|
+
original_message: {
|
|
14668
|
+
anyOf: [
|
|
14669
|
+
{
|
|
14670
|
+
$ref: "#/components/schemas/MailMessageRef",
|
|
14671
|
+
},
|
|
14672
|
+
{
|
|
14673
|
+
type: "null",
|
|
14674
|
+
},
|
|
14675
|
+
],
|
|
14676
|
+
description:
|
|
14677
|
+
"Reference to the original RFC822 message stored in S3, or null when it was not stored.",
|
|
14678
|
+
},
|
|
14679
|
+
_event_name: {
|
|
14680
|
+
type: "string",
|
|
14681
|
+
title: "Event Name",
|
|
14682
|
+
description:
|
|
14683
|
+
"The event type name, usually the class name. If unknown, uses _unknown_event_name.\nUsed during deserialization to decide which subclass to instantiate.",
|
|
14684
|
+
readOnly: true,
|
|
14685
|
+
},
|
|
14686
|
+
_parent_event_names: {
|
|
14687
|
+
items: {
|
|
14688
|
+
type: "string",
|
|
14689
|
+
},
|
|
14690
|
+
type: "array",
|
|
14691
|
+
title: "Parent Event Names",
|
|
14692
|
+
description:
|
|
14693
|
+
"Contains the names of all parent classes up until BaseEvent, ordered from deepest to least deep inheritance.",
|
|
14694
|
+
readOnly: true,
|
|
14695
|
+
},
|
|
14696
|
+
},
|
|
14697
|
+
additionalProperties: true,
|
|
14698
|
+
type: "object",
|
|
14699
|
+
required: [
|
|
14700
|
+
"message_id",
|
|
14701
|
+
"sender",
|
|
14702
|
+
"subject",
|
|
14703
|
+
"_event_name",
|
|
14704
|
+
"_parent_event_names",
|
|
14705
|
+
],
|
|
14706
|
+
title: "MailFetchedEvent",
|
|
14707
|
+
description:
|
|
14708
|
+
"Carries a single fetched message — headers, body, and references to its stored attachments.",
|
|
14709
|
+
} as const;
|
|
14710
|
+
|
|
14711
|
+
export const MailMessageRefSchema = {
|
|
14712
|
+
properties: {
|
|
14713
|
+
filename: {
|
|
14714
|
+
type: "string",
|
|
14715
|
+
pattern: "^[^/\\\\]+$",
|
|
14716
|
+
title: "Filename",
|
|
14717
|
+
description:
|
|
14718
|
+
"Filename the message is stored under, e.g. '1234.eml'. Must not contain path separators.",
|
|
14719
|
+
},
|
|
14720
|
+
content_type: {
|
|
14721
|
+
type: "string",
|
|
14722
|
+
title: "Content Type",
|
|
14723
|
+
description: "MIME type of the stored message.",
|
|
14724
|
+
default: "message/rfc822",
|
|
14725
|
+
},
|
|
14726
|
+
file_id: {
|
|
14727
|
+
type: "string",
|
|
14728
|
+
pattern:
|
|
14729
|
+
"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
14730
|
+
title: "File Id",
|
|
14731
|
+
description:
|
|
14732
|
+
"UUID4 file identifier; the S3 object key is derived from the agent identity at runtime.",
|
|
14733
|
+
},
|
|
14734
|
+
size_bytes: {
|
|
14735
|
+
type: "integer",
|
|
14736
|
+
minimum: 0,
|
|
14737
|
+
title: "Size Bytes",
|
|
14738
|
+
description: "Size of the stored message in bytes.",
|
|
14739
|
+
},
|
|
14740
|
+
},
|
|
14741
|
+
type: "object",
|
|
14742
|
+
required: ["filename", "file_id", "size_bytes"],
|
|
14743
|
+
title: "MailMessageRef",
|
|
14744
|
+
description:
|
|
14745
|
+
"Reference to a fetched message's original RFC822 bytes, stored in S3 rather than carried in the event.\n\nMirrors ``MailAttachmentRef``: the message is referenced by ``file_id`` so the raw mail — which may be\norders of magnitude larger than the summary the event carries — never enters the audit trail or the\nWebSocket stream. The stored object is the message **verbatim**, so it also preserves what the event\ndeliberately omits: the recipients and the untrusted HTML body.",
|
|
14746
|
+
} as const;
|
|
14747
|
+
|
|
14748
|
+
export const MailMovedEventSchema = {
|
|
14092
14749
|
properties: {
|
|
14093
14750
|
event_id: {
|
|
14094
14751
|
type: "string",
|
|
@@ -14137,6 +14794,13 @@ export const MailMovedEventSchema = {
|
|
|
14137
14794
|
title: "Target Folder",
|
|
14138
14795
|
description: "Folder the message was moved into.",
|
|
14139
14796
|
},
|
|
14797
|
+
folder_created: {
|
|
14798
|
+
type: "boolean",
|
|
14799
|
+
title: "Folder Created",
|
|
14800
|
+
description:
|
|
14801
|
+
"Whether the target folder did not exist and was created by this move — an agent adding a folder to someone's mailbox is a visible side effect and belongs in the audit trail.",
|
|
14802
|
+
default: false,
|
|
14803
|
+
},
|
|
14140
14804
|
_event_name: {
|
|
14141
14805
|
type: "string",
|
|
14142
14806
|
title: "Event Name",
|
|
@@ -14837,6 +15501,13 @@ export const MinimalAgentInstanceDTOSchema = {
|
|
|
14837
15501
|
description:
|
|
14838
15502
|
"Whether the agent can participate in a chat-based conversation",
|
|
14839
15503
|
},
|
|
15504
|
+
is_schedulable: {
|
|
15505
|
+
type: "boolean",
|
|
15506
|
+
title: "Is Schedulable",
|
|
15507
|
+
description:
|
|
15508
|
+
"Whether the agent can be run automatically on a cron schedule",
|
|
15509
|
+
default: false,
|
|
15510
|
+
},
|
|
14840
15511
|
},
|
|
14841
15512
|
type: "object",
|
|
14842
15513
|
required: ["agent_class", "agent_id", "agent_config", "is_conversational"],
|
|
@@ -16985,6 +17656,9 @@ export const ProcessClassDTOSchema = {
|
|
|
16985
17656
|
{
|
|
16986
17657
|
$ref: "#/components/schemas/ColorPicker",
|
|
16987
17658
|
},
|
|
17659
|
+
{
|
|
17660
|
+
$ref: "#/components/schemas/CronInput",
|
|
17661
|
+
},
|
|
16988
17662
|
{
|
|
16989
17663
|
$ref: "#/components/schemas/DatePicker",
|
|
16990
17664
|
},
|
|
@@ -18536,6 +19210,9 @@ export const RepeaterSchema = {
|
|
|
18536
19210
|
{
|
|
18537
19211
|
$ref: "#/components/schemas/ColorPicker",
|
|
18538
19212
|
},
|
|
19213
|
+
{
|
|
19214
|
+
$ref: "#/components/schemas/CronInput",
|
|
19215
|
+
},
|
|
18539
19216
|
{
|
|
18540
19217
|
$ref: "#/components/schemas/DatePicker",
|
|
18541
19218
|
},
|
|
@@ -24352,6 +25029,9 @@ export const AgentClassDTOWritableSchema = {
|
|
|
24352
25029
|
{
|
|
24353
25030
|
$ref: "#/components/schemas/ColorPickerWritable",
|
|
24354
25031
|
},
|
|
25032
|
+
{
|
|
25033
|
+
$ref: "#/components/schemas/CronInputWritable",
|
|
25034
|
+
},
|
|
24355
25035
|
{
|
|
24356
25036
|
$ref: "#/components/schemas/DatePickerWritable",
|
|
24357
25037
|
},
|
|
@@ -24486,6 +25166,13 @@ export const AgentClassDTOWritableSchema = {
|
|
|
24486
25166
|
description:
|
|
24487
25167
|
"Whether the agent class can participate in a chat-based conversation",
|
|
24488
25168
|
},
|
|
25169
|
+
is_schedulable: {
|
|
25170
|
+
type: "boolean",
|
|
25171
|
+
title: "Is Schedulable",
|
|
25172
|
+
description:
|
|
25173
|
+
"Whether the agent class can be run automatically on a cron schedule",
|
|
25174
|
+
default: false,
|
|
25175
|
+
},
|
|
24489
25176
|
is_online: {
|
|
24490
25177
|
anyOf: [
|
|
24491
25178
|
{
|
|
@@ -24573,6 +25260,9 @@ export const AgentConfigDTOWritableSchema = {
|
|
|
24573
25260
|
{
|
|
24574
25261
|
$ref: "#/components/schemas/ColorPickerWritable",
|
|
24575
25262
|
},
|
|
25263
|
+
{
|
|
25264
|
+
$ref: "#/components/schemas/CronInputWritable",
|
|
25265
|
+
},
|
|
24576
25266
|
{
|
|
24577
25267
|
$ref: "#/components/schemas/DatePickerWritable",
|
|
24578
25268
|
},
|
|
@@ -26866,6 +27556,9 @@ export const ContextualizedAgentEventWritableSchema = {
|
|
|
26866
27556
|
{
|
|
26867
27557
|
$ref: "#/components/schemas/RAGStartEventWritable",
|
|
26868
27558
|
},
|
|
27559
|
+
{
|
|
27560
|
+
$ref: "#/components/schemas/CronStartEventWritable",
|
|
27561
|
+
},
|
|
26869
27562
|
{
|
|
26870
27563
|
$ref: "#/components/schemas/ExceptionEventWritable",
|
|
26871
27564
|
},
|
|
@@ -26938,6 +27631,9 @@ export const ContextualizedAgentEventWritableSchema = {
|
|
|
26938
27631
|
{
|
|
26939
27632
|
$ref: "#/components/schemas/MailBatchDraftedEventWritable",
|
|
26940
27633
|
},
|
|
27634
|
+
{
|
|
27635
|
+
$ref: "#/components/schemas/MailBatchClassifiedEventWritable",
|
|
27636
|
+
},
|
|
26941
27637
|
],
|
|
26942
27638
|
title: "Event",
|
|
26943
27639
|
description: "Data of the event itself.",
|
|
@@ -27030,6 +27726,256 @@ export const ConversationTitleEventWritableSchema = {
|
|
|
27030
27726
|
"Carries a generated title for the whole conversation (thread), produced by the agent once a\ntopic becomes identifiable. The agent has the richest context about the conversation, so it\nowns this metadata instead of leaving it to the chat UI's task model.\n\nA thread receives a single, stable title: the agent emits this event only on the turn where a\ntitle is first determined and never again for that thread.",
|
|
27031
27727
|
} as const;
|
|
27032
27728
|
|
|
27729
|
+
export const CronInputWritableSchema = {
|
|
27730
|
+
properties: {
|
|
27731
|
+
is_formkit_element: {
|
|
27732
|
+
type: "boolean",
|
|
27733
|
+
const: true,
|
|
27734
|
+
title: "Is Formkit Element",
|
|
27735
|
+
description: "Indicates that this element is a FormKit element",
|
|
27736
|
+
default: true,
|
|
27737
|
+
},
|
|
27738
|
+
if: {
|
|
27739
|
+
anyOf: [
|
|
27740
|
+
{
|
|
27741
|
+
type: "string",
|
|
27742
|
+
pattern: "^\\$.+",
|
|
27743
|
+
},
|
|
27744
|
+
{
|
|
27745
|
+
type: "null",
|
|
27746
|
+
},
|
|
27747
|
+
],
|
|
27748
|
+
title: "If",
|
|
27749
|
+
description: "Conditional expression to show this element",
|
|
27750
|
+
},
|
|
27751
|
+
id: {
|
|
27752
|
+
anyOf: [
|
|
27753
|
+
{
|
|
27754
|
+
type: "string",
|
|
27755
|
+
},
|
|
27756
|
+
{
|
|
27757
|
+
type: "null",
|
|
27758
|
+
},
|
|
27759
|
+
],
|
|
27760
|
+
title: "Id",
|
|
27761
|
+
description: "Unique identifier for this element",
|
|
27762
|
+
},
|
|
27763
|
+
nullable: {
|
|
27764
|
+
type: "boolean",
|
|
27765
|
+
title: "Nullable",
|
|
27766
|
+
description:
|
|
27767
|
+
"Render with a sibling toggle that sets this field to null when off",
|
|
27768
|
+
default: false,
|
|
27769
|
+
},
|
|
27770
|
+
defaultEnabled: {
|
|
27771
|
+
anyOf: [
|
|
27772
|
+
{
|
|
27773
|
+
type: "boolean",
|
|
27774
|
+
},
|
|
27775
|
+
{
|
|
27776
|
+
type: "null",
|
|
27777
|
+
},
|
|
27778
|
+
],
|
|
27779
|
+
title: "Defaultenabled",
|
|
27780
|
+
description:
|
|
27781
|
+
"For a nullable element, whether its toggle should start enabled on a fresh form (i.e. the field's data default is non-null). Ignored for non-nullable elements.",
|
|
27782
|
+
},
|
|
27783
|
+
formkit: {
|
|
27784
|
+
type: "string",
|
|
27785
|
+
const: "cronInput",
|
|
27786
|
+
title: "Formkit",
|
|
27787
|
+
description: "Cron schedule input element.",
|
|
27788
|
+
default: "cronInput",
|
|
27789
|
+
},
|
|
27790
|
+
name: {
|
|
27791
|
+
anyOf: [
|
|
27792
|
+
{
|
|
27793
|
+
type: "string",
|
|
27794
|
+
},
|
|
27795
|
+
{
|
|
27796
|
+
type: "null",
|
|
27797
|
+
},
|
|
27798
|
+
],
|
|
27799
|
+
title: "Name",
|
|
27800
|
+
description: "Name of this field",
|
|
27801
|
+
},
|
|
27802
|
+
label: {
|
|
27803
|
+
anyOf: [
|
|
27804
|
+
{
|
|
27805
|
+
$ref: "#/components/schemas/LocaleString",
|
|
27806
|
+
},
|
|
27807
|
+
{
|
|
27808
|
+
type: "string",
|
|
27809
|
+
},
|
|
27810
|
+
],
|
|
27811
|
+
title: "Label",
|
|
27812
|
+
description: "Label of this field",
|
|
27813
|
+
},
|
|
27814
|
+
help: {
|
|
27815
|
+
anyOf: [
|
|
27816
|
+
{
|
|
27817
|
+
$ref: "#/components/schemas/LocaleString",
|
|
27818
|
+
},
|
|
27819
|
+
{
|
|
27820
|
+
type: "string",
|
|
27821
|
+
},
|
|
27822
|
+
{
|
|
27823
|
+
type: "null",
|
|
27824
|
+
},
|
|
27825
|
+
],
|
|
27826
|
+
title: "Help",
|
|
27827
|
+
description: "Help text of this field",
|
|
27828
|
+
},
|
|
27829
|
+
value: {
|
|
27830
|
+
anyOf: [
|
|
27831
|
+
{
|
|
27832
|
+
type: "string",
|
|
27833
|
+
},
|
|
27834
|
+
{
|
|
27835
|
+
type: "integer",
|
|
27836
|
+
},
|
|
27837
|
+
{
|
|
27838
|
+
type: "number",
|
|
27839
|
+
},
|
|
27840
|
+
{
|
|
27841
|
+
type: "boolean",
|
|
27842
|
+
},
|
|
27843
|
+
{
|
|
27844
|
+
items: {
|
|
27845
|
+
type: "string",
|
|
27846
|
+
},
|
|
27847
|
+
type: "array",
|
|
27848
|
+
},
|
|
27849
|
+
{
|
|
27850
|
+
additionalProperties: {
|
|
27851
|
+
type: "string",
|
|
27852
|
+
},
|
|
27853
|
+
type: "object",
|
|
27854
|
+
},
|
|
27855
|
+
{
|
|
27856
|
+
type: "null",
|
|
27857
|
+
},
|
|
27858
|
+
],
|
|
27859
|
+
title: "Value",
|
|
27860
|
+
description: "Default value for this field",
|
|
27861
|
+
},
|
|
27862
|
+
required: {
|
|
27863
|
+
type: "boolean",
|
|
27864
|
+
title: "Required",
|
|
27865
|
+
description: "Whether this field is required",
|
|
27866
|
+
default: false,
|
|
27867
|
+
},
|
|
27868
|
+
additional_validation_rules: {
|
|
27869
|
+
anyOf: [
|
|
27870
|
+
{
|
|
27871
|
+
type: "string",
|
|
27872
|
+
},
|
|
27873
|
+
{
|
|
27874
|
+
type: "null",
|
|
27875
|
+
},
|
|
27876
|
+
],
|
|
27877
|
+
title: "Additional Validation Rules",
|
|
27878
|
+
description: "Validation expression",
|
|
27879
|
+
},
|
|
27880
|
+
timezonePlaceholder: {
|
|
27881
|
+
anyOf: [
|
|
27882
|
+
{
|
|
27883
|
+
$ref: "#/components/schemas/LocaleString",
|
|
27884
|
+
},
|
|
27885
|
+
{
|
|
27886
|
+
type: "string",
|
|
27887
|
+
},
|
|
27888
|
+
{
|
|
27889
|
+
type: "null",
|
|
27890
|
+
},
|
|
27891
|
+
],
|
|
27892
|
+
title: "Timezoneplaceholder",
|
|
27893
|
+
description: "Placeholder for the timezone select",
|
|
27894
|
+
},
|
|
27895
|
+
filter: {
|
|
27896
|
+
type: "boolean",
|
|
27897
|
+
title: "Filter",
|
|
27898
|
+
description: "Whether to enable filtering/search on the timezone select",
|
|
27899
|
+
default: true,
|
|
27900
|
+
},
|
|
27901
|
+
},
|
|
27902
|
+
additionalProperties: true,
|
|
27903
|
+
type: "object",
|
|
27904
|
+
required: ["label"],
|
|
27905
|
+
title: "CronInput",
|
|
27906
|
+
description:
|
|
27907
|
+
'A FormKit element for editing the cron schedule of a schedulable agent profile.\n\nThe element renders the five cron positions plus a timezone selector, and the submitted value\nmatches the fields of `CronSchedule`:\n{\n "minute": str,\n "hour": str,\n "day_of_month": str,\n "month": str,\n "day_of_week": str,\n "timezone": str,\n}\n\nPresets and the plain-language summary of the current schedule are delivered by the Admin UI\n(see the cron schedule configuration UI issue); this element only declares the contract.\n\n### Form Duality\n```python\nfrom swiss_ai_hub.core.form.elements.cron_input import CronInput\nfrom swiss_ai_hub.core.scheduling.cron_schedule import CronSchedule\n\nclass MyAgentConfig(AgentConfig):\n schedule: Annotated[\n CronSchedule | CronInput | None,\n Field(description="When this profile runs automatically"),\n ] = None\n\n# Form mode - for rendering:\nconfig = MyAgentConfig(schedule=CronInput(label=LocaleString(en="Schedule")))\n\n# Data mode - from submission (Pydantic validates into CronSchedule):\nconfig = MyAgentConfig(schedule=CronSchedule(hour="12", timezone="Europe/Zurich"))\n```',
|
|
27908
|
+
} as const;
|
|
27909
|
+
|
|
27910
|
+
export const CronStartEventWritableSchema = {
|
|
27911
|
+
properties: {
|
|
27912
|
+
event_id: {
|
|
27913
|
+
type: "string",
|
|
27914
|
+
title: "Event Id",
|
|
27915
|
+
},
|
|
27916
|
+
created_at: {
|
|
27917
|
+
type: "integer",
|
|
27918
|
+
title: "Created At",
|
|
27919
|
+
description:
|
|
27920
|
+
"The time (in ns since epoch) the event was stored in the event store",
|
|
27921
|
+
},
|
|
27922
|
+
display_name: {
|
|
27923
|
+
anyOf: [
|
|
27924
|
+
{
|
|
27925
|
+
$ref: "#/components/schemas/LocaleString",
|
|
27926
|
+
},
|
|
27927
|
+
{
|
|
27928
|
+
type: "null",
|
|
27929
|
+
},
|
|
27930
|
+
],
|
|
27931
|
+
description: "Display name for the event",
|
|
27932
|
+
},
|
|
27933
|
+
display_description: {
|
|
27934
|
+
anyOf: [
|
|
27935
|
+
{
|
|
27936
|
+
$ref: "#/components/schemas/LocaleString",
|
|
27937
|
+
},
|
|
27938
|
+
{
|
|
27939
|
+
type: "null",
|
|
27940
|
+
},
|
|
27941
|
+
],
|
|
27942
|
+
description: "Display description for the event",
|
|
27943
|
+
},
|
|
27944
|
+
locale: {
|
|
27945
|
+
type: "string",
|
|
27946
|
+
title: "Locale",
|
|
27947
|
+
description:
|
|
27948
|
+
"The locale the scheduled run reports its display output in.",
|
|
27949
|
+
default: "de",
|
|
27950
|
+
},
|
|
27951
|
+
user: {
|
|
27952
|
+
anyOf: [
|
|
27953
|
+
{
|
|
27954
|
+
$ref: "#/components/schemas/UserIdentity",
|
|
27955
|
+
},
|
|
27956
|
+
{
|
|
27957
|
+
type: "null",
|
|
27958
|
+
},
|
|
27959
|
+
],
|
|
27960
|
+
description:
|
|
27961
|
+
"Always None — scheduled runs are system-initiated and carry no execution identity.",
|
|
27962
|
+
},
|
|
27963
|
+
scheduled_for: {
|
|
27964
|
+
type: "string",
|
|
27965
|
+
format: "date-time",
|
|
27966
|
+
title: "Scheduled For",
|
|
27967
|
+
description:
|
|
27968
|
+
"The cron occurrence this run fires for, in UTC. Distinct from `created_at`, which records when the scheduler published the event — the two differ by the scheduler's tick latency.",
|
|
27969
|
+
},
|
|
27970
|
+
},
|
|
27971
|
+
additionalProperties: true,
|
|
27972
|
+
type: "object",
|
|
27973
|
+
required: ["scheduled_for"],
|
|
27974
|
+
title: "CronStartEvent",
|
|
27975
|
+
description:
|
|
27976
|
+
"Start event fired by the cron scheduler — handling it is what makes an agent schedulable.\n\nMirrors how accepting a `UserMessageEvent` makes an agent conversational: `AgentRunner` derives\n`is_schedulable` from the start events an agent declares, so a blueprint opts in by adding a step\nthat consumes this event, with no separate registration.\n\nScheduled runs are system runs, so `user` is always None and the agent must not depend on an\ninitiating identity. Whatever tenant context the agent needs comes from its own profile\nconfiguration (as `OrgMemoryWriteConfig.tenant_id` already does), never from the run.",
|
|
27977
|
+
} as const;
|
|
27978
|
+
|
|
27033
27979
|
export const DatePickerWritableSchema = {
|
|
27034
27980
|
properties: {
|
|
27035
27981
|
is_formkit_element: {
|
|
@@ -27724,6 +28670,13 @@ export const FullAgentInstanceDTOWritableSchema = {
|
|
|
27724
28670
|
description:
|
|
27725
28671
|
"Whether the agent can participate in a chat-based conversation",
|
|
27726
28672
|
},
|
|
28673
|
+
is_schedulable: {
|
|
28674
|
+
type: "boolean",
|
|
28675
|
+
title: "Is Schedulable",
|
|
28676
|
+
description:
|
|
28677
|
+
"Whether the agent can be run automatically on a cron schedule",
|
|
28678
|
+
default: false,
|
|
28679
|
+
},
|
|
27727
28680
|
start_events: {
|
|
27728
28681
|
items: {
|
|
27729
28682
|
$ref: "#/components/schemas/EventSpecs",
|
|
@@ -27885,6 +28838,9 @@ export const FullProcessInstanceDTOWritableSchema = {
|
|
|
27885
28838
|
{
|
|
27886
28839
|
$ref: "#/components/schemas/ColorPickerWritable",
|
|
27887
28840
|
},
|
|
28841
|
+
{
|
|
28842
|
+
$ref: "#/components/schemas/CronInputWritable",
|
|
28843
|
+
},
|
|
27888
28844
|
{
|
|
27889
28845
|
$ref: "#/components/schemas/DatePickerWritable",
|
|
27890
28846
|
},
|
|
@@ -28110,6 +29066,9 @@ export const GroupWritableSchema = {
|
|
|
28110
29066
|
{
|
|
28111
29067
|
$ref: "#/components/schemas/ColorPickerWritable",
|
|
28112
29068
|
},
|
|
29069
|
+
{
|
|
29070
|
+
$ref: "#/components/schemas/CronInputWritable",
|
|
29071
|
+
},
|
|
28113
29072
|
{
|
|
28114
29073
|
$ref: "#/components/schemas/DatePickerWritable",
|
|
28115
29074
|
},
|
|
@@ -28410,150 +29369,156 @@ export const HumanInDTOWritableSchema = {
|
|
|
28410
29369
|
$ref: "#/components/schemas/ColorPickerWritable",
|
|
28411
29370
|
},
|
|
28412
29371
|
{
|
|
28413
|
-
$ref: "#/components/schemas/
|
|
28414
|
-
},
|
|
28415
|
-
{
|
|
28416
|
-
$ref: "#/components/schemas/
|
|
28417
|
-
},
|
|
28418
|
-
{
|
|
28419
|
-
$ref: "#/components/schemas/
|
|
28420
|
-
},
|
|
28421
|
-
{
|
|
28422
|
-
$ref: "#/components/schemas/
|
|
28423
|
-
},
|
|
28424
|
-
{
|
|
28425
|
-
$ref: "#/components/schemas/
|
|
28426
|
-
},
|
|
28427
|
-
{
|
|
28428
|
-
$ref: "#/components/schemas/
|
|
28429
|
-
},
|
|
28430
|
-
{
|
|
28431
|
-
$ref: "#/components/schemas/
|
|
28432
|
-
},
|
|
28433
|
-
{
|
|
28434
|
-
$ref: "#/components/schemas/
|
|
28435
|
-
},
|
|
28436
|
-
{
|
|
28437
|
-
$ref: "#/components/schemas/
|
|
28438
|
-
},
|
|
28439
|
-
{
|
|
28440
|
-
$ref: "#/components/schemas/
|
|
28441
|
-
},
|
|
28442
|
-
{
|
|
28443
|
-
$ref: "#/components/schemas/
|
|
28444
|
-
},
|
|
28445
|
-
{
|
|
28446
|
-
$ref: "#/components/schemas/
|
|
28447
|
-
},
|
|
28448
|
-
{
|
|
28449
|
-
$ref: "#/components/schemas/
|
|
28450
|
-
},
|
|
28451
|
-
{
|
|
28452
|
-
$ref: "#/components/schemas/
|
|
28453
|
-
},
|
|
28454
|
-
{
|
|
28455
|
-
$ref: "#/components/schemas/
|
|
28456
|
-
},
|
|
28457
|
-
{
|
|
28458
|
-
$ref: "#/components/schemas/
|
|
28459
|
-
},
|
|
28460
|
-
{
|
|
28461
|
-
$ref: "#/components/schemas/
|
|
28462
|
-
},
|
|
28463
|
-
{
|
|
28464
|
-
$ref: "#/components/schemas/
|
|
28465
|
-
},
|
|
28466
|
-
{
|
|
28467
|
-
$ref: "#/components/schemas/
|
|
28468
|
-
},
|
|
28469
|
-
{
|
|
28470
|
-
$ref: "#/components/schemas/
|
|
28471
|
-
},
|
|
28472
|
-
{
|
|
28473
|
-
$ref: "#/components/schemas/
|
|
28474
|
-
},
|
|
28475
|
-
{
|
|
28476
|
-
$ref: "#/components/schemas/
|
|
28477
|
-
},
|
|
28478
|
-
{
|
|
28479
|
-
$ref: "#/components/schemas/
|
|
28480
|
-
},
|
|
28481
|
-
{
|
|
28482
|
-
$ref: "#/components/schemas/
|
|
28483
|
-
},
|
|
28484
|
-
{
|
|
28485
|
-
$ref: "#/components/schemas/
|
|
28486
|
-
},
|
|
28487
|
-
|
|
28488
|
-
|
|
28489
|
-
|
|
28490
|
-
|
|
28491
|
-
|
|
28492
|
-
|
|
28493
|
-
|
|
28494
|
-
|
|
28495
|
-
|
|
28496
|
-
|
|
28497
|
-
|
|
28498
|
-
|
|
28499
|
-
|
|
28500
|
-
"
|
|
28501
|
-
"
|
|
28502
|
-
"
|
|
28503
|
-
|
|
28504
|
-
|
|
28505
|
-
|
|
28506
|
-
|
|
28507
|
-
|
|
28508
|
-
|
|
28509
|
-
|
|
28510
|
-
|
|
28511
|
-
|
|
28512
|
-
|
|
28513
|
-
|
|
28514
|
-
|
|
28515
|
-
|
|
28516
|
-
|
|
28517
|
-
|
|
28518
|
-
|
|
28519
|
-
|
|
28520
|
-
|
|
28521
|
-
|
|
28522
|
-
|
|
28523
|
-
|
|
28524
|
-
|
|
28525
|
-
|
|
28526
|
-
|
|
28527
|
-
|
|
28528
|
-
|
|
28529
|
-
|
|
28530
|
-
|
|
28531
|
-
|
|
28532
|
-
|
|
28533
|
-
|
|
28534
|
-
|
|
28535
|
-
|
|
28536
|
-
|
|
28537
|
-
|
|
28538
|
-
|
|
28539
|
-
|
|
28540
|
-
|
|
28541
|
-
|
|
28542
|
-
|
|
28543
|
-
{
|
|
28544
|
-
$ref: "#/components/schemas/
|
|
28545
|
-
},
|
|
28546
|
-
{
|
|
28547
|
-
$ref: "#/components/schemas/
|
|
28548
|
-
},
|
|
28549
|
-
{
|
|
28550
|
-
$ref: "#/components/schemas/
|
|
28551
|
-
},
|
|
28552
|
-
{
|
|
28553
|
-
$ref: "#/components/schemas/
|
|
28554
|
-
},
|
|
28555
|
-
{
|
|
28556
|
-
$ref: "#/components/schemas/
|
|
29372
|
+
$ref: "#/components/schemas/CronInputWritable",
|
|
29373
|
+
},
|
|
29374
|
+
{
|
|
29375
|
+
$ref: "#/components/schemas/DatePickerWritable",
|
|
29376
|
+
},
|
|
29377
|
+
{
|
|
29378
|
+
$ref: "#/components/schemas/GroupWritable",
|
|
29379
|
+
},
|
|
29380
|
+
{
|
|
29381
|
+
$ref: "#/components/schemas/IconSelectorWritable",
|
|
29382
|
+
},
|
|
29383
|
+
{
|
|
29384
|
+
$ref: "#/components/schemas/InputMaskWritable",
|
|
29385
|
+
},
|
|
29386
|
+
{
|
|
29387
|
+
$ref: "#/components/schemas/InputNumberWritable",
|
|
29388
|
+
},
|
|
29389
|
+
{
|
|
29390
|
+
$ref: "#/components/schemas/InputOtpWritable",
|
|
29391
|
+
},
|
|
29392
|
+
{
|
|
29393
|
+
$ref: "#/components/schemas/InputTextWritable",
|
|
29394
|
+
},
|
|
29395
|
+
{
|
|
29396
|
+
$ref: "#/components/schemas/KnowledgeDatabaseSelectorWritable",
|
|
29397
|
+
},
|
|
29398
|
+
{
|
|
29399
|
+
$ref: "#/components/schemas/KnobWritable",
|
|
29400
|
+
},
|
|
29401
|
+
{
|
|
29402
|
+
$ref: "#/components/schemas/ListboxWritable",
|
|
29403
|
+
},
|
|
29404
|
+
{
|
|
29405
|
+
$ref: "#/components/schemas/LocaleInputWritable",
|
|
29406
|
+
},
|
|
29407
|
+
{
|
|
29408
|
+
$ref: "#/components/schemas/ModelSelectWritable",
|
|
29409
|
+
},
|
|
29410
|
+
{
|
|
29411
|
+
$ref: "#/components/schemas/MultiSelectWritable",
|
|
29412
|
+
},
|
|
29413
|
+
{
|
|
29414
|
+
$ref: "#/components/schemas/PasswordWritable",
|
|
29415
|
+
},
|
|
29416
|
+
{
|
|
29417
|
+
$ref: "#/components/schemas/RadioButtonWritable",
|
|
29418
|
+
},
|
|
29419
|
+
{
|
|
29420
|
+
$ref: "#/components/schemas/RatingWritable",
|
|
29421
|
+
},
|
|
29422
|
+
{
|
|
29423
|
+
$ref: "#/components/schemas/RepeaterWritable",
|
|
29424
|
+
},
|
|
29425
|
+
{
|
|
29426
|
+
$ref: "#/components/schemas/SelectWritable",
|
|
29427
|
+
},
|
|
29428
|
+
{
|
|
29429
|
+
$ref: "#/components/schemas/SelectButtonWritable",
|
|
29430
|
+
},
|
|
29431
|
+
{
|
|
29432
|
+
$ref: "#/components/schemas/SliderWritable",
|
|
29433
|
+
},
|
|
29434
|
+
{
|
|
29435
|
+
$ref: "#/components/schemas/TenantSelectWritable",
|
|
29436
|
+
},
|
|
29437
|
+
{
|
|
29438
|
+
$ref: "#/components/schemas/TextareaWritable",
|
|
29439
|
+
},
|
|
29440
|
+
{
|
|
29441
|
+
$ref: "#/components/schemas/ToggleButtonWritable",
|
|
29442
|
+
},
|
|
29443
|
+
{
|
|
29444
|
+
$ref: "#/components/schemas/ToggleSwitchWritable",
|
|
29445
|
+
},
|
|
29446
|
+
{
|
|
29447
|
+
$ref: "#/components/schemas/VectorStoreInputWritable",
|
|
29448
|
+
},
|
|
29449
|
+
],
|
|
29450
|
+
},
|
|
29451
|
+
type: "array",
|
|
29452
|
+
title: "Form",
|
|
29453
|
+
description: "Formkit elements of the work event.",
|
|
29454
|
+
default: [],
|
|
29455
|
+
},
|
|
29456
|
+
},
|
|
29457
|
+
type: "object",
|
|
29458
|
+
required: [
|
|
29459
|
+
"name",
|
|
29460
|
+
"description",
|
|
29461
|
+
"route",
|
|
29462
|
+
"method",
|
|
29463
|
+
"is_process_start",
|
|
29464
|
+
"event_specs",
|
|
29465
|
+
],
|
|
29466
|
+
title: "HumanInDTO",
|
|
29467
|
+
} as const;
|
|
29468
|
+
|
|
29469
|
+
export const HumanInSpecsWritableSchema = {
|
|
29470
|
+
properties: {
|
|
29471
|
+
name: {
|
|
29472
|
+
$ref: "#/components/schemas/LocaleString",
|
|
29473
|
+
description: "The name of the work event.",
|
|
29474
|
+
},
|
|
29475
|
+
description: {
|
|
29476
|
+
$ref: "#/components/schemas/LocaleString",
|
|
29477
|
+
description:
|
|
29478
|
+
"A description of the work event, providing details about its purpose.",
|
|
29479
|
+
},
|
|
29480
|
+
route: {
|
|
29481
|
+
type: "string",
|
|
29482
|
+
title: "Route",
|
|
29483
|
+
description: "The route of the work event.",
|
|
29484
|
+
},
|
|
29485
|
+
method: {
|
|
29486
|
+
type: "string",
|
|
29487
|
+
title: "Method",
|
|
29488
|
+
description: "The HTTP method of the work event.",
|
|
29489
|
+
},
|
|
29490
|
+
is_process_start: {
|
|
29491
|
+
type: "boolean",
|
|
29492
|
+
title: "Is Process Start",
|
|
29493
|
+
description: "Whether the work event is a process start event.",
|
|
29494
|
+
},
|
|
29495
|
+
event_specs: {
|
|
29496
|
+
$ref: "#/components/schemas/EventSpecs",
|
|
29497
|
+
description: "The event specs of the work event.",
|
|
29498
|
+
},
|
|
29499
|
+
form: {
|
|
29500
|
+
items: {
|
|
29501
|
+
oneOf: [
|
|
29502
|
+
{
|
|
29503
|
+
$ref: "#/components/schemas/HtmlElement",
|
|
29504
|
+
},
|
|
29505
|
+
{
|
|
29506
|
+
$ref: "#/components/schemas/AgentSelectorWritable",
|
|
29507
|
+
},
|
|
29508
|
+
{
|
|
29509
|
+
$ref: "#/components/schemas/CascadeSelectWritable",
|
|
29510
|
+
},
|
|
29511
|
+
{
|
|
29512
|
+
$ref: "#/components/schemas/CheckboxWritable",
|
|
29513
|
+
},
|
|
29514
|
+
{
|
|
29515
|
+
$ref: "#/components/schemas/ChipsInputWritable",
|
|
29516
|
+
},
|
|
29517
|
+
{
|
|
29518
|
+
$ref: "#/components/schemas/ColorPickerWritable",
|
|
29519
|
+
},
|
|
29520
|
+
{
|
|
29521
|
+
$ref: "#/components/schemas/CronInputWritable",
|
|
28557
29522
|
},
|
|
28558
29523
|
{
|
|
28559
29524
|
$ref: "#/components/schemas/DatePickerWritable",
|
|
@@ -30925,6 +31890,32 @@ export const LLMCostEventWritableSchema = {
|
|
|
30925
31890
|
description:
|
|
30926
31891
|
"The name of the LLM service (e.g., 'openai/gpt-4') this event pertains to.",
|
|
30927
31892
|
},
|
|
31893
|
+
user_id: {
|
|
31894
|
+
anyOf: [
|
|
31895
|
+
{
|
|
31896
|
+
type: "string",
|
|
31897
|
+
},
|
|
31898
|
+
{
|
|
31899
|
+
type: "null",
|
|
31900
|
+
},
|
|
31901
|
+
],
|
|
31902
|
+
title: "User Id",
|
|
31903
|
+
description:
|
|
31904
|
+
"Invoking user, so spend is queryable per user. None for runs with no user context.",
|
|
31905
|
+
},
|
|
31906
|
+
tenant_id: {
|
|
31907
|
+
anyOf: [
|
|
31908
|
+
{
|
|
31909
|
+
type: "string",
|
|
31910
|
+
},
|
|
31911
|
+
{
|
|
31912
|
+
type: "null",
|
|
31913
|
+
},
|
|
31914
|
+
],
|
|
31915
|
+
title: "Tenant Id",
|
|
31916
|
+
description:
|
|
31917
|
+
"Acting tenant, so spend is queryable per tenant. None for sysadmins and system runs.",
|
|
31918
|
+
},
|
|
30928
31919
|
},
|
|
30929
31920
|
additionalProperties: true,
|
|
30930
31921
|
type: "object",
|
|
@@ -31836,6 +32827,91 @@ export const LocaleInputWritableSchema = {
|
|
|
31836
32827
|
'A FormKit element for entering multi-language text (LocaleString values).\n\nThis element renders as a text input with language switching capability,\nallowing users to enter translations for all supported languages (de, en, fr, it)\nin a single compact UI component.\n\nThe frontend renders this as an input field with a language selector, where users\ncan switch between languages to enter the corresponding translation.\n\n### Form Duality\nWhen used in a Form, this element captures a LocaleString value with translations\nfor each language. The form submission returns a dict with language keys.\n\n### Example Usage\n```python\nclass MyAgentConfig(AgentConfig):\n custom_greeting: Annotated[\n LocaleString | LocaleInput,\n Field(description="Custom greeting message"),\n ]\n\n# Form mode - for rendering:\nconfig = MyAgentConfig(\n ...,\n custom_greeting=LocaleInput(label=LocaleString(en="Greeting", de="Begrüßung")),\n)\n\n# Data mode - from submission:\nconfig = MyAgentConfig(\n ...,\n custom_greeting=LocaleString(en="Hello", de="Hallo", fr="Bonjour", it="Ciao"),\n)\n```',
|
|
31837
32828
|
} as const;
|
|
31838
32829
|
|
|
32830
|
+
export const MailBatchClassifiedEventWritableSchema = {
|
|
32831
|
+
properties: {
|
|
32832
|
+
event_id: {
|
|
32833
|
+
type: "string",
|
|
32834
|
+
title: "Event Id",
|
|
32835
|
+
},
|
|
32836
|
+
created_at: {
|
|
32837
|
+
type: "integer",
|
|
32838
|
+
title: "Created At",
|
|
32839
|
+
description:
|
|
32840
|
+
"The time (in ns since epoch) the event was stored in the event store",
|
|
32841
|
+
},
|
|
32842
|
+
display_name: {
|
|
32843
|
+
anyOf: [
|
|
32844
|
+
{
|
|
32845
|
+
$ref: "#/components/schemas/LocaleString",
|
|
32846
|
+
},
|
|
32847
|
+
{
|
|
32848
|
+
type: "null",
|
|
32849
|
+
},
|
|
32850
|
+
],
|
|
32851
|
+
description: "Display name for the event",
|
|
32852
|
+
},
|
|
32853
|
+
display_description: {
|
|
32854
|
+
anyOf: [
|
|
32855
|
+
{
|
|
32856
|
+
$ref: "#/components/schemas/LocaleString",
|
|
32857
|
+
},
|
|
32858
|
+
{
|
|
32859
|
+
type: "null",
|
|
32860
|
+
},
|
|
32861
|
+
],
|
|
32862
|
+
description: "Display description for the event",
|
|
32863
|
+
},
|
|
32864
|
+
source_folder: {
|
|
32865
|
+
type: "string",
|
|
32866
|
+
title: "Source Folder",
|
|
32867
|
+
description: "Folder the classified messages were read from.",
|
|
32868
|
+
},
|
|
32869
|
+
count: {
|
|
32870
|
+
type: "integer",
|
|
32871
|
+
title: "Count",
|
|
32872
|
+
description: "Number of messages classified and filed in this run.",
|
|
32873
|
+
},
|
|
32874
|
+
per_category: {
|
|
32875
|
+
additionalProperties: {
|
|
32876
|
+
type: "integer",
|
|
32877
|
+
},
|
|
32878
|
+
type: "object",
|
|
32879
|
+
title: "Per Category",
|
|
32880
|
+
description:
|
|
32881
|
+
"How many messages were filed under each configured category.",
|
|
32882
|
+
},
|
|
32883
|
+
fallback_count: {
|
|
32884
|
+
type: "integer",
|
|
32885
|
+
title: "Fallback Count",
|
|
32886
|
+
description:
|
|
32887
|
+
"How many messages went to the fallback folder instead of a category.",
|
|
32888
|
+
default: 0,
|
|
32889
|
+
},
|
|
32890
|
+
failed_count: {
|
|
32891
|
+
type: "integer",
|
|
32892
|
+
title: "Failed Count",
|
|
32893
|
+
description:
|
|
32894
|
+
"How many messages the classifier could not reach a verdict on at all. They are filed into the failure folder rather than left in the inbox, where they would be re-selected on every run forever.",
|
|
32895
|
+
default: 0,
|
|
32896
|
+
},
|
|
32897
|
+
classified: {
|
|
32898
|
+
items: {
|
|
32899
|
+
$ref: "#/components/schemas/MailClassificationRef",
|
|
32900
|
+
},
|
|
32901
|
+
type: "array",
|
|
32902
|
+
title: "Classified",
|
|
32903
|
+
description:
|
|
32904
|
+
"Per-message classification verdicts and filing destinations.",
|
|
32905
|
+
},
|
|
32906
|
+
},
|
|
32907
|
+
additionalProperties: true,
|
|
32908
|
+
type: "object",
|
|
32909
|
+
required: ["source_folder", "count"],
|
|
32910
|
+
title: "MailBatchClassifiedEvent",
|
|
32911
|
+
description:
|
|
32912
|
+
"Summarises one classification run: how many messages were classified and where each was filed.\n\nOne event per run rather than one per message, matching `MailBatchDraftedEvent` — the per-message detail rides in\n`classified`. Filing is what prevents reprocessing: every message leaves the source folder, so the next unread\nlisting cannot see it again.",
|
|
32913
|
+
} as const;
|
|
32914
|
+
|
|
31839
32915
|
export const MailBatchDraftedEventWritableSchema = {
|
|
31840
32916
|
properties: {
|
|
31841
32917
|
event_id: {
|
|
@@ -31880,6 +32956,22 @@ export const MailBatchDraftedEventWritableSchema = {
|
|
|
31880
32956
|
title: "Count",
|
|
31881
32957
|
description: "Number of reply drafts created in this run.",
|
|
31882
32958
|
},
|
|
32959
|
+
per_category: {
|
|
32960
|
+
additionalProperties: {
|
|
32961
|
+
type: "integer",
|
|
32962
|
+
},
|
|
32963
|
+
type: "object",
|
|
32964
|
+
title: "Per Category",
|
|
32965
|
+
description:
|
|
32966
|
+
"How many drafts were created for each category, when drafting followed a classification run. Empty when the drafting blueprint does not classify.",
|
|
32967
|
+
},
|
|
32968
|
+
skipped_count: {
|
|
32969
|
+
type: "integer",
|
|
32970
|
+
title: "Skipped Count",
|
|
32971
|
+
description:
|
|
32972
|
+
"Messages in the batch that got no draft: usually because their category was not opted in, or no category fitted them at all.",
|
|
32973
|
+
default: 0,
|
|
32974
|
+
},
|
|
31883
32975
|
drafted: {
|
|
31884
32976
|
items: {
|
|
31885
32977
|
$ref: "#/components/schemas/DraftedReplyRef",
|
|
@@ -32016,6 +33108,18 @@ export const MailFetchedEventWritableSchema = {
|
|
|
32016
33108
|
title: "Attachments",
|
|
32017
33109
|
description: "References to the message's attachments stored in S3.",
|
|
32018
33110
|
},
|
|
33111
|
+
original_message: {
|
|
33112
|
+
anyOf: [
|
|
33113
|
+
{
|
|
33114
|
+
$ref: "#/components/schemas/MailMessageRef",
|
|
33115
|
+
},
|
|
33116
|
+
{
|
|
33117
|
+
type: "null",
|
|
33118
|
+
},
|
|
33119
|
+
],
|
|
33120
|
+
description:
|
|
33121
|
+
"Reference to the original RFC822 message stored in S3, or null when it was not stored.",
|
|
33122
|
+
},
|
|
32019
33123
|
},
|
|
32020
33124
|
additionalProperties: true,
|
|
32021
33125
|
type: "object",
|
|
@@ -32074,6 +33178,13 @@ export const MailMovedEventWritableSchema = {
|
|
|
32074
33178
|
title: "Target Folder",
|
|
32075
33179
|
description: "Folder the message was moved into.",
|
|
32076
33180
|
},
|
|
33181
|
+
folder_created: {
|
|
33182
|
+
type: "boolean",
|
|
33183
|
+
title: "Folder Created",
|
|
33184
|
+
description:
|
|
33185
|
+
"Whether the target folder did not exist and was created by this move — an agent adding a folder to someone's mailbox is a visible side effect and belongs in the audit trail.",
|
|
33186
|
+
default: false,
|
|
33187
|
+
},
|
|
32077
33188
|
},
|
|
32078
33189
|
additionalProperties: true,
|
|
32079
33190
|
type: "object",
|
|
@@ -32271,6 +33382,13 @@ export const MinimalAgentInstanceDTOWritableSchema = {
|
|
|
32271
33382
|
description:
|
|
32272
33383
|
"Whether the agent can participate in a chat-based conversation",
|
|
32273
33384
|
},
|
|
33385
|
+
is_schedulable: {
|
|
33386
|
+
type: "boolean",
|
|
33387
|
+
title: "Is Schedulable",
|
|
33388
|
+
description:
|
|
33389
|
+
"Whether the agent can be run automatically on a cron schedule",
|
|
33390
|
+
default: false,
|
|
33391
|
+
},
|
|
32274
33392
|
},
|
|
32275
33393
|
type: "object",
|
|
32276
33394
|
required: ["agent_class", "agent_id", "agent_config", "is_conversational"],
|
|
@@ -33169,6 +34287,9 @@ export const ProcessClassDTOWritableSchema = {
|
|
|
33169
34287
|
{
|
|
33170
34288
|
$ref: "#/components/schemas/ColorPickerWritable",
|
|
33171
34289
|
},
|
|
34290
|
+
{
|
|
34291
|
+
$ref: "#/components/schemas/CronInputWritable",
|
|
34292
|
+
},
|
|
33172
34293
|
{
|
|
33173
34294
|
$ref: "#/components/schemas/DatePickerWritable",
|
|
33174
34295
|
},
|
|
@@ -34274,6 +35395,9 @@ export const RepeaterWritableSchema = {
|
|
|
34274
35395
|
{
|
|
34275
35396
|
$ref: "#/components/schemas/ColorPickerWritable",
|
|
34276
35397
|
},
|
|
35398
|
+
{
|
|
35399
|
+
$ref: "#/components/schemas/CronInputWritable",
|
|
35400
|
+
},
|
|
34277
35401
|
{
|
|
34278
35402
|
$ref: "#/components/schemas/DatePickerWritable",
|
|
34279
35403
|
},
|