@you-agent-factory/client 0.0.0 → 0.0.2
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/LICENSE.md +1 -1
- package/README.md +78 -17
- package/dist/contracts.d.ts +51 -0
- package/dist/contracts.js +9 -0
- package/dist/event-ordering.d.ts +15 -0
- package/dist/event-ordering.js +33 -0
- package/dist/generated/factory-event.schema.json +5490 -0
- package/dist/generated/factory.schema.json +2606 -0
- package/dist/generated/openapi.d.ts +7587 -0
- package/dist/generated/openapi.js +1020 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +8 -0
- package/dist/recording.d.ts +34 -0
- package/dist/recording.js +236 -0
- package/dist/replay.d.ts +21 -0
- package/dist/replay.js +82 -0
- package/dist/schema-validation.d.ts +9 -0
- package/dist/schema-validation.js +113 -0
- package/dist/visualization-layout-contracts.d.ts +63 -0
- package/dist/visualization-layout-contracts.js +1 -0
- package/dist/visualization-layout-data.d.ts +9 -0
- package/dist/visualization-layout-data.js +105 -0
- package/dist/visualization-layout-error.d.ts +5 -0
- package/dist/visualization-layout-error.js +10 -0
- package/dist/visualization-layout-fields.d.ts +7 -0
- package/dist/visualization-layout-fields.js +26 -0
- package/dist/visualization-layout-geometry.d.ts +5 -0
- package/dist/visualization-layout-geometry.js +74 -0
- package/dist/visualization-layout-media.d.ts +11 -0
- package/dist/visualization-layout-media.js +110 -0
- package/dist/visualization-layout-safety.d.ts +15 -0
- package/dist/visualization-layout-safety.js +142 -0
- package/dist/visualization-layout-topology.d.ts +11 -0
- package/dist/visualization-layout-topology.js +90 -0
- package/dist/visualization-layout.d.ts +12 -0
- package/dist/visualization-layout.js +299 -0
- package/examples/customer-support.factory-recording.v1.json +64 -0
- package/examples/customer-support.factory-visualization-layout.v1.json +47 -0
- package/package.json +37 -18
- package/recordings/factory-recording.json +0 -36
- package/src/contracts.ts +0 -13
- package/src/generated/factory-recording.schema.json +0 -5521
- package/src/generated/openapi.ts +0 -8134
- package/src/index.js +0 -5
- package/src/index.ts +0 -17
- package/src/recording-parser.d.ts +0 -37
- package/src/recording-parser.js +0 -230
|
@@ -0,0 +1,1020 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/generate-contracts.mjs from
|
|
3
|
+
* ui/src/api/generated/openapi.ts. Do not edit this package-local copy.
|
|
4
|
+
*/
|
|
5
|
+
// biome-ignore-all lint/style/noExcessiveLinesPerFile: generated canonical contract
|
|
6
|
+
export const InvocationInputSourceKind = {
|
|
7
|
+
// Text supplied in canonical WorkContent.
|
|
8
|
+
InvocationInputSourceKindText: "text",
|
|
9
|
+
// Reserved future file-reference input source.
|
|
10
|
+
InvocationInputSourceKindFileRef: "fileRef",
|
|
11
|
+
// Reserved future audio-stream input source.
|
|
12
|
+
InvocationInputSourceKindAudioStream: "audioStream",
|
|
13
|
+
};
|
|
14
|
+
export const InvocationResponseErrorCode = {
|
|
15
|
+
INVOCATION_BLOCKED: "INVOCATION_BLOCKED",
|
|
16
|
+
INVOCATION_INTERRUPTED: "INVOCATION_INTERRUPTED",
|
|
17
|
+
INVOCATION_NEEDS_HUMAN: "INVOCATION_NEEDS_HUMAN",
|
|
18
|
+
INVOCATION_PAUSED: "INVOCATION_PAUSED",
|
|
19
|
+
INVOCATION_PRIMARY_RESULT_UNRESOLVED: "INVOCATION_PRIMARY_RESULT_UNRESOLVED",
|
|
20
|
+
INVOCATION_TIMED_OUT: "INVOCATION_TIMED_OUT",
|
|
21
|
+
INVOCATION_CANCELED: "INVOCATION_CANCELED",
|
|
22
|
+
INVOCATION_RUNTIME_FAILURE: "INVOCATION_RUNTIME_FAILURE",
|
|
23
|
+
INVOCATION_TTS_MODEL_NOT_READY: "INVOCATION_TTS_MODEL_NOT_READY",
|
|
24
|
+
INVOCATION_TTS_GENERATION_FAILED: "INVOCATION_TTS_GENERATION_FAILED",
|
|
25
|
+
};
|
|
26
|
+
export const InvocationTerminalStatus = {
|
|
27
|
+
// Invocation completed and any primaryResult is authoritative.
|
|
28
|
+
InvocationTerminalStatusCompleted: "COMPLETED",
|
|
29
|
+
// Invocation reached a runtime or primary-result resolution failure.
|
|
30
|
+
InvocationTerminalStatusFailed: "FAILED",
|
|
31
|
+
// Invocation was canceled before successful completion.
|
|
32
|
+
InvocationTerminalStatusCanceled: "CANCELED",
|
|
33
|
+
// Invocation exceeded its caller or server timeout budget.
|
|
34
|
+
InvocationTerminalStatusTimedOut: "TIMED_OUT",
|
|
35
|
+
};
|
|
36
|
+
export const SubmitWorkItemType = {
|
|
37
|
+
SubmitWorkItemTypeText: "text",
|
|
38
|
+
SubmitWorkItemTypeImage: "image",
|
|
39
|
+
SubmitWorkItemTypeVideo: "video",
|
|
40
|
+
SubmitWorkItemTypeAudio: "audio",
|
|
41
|
+
SubmitWorkItemTypeDocument: "document",
|
|
42
|
+
};
|
|
43
|
+
export const SubmitWorkTextItemType = {
|
|
44
|
+
text: "text",
|
|
45
|
+
};
|
|
46
|
+
export const SubmitWorkImageItemType = {
|
|
47
|
+
image: "image",
|
|
48
|
+
};
|
|
49
|
+
export const SubmitWorkVideoItemType = {
|
|
50
|
+
video: "video",
|
|
51
|
+
};
|
|
52
|
+
export const SubmitWorkAudioItemType = {
|
|
53
|
+
audio: "audio",
|
|
54
|
+
};
|
|
55
|
+
export const SubmitWorkDocumentItemType = {
|
|
56
|
+
document: "document",
|
|
57
|
+
};
|
|
58
|
+
export const ManagedRuntimeLifecycleState = {
|
|
59
|
+
// Managed install and cache lifecycle does not apply, such as for cloud-backed runtimes.
|
|
60
|
+
NOT_APPLICABLE: "NOT_APPLICABLE",
|
|
61
|
+
// Required managed runtime assets are not installed in the managed cache.
|
|
62
|
+
NOT_INSTALLED: "NOT_INSTALLED",
|
|
63
|
+
// Managed runtime assets are being pulled or installed into the managed cache.
|
|
64
|
+
INSTALLING: "INSTALLING",
|
|
65
|
+
// Required managed runtime assets are installed in the managed cache but not loaded for invocation.
|
|
66
|
+
INSTALLED: "INSTALLED",
|
|
67
|
+
// Managed runtime assets are being loaded into an invocation-ready runtime handle.
|
|
68
|
+
LOADING: "LOADING",
|
|
69
|
+
// Managed runtime assets are loaded and available for invocation subject to readiness checks.
|
|
70
|
+
LOADED: "LOADED",
|
|
71
|
+
};
|
|
72
|
+
export const ManagedRuntimePullOutcome = {
|
|
73
|
+
// The managed runtime was already ready and no additional install work was required.
|
|
74
|
+
ALREADY_READY: "ALREADY_READY",
|
|
75
|
+
// Required managed runtime assets were installed successfully into the managed cache.
|
|
76
|
+
INSTALLED_SUCCESSFULLY: "INSTALLED_SUCCESSFULLY",
|
|
77
|
+
// Required managed runtime assets were already present in the managed cache at the requested revision.
|
|
78
|
+
ALREADY_PRESENT: "ALREADY_PRESENT",
|
|
79
|
+
// Managed runtime install or preparation is still in progress.
|
|
80
|
+
STILL_LOADING: "STILL_LOADING",
|
|
81
|
+
// Managed runtime install or preparation timed out before reaching a terminal readiness state.
|
|
82
|
+
TIMED_OUT: "TIMED_OUT",
|
|
83
|
+
// Required managed runtime assets could not be fetched from the configured backend source.
|
|
84
|
+
SOURCE_FETCH_FAILED: "SOURCE_FETCH_FAILED",
|
|
85
|
+
// The requested managed runtime does not support pull or install in the current configuration.
|
|
86
|
+
UNSUPPORTED_RUNTIME: "UNSUPPORTED_RUNTIME",
|
|
87
|
+
};
|
|
88
|
+
export const ManagedRuntimeReadinessState = {
|
|
89
|
+
// Required managed runtime assets are present and the runtime is ready for invocation.
|
|
90
|
+
READY: "READY",
|
|
91
|
+
// Required managed runtime assets are not present and pull or install is required.
|
|
92
|
+
MISSING: "MISSING",
|
|
93
|
+
// Managed runtime assets are being prepared or loaded.
|
|
94
|
+
LOADING: "LOADING",
|
|
95
|
+
// Managed runtime setup failed and requires operator attention.
|
|
96
|
+
FAILED: "FAILED",
|
|
97
|
+
// The managed runtime is not supported by the current factory or platform configuration.
|
|
98
|
+
UNSUPPORTED: "UNSUPPORTED",
|
|
99
|
+
};
|
|
100
|
+
export const ModelInvocationResponseMode = {
|
|
101
|
+
METADATA: "METADATA",
|
|
102
|
+
AUDIO_STREAM: "AUDIO_STREAM",
|
|
103
|
+
};
|
|
104
|
+
export const ModelPullOutcome = {
|
|
105
|
+
PULLED: "PULLED",
|
|
106
|
+
ALREADY_PRESENT: "ALREADY_PRESENT",
|
|
107
|
+
};
|
|
108
|
+
export const ResolvedModelOperationBindingSource = {
|
|
109
|
+
INPUT: "INPUT",
|
|
110
|
+
CONFIG: "CONFIG",
|
|
111
|
+
DEFAULT: "DEFAULT",
|
|
112
|
+
OMITTED: "OMITTED",
|
|
113
|
+
};
|
|
114
|
+
export const ModelStatus = {
|
|
115
|
+
READY: "READY",
|
|
116
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
117
|
+
};
|
|
118
|
+
export const ModelLoadState = {
|
|
119
|
+
UNLOADED: "UNLOADED",
|
|
120
|
+
NOT_APPLICABLE: "NOT_APPLICABLE",
|
|
121
|
+
};
|
|
122
|
+
export const ErrorFamily = {
|
|
123
|
+
// Request payload or parameter validation failed.
|
|
124
|
+
ErrorFamilyBadRequest: "BAD_REQUEST",
|
|
125
|
+
// The request conflicts with current resource state.
|
|
126
|
+
ErrorFamilyConflict: "CONFLICT",
|
|
127
|
+
// The requested resource does not exist.
|
|
128
|
+
ErrorFamilyNotFound: "NOT_FOUND",
|
|
129
|
+
// The requested resource previously existed but is no longer retained.
|
|
130
|
+
ErrorFamilyGone: "GONE",
|
|
131
|
+
// The server failed while handling an otherwise valid request.
|
|
132
|
+
ErrorFamilyInternalServerError: "INTERNAL_SERVER_ERROR",
|
|
133
|
+
};
|
|
134
|
+
export const ErrorResponseCode = {
|
|
135
|
+
// Request payload or parameter validation failed.
|
|
136
|
+
BAD_REQUEST: "BAD_REQUEST",
|
|
137
|
+
// Factory session discovery found a readable factory target whose config could not be loaded.
|
|
138
|
+
FACTORY_SESSION_CONFIG_LOAD_FAILED: "FACTORY_SESSION_CONFIG_LOAD_FAILED",
|
|
139
|
+
// Named factory name validation failed.
|
|
140
|
+
INVALID_FACTORY_NAME: "INVALID_FACTORY_NAME",
|
|
141
|
+
// Submitted named factory already exists.
|
|
142
|
+
FACTORY_ALREADY_EXISTS: "FACTORY_ALREADY_EXISTS",
|
|
143
|
+
// Submitted named factory payload failed validation.
|
|
144
|
+
INVALID_FACTORY: "INVALID_FACTORY",
|
|
145
|
+
// Current factory runtime is not idle and cannot activate a new named factory.
|
|
146
|
+
FACTORY_NOT_IDLE: "FACTORY_NOT_IDLE",
|
|
147
|
+
// Submitted editable factory definition was based on an older version than the current definition.
|
|
148
|
+
STALE_FACTORY_VERSION: "STALE_FACTORY_VERSION",
|
|
149
|
+
// Operator move requestId was already applied for this session.
|
|
150
|
+
MOVE_WORK_REQUEST_ALREADY_APPLIED: "MOVE_WORK_REQUEST_ALREADY_APPLIED",
|
|
151
|
+
// Durable execution requestId was reused with materially different inputs.
|
|
152
|
+
EXECUTION_REQUEST_ID_CONFLICT: "EXECUTION_REQUEST_ID_CONFLICT",
|
|
153
|
+
// Lifecycle control requestId was already applied with different control inputs.
|
|
154
|
+
FACTORY_SESSION_CONTROL_REQUEST_ALREADY_APPLIED: "FACTORY_SESSION_CONTROL_REQUEST_ALREADY_APPLIED",
|
|
155
|
+
// The Factory Response Event reconnect cursor is invalid.
|
|
156
|
+
INVALID_RESPONSE_EVENT_CURSOR: "INVALID_RESPONSE_EVENT_CURSOR",
|
|
157
|
+
// A Factory Response Event filter is invalid.
|
|
158
|
+
INVALID_RESPONSE_EVENT_FILTER: "INVALID_RESPONSE_EVENT_FILTER",
|
|
159
|
+
// The explicitly selected Factory Session for response events does not exist.
|
|
160
|
+
RESPONSE_EVENT_SESSION_NOT_FOUND: "RESPONSE_EVENT_SESSION_NOT_FOUND",
|
|
161
|
+
// The retained Factory Response Event stream is no longer available.
|
|
162
|
+
RESPONSE_EVENT_STREAM_EXPIRED: "RESPONSE_EVENT_STREAM_EXPIRED",
|
|
163
|
+
// The requested resource does not exist.
|
|
164
|
+
NOT_FOUND: "NOT_FOUND",
|
|
165
|
+
// The server failed while handling an otherwise valid request.
|
|
166
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
167
|
+
};
|
|
168
|
+
export const FactorySessionTargetRefKind = {
|
|
169
|
+
default: "default",
|
|
170
|
+
named: "named",
|
|
171
|
+
};
|
|
172
|
+
export const FactoryStopKind = {
|
|
173
|
+
PAUSED: "PAUSED",
|
|
174
|
+
BLOCKED: "BLOCKED",
|
|
175
|
+
NEEDS_HUMAN: "NEEDS_HUMAN",
|
|
176
|
+
INTERRUPTED: "INTERRUPTED",
|
|
177
|
+
};
|
|
178
|
+
export const FactorySessionLogicalTargetKind = {
|
|
179
|
+
default: "default",
|
|
180
|
+
named: "named",
|
|
181
|
+
provider: "provider",
|
|
182
|
+
};
|
|
183
|
+
export const FactorySessionStatus = {
|
|
184
|
+
// The session runtime is actively processing work.
|
|
185
|
+
ACTIVE: "ACTIVE",
|
|
186
|
+
// The session runtime is available but not currently processing work.
|
|
187
|
+
IDLE: "IDLE",
|
|
188
|
+
// The session runtime has reached a terminal finished state.
|
|
189
|
+
FINISHED: "FINISHED",
|
|
190
|
+
};
|
|
191
|
+
export const FactorySessionJavaScriptScriptStatus = {
|
|
192
|
+
// The script runtime is loaded but not executing.
|
|
193
|
+
IDLE: "IDLE",
|
|
194
|
+
// The script runtime is actively executing workflow logic.
|
|
195
|
+
RUNNING: "RUNNING",
|
|
196
|
+
// The script runtime is paused and not scheduling new work.
|
|
197
|
+
PAUSED: "PAUSED",
|
|
198
|
+
// The script runtime finished successfully.
|
|
199
|
+
FINISHED: "FINISHED",
|
|
200
|
+
// The script runtime failed and is not scheduling new work.
|
|
201
|
+
FAILED: "FAILED",
|
|
202
|
+
};
|
|
203
|
+
export const FactorySessionSyncPreflightReasonCode = {
|
|
204
|
+
ok: "ok",
|
|
205
|
+
cursor_stale: "cursor_stale",
|
|
206
|
+
session_not_found: "session_not_found",
|
|
207
|
+
logical_session_remap: "logical_session_remap",
|
|
208
|
+
invalid_target_reference: "invalid_target_reference",
|
|
209
|
+
logical_session_unresolved: "logical_session_unresolved",
|
|
210
|
+
};
|
|
211
|
+
export const FactorySessionResultMode = {
|
|
212
|
+
FactorySessionResultModeFinal: "final",
|
|
213
|
+
FactorySessionResultModePartial: "partial",
|
|
214
|
+
};
|
|
215
|
+
export const FactorySessionArtifactRetrievalRefMethod = {
|
|
216
|
+
GET: "GET",
|
|
217
|
+
};
|
|
218
|
+
export const FactoryDispatchKind = {
|
|
219
|
+
// Petri transition dispatch owned by the factory engine.
|
|
220
|
+
FactoryDispatchKindPETRITRANSITION: "PETRI_TRANSITION",
|
|
221
|
+
// JavaScript workflow child-agent dispatch.
|
|
222
|
+
FactoryDispatchKindJAVASCRIPTAGENT: "JAVASCRIPT_AGENT",
|
|
223
|
+
// JavaScript workflow verify task dispatch.
|
|
224
|
+
FactoryDispatchKindJAVASCRIPTVERIFY: "JAVASCRIPT_VERIFY",
|
|
225
|
+
// JavaScript workflow synthesize task dispatch.
|
|
226
|
+
FactoryDispatchKindJAVASCRIPTSYNTHESIZE: "JAVASCRIPT_SYNTHESIZE",
|
|
227
|
+
// JavaScript workflow tool task dispatch.
|
|
228
|
+
FactoryDispatchKindJAVASCRIPTTOOL: "JAVASCRIPT_TOOL",
|
|
229
|
+
// JavaScript workflow script task dispatch.
|
|
230
|
+
FactoryDispatchKindJAVASCRIPTSCRIPT: "JAVASCRIPT_SCRIPT",
|
|
231
|
+
// JavaScript workflow system task dispatch.
|
|
232
|
+
FactoryDispatchKindJAVASCRIPTSYSTEM: "JAVASCRIPT_SYSTEM",
|
|
233
|
+
};
|
|
234
|
+
export const FactoryDispatchStatus = {
|
|
235
|
+
// Dispatch is waiting to start.
|
|
236
|
+
FactoryDispatchStatusQUEUED: "QUEUED",
|
|
237
|
+
// Dispatch is currently executing.
|
|
238
|
+
FactoryDispatchStatusRUNNING: "RUNNING",
|
|
239
|
+
// Dispatch completed successfully.
|
|
240
|
+
FactoryDispatchStatusCOMPLETED: "COMPLETED",
|
|
241
|
+
// Dispatch failed or was rejected.
|
|
242
|
+
FactoryDispatchStatusFAILED: "FAILED",
|
|
243
|
+
// Dispatch was interrupted before normal completion.
|
|
244
|
+
FactoryDispatchStatusINTERRUPTED: "INTERRUPTED",
|
|
245
|
+
};
|
|
246
|
+
export const FactoryDispatchJavaScriptTaskKind = {
|
|
247
|
+
// Child-agent task dispatch.
|
|
248
|
+
FactoryDispatchJavaScriptTaskKindAGENT: "AGENT",
|
|
249
|
+
// Verify task dispatch.
|
|
250
|
+
FactoryDispatchJavaScriptTaskKindVERIFY: "VERIFY",
|
|
251
|
+
// Synthesize task dispatch.
|
|
252
|
+
FactoryDispatchJavaScriptTaskKindSYNTHESIZE: "SYNTHESIZE",
|
|
253
|
+
// Tool task dispatch.
|
|
254
|
+
FactoryDispatchJavaScriptTaskKindTOOL: "TOOL",
|
|
255
|
+
// Script task dispatch.
|
|
256
|
+
FactoryDispatchJavaScriptTaskKindSCRIPT: "SCRIPT",
|
|
257
|
+
// System task dispatch.
|
|
258
|
+
FactoryDispatchJavaScriptTaskKindSYSTEM: "SYSTEM",
|
|
259
|
+
};
|
|
260
|
+
export const FactoryArtifactKind = {
|
|
261
|
+
// Final session result artifact.
|
|
262
|
+
FactoryArtifactKindFINALRESULT: "FINAL_RESULT",
|
|
263
|
+
// Child dispatch result artifact.
|
|
264
|
+
FactoryArtifactKindCHILDRESULT: "CHILD_RESULT",
|
|
265
|
+
// Finding artifact produced by a workflow task.
|
|
266
|
+
FactoryArtifactKindFINDING: "FINDING",
|
|
267
|
+
// Patch artifact produced by a workflow task.
|
|
268
|
+
FactoryArtifactKindPATCH: "PATCH",
|
|
269
|
+
// Log artifact produced by a workflow task.
|
|
270
|
+
FactoryArtifactKindLOG: "LOG",
|
|
271
|
+
// Dataset artifact produced by a workflow task.
|
|
272
|
+
FactoryArtifactKindDATASET: "DATASET",
|
|
273
|
+
// JavaScript workflow checkpoint bundle owned by the orchestrator runtime.
|
|
274
|
+
FactoryArtifactKindCHECKPOINT: "CHECKPOINT",
|
|
275
|
+
// Worktree summary artifact produced by a workflow task.
|
|
276
|
+
FactoryArtifactKindWORKTREESUMMARY: "WORKTREE_SUMMARY",
|
|
277
|
+
};
|
|
278
|
+
export const FactoryArtifactVisibility = {
|
|
279
|
+
// Customer-visible artifact metadata and authorized content access.
|
|
280
|
+
FactoryArtifactVisibilityPUBLIC: "PUBLIC",
|
|
281
|
+
// Orchestrator-owned checkpoint payload kept behind refs and internal store records.
|
|
282
|
+
FactoryArtifactVisibilityINTERNALCHECKPOINT: "INTERNAL_CHECKPOINT",
|
|
283
|
+
};
|
|
284
|
+
export const FactoryArtifactAuditMode = {
|
|
285
|
+
// Artifact was captured without additional audit processing.
|
|
286
|
+
FactoryArtifactAuditModeNONE: "NONE",
|
|
287
|
+
// Artifact content was redacted before storage.
|
|
288
|
+
FactoryArtifactAuditModeREDACTED: "REDACTED",
|
|
289
|
+
// Artifact content was captured in full for authorized inspection.
|
|
290
|
+
FactoryArtifactAuditModeFULL: "FULL",
|
|
291
|
+
};
|
|
292
|
+
export const FactoryEventSessionResultStatus = {
|
|
293
|
+
// The durable session result is not yet available for the requested mode.
|
|
294
|
+
FactoryEventSessionResultStatusNotReady: "NOT_READY",
|
|
295
|
+
// A partial customer-visible result is available before terminal completion.
|
|
296
|
+
FactoryEventSessionResultStatusPartial: "PARTIAL",
|
|
297
|
+
// The final customer-visible result is available.
|
|
298
|
+
FactoryEventSessionResultStatusFinal: "FINAL",
|
|
299
|
+
// Terminal failure occurred after partial customer-visible results were recorded.
|
|
300
|
+
FactoryEventSessionResultStatusFailedWithPartial: "FAILED_WITH_PARTIAL",
|
|
301
|
+
// The durable session result is unavailable for the requested mode.
|
|
302
|
+
FactoryEventSessionResultStatusUnavailable: "UNAVAILABLE",
|
|
303
|
+
};
|
|
304
|
+
export const OrchestratorPhaseStatus = {
|
|
305
|
+
// The phase is currently active.
|
|
306
|
+
ACTIVE: "ACTIVE",
|
|
307
|
+
// The phase completed successfully.
|
|
308
|
+
COMPLETED: "COMPLETED",
|
|
309
|
+
// The phase was skipped without execution.
|
|
310
|
+
SKIPPED: "SKIPPED",
|
|
311
|
+
};
|
|
312
|
+
export const CheckpointResumabilityStatus = {
|
|
313
|
+
// The checkpoint can be used to resume execution.
|
|
314
|
+
RESUMABLE: "RESUMABLE",
|
|
315
|
+
// The checkpoint cannot be used to resume execution.
|
|
316
|
+
NOT_RESUMABLE: "NOT_RESUMABLE",
|
|
317
|
+
// Resumability could not be determined from replay-safe metadata.
|
|
318
|
+
UNKNOWN: "UNKNOWN",
|
|
319
|
+
};
|
|
320
|
+
export const DispatchReconciliationSource = {
|
|
321
|
+
// Reconciliation facts were emitted while replaying missed stream events.
|
|
322
|
+
STREAM_REPLAY: "STREAM_REPLAY",
|
|
323
|
+
// Reconciliation facts were derived from provider-session state.
|
|
324
|
+
PROVIDER_SESSION: "PROVIDER_SESSION",
|
|
325
|
+
// Reconciliation facts were derived from durable dispatch state.
|
|
326
|
+
DURABLE_STATE: "DURABLE_STATE",
|
|
327
|
+
// Reconciliation facts were produced by the runtime reconciler after a stream drop.
|
|
328
|
+
RUNTIME_RECONCILER: "RUNTIME_RECONCILER",
|
|
329
|
+
};
|
|
330
|
+
export const FactorySessionListScope = {
|
|
331
|
+
FactorySessionListScopeLive: "live",
|
|
332
|
+
FactorySessionListScopePersisted: "persisted",
|
|
333
|
+
FactorySessionListScopeAll: "all",
|
|
334
|
+
};
|
|
335
|
+
export const FactorySessionResultStatus = {
|
|
336
|
+
FactorySessionResultStatusNotReady: "NOT_READY",
|
|
337
|
+
FactorySessionResultStatusPartial: "PARTIAL",
|
|
338
|
+
FactorySessionResultStatusFinal: "FINAL",
|
|
339
|
+
FactorySessionResultStatusFailedWithPartial: "FAILED_WITH_PARTIAL",
|
|
340
|
+
FactorySessionResultStatusUnavailable: "UNAVAILABLE",
|
|
341
|
+
};
|
|
342
|
+
export const FactorySessionExecutionSourceKind = {
|
|
343
|
+
// Resolve a stored named factory by customer-facing factory id.
|
|
344
|
+
FactorySessionExecutionSourceKindFactoryId: "FACTORY_ID",
|
|
345
|
+
// Resolve an inline factory definition supplied in the execution request.
|
|
346
|
+
FactorySessionExecutionSourceKindFactoryInline: "FACTORY_INLINE",
|
|
347
|
+
// Resolve a workflow file using documented workflow search order.
|
|
348
|
+
FactorySessionExecutionSourceKindWorkflowFile: "WORKFLOW_FILE",
|
|
349
|
+
// Resolve a workflow by authored workflow name using documented search order.
|
|
350
|
+
FactorySessionExecutionSourceKindWorkflowName: "WORKFLOW_NAME",
|
|
351
|
+
// Resolve inline workflow source supplied directly in the execution request.
|
|
352
|
+
FactorySessionExecutionSourceKindInlineWorkflow: "INLINE_WORKFLOW",
|
|
353
|
+
};
|
|
354
|
+
export const FactorySessionEventStreamRecoveryOutcome = {
|
|
355
|
+
STREAM_READY: "STREAM_READY",
|
|
356
|
+
CURSOR_STALE: "CURSOR_STALE",
|
|
357
|
+
UNKNOWN_SESSION: "UNKNOWN_SESSION",
|
|
358
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
359
|
+
};
|
|
360
|
+
export const FactorySessionWorkflowSourceResolutionOrder = {
|
|
361
|
+
// Search project-local `.claude/workflows` first for workflow file and name sources.
|
|
362
|
+
FactorySessionWorkflowSourceResolutionOrderProjectClaudeWorkflows: "PROJECT_CLAUDE_WORKFLOWS",
|
|
363
|
+
// Search user-local `~/.you-agent-factory/workflows` when project-local search misses.
|
|
364
|
+
FactorySessionWorkflowSourceResolutionOrderUserYouAgentFactoryWorkflows: "USER_YOU_AGENT_FACTORY_WORKFLOWS",
|
|
365
|
+
// Search package-relative workflow directories for the active project or package.
|
|
366
|
+
FactorySessionWorkflowSourceResolutionOrderPackageRelativeWorkflowDirectories: "PACKAGE_RELATIVE_WORKFLOW_DIRECTORIES",
|
|
367
|
+
// Search built-in/global JavaScript factories when no authored workflow file matches.
|
|
368
|
+
FactorySessionWorkflowSourceResolutionOrderBuiltinGlobalJavaScriptFactories: "BUILTIN_GLOBAL_JAVASCRIPT_FACTORIES",
|
|
369
|
+
// Resolve an explicit named factory when requested or when workflow resolution requires factory fallback.
|
|
370
|
+
FactorySessionWorkflowSourceResolutionOrderExplicitFactoryLookup: "EXPLICIT_FACTORY_LOOKUP",
|
|
371
|
+
};
|
|
372
|
+
export const FactorySessionDurableLifecycleStatus = {
|
|
373
|
+
FactorySessionDurableLifecycleStatusQueued: "QUEUED",
|
|
374
|
+
FactorySessionDurableLifecycleStatusAwaitingApproval: "AWAITING_APPROVAL",
|
|
375
|
+
FactorySessionDurableLifecycleStatusRunning: "RUNNING",
|
|
376
|
+
FactorySessionDurableLifecycleStatusPaused: "PAUSED",
|
|
377
|
+
FactorySessionDurableLifecycleStatusResuming: "RESUMING",
|
|
378
|
+
FactorySessionDurableLifecycleStatusSucceeded: "SUCCEEDED",
|
|
379
|
+
FactorySessionDurableLifecycleStatusFailed: "FAILED",
|
|
380
|
+
FactorySessionDurableLifecycleStatusCanceling: "CANCELING",
|
|
381
|
+
FactorySessionDurableLifecycleStatusCanceled: "CANCELED",
|
|
382
|
+
FactorySessionDurableLifecycleStatusTimedOut: "TIMED_OUT",
|
|
383
|
+
FactorySessionDurableLifecycleStatusInterrupted: "INTERRUPTED",
|
|
384
|
+
FactorySessionDurableLifecycleStatusTerminated: "TERMINATED",
|
|
385
|
+
};
|
|
386
|
+
export const FactorySessionSyncExecutionOutcome = {
|
|
387
|
+
// The session reached a terminal result before the sync wait timeout.
|
|
388
|
+
FactorySessionSyncExecutionOutcomeCompleted: "COMPLETED",
|
|
389
|
+
// The sync wait ended by timeout before a terminal result was available.
|
|
390
|
+
FactorySessionSyncExecutionOutcomeTimedOut: "TIMED_OUT",
|
|
391
|
+
// The sync wait ended while the session was still non-terminal and no timeout occurred.
|
|
392
|
+
FactorySessionSyncExecutionOutcomeStillRunning: "STILL_RUNNING",
|
|
393
|
+
};
|
|
394
|
+
export const FactorySessionLifecycleControlKind = {
|
|
395
|
+
// Approve requested orchestrator policy so execution can proceed.
|
|
396
|
+
FactorySessionLifecycleControlKindApprove: "APPROVE",
|
|
397
|
+
// Pause active Factory Session scheduling while preserving inspectable state and buffered work.
|
|
398
|
+
FactorySessionLifecycleControlKindPause: "PAUSE",
|
|
399
|
+
// Resume a paused Factory Session and drain ready buffered work.
|
|
400
|
+
FactorySessionLifecycleControlKindResume: "RESUME",
|
|
401
|
+
// Request graceful cancellation while preserving partial results and artifacts.
|
|
402
|
+
FactorySessionLifecycleControlKindCancel: "CANCEL",
|
|
403
|
+
// Forcefully terminate a durable session while preserving inspectable state.
|
|
404
|
+
FactorySessionLifecycleControlKindTerminate: "TERMINATE",
|
|
405
|
+
// Retry one failed or interrupted dispatch within the targeted session.
|
|
406
|
+
FactorySessionLifecycleControlKindRetryDispatch: "RETRY_DISPATCH",
|
|
407
|
+
// Interrupt one active dispatch within the targeted session.
|
|
408
|
+
FactorySessionLifecycleControlKindInterruptDispatch: "INTERRUPT_DISPATCH",
|
|
409
|
+
};
|
|
410
|
+
export const FactorySessionLifecycleControlOutcome = {
|
|
411
|
+
// Control request was accepted and may complete asynchronously.
|
|
412
|
+
FactorySessionLifecycleControlOutcomeAccepted: "ACCEPTED",
|
|
413
|
+
// Session already satisfies the requested control; no state change was applied.
|
|
414
|
+
FactorySessionLifecycleControlOutcomeNoOp: "NO_OP",
|
|
415
|
+
// Current session state does not allow the requested control.
|
|
416
|
+
FactorySessionLifecycleControlOutcomeInvalidState: "INVALID_STATE",
|
|
417
|
+
// Session is terminal and cannot accept the requested control.
|
|
418
|
+
FactorySessionLifecycleControlOutcomeTerminalSession: "TERMINAL_SESSION",
|
|
419
|
+
// Control request conflicts with current session state or another in-flight control.
|
|
420
|
+
FactorySessionLifecycleControlOutcomeConflict: "CONFLICT",
|
|
421
|
+
};
|
|
422
|
+
export const LoadableProviderSessionProvider = {
|
|
423
|
+
Codex: "codex",
|
|
424
|
+
Cursor: "cursor",
|
|
425
|
+
};
|
|
426
|
+
export const LoadableProviderSessionKind = {
|
|
427
|
+
SessionID: "session_id",
|
|
428
|
+
};
|
|
429
|
+
export const ProviderSessionTranscriptEntryType = {
|
|
430
|
+
user_message: "user_message",
|
|
431
|
+
assistant_message: "assistant_message",
|
|
432
|
+
reasoning: "reasoning",
|
|
433
|
+
tool_call: "tool_call",
|
|
434
|
+
tool_output: "tool_output",
|
|
435
|
+
system_event: "system_event",
|
|
436
|
+
};
|
|
437
|
+
export const FactoryWorldWorkItemRefPayloadStatus = {
|
|
438
|
+
RESOLVED: "RESOLVED",
|
|
439
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
440
|
+
LOADING: "LOADING",
|
|
441
|
+
ERROR: "ERROR",
|
|
442
|
+
};
|
|
443
|
+
export const FactoryWorldWorkItemRefLineageSourceKind = {
|
|
444
|
+
WORK_REQUEST: "WORK_REQUEST",
|
|
445
|
+
DISPATCH_RESPONSE_OUTPUT: "DISPATCH_RESPONSE_OUTPUT",
|
|
446
|
+
};
|
|
447
|
+
export const FactoryWorldWorkItemRefLineageContinuity = {
|
|
448
|
+
INITIAL_SUBMISSION: "INITIAL_SUBMISSION",
|
|
449
|
+
SAME_WORK_ID_CONTINUATION: "SAME_WORK_ID_CONTINUATION",
|
|
450
|
+
NEW_DOWNSTREAM_WORK: "NEW_DOWNSTREAM_WORK",
|
|
451
|
+
};
|
|
452
|
+
export const FactoryWorldRunnerBaselineCapability = {
|
|
453
|
+
prompt_submission: "prompt_submission",
|
|
454
|
+
tool_execution: "tool_execution",
|
|
455
|
+
};
|
|
456
|
+
export const FactoryWorldRunnerOptionalCapability = {
|
|
457
|
+
image_input: "image_input",
|
|
458
|
+
session_resume: "session_resume",
|
|
459
|
+
structured_output: "structured_output",
|
|
460
|
+
working_directory: "working_directory",
|
|
461
|
+
worktree: "worktree",
|
|
462
|
+
};
|
|
463
|
+
export const FactoryWorldRunnerOptionalCapabilityStatus = {
|
|
464
|
+
supported: "supported",
|
|
465
|
+
unsupported: "unsupported",
|
|
466
|
+
};
|
|
467
|
+
export const FactoryEventSchemaVersion = {
|
|
468
|
+
// Initial unified Agent Factory event schema.
|
|
469
|
+
agent_factory_event_v1: "agent-factory.event.v1",
|
|
470
|
+
};
|
|
471
|
+
export const FactoryRecordingSchemaVersion = {
|
|
472
|
+
agent_factory_recording_v1: "agent-factory.recording.v1",
|
|
473
|
+
};
|
|
474
|
+
export const FactoryEventType = {
|
|
475
|
+
// A factory run request was recorded and its effective runtime configuration is known.
|
|
476
|
+
FactoryEventTypeRunRequest: "RUN_REQUEST",
|
|
477
|
+
// The static factory topology and configured resources are available before work moves.
|
|
478
|
+
FactoryEventTypeInitialStructureRequest: "INITIAL_STRUCTURE_REQUEST",
|
|
479
|
+
// The running factory definition changed and a canonical replacement topology is now active.
|
|
480
|
+
FactoryEventTypeFactoryChange: "FACTORY_CHANGE",
|
|
481
|
+
// Work entered the factory as a normalized request.
|
|
482
|
+
FactoryEventTypeWorkRequest: "WORK_REQUEST",
|
|
483
|
+
// A relationship-change request between work items was recorded.
|
|
484
|
+
FactoryEventTypeRelationshipChangeRequest: "RELATIONSHIP_CHANGE_REQUEST",
|
|
485
|
+
// A workstation request began processing a set of input work.
|
|
486
|
+
FactoryEventTypeDispatchRequest: "DISPATCH_REQUEST",
|
|
487
|
+
// A model-backed worker invocation request is about to enter resource, load, and execution boundaries.
|
|
488
|
+
FactoryEventTypeModelRequest: "MODEL_REQUEST",
|
|
489
|
+
// A model-backed worker invocation returned with resource, load, output, and failure evidence.
|
|
490
|
+
FactoryEventTypeModelResponse: "MODEL_RESPONSE",
|
|
491
|
+
// A model-worker provider attempt is about to send a prompt to the provider.
|
|
492
|
+
FactoryEventTypeInferenceRequest: "INFERENCE_REQUEST",
|
|
493
|
+
// A model-worker provider attempt returned from the provider boundary.
|
|
494
|
+
FactoryEventTypeInferenceResponse: "INFERENCE_RESPONSE",
|
|
495
|
+
// A script-backed worker is about to invoke one concrete command attempt.
|
|
496
|
+
FactoryEventTypeScriptRequest: "SCRIPT_REQUEST",
|
|
497
|
+
// A script-backed worker command attempt returned or failed before a normal exit.
|
|
498
|
+
FactoryEventTypeScriptResponse: "SCRIPT_RESPONSE",
|
|
499
|
+
// An AGENT_RUN workstation agent loop completed and returned bounded inspection metadata.
|
|
500
|
+
FactoryEventTypeAgentRunResponse: "AGENT_RUN_RESPONSE",
|
|
501
|
+
// A workstation response finished processing and produced an outcome.
|
|
502
|
+
FactoryEventTypeDispatchResponse: "DISPATCH_RESPONSE",
|
|
503
|
+
// A work item moved between authored marking states.
|
|
504
|
+
FactoryEventTypeWorkStateChange: "WORK_STATE_CHANGE",
|
|
505
|
+
// The factory lifecycle state response was recorded.
|
|
506
|
+
FactoryEventTypeFactoryStateResponse: "FACTORY_STATE_RESPONSE",
|
|
507
|
+
// A factory run response ended and final metadata is available.
|
|
508
|
+
FactoryEventTypeRunResponse: "RUN_RESPONSE",
|
|
509
|
+
// Durable factory session execution started and replay-safe session facts are available.
|
|
510
|
+
FactoryEventTypeSessionStarted: "SESSION_STARTED",
|
|
511
|
+
// A Factory Session lifecycle pause control transitioned the session into PAUSED.
|
|
512
|
+
FactoryEventTypeSessionPaused: "SESSION_PAUSED",
|
|
513
|
+
// A Factory Session lifecycle resume control transitioned the session into RUNNING.
|
|
514
|
+
FactoryEventTypeSessionResumed: "SESSION_RESUMED",
|
|
515
|
+
// Partial or final customer-visible session result availability was recorded.
|
|
516
|
+
FactoryEventTypeSessionResultUpdated: "SESSION_RESULT_UPDATED",
|
|
517
|
+
// Durable factory session execution reached a terminal lifecycle state.
|
|
518
|
+
FactoryEventTypeSessionCompleted: "SESSION_COMPLETED",
|
|
519
|
+
// Durable factory session lifecycle control was applied or recorded for replay.
|
|
520
|
+
FactoryEventTypeSessionLifecycleControl: "SESSION_LIFECYCLE_CONTROL",
|
|
521
|
+
// An orchestrator workflow phase transition was recorded.
|
|
522
|
+
FactoryEventTypeOrchestratorPhaseChanged: "ORCHESTRATOR_PHASE_CHANGED",
|
|
523
|
+
// An orchestrator checkpoint reference was recorded without exposing raw VM state.
|
|
524
|
+
FactoryEventTypeOrchestratorCheckpointWritten: "ORCHESTRATOR_CHECKPOINT_WRITTEN",
|
|
525
|
+
// A child dispatch was queued for execution.
|
|
526
|
+
FactoryEventTypeDispatchQueued: "DISPATCH_QUEUED",
|
|
527
|
+
// A dispatch was interrupted before completion.
|
|
528
|
+
FactoryEventTypeDispatchInterrupted: "DISPATCH_INTERRUPTED",
|
|
529
|
+
// Durable dispatch state was reconciled after interruption or stream loss.
|
|
530
|
+
FactoryEventTypeDispatchReconciled: "DISPATCH_RECONCILED",
|
|
531
|
+
// A JavaScript workflow checkpoint reference was recorded without exposing raw VM state.
|
|
532
|
+
FactoryEventTypeJavaScriptCheckpointRef: "JAVASCRIPT_CHECKPOINT_REF",
|
|
533
|
+
// A JavaScript workflow phase transition was recorded without using Petri marking terminology.
|
|
534
|
+
FactoryEventTypeJavaScriptPhaseChange: "JAVASCRIPT_PHASE_CHANGE",
|
|
535
|
+
// A customer-visible factory artifact was created without exposing raw artifact bodies.
|
|
536
|
+
FactoryEventTypeArtifactCreated: "ARTIFACT_CREATED",
|
|
537
|
+
};
|
|
538
|
+
export const WorkStateChangeSource = {
|
|
539
|
+
// Operator move through the HTTP API.
|
|
540
|
+
WorkStateChangeSourceAPI: "api",
|
|
541
|
+
// Operator move through the CLI.
|
|
542
|
+
WorkStateChangeSourceCLI: "cli",
|
|
543
|
+
// Automatic cascade propagation after a dependency failure.
|
|
544
|
+
WorkStateChangeSourceCascadingFailure: "cascading-failure",
|
|
545
|
+
};
|
|
546
|
+
export const InferenceOutcome = {
|
|
547
|
+
// The provider attempt returned a successful response.
|
|
548
|
+
InferenceOutcomeSucceeded: "SUCCEEDED",
|
|
549
|
+
// The provider attempt failed before returning a successful response.
|
|
550
|
+
InferenceOutcomeFailed: "FAILED",
|
|
551
|
+
};
|
|
552
|
+
export const ScriptExecutionOutcome = {
|
|
553
|
+
// The command started and exited with code 0.
|
|
554
|
+
ScriptExecutionOutcomeSucceeded: "SUCCEEDED",
|
|
555
|
+
// The command started and exited with a non-zero status code.
|
|
556
|
+
ScriptExecutionOutcomeFailedExitCode: "FAILED_EXIT_CODE",
|
|
557
|
+
// The command did not finish before the execution timeout expired.
|
|
558
|
+
ScriptExecutionOutcomeTimedOut: "TIMED_OUT",
|
|
559
|
+
// The command failed before returning a normal process exit code.
|
|
560
|
+
ScriptExecutionOutcomeProcessError: "PROCESS_ERROR",
|
|
561
|
+
};
|
|
562
|
+
export const ScriptFailureType = {
|
|
563
|
+
// The command exceeded its execution deadline before returning an exit code.
|
|
564
|
+
ScriptFailureTypeTimeout: "TIMEOUT",
|
|
565
|
+
// The command could not be started or was interrupted before returning an exit code.
|
|
566
|
+
ScriptFailureTypeProcessError: "PROCESS_ERROR",
|
|
567
|
+
};
|
|
568
|
+
export const FactoryState = {
|
|
569
|
+
// The factory has no active work and is waiting to start or receive input.
|
|
570
|
+
FactoryStateIdle: "IDLE",
|
|
571
|
+
// The factory is actively processing work.
|
|
572
|
+
FactoryStateRunning: "RUNNING",
|
|
573
|
+
// The factory is intentionally paused and should not schedule new work.
|
|
574
|
+
FactoryStatePaused: "PAUSED",
|
|
575
|
+
// The factory finished all required work successfully.
|
|
576
|
+
FactoryStateCompleted: "COMPLETED",
|
|
577
|
+
// The factory stopped because work or runtime execution failed.
|
|
578
|
+
FactoryStateFailed: "FAILED",
|
|
579
|
+
};
|
|
580
|
+
export const WorkOutcome = {
|
|
581
|
+
// The workstation accepted the input and completed its intended work.
|
|
582
|
+
WorkOutcomeAccepted: "ACCEPTED",
|
|
583
|
+
// The workstation made partial progress and should follow the continue route for another iteration.
|
|
584
|
+
WorkOutcomeContinue: "CONTINUE",
|
|
585
|
+
// The workstation completed normally but rejected the input for business reasons.
|
|
586
|
+
WorkOutcomeRejected: "REJECTED",
|
|
587
|
+
// The workstation could not complete because execution crashed, timed out, or hit a system error.
|
|
588
|
+
WorkOutcomeFailed: "FAILED",
|
|
589
|
+
};
|
|
590
|
+
export const WorkFailureFamily = {
|
|
591
|
+
// The failure is final and should not be retried automatically.
|
|
592
|
+
WorkFailureFamilyTerminal: "terminal",
|
|
593
|
+
// The failure may succeed on a later retry without manual intervention.
|
|
594
|
+
WorkFailureFamilyRetryable: "retryable",
|
|
595
|
+
// The failure indicates upstream throttling and should follow throttling-specific retry behavior.
|
|
596
|
+
WorkFailureFamilyThrottle: "throttle",
|
|
597
|
+
};
|
|
598
|
+
export const WorkFailureType = {
|
|
599
|
+
// Authentication or authorization failed and operator action is required.
|
|
600
|
+
WorkFailureTypeAuthFailure: "auth_failure",
|
|
601
|
+
// The request is invalid in a non-retryable way and should be fixed before retrying.
|
|
602
|
+
WorkFailureTypePermanentBadRequest: "permanent_bad_request",
|
|
603
|
+
// The dependency rejected the request because of throttling or capacity limits.
|
|
604
|
+
WorkFailureTypeThrottled: "throttled",
|
|
605
|
+
// The dependency or runtime failed with a retryable internal error.
|
|
606
|
+
WorkFailureTypeInternalServerError: "internal_server_error",
|
|
607
|
+
// The work exceeded a configured deadline before completing.
|
|
608
|
+
WorkFailureTypeTimeout: "timeout",
|
|
609
|
+
// The runtime could not classify the failure into a more specific stable type.
|
|
610
|
+
WorkFailureTypeUnknown: "unknown",
|
|
611
|
+
// The worker or runtime was misconfigured and requires operator intervention.
|
|
612
|
+
WorkFailureTypeMisconfigured: "misconfigured",
|
|
613
|
+
// The configured provider executable could not be found.
|
|
614
|
+
WorkFailureTypeMissingExecutable: "missing_executable",
|
|
615
|
+
// The provider command exceeded the operating system command-line size limit.
|
|
616
|
+
WorkFailureTypeCommandLineTooLong: "command_line_too_long",
|
|
617
|
+
};
|
|
618
|
+
export const SafeAgentRunDiagnosticExecutionBehavior = {
|
|
619
|
+
// Agent-loop execution through AGENT_RUN workstations.
|
|
620
|
+
agent_run: "agent_run",
|
|
621
|
+
};
|
|
622
|
+
export const FactoryResponseEventSchemaVersion = {
|
|
623
|
+
// Initial unified Factory response-event schema aligned with Story 01 vocabulary.
|
|
624
|
+
agent_factory_response_event_v1: "agent-factory.response-event.v1",
|
|
625
|
+
};
|
|
626
|
+
export const FactoryResponseEventKind = {
|
|
627
|
+
// Session-scoped lifecycle and capability metadata.
|
|
628
|
+
FactoryResponseEventKindSession: "SESSION",
|
|
629
|
+
// Run-scoped lifecycle metadata.
|
|
630
|
+
FactoryResponseEventKindRun: "RUN",
|
|
631
|
+
// Turn-scoped lifecycle metadata.
|
|
632
|
+
FactoryResponseEventKindTurn: "TURN",
|
|
633
|
+
// Assistant or user message snapshots and deltas.
|
|
634
|
+
FactoryResponseEventKindMessage: "MESSAGE",
|
|
635
|
+
// Reasoning summary snapshots and deltas.
|
|
636
|
+
FactoryResponseEventKindReasoning: "REASONING",
|
|
637
|
+
// Tool lifecycle metadata and bounded summaries.
|
|
638
|
+
FactoryResponseEventKindTool: "TOOL",
|
|
639
|
+
// Observed file mutation notifications.
|
|
640
|
+
FactoryResponseEventKindFileChange: "FILE_CHANGE",
|
|
641
|
+
// Published plan updates.
|
|
642
|
+
FactoryResponseEventKindPlan: "PLAN",
|
|
643
|
+
// Coarse progress notifications.
|
|
644
|
+
FactoryResponseEventKindProgress: "PROGRESS",
|
|
645
|
+
// Token or model usage accounting.
|
|
646
|
+
FactoryResponseEventKindUsage: "USAGE",
|
|
647
|
+
// Provider-neutral error notifications with optional retry metadata.
|
|
648
|
+
FactoryResponseEventKindError: "ERROR",
|
|
649
|
+
// Discontinuity markers in the retained response-event stream.
|
|
650
|
+
FactoryResponseEventKindStreamGap: "STREAM_GAP",
|
|
651
|
+
};
|
|
652
|
+
export const FactoryResponseEventPhase = {
|
|
653
|
+
// The scoped entity or stream segment started.
|
|
654
|
+
FactoryResponseEventPhaseStarted: "STARTED",
|
|
655
|
+
// Incremental content arrived for a streaming kind.
|
|
656
|
+
FactoryResponseEventPhaseDelta: "DELTA",
|
|
657
|
+
// A notification-style payload was updated.
|
|
658
|
+
FactoryResponseEventPhaseUpdated: "UPDATED",
|
|
659
|
+
// The scoped entity or stream segment completed successfully.
|
|
660
|
+
FactoryResponseEventPhaseCompleted: "COMPLETED",
|
|
661
|
+
// The scoped entity or stream segment failed.
|
|
662
|
+
FactoryResponseEventPhaseFailed: "FAILED",
|
|
663
|
+
// The scoped entity or stream segment was canceled.
|
|
664
|
+
FactoryResponseEventPhaseCanceled: "CANCELED",
|
|
665
|
+
};
|
|
666
|
+
export const FactoryResponseEventProvenanceDelivery = {
|
|
667
|
+
// Observed from a provider-native streaming channel.
|
|
668
|
+
FactoryResponseEventProvenanceDeliveryNativeStream: "NATIVE_STREAM",
|
|
669
|
+
// Observed from a provider-native final-only channel.
|
|
670
|
+
FactoryResponseEventProvenanceDeliveryNativeFinal: "NATIVE_FINAL",
|
|
671
|
+
// Synthesized by the Factory adapter from non-streaming evidence.
|
|
672
|
+
FactoryResponseEventProvenanceDeliverySynthesized: "SYNTHESIZED",
|
|
673
|
+
// Replayed from retained session observation data.
|
|
674
|
+
FactoryResponseEventProvenanceDeliveryReplay: "REPLAY",
|
|
675
|
+
};
|
|
676
|
+
export const FactoryResponseEventProvenanceRepresentation = {
|
|
677
|
+
// Incremental delta payload semantics.
|
|
678
|
+
FactoryResponseEventProvenanceRepresentationDelta: "DELTA",
|
|
679
|
+
// Full snapshot payload semantics.
|
|
680
|
+
FactoryResponseEventProvenanceRepresentationSnapshot: "SNAPSHOT",
|
|
681
|
+
// Notification-style update semantics.
|
|
682
|
+
FactoryResponseEventProvenanceRepresentationNotification: "NOTIFICATION",
|
|
683
|
+
};
|
|
684
|
+
export const FactoryResponseEventProvenanceFidelity = {
|
|
685
|
+
// Public payload preserves provider-visible detail without loss.
|
|
686
|
+
FactoryResponseEventProvenanceFidelityLossless: "LOSSLESS",
|
|
687
|
+
// Public payload is normalized to the Factory vocabulary.
|
|
688
|
+
FactoryResponseEventProvenanceFidelityNormalized: "NORMALIZED",
|
|
689
|
+
// Public payload intentionally omits some provider detail.
|
|
690
|
+
FactoryResponseEventProvenanceFidelityLossy: "LOSSY",
|
|
691
|
+
// Only final provider outcomes are represented publicly.
|
|
692
|
+
FactoryResponseEventProvenanceFidelityFinalOnly: "FINAL_ONLY",
|
|
693
|
+
// Only lifecycle transitions are represented publicly.
|
|
694
|
+
FactoryResponseEventProvenanceFidelityLifecycleOnly: "LIFECYCLE_ONLY",
|
|
695
|
+
};
|
|
696
|
+
export const FactoryResponseEventContentBlockKind = {
|
|
697
|
+
// Inline assistant or user-visible text content.
|
|
698
|
+
FactoryResponseEventContentBlockKindText: "TEXT",
|
|
699
|
+
// Reasoning summary text exposed to consumers.
|
|
700
|
+
FactoryResponseEventContentBlockKindReasoningSummary: "REASONING_SUMMARY",
|
|
701
|
+
// Tool invocation request with bounded argument summary.
|
|
702
|
+
FactoryResponseEventContentBlockKindToolRequest: "TOOL_REQUEST",
|
|
703
|
+
// Reference to an image artifact or URL.
|
|
704
|
+
FactoryResponseEventContentBlockKindImageRef: "IMAGE_REF",
|
|
705
|
+
// Reference to a factory resource or artifact.
|
|
706
|
+
FactoryResponseEventContentBlockKindResourceRef: "RESOURCE_REF",
|
|
707
|
+
// Structured JSON output block.
|
|
708
|
+
FactoryResponseEventContentBlockKindStructuredOutput: "STRUCTURED_OUTPUT",
|
|
709
|
+
};
|
|
710
|
+
export const FactoryResponseEventTextContentBlockKind = {
|
|
711
|
+
TEXT: "TEXT",
|
|
712
|
+
};
|
|
713
|
+
export const FactoryResponseEventReasoningSummaryContentBlockKind = {
|
|
714
|
+
REASONING_SUMMARY: "REASONING_SUMMARY",
|
|
715
|
+
};
|
|
716
|
+
export const FactoryResponseEventToolRequestContentBlockKind = {
|
|
717
|
+
TOOL_REQUEST: "TOOL_REQUEST",
|
|
718
|
+
};
|
|
719
|
+
export const FactoryResponseEventImageRefContentBlockKind = {
|
|
720
|
+
IMAGE_REF: "IMAGE_REF",
|
|
721
|
+
};
|
|
722
|
+
export const FactoryResponseEventResourceRefContentBlockKind = {
|
|
723
|
+
RESOURCE_REF: "RESOURCE_REF",
|
|
724
|
+
};
|
|
725
|
+
export const FactoryResponseEventStructuredOutputContentBlockKind = {
|
|
726
|
+
STRUCTURED_OUTPUT: "STRUCTURED_OUTPUT",
|
|
727
|
+
};
|
|
728
|
+
export const FactorySaveMode = {
|
|
729
|
+
// Replace the factory already current in the selected live session.
|
|
730
|
+
FactorySaveModeReplaceCurrent: "REPLACE_CURRENT",
|
|
731
|
+
// Create or replace a named factory under the session root and activate it in that session.
|
|
732
|
+
FactorySaveModeUpsertNamedAndActivate: "UPSERT_NAMED_AND_ACTIVATE",
|
|
733
|
+
};
|
|
734
|
+
export const FactoryOrchestratorKind = {
|
|
735
|
+
PETRI: "PETRI",
|
|
736
|
+
JAVASCRIPT: "JAVASCRIPT",
|
|
737
|
+
};
|
|
738
|
+
export const FactoryOrchestratorJavaScriptInlineSourceEncoding = {
|
|
739
|
+
utf_8: "utf-8",
|
|
740
|
+
};
|
|
741
|
+
export const FactoryInvocationParameterBindingKind = {
|
|
742
|
+
POSITIONAL: "POSITIONAL",
|
|
743
|
+
NAMED: "NAMED",
|
|
744
|
+
STDIN: "STDIN",
|
|
745
|
+
NAMED_REST: "NAMED_REST",
|
|
746
|
+
};
|
|
747
|
+
export const FactoryInvocationParameterTypeHint = {
|
|
748
|
+
STRING: "STRING",
|
|
749
|
+
PATH: "PATH",
|
|
750
|
+
FILE_PATH: "FILE_PATH",
|
|
751
|
+
DIRECTORY_PATH: "DIRECTORY_PATH",
|
|
752
|
+
NUMBER_STRING: "NUMBER_STRING",
|
|
753
|
+
BOOLEAN_STRING: "BOOLEAN_STRING",
|
|
754
|
+
};
|
|
755
|
+
export const FactoryInvocationParameterValueMode = {
|
|
756
|
+
EXACT: "EXACT",
|
|
757
|
+
REPEATED: "REPEATED",
|
|
758
|
+
VARIADIC: "VARIADIC",
|
|
759
|
+
FILE_CONTENTS: "FILE_CONTENTS",
|
|
760
|
+
};
|
|
761
|
+
export const FactoryInvocationUnknownNamedArgumentPolicy = {
|
|
762
|
+
REJECT: "REJECT",
|
|
763
|
+
ALLOW: "ALLOW",
|
|
764
|
+
COLLECT: "COLLECT",
|
|
765
|
+
};
|
|
766
|
+
export const FactoryInvocationOutputContractMode = {
|
|
767
|
+
INLINE: "INLINE",
|
|
768
|
+
FILE: "FILE",
|
|
769
|
+
JSON: "JSON",
|
|
770
|
+
};
|
|
771
|
+
export const InvocationReturnPolicy = {
|
|
772
|
+
SUBMITTED_WORK_TERMINAL: "SUBMITTED_WORK_TERMINAL",
|
|
773
|
+
EXPLICIT: "EXPLICIT",
|
|
774
|
+
};
|
|
775
|
+
export const BundledFileType = {
|
|
776
|
+
SCRIPT: "SCRIPT",
|
|
777
|
+
DOC: "DOC",
|
|
778
|
+
INPUT: "INPUT",
|
|
779
|
+
ROOT_HELPER: "ROOT_HELPER",
|
|
780
|
+
};
|
|
781
|
+
export const BundledFileContentEncoding = {
|
|
782
|
+
utf_8: "utf-8",
|
|
783
|
+
};
|
|
784
|
+
export const InputKind = {
|
|
785
|
+
DEFAULT: "DEFAULT",
|
|
786
|
+
};
|
|
787
|
+
export const WorkStateType = {
|
|
788
|
+
INITIAL: "INITIAL",
|
|
789
|
+
PROCESSING: "PROCESSING",
|
|
790
|
+
TERMINAL: "TERMINAL",
|
|
791
|
+
FAILED: "FAILED",
|
|
792
|
+
};
|
|
793
|
+
export const ResourceType = {
|
|
794
|
+
MODEL: "MODEL",
|
|
795
|
+
PROVIDER_QUOTA: "PROVIDER_QUOTA",
|
|
796
|
+
INVOCATION_SLOT: "INVOCATION_SLOT",
|
|
797
|
+
};
|
|
798
|
+
export const AgentWorkerToolPolicy = {
|
|
799
|
+
DISABLED: "DISABLED",
|
|
800
|
+
READ_ONLY: "READ_ONLY",
|
|
801
|
+
ENABLED: "ENABLED",
|
|
802
|
+
};
|
|
803
|
+
export const WorkerType = {
|
|
804
|
+
INFERENCE_WORKER: "INFERENCE_WORKER",
|
|
805
|
+
AGENT_WORKER: "AGENT_WORKER",
|
|
806
|
+
SCRIPT_WORKER: "SCRIPT_WORKER",
|
|
807
|
+
POLLER_WORKER: "POLLER_WORKER",
|
|
808
|
+
MODEL_WORKER: "MODEL_WORKER",
|
|
809
|
+
HOSTED_WORKER: "HOSTED_WORKER",
|
|
810
|
+
};
|
|
811
|
+
export const WorkerModelProvider = {
|
|
812
|
+
CLAUDE: "CLAUDE",
|
|
813
|
+
CODEX: "CODEX",
|
|
814
|
+
CURSOR: "CURSOR",
|
|
815
|
+
GEMINI: "GEMINI",
|
|
816
|
+
KIRO: "KIRO",
|
|
817
|
+
OPENCODE: "OPENCODE",
|
|
818
|
+
PI: "PI",
|
|
819
|
+
AGY: "AGY",
|
|
820
|
+
};
|
|
821
|
+
export const WorkerModelLocality = {
|
|
822
|
+
LOCAL: "LOCAL",
|
|
823
|
+
CLOUD: "CLOUD",
|
|
824
|
+
};
|
|
825
|
+
export const WorkerProvider = {
|
|
826
|
+
SCRIPT_WRAP: "SCRIPT_WRAP",
|
|
827
|
+
};
|
|
828
|
+
export const ModelOperationContentType = {
|
|
829
|
+
TEXT: "TEXT",
|
|
830
|
+
IMAGE: "IMAGE",
|
|
831
|
+
AUDIO: "AUDIO",
|
|
832
|
+
JSON: "JSON",
|
|
833
|
+
BINARY: "BINARY",
|
|
834
|
+
};
|
|
835
|
+
export const RunnerID = {
|
|
836
|
+
codex: "codex",
|
|
837
|
+
gemini: "gemini",
|
|
838
|
+
kiro: "kiro",
|
|
839
|
+
cursor_cli: "cursor-cli",
|
|
840
|
+
opencode: "opencode",
|
|
841
|
+
pi: "pi",
|
|
842
|
+
};
|
|
843
|
+
export const RunnerSelectionSource = {
|
|
844
|
+
// Workstation-level runner override resolved the dispatch target.
|
|
845
|
+
workstation: "workstation",
|
|
846
|
+
// Factory-level default runner resolved the dispatch target.
|
|
847
|
+
factory: "factory",
|
|
848
|
+
// Worker modelProvider compatibility resolved the dispatch target when no explicit runner override is set.
|
|
849
|
+
legacy_provider: "legacy_provider",
|
|
850
|
+
// The documented default Codex runner resolved the dispatch target.
|
|
851
|
+
default: "default",
|
|
852
|
+
};
|
|
853
|
+
export const WorkstationOutcomeFormat = {
|
|
854
|
+
decision_envelope: "decision-envelope",
|
|
855
|
+
};
|
|
856
|
+
export const WorkstationKind = {
|
|
857
|
+
STANDARD: "STANDARD",
|
|
858
|
+
REPEATER: "REPEATER",
|
|
859
|
+
CRON: "CRON",
|
|
860
|
+
POLLER: "POLLER",
|
|
861
|
+
};
|
|
862
|
+
export const WorkstationType = {
|
|
863
|
+
INFERENCE_RUN: "INFERENCE_RUN",
|
|
864
|
+
AGENT_RUN: "AGENT_RUN",
|
|
865
|
+
SCRIPT_RUN: "SCRIPT_RUN",
|
|
866
|
+
POLLER_RUN: "POLLER_RUN",
|
|
867
|
+
MODEL_WORKSTATION: "MODEL_WORKSTATION",
|
|
868
|
+
MODEL_INVOKE: "MODEL_INVOKE",
|
|
869
|
+
LOGICAL_MOVE: "LOGICAL_MOVE",
|
|
870
|
+
CLASSIFIER_WORKSTATION: "CLASSIFIER_WORKSTATION",
|
|
871
|
+
};
|
|
872
|
+
export const WorkPropagationMode = {
|
|
873
|
+
OUTPUT_AS_PAYLOAD: "OUTPUT_AS_PAYLOAD",
|
|
874
|
+
PRESERVE_INPUT: "PRESERVE_INPUT",
|
|
875
|
+
};
|
|
876
|
+
export const GuardType = {
|
|
877
|
+
VISIT_COUNT: "VISIT_COUNT",
|
|
878
|
+
MATCHES_FIELDS: "MATCHES_FIELDS",
|
|
879
|
+
ALL_CHILDREN_COMPLETE: "ALL_CHILDREN_COMPLETE",
|
|
880
|
+
ANY_CHILD_FAILED: "ANY_CHILD_FAILED",
|
|
881
|
+
SAME_NAME: "SAME_NAME",
|
|
882
|
+
SAME_TRACE_ID: "SAME_TRACE_ID",
|
|
883
|
+
};
|
|
884
|
+
export const PromptTemplateVariableReferenceCategory = {
|
|
885
|
+
ROOT: "ROOT",
|
|
886
|
+
INPUT: "INPUT",
|
|
887
|
+
HISTORY: "HISTORY",
|
|
888
|
+
CONTEXT: "CONTEXT",
|
|
889
|
+
MAP_ACCESS: "MAP_ACCESS",
|
|
890
|
+
DOC: "DOC",
|
|
891
|
+
};
|
|
892
|
+
export const PromptTemplateDiagnosticKind = {
|
|
893
|
+
SYNTAX_ERROR: "SYNTAX_ERROR",
|
|
894
|
+
INVALID_VARIABLE: "INVALID_VARIABLE",
|
|
895
|
+
UNAVAILABLE_VARIABLE: "UNAVAILABLE_VARIABLE",
|
|
896
|
+
};
|
|
897
|
+
export const FactoryPreviewRequestSourceKind = {
|
|
898
|
+
FACTORY_ID: "FACTORY_ID",
|
|
899
|
+
FACTORY_INLINE: "FACTORY_INLINE",
|
|
900
|
+
WORKFLOW_FILE: "WORKFLOW_FILE",
|
|
901
|
+
WORKFLOW_NAME: "WORKFLOW_NAME",
|
|
902
|
+
INLINE_WORKFLOW: "INLINE_WORKFLOW",
|
|
903
|
+
};
|
|
904
|
+
export const FactoryValidationSeverity = {
|
|
905
|
+
FactoryValidationSeverityError: "error",
|
|
906
|
+
FactoryValidationSeverityWarning: "warning",
|
|
907
|
+
FactoryValidationSeverityHint: "hint",
|
|
908
|
+
};
|
|
909
|
+
export const FactoryValidationSubjectType = {
|
|
910
|
+
FactoryValidationSubjectTypeFactory: "FACTORY",
|
|
911
|
+
FactoryValidationSubjectTypeWorkstation: "WORKSTATION",
|
|
912
|
+
FactoryValidationSubjectTypeWorkType: "WORK_TYPE",
|
|
913
|
+
FactoryValidationSubjectTypeWorkState: "WORK_STATE",
|
|
914
|
+
FactoryValidationSubjectTypeWorker: "WORKER",
|
|
915
|
+
FactoryValidationSubjectTypeResource: "RESOURCE",
|
|
916
|
+
FactoryValidationSubjectTypeRoute: "ROUTE",
|
|
917
|
+
};
|
|
918
|
+
export const FactoryValidationSubjectLocation = {
|
|
919
|
+
FactoryValidationSubjectLocationOnRejection: "ON_REJECTION",
|
|
920
|
+
FactoryValidationSubjectLocationOnFailure: "ON_FAILURE",
|
|
921
|
+
FactoryValidationSubjectLocationOutputs: "OUTPUTS",
|
|
922
|
+
FactoryValidationSubjectLocationInputs: "INPUTS",
|
|
923
|
+
FactoryValidationSubjectLocationStates: "STATES",
|
|
924
|
+
FactoryValidationSubjectLocationTerminal: "TERMINAL",
|
|
925
|
+
FactoryValidationSubjectLocationReference: "REFERENCE",
|
|
926
|
+
FactoryValidationSubjectLocationDefinition: "DEFINITION",
|
|
927
|
+
};
|
|
928
|
+
export const WorkRequestType = {
|
|
929
|
+
// Normalized request containing one or more work items and their relationships.
|
|
930
|
+
WorkRequestTypeFactoryRequestBatch: "FACTORY_REQUEST_BATCH",
|
|
931
|
+
};
|
|
932
|
+
export const WorkContentPartType = {
|
|
933
|
+
text: "text",
|
|
934
|
+
image: "image",
|
|
935
|
+
TEXT: "TEXT",
|
|
936
|
+
IMAGE: "IMAGE",
|
|
937
|
+
AUDIO: "AUDIO",
|
|
938
|
+
JSON: "JSON",
|
|
939
|
+
BINARY: "BINARY",
|
|
940
|
+
};
|
|
941
|
+
export const WorkTextContentPartType = {
|
|
942
|
+
text: "text",
|
|
943
|
+
TEXT: "TEXT",
|
|
944
|
+
};
|
|
945
|
+
export const WorkImageContentPartType = {
|
|
946
|
+
image: "image",
|
|
947
|
+
IMAGE: "IMAGE",
|
|
948
|
+
};
|
|
949
|
+
export const WorkAudioContentPartType = {
|
|
950
|
+
AUDIO: "AUDIO",
|
|
951
|
+
};
|
|
952
|
+
export const WorkJsonContentPartType = {
|
|
953
|
+
JSON: "JSON",
|
|
954
|
+
};
|
|
955
|
+
export const WorkBinaryContentPartType = {
|
|
956
|
+
BINARY: "BINARY",
|
|
957
|
+
};
|
|
958
|
+
export const RelationType = {
|
|
959
|
+
// Source work cannot proceed until the target work reaches the required state.
|
|
960
|
+
RelationTypeDependsOn: "DEPENDS_ON",
|
|
961
|
+
// Target work is a child of the source work.
|
|
962
|
+
RelationTypeParentChild: "PARENT_CHILD",
|
|
963
|
+
// Target work was generated by a workstation handling the source work.
|
|
964
|
+
RelationTypeSpawnedBy: "SPAWNED_BY",
|
|
965
|
+
};
|
|
966
|
+
export const FactoryGuardType = {
|
|
967
|
+
INFERENCE_THROTTLE_GUARD: "INFERENCE_THROTTLE_GUARD",
|
|
968
|
+
};
|
|
969
|
+
export const WorkTypeHandlingBehavior = {
|
|
970
|
+
DEFAULT: "DEFAULT",
|
|
971
|
+
};
|
|
972
|
+
export const FactoryLayoutImageSourceKind = {
|
|
973
|
+
EMBEDDED: "EMBEDDED",
|
|
974
|
+
};
|
|
975
|
+
export const FactoryLayoutImageSourceMediaType = {
|
|
976
|
+
image_png: "image/png",
|
|
977
|
+
image_jpeg: "image/jpeg",
|
|
978
|
+
image_webp: "image/webp",
|
|
979
|
+
};
|
|
980
|
+
export const FactoryLayoutNoteTone = {
|
|
981
|
+
NEUTRAL: "NEUTRAL",
|
|
982
|
+
ACCENT: "ACCENT",
|
|
983
|
+
INFO: "INFO",
|
|
984
|
+
SUCCESS: "SUCCESS",
|
|
985
|
+
WARNING: "WARNING",
|
|
986
|
+
DANGER: "DANGER",
|
|
987
|
+
};
|
|
988
|
+
export const FactoryLayoutAnnotationKind = {
|
|
989
|
+
NOTE: "NOTE",
|
|
990
|
+
IMAGE: "IMAGE",
|
|
991
|
+
};
|
|
992
|
+
export const FactoryLayoutAnnotationOneOf0Kind = {
|
|
993
|
+
NOTE: "NOTE",
|
|
994
|
+
};
|
|
995
|
+
export const FactoryLayoutAnnotationOneOf1Kind = {
|
|
996
|
+
IMAGE: "IMAGE",
|
|
997
|
+
};
|
|
998
|
+
export const FactoryLayoutPreferencesDirection = {
|
|
999
|
+
UP: "UP",
|
|
1000
|
+
DOWN: "DOWN",
|
|
1001
|
+
LEFT: "LEFT",
|
|
1002
|
+
RIGHT: "RIGHT",
|
|
1003
|
+
};
|
|
1004
|
+
export const HostedWorkerProvider = {
|
|
1005
|
+
LINEAR: "LINEAR",
|
|
1006
|
+
};
|
|
1007
|
+
export const InputGuardType = {
|
|
1008
|
+
VISIT_COUNT: "VISIT_COUNT",
|
|
1009
|
+
ALL_CHILDREN_COMPLETE: "ALL_CHILDREN_COMPLETE",
|
|
1010
|
+
ANY_CHILD_FAILED: "ANY_CHILD_FAILED",
|
|
1011
|
+
SAME_NAME: "SAME_NAME",
|
|
1012
|
+
SAME_TRACE_ID: "SAME_TRACE_ID",
|
|
1013
|
+
};
|
|
1014
|
+
export const WorkstationGuardType = {
|
|
1015
|
+
VISIT_COUNT: "VISIT_COUNT",
|
|
1016
|
+
MATCHES_FIELDS: "MATCHES_FIELDS",
|
|
1017
|
+
};
|
|
1018
|
+
export const ComponentsParametersSortBy = {
|
|
1019
|
+
state_type: "state.type",
|
|
1020
|
+
};
|