@you-agent-factory/client 0.0.2 → 0.0.7
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/dist/contracts.d.ts +1 -0
- package/dist/generated/factory-event.schema.json +235 -62
- package/dist/generated/factory.schema.json +171 -62
- package/dist/generated/openapi.d.ts +409 -41
- package/dist/generated/openapi.js +41 -14
- package/dist/index.d.ts +1 -1
- package/package.json +1 -2
|
@@ -145,6 +145,7 @@ export interface paths {
|
|
|
145
145
|
* Reconnect cursors: pass after_event_id or after_sequence to receive only events recorded after the acknowledged point. When both are present, after_event_id wins. For session-scoped streams, after_sequence prefers FactoryEvent.context.sessionSequence when that field is present; otherwise it falls back to FactoryEvent.context.sequence. Omitting both cursors starts replay from the beginning of the session's currently retained history.
|
|
146
146
|
* Replay bounds: live sessions replay only events retained for the current stream generation of the targeted Factory Session. Durable execution session identifiers replay persisted canonical records for that session without crossing into another session. Cursors that no longer match the retained history boundary return typed invalid-cursor handling (400 on SSE open, cursor_stale on JSON reconnect probe) rather than silently skipping events.
|
|
147
147
|
* Identity handshake before reconnect: compare the response headers X-Factory-Session-Backend-Scope-Id, X-Factory-Session-Logical-Session-Key-Id, X-Factory-Session-Factory-Session-Id, and X-Factory-Session-Stream-Generation-Id with the latest sync-preflight or session-read identity set before reusing a persisted reconnect cursor or stream-derived cache. A changed streamGenerationId means the current stream generation invalidates prior cursors even when factorySessionId is unchanged.
|
|
148
|
+
* Bounded retained-history reads: X-Factory-Session-Retained-Event-Count reports exactly how many leading text/event-stream data frames make up the already-committed retained-history prefix, captured at subscribe time. Clients that need a point-in-time snapshot of committed history can read exactly this many records and stop, instead of inferring completion from stream quiescence.
|
|
148
149
|
* Keepalives: successful SSE responses use Connection keep-alive. Idle periods may occur while the Factory Session is waiting for new canonical events; clients must treat these as normal waiting state rather than terminal stream completion unless the HTTP connection closes.
|
|
149
150
|
* Expired-cursor recovery: when Accept includes application/json, the same route acts as a reconnect probe and returns FactorySessionEventStreamRecovery instead of opening Server-Sent Events. cursor_stale outcomes tell clients to retry with omitAfterEventId and omitAfterSequence set so the next open omits stale cursors. UNKNOWN_SESSION means the selector does not resolve to a live or durable session and never falls back to the default session.
|
|
150
151
|
* Unknown session identifiers return NOT_FOUND instead of falling back to the default session.
|
|
@@ -810,6 +811,26 @@ export interface paths {
|
|
|
810
811
|
patch?: never;
|
|
811
812
|
trace?: never;
|
|
812
813
|
};
|
|
814
|
+
"/packaged-factories": {
|
|
815
|
+
parameters: {
|
|
816
|
+
query?: never;
|
|
817
|
+
header?: never;
|
|
818
|
+
path?: never;
|
|
819
|
+
cookie?: never;
|
|
820
|
+
};
|
|
821
|
+
/**
|
|
822
|
+
* List built-in packaged factories
|
|
823
|
+
* @description Returns the backend-owned built-in factory catalog, including the selected artifacts the dashboard displays. The dashboard must consume this API rather than importing the publication package.
|
|
824
|
+
*/
|
|
825
|
+
get: operations["listPackagedFactories"];
|
|
826
|
+
put?: never;
|
|
827
|
+
post?: never;
|
|
828
|
+
delete?: never;
|
|
829
|
+
options?: never;
|
|
830
|
+
head?: never;
|
|
831
|
+
patch?: never;
|
|
832
|
+
trace?: never;
|
|
833
|
+
};
|
|
813
834
|
}
|
|
814
835
|
export type webhooks = Record<string, never>;
|
|
815
836
|
export interface components {
|
|
@@ -2557,6 +2578,28 @@ export interface components {
|
|
|
2557
2578
|
* @enum {string}
|
|
2558
2579
|
*/
|
|
2559
2580
|
FactorySessionLifecycleControlKind: FactorySessionLifecycleControlKind;
|
|
2581
|
+
PackagedFactoryCatalogResponse: {
|
|
2582
|
+
/** @description Built-in Factory definitions in stable lexical name order. */
|
|
2583
|
+
factories: components["schemas"]["PackagedFactoryCatalogEntry"][];
|
|
2584
|
+
};
|
|
2585
|
+
PackagedFactoryCatalogEntry: {
|
|
2586
|
+
/** @description Public built-in Factory name, such as '@you/goal'. */
|
|
2587
|
+
name: string;
|
|
2588
|
+
/** @description Stable Factory project identifier. */
|
|
2589
|
+
project: string;
|
|
2590
|
+
/** @description URL-safe Factory catalog identity. */
|
|
2591
|
+
slug: string;
|
|
2592
|
+
/** @description Localized customer-facing explanation of what this packaged Factory does. */
|
|
2593
|
+
description: components["schemas"]["NameValue"];
|
|
2594
|
+
/** @description Representative runnable invocations published by this packaged Factory. */
|
|
2595
|
+
examples: components["schemas"]["FactoryInvocationExample"][];
|
|
2596
|
+
/** @description Canonical Factory JSON artifact. */
|
|
2597
|
+
json: {
|
|
2598
|
+
[key: string]: unknown;
|
|
2599
|
+
};
|
|
2600
|
+
/** @description Equivalent Factory YAML artifact. */
|
|
2601
|
+
yaml: string;
|
|
2602
|
+
};
|
|
2560
2603
|
/**
|
|
2561
2604
|
* @description Typed lifecycle-control outcome. ACCEPTED means the control request was accepted and may complete asynchronously. NO_OP means the session was already in the requested end state. INVALID_STATE means the current session state does not allow the requested control. TERMINAL_SESSION means the session is already terminal and cannot accept the requested control. CONFLICT means another in-flight or incompatible control prevents the request.
|
|
2562
2605
|
* @enum {string}
|
|
@@ -2816,6 +2859,24 @@ export interface components {
|
|
|
2816
2859
|
};
|
|
2817
2860
|
/** @description Customer-facing identifier for one stored named factory. `GET /factory-sessions/~default/factory` may also return the reserved `UNDEFINED` identifier when the active runtime is still the default root factory and no durable current-factory pointer exists. Semantic validation failures return `INVALID_FACTORY_NAME`, including attempts to activate a named factory with the reserved identifier. */
|
|
2818
2861
|
FactoryName: string;
|
|
2862
|
+
/** @description A customer-facing value with a required base fallback and optional exact locale overrides. Locale tags must use their canonical BCP 47 spelling. */
|
|
2863
|
+
NameValue: {
|
|
2864
|
+
/**
|
|
2865
|
+
* @description Discriminator for localized customer-facing metadata.
|
|
2866
|
+
* @enum {string}
|
|
2867
|
+
*/
|
|
2868
|
+
type: NameValueType;
|
|
2869
|
+
/** @description Required base value returned when no exact locale override exists. */
|
|
2870
|
+
value: string;
|
|
2871
|
+
/** @description Canonical BCP 47 locales for which the base value was authored. */
|
|
2872
|
+
locales?: string[];
|
|
2873
|
+
/** @description Exact canonical BCP 47 locale tags mapped to localized overrides. */
|
|
2874
|
+
values?: {
|
|
2875
|
+
[key: string]: string;
|
|
2876
|
+
};
|
|
2877
|
+
/** @description Optional stable metadata identifier; consumers must not render it as display copy. */
|
|
2878
|
+
id?: string;
|
|
2879
|
+
};
|
|
2819
2880
|
/** @description Additive dashboard read-model contract slice that publishes workstation-request projections keyed by dispatch ID without reintroducing removed `/dashboard` endpoints. */
|
|
2820
2881
|
FactoryWorldWorkstationRequestProjectionSlice: {
|
|
2821
2882
|
workstationRequestsByDispatchId?: {
|
|
@@ -3019,7 +3080,7 @@ export interface components {
|
|
|
3019
3080
|
id: string;
|
|
3020
3081
|
type: components["schemas"]["FactoryEventType"];
|
|
3021
3082
|
context: components["schemas"]["FactoryEventContext"];
|
|
3022
|
-
payload: components["schemas"]["RunRequestEventPayload"] | components["schemas"]["InitialStructureRequestEventPayload"] | components["schemas"]["FactoryChangeEventPayload"] | components["schemas"]["WorkRequestEventPayload"] | components["schemas"]["RelationshipChangeRequestEventPayload"] | components["schemas"]["DispatchRequestEventPayload"] | components["schemas"]["ModelRequestEventPayload"] | components["schemas"]["ModelResponseEventPayload"] | components["schemas"]["InferenceRequestEventPayload"] | components["schemas"]["InferenceResponseEventPayload"] | components["schemas"]["ScriptRequestEventPayload"] | components["schemas"]["ScriptResponseEventPayload"] | components["schemas"]["AgentRunResponseEventPayload"] | components["schemas"]["DispatchResponseEventPayload"] | components["schemas"]["WorkStateChangeEventPayload"] | components["schemas"]["FactoryStateResponseEventPayload"] | components["schemas"]["RunResponseEventPayload"] | components["schemas"]["SessionStartedEventPayload"] | components["schemas"]["SessionPausedEventPayload"] | components["schemas"]["SessionResumedEventPayload"] | components["schemas"]["SessionResultUpdatedEventPayload"] | components["schemas"]["SessionCompletedEventPayload"] | components["schemas"]["SessionLifecycleControlEventPayload"] | components["schemas"]["OrchestratorPhaseChangedEventPayload"] | components["schemas"]["OrchestratorCheckpointWrittenEventPayload"] | components["schemas"]["DispatchQueuedEventPayload"] | components["schemas"]["DispatchInterruptedEventPayload"] | components["schemas"]["DispatchReconciledEventPayload"] | components["schemas"]["JavaScriptCheckpointRefEventPayload"] | components["schemas"]["JavaScriptPhaseChangeEventPayload"] | components["schemas"]["ArtifactCreatedEventPayload"];
|
|
3083
|
+
payload: components["schemas"]["RunRequestEventPayload"] | components["schemas"]["InitialStructureRequestEventPayload"] | components["schemas"]["FactoryChangeEventPayload"] | components["schemas"]["WorkRequestEventPayload"] | components["schemas"]["RelationshipChangeRequestEventPayload"] | components["schemas"]["DispatchRequestEventPayload"] | components["schemas"]["DispatchWorkerSessionAssociationEventPayload"] | components["schemas"]["ModelRequestEventPayload"] | components["schemas"]["ModelResponseEventPayload"] | components["schemas"]["InferenceRequestEventPayload"] | components["schemas"]["InferenceResponseEventPayload"] | components["schemas"]["ScriptRequestEventPayload"] | components["schemas"]["ScriptResponseEventPayload"] | components["schemas"]["AgentRunResponseEventPayload"] | components["schemas"]["DispatchResponseEventPayload"] | components["schemas"]["WorkStateChangeEventPayload"] | components["schemas"]["FactoryStateResponseEventPayload"] | components["schemas"]["RunResponseEventPayload"] | components["schemas"]["SessionStartedEventPayload"] | components["schemas"]["SessionPausedEventPayload"] | components["schemas"]["SessionResumedEventPayload"] | components["schemas"]["SessionResultUpdatedEventPayload"] | components["schemas"]["SessionCompletedEventPayload"] | components["schemas"]["SessionLifecycleControlEventPayload"] | components["schemas"]["OrchestratorPhaseChangedEventPayload"] | components["schemas"]["OrchestratorCheckpointWrittenEventPayload"] | components["schemas"]["DispatchQueuedEventPayload"] | components["schemas"]["DispatchInterruptedEventPayload"] | components["schemas"]["DispatchReconciledEventPayload"] | components["schemas"]["JavaScriptCheckpointRefEventPayload"] | components["schemas"]["JavaScriptPhaseChangeEventPayload"] | components["schemas"]["ArtifactCreatedEventPayload"];
|
|
3023
3084
|
};
|
|
3024
3085
|
/** @description Chapter-free recording of canonical Factory Events for exactly one Factory Session. Events remain in their recorded canonical order. */
|
|
3025
3086
|
FactoryRecording: {
|
|
@@ -3141,6 +3202,11 @@ export interface components {
|
|
|
3141
3202
|
resources?: components["schemas"]["Resource"][];
|
|
3142
3203
|
metadata?: components["schemas"]["DispatchRequestEventMetadata"];
|
|
3143
3204
|
};
|
|
3205
|
+
/** @description Canonical association between one Factory dispatch and the Worker Session allocated to execute it. Dispatch identity remains authoritative in FactoryEvent.context.dispatchId and is not repeated in this payload. */
|
|
3206
|
+
DispatchWorkerSessionAssociationEventPayload: {
|
|
3207
|
+
/** @description Non-empty Worker Session identity allocated for the dispatch. */
|
|
3208
|
+
workerSessionId: string;
|
|
3209
|
+
};
|
|
3144
3210
|
/** @description Request details captured immediately before a model-backed worker invocation enters resource, load, and execution boundaries. FactoryEvent.context owns dispatch, request, trace, and work identity, and the matching dispatch-request event owns the transition identifier. */
|
|
3145
3211
|
ModelRequestEventPayload: {
|
|
3146
3212
|
/** @description Stable identifier correlating this model execution request with its response. */
|
|
@@ -3208,6 +3274,7 @@ export interface components {
|
|
|
3208
3274
|
outputPreview?: string;
|
|
3209
3275
|
outputContent?: components["schemas"]["WorkContent"];
|
|
3210
3276
|
diagnostics?: components["schemas"]["SafeWorkDiagnostics"];
|
|
3277
|
+
providerSession?: components["schemas"]["ProviderSessionMetadata"];
|
|
3211
3278
|
failureDetail?: components["schemas"]["FailureDetail"];
|
|
3212
3279
|
};
|
|
3213
3280
|
/** @description Request details captured immediately before a model-worker provider attempt is invoked. FactoryEvent.context owns dispatch, request, trace, and work identity, and the matching dispatch-request event owns the transition identifier. Prompt content is intentionally present and should be treated as sensitive in recordings and diagnostics. */
|
|
@@ -3926,6 +3993,8 @@ export interface components {
|
|
|
3926
3993
|
/** @description Top-level factory.json contract. Declare the work types, resources, portability resources, workers, and workstations that make up one authored factory here. Guarded loop breakers should be authored as guarded LOGICAL_MOVE workstations using VISIT_COUNT guards instead of a top-level exhaustion-rules field. */
|
|
3927
3994
|
Factory: {
|
|
3928
3995
|
name: components["schemas"]["FactoryName"];
|
|
3996
|
+
/** @description Optional localized customer-facing explanation of this Factory. */
|
|
3997
|
+
description?: components["schemas"]["NameValue"];
|
|
3929
3998
|
/** @description Factory identifier used as the factory-level template context fallback. */
|
|
3930
3999
|
id?: string;
|
|
3931
4000
|
/** @description Default runner selection for the factory when a workstation does not declare its own runner override. */
|
|
@@ -3946,6 +4015,8 @@ export interface components {
|
|
|
3946
4015
|
invocationReturn?: components["schemas"]["InvocationReturn"];
|
|
3947
4016
|
/** @description Optional canonical callable argument contract shared by CLI, API, dashboard, docs, and packaged factories. When omitted, callers use the factory's compatibility invocation behavior. */
|
|
3948
4017
|
invocationSignature?: components["schemas"]["FactoryInvocationSignature"];
|
|
4018
|
+
/** @description Ordered runnable invocation examples. Canonical Factory documents write examples here; legacy invocationSignature.examples are accepted only by the Factory input compatibility mapper. */
|
|
4019
|
+
examples?: components["schemas"]["FactoryInvocationExample"][];
|
|
3949
4020
|
/** @description Root-level guards that apply across the factory instead of one specific workstation or input. */
|
|
3950
4021
|
guards?: components["schemas"]["FactoryGuard"][];
|
|
3951
4022
|
/** @description Customer-authored work item categories and the lifecycle states each one can occupy. */
|
|
@@ -4021,8 +4092,6 @@ export interface components {
|
|
|
4021
4092
|
unknownNamedArgumentPolicy?: components["schemas"]["FactoryInvocationUnknownNamedArgumentPolicy"];
|
|
4022
4093
|
/** @description Optional customer-facing hint for the factory's primary output shape. */
|
|
4023
4094
|
outputContract?: components["schemas"]["FactoryInvocationOutputContract"];
|
|
4024
|
-
/** @description Example invocations rendered in docs, help, and inspection surfaces. */
|
|
4025
|
-
examples?: components["schemas"]["FactoryInvocationExample"][];
|
|
4026
4095
|
};
|
|
4027
4096
|
/** @description One canonical invocation parameter declared on a factory. */
|
|
4028
4097
|
FactoryInvocationParameter: {
|
|
@@ -4100,12 +4169,14 @@ export interface components {
|
|
|
4100
4169
|
FactoryInvocationExample: {
|
|
4101
4170
|
/** @description Stable example name. */
|
|
4102
4171
|
name: string;
|
|
4103
|
-
/** @description
|
|
4104
|
-
description
|
|
4105
|
-
/** @description
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4172
|
+
/** @description Localized customer-facing explanation of what the example does. */
|
|
4173
|
+
description: components["schemas"]["NameValue"];
|
|
4174
|
+
/** @description Structured invocation arguments; values are never parsed or executed while loading the Factory. */
|
|
4175
|
+
args: components["schemas"]["FactoryInvocationArguments"];
|
|
4176
|
+
};
|
|
4177
|
+
/** @description Structured Factory invocation arguments keyed by parameter name, external name, or alias. Each value is either one string or an ordered array of strings. */
|
|
4178
|
+
FactoryInvocationArguments: {
|
|
4179
|
+
[key: string]: string | string[];
|
|
4109
4180
|
};
|
|
4110
4181
|
/** @description Factory-authored policy for selecting the primary result returned by CLI and API invocations. When omitted from a Factory, runtimes use the documented SUBMITTED_WORK_TERMINAL fallback. */
|
|
4111
4182
|
InvocationReturn: {
|
|
@@ -4128,7 +4199,7 @@ export interface components {
|
|
|
4128
4199
|
/** @description Factory-level guard condition to evaluate before dispatch-ready transitions can proceed. */
|
|
4129
4200
|
type: components["schemas"]["FactoryGuardType"];
|
|
4130
4201
|
/** @description Provider whose inference-throttle history controls this factory-level guard. */
|
|
4131
|
-
modelProvider: components["schemas"]["
|
|
4202
|
+
modelProvider: components["schemas"]["ProviderIdentity"];
|
|
4132
4203
|
/** @description Optional model name to scope throttling more narrowly than the provider-level window. */
|
|
4133
4204
|
model?: string;
|
|
4134
4205
|
/** @description Duration string that controls how long the factory should keep re-checking throttle history before allowing the lane again. */
|
|
@@ -4192,6 +4263,8 @@ export interface components {
|
|
|
4192
4263
|
id?: string;
|
|
4193
4264
|
/** @description Customer-authored work type name referenced by workstation inputs, outputs, and submitted work. */
|
|
4194
4265
|
name: string;
|
|
4266
|
+
/** @description Optional localized customer-facing explanation of this work type. */
|
|
4267
|
+
description?: components["schemas"]["NameValue"];
|
|
4195
4268
|
/** @description Lifecycle states available for work items of this type. */
|
|
4196
4269
|
states: components["schemas"]["WorkState"][];
|
|
4197
4270
|
/** @description Optional CLI routing markers for this work type. Factories used with you run --factory must declare handlingBehavior DEFAULT on exactly one work type. */
|
|
@@ -4241,17 +4314,20 @@ export interface components {
|
|
|
4241
4314
|
id?: string;
|
|
4242
4315
|
/** @description Worker name referenced by Workstation.worker. */
|
|
4243
4316
|
name: string;
|
|
4317
|
+
/** @description Optional localized customer-facing explanation of this worker. */
|
|
4318
|
+
description?: components["schemas"]["NameValue"];
|
|
4244
4319
|
/** @description Worker implementation family to instantiate for this definition. */
|
|
4245
4320
|
type?: components["schemas"]["WorkerType"];
|
|
4246
4321
|
/** @description Built-in hosted provider identity when this worker uses repository-owned hosted execution. */
|
|
4247
4322
|
provider?: components["schemas"]["HostedWorkerProvider"];
|
|
4248
4323
|
/** @description Model identifier to request from the configured model provider when this worker uses model execution. */
|
|
4249
4324
|
model?: string;
|
|
4250
|
-
/** @description Canonical
|
|
4251
|
-
modelProvider?: components["schemas"]["
|
|
4325
|
+
/** @description Canonical provider identity used for model routing and provider diagnostics, or an exact invocation-parameter placeholder such as `${modelProvider}`. For `executorProvider: ACP`, this names the configured ACP integration, such as `cursor-acp`. Extension identities use lowercase standardized syntax; built-in values such as `CLAUDE` and `CODEX` remain compatibility conveniences. */
|
|
4326
|
+
modelProvider?: components["schemas"]["ProviderIdentity"] | string;
|
|
4327
|
+
reasoningEffort?: components["schemas"]["ReasoningEffort"];
|
|
4252
4328
|
/** @description Provider locality for this model capability declaration. Use `LOCAL` for embedded or host-managed inference and `CLOUD` for remote provider execution. */
|
|
4253
4329
|
modelLocality?: components["schemas"]["WorkerModelLocality"];
|
|
4254
|
-
/** @description
|
|
4330
|
+
/** @description Execution mechanism. Use `ACP` for ACP-backed workers and put the configured integration identity (for example `cursor-acp`) in modelProvider. `SCRIPT_WRAP` remains the command-wrapper compatibility value; legacy named executor identities remain accepted during migration. */
|
|
4255
4331
|
executorProvider?: components["schemas"]["WorkerProvider"];
|
|
4256
4332
|
/** @description Provider-agnostic model operations that this worker can execute, including named input and output slots. */
|
|
4257
4333
|
operations?: components["schemas"]["ModelOperation"][];
|
|
@@ -4267,8 +4343,6 @@ export interface components {
|
|
|
4267
4343
|
stopToken?: string;
|
|
4268
4344
|
/** @description When true, bypasses permission checks for providers that support permission gating. */
|
|
4269
4345
|
skipPermissions?: boolean;
|
|
4270
|
-
/** @description Optional OpenCode agent profile name for model workers that dispatch through the OpenCode runner. When set, OpenCode dispatches invoke `opencode run --agent <name>`. Discover agent names with `opencode agent list` (see https://opencode.ai/docs/cli/). */
|
|
4271
|
-
openCodeAgent?: string;
|
|
4272
4346
|
/** @description Hosted-worker authentication contract. V1 hosted workers accept only auth.secretRef. */
|
|
4273
4347
|
auth?: components["schemas"]["HostedWorkerAuth"];
|
|
4274
4348
|
/** @description Provider-specific configuration for the built-in hosted LINEAR worker. */
|
|
@@ -4294,20 +4368,156 @@ export interface components {
|
|
|
4294
4368
|
*/
|
|
4295
4369
|
WorkerType: WorkerType;
|
|
4296
4370
|
/**
|
|
4297
|
-
* @description
|
|
4371
|
+
* @description Built-in model-provider constants retained as generated-client conveniences. Authored modelProvider fields use the open ProviderIdentity contract, so this list is not an exhaustive provider inventory.
|
|
4298
4372
|
* @enum {string}
|
|
4299
4373
|
*/
|
|
4300
4374
|
WorkerModelProvider: WorkerModelProvider;
|
|
4375
|
+
/** @description Open provider identity used by authored modelProvider fields. Extension identities use lowercase letters and digits separated by dots or hyphens. Built-in identities and documented legacy aliases remain accepted compatibility spellings. For example, `customer.provider` is a valid extension identity. */
|
|
4376
|
+
ProviderIdentity: string;
|
|
4377
|
+
/** @description Versioned public collection of provider manifests. */
|
|
4378
|
+
ProviderCatalog: {
|
|
4379
|
+
/**
|
|
4380
|
+
* @description Provider Catalog document format version.
|
|
4381
|
+
* @enum {string}
|
|
4382
|
+
*/
|
|
4383
|
+
formatVersion: ProviderCatalogFormatVersion;
|
|
4384
|
+
/**
|
|
4385
|
+
* Format: uri
|
|
4386
|
+
* @description Immutable JSON Schema identifier used to validate every provider entry.
|
|
4387
|
+
* @enum {string}
|
|
4388
|
+
*/
|
|
4389
|
+
providerSchema: ProviderCatalogProviderSchema;
|
|
4390
|
+
/** @description Optional source-revision provenance supplied by a publication staging process. */
|
|
4391
|
+
publicationProvenance?: {
|
|
4392
|
+
/**
|
|
4393
|
+
* Format: uri
|
|
4394
|
+
* @description Public source repository from which the catalog was published.
|
|
4395
|
+
*/
|
|
4396
|
+
sourceRepository: string;
|
|
4397
|
+
/** @description Full immutable Git commit identifying the published source tree. */
|
|
4398
|
+
sourceCommit: string;
|
|
4399
|
+
};
|
|
4400
|
+
/** @description Provider manifests in canonical provider-ID order. */
|
|
4401
|
+
providers: components["schemas"]["ProviderManifest"][];
|
|
4402
|
+
};
|
|
4403
|
+
/** @description Public, data-only metadata for one model-provider integration. A manifest describes evidenced maximum behavior and publication posture; it never reports current-machine installation, authentication, readiness, pricing, or runtime registration. */
|
|
4404
|
+
ProviderManifest: {
|
|
4405
|
+
/** @description Stable canonical lowercase provider identifier. */
|
|
4406
|
+
id: string;
|
|
4407
|
+
/** @description Alternate lowercase identifiers; aliases must not equal or shadow any catalog ID or alias. */
|
|
4408
|
+
aliases: string[];
|
|
4409
|
+
/** @description Localizable customer-facing provider name. */
|
|
4410
|
+
displayName: components["schemas"]["NameValue"];
|
|
4411
|
+
/** @description Localizable customer-facing provider summary. */
|
|
4412
|
+
description: components["schemas"]["NameValue"];
|
|
4413
|
+
/** @description Stable public documentation links for this provider. */
|
|
4414
|
+
documentation: components["schemas"]["ProviderDocumentationLink"][];
|
|
4415
|
+
technicalSupportLevel: components["schemas"]["ProviderTechnicalSupportLevel"];
|
|
4416
|
+
implementationAvailability: components["schemas"]["ProviderImplementationAvailability"];
|
|
4417
|
+
maximumExecutionCapabilities: components["schemas"]["ProviderExecutionCapabilities"];
|
|
4418
|
+
maximumResponseFidelityCapabilities: components["schemas"]["ProviderResponseFidelityCapabilities"];
|
|
4419
|
+
discovery: components["schemas"]["ProviderDiscoveryPrerequisites"];
|
|
4420
|
+
deprecation?: components["schemas"]["ProviderDeprecation"];
|
|
4421
|
+
};
|
|
4422
|
+
/**
|
|
4423
|
+
* @description Maintainer-verified technical support posture for a provider integration. This value does not describe whether the provider is installed or ready on the current machine.
|
|
4424
|
+
* @enum {string}
|
|
4425
|
+
*/
|
|
4426
|
+
ProviderTechnicalSupportLevel: ProviderTechnicalSupportLevel;
|
|
4301
4427
|
/**
|
|
4302
|
-
* @description
|
|
4428
|
+
* @description How an implementation is supplied. Availability is publication metadata, not a live readiness or installation result.
|
|
4303
4429
|
* @enum {string}
|
|
4304
4430
|
*/
|
|
4305
|
-
|
|
4431
|
+
ProviderImplementationAvailability: ProviderImplementationAvailability;
|
|
4432
|
+
/** @description One stable public documentation resource for a provider. */
|
|
4433
|
+
ProviderDocumentationLink: {
|
|
4434
|
+
kind: components["schemas"]["ProviderDocumentationLinkKind"];
|
|
4435
|
+
/**
|
|
4436
|
+
* Format: uri
|
|
4437
|
+
* @description Public HTTPS documentation URL with a DNS hostname. Machine-local, IP-address, and credential-bearing URLs are invalid.
|
|
4438
|
+
*/
|
|
4439
|
+
url: string;
|
|
4440
|
+
};
|
|
4306
4441
|
/**
|
|
4307
|
-
* @description
|
|
4442
|
+
* @description Purpose of one stable public provider documentation link.
|
|
4308
4443
|
* @enum {string}
|
|
4309
4444
|
*/
|
|
4310
|
-
|
|
4445
|
+
ProviderDocumentationLinkKind: ProviderDocumentationLinkKind;
|
|
4446
|
+
/** @description Maximum evidenced execution features of the provider integration. These values are independent of support posture and do not imply current-machine readiness. */
|
|
4447
|
+
ProviderExecutionCapabilities: {
|
|
4448
|
+
/** @description Accepts authored prompt input for execution. */
|
|
4449
|
+
promptSubmission: boolean;
|
|
4450
|
+
/** @description Accepts image content as invocation input. */
|
|
4451
|
+
imageInput: boolean;
|
|
4452
|
+
/** @description Can continue an identified provider session. */
|
|
4453
|
+
sessionResume: boolean;
|
|
4454
|
+
/** @description Can constrain authoritative output using a structured schema. */
|
|
4455
|
+
structuredOutput: boolean;
|
|
4456
|
+
/** @description Can execute provider-managed tools during an invocation. */
|
|
4457
|
+
toolExecution: boolean;
|
|
4458
|
+
/** @description Can execute with an explicit working directory. */
|
|
4459
|
+
workingDirectory: boolean;
|
|
4460
|
+
/** @description Can execute against an isolated source-control worktree. */
|
|
4461
|
+
worktree: boolean;
|
|
4462
|
+
};
|
|
4463
|
+
/** @description Maximum evidenced response-event fidelity of the provider integration. Capabilities describe observable output independently of support posture. */
|
|
4464
|
+
ProviderResponseFidelityCapabilities: {
|
|
4465
|
+
/** @description Exposes native streaming observations. */
|
|
4466
|
+
nativeStreaming: boolean;
|
|
4467
|
+
/** @description Emits incremental assistant-message deltas. */
|
|
4468
|
+
messageDeltas: boolean;
|
|
4469
|
+
/** @description Emits assistant-message snapshots. */
|
|
4470
|
+
messageSnapshots: boolean;
|
|
4471
|
+
/** @description Emits reasoning summaries or reasoning deltas. */
|
|
4472
|
+
reasoningSummaries: boolean;
|
|
4473
|
+
/** @description Emits correlated tool lifecycle metadata. */
|
|
4474
|
+
toolLifecycle: boolean;
|
|
4475
|
+
/** @description Emits incremental tool-output deltas. */
|
|
4476
|
+
toolOutputDeltas: boolean;
|
|
4477
|
+
/** @description Emits observed file changes. */
|
|
4478
|
+
fileChanges: boolean;
|
|
4479
|
+
/** @description Emits plan updates. */
|
|
4480
|
+
plans: boolean;
|
|
4481
|
+
/** @description Emits usage accounting. */
|
|
4482
|
+
usage: boolean;
|
|
4483
|
+
/** @description Assigns stable item identifiers across response events. */
|
|
4484
|
+
stableItemIds: boolean;
|
|
4485
|
+
/** @description Supports reconnecting an interrupted provider response stream. */
|
|
4486
|
+
providerReconnect: boolean;
|
|
4487
|
+
};
|
|
4488
|
+
/** @description Static, credential-free facts that tooling may use to explain how a provider can be discovered. Only names and endpoint kinds are published: credential values, environment values, endpoint addresses, machine-local paths, installation/readiness state, and pricing are outside this contract. */
|
|
4489
|
+
ProviderDiscoveryPrerequisites: {
|
|
4490
|
+
/** @description Executable basenames that may supply the provider integration. */
|
|
4491
|
+
executableNames: string[];
|
|
4492
|
+
/** @description Credential-free endpoint transport kinds; addresses and live status are not published. */
|
|
4493
|
+
endpointKinds: components["schemas"]["ProviderDiscoveryEndpointKind"][];
|
|
4494
|
+
/** @description Required configuration-key names only; configuration and environment values are forbidden. */
|
|
4495
|
+
configurationKeys: string[];
|
|
4496
|
+
};
|
|
4497
|
+
/**
|
|
4498
|
+
* @description Static endpoint transport kind that may be checked without credentials.
|
|
4499
|
+
* @enum {string}
|
|
4500
|
+
*/
|
|
4501
|
+
ProviderDiscoveryEndpointKind: ProviderDiscoveryEndpointKind;
|
|
4502
|
+
/** @description Coherent metadata for a deprecated provider entry. Presence of this object means the provider is deprecated. replacementProviderId, when present, must name a different canonical provider in the same catalog; it cannot identify the deprecated provider itself. */
|
|
4503
|
+
ProviderDeprecation: {
|
|
4504
|
+
/**
|
|
4505
|
+
* Format: date
|
|
4506
|
+
* @description UTC calendar date on which the catalog began marking the provider deprecated.
|
|
4507
|
+
*/
|
|
4508
|
+
deprecatedSince: string;
|
|
4509
|
+
/** @description Localizable explanation of why the provider is deprecated. */
|
|
4510
|
+
reason: components["schemas"]["NameValue"];
|
|
4511
|
+
/** @description Canonical ID of a different, non-deprecated replacement provider in this catalog. */
|
|
4512
|
+
replacementProviderId?: string;
|
|
4513
|
+
};
|
|
4514
|
+
/**
|
|
4515
|
+
* @description Provider locality for a model worker capability declaration.
|
|
4516
|
+
* @enum {string}
|
|
4517
|
+
*/
|
|
4518
|
+
WorkerModelLocality: WorkerModelLocality;
|
|
4519
|
+
/** @description Worker execution mechanism. Canonical values are ACP and SCRIPT_WRAP; extensible lowercase identities remain accepted for compatibility with existing factories. */
|
|
4520
|
+
WorkerProvider: string;
|
|
4311
4521
|
/** @description One provider-agnostic operation exposed by a model worker, such as `TTS`. */
|
|
4312
4522
|
ModelOperation: {
|
|
4313
4523
|
name: components["schemas"]["ModelOperationName"];
|
|
@@ -4346,6 +4556,8 @@ export interface components {
|
|
|
4346
4556
|
id?: string;
|
|
4347
4557
|
/** @description Customer-authored workstation name used by guards, diagnostics, and authored references. */
|
|
4348
4558
|
name: string;
|
|
4559
|
+
/** @description Optional localized customer-facing explanation of this workstation. */
|
|
4560
|
+
description?: components["schemas"]["NameValue"];
|
|
4349
4561
|
/** @description Scheduling behavior for this workstation, such as STANDARD, REPEATER, or CRON execution. */
|
|
4350
4562
|
behavior?: components["schemas"]["WorkstationKind"];
|
|
4351
4563
|
/** @description Runtime workstation implementation type, equivalent to the workstation AGENTS.md frontmatter type. */
|
|
@@ -4358,8 +4570,6 @@ export interface components {
|
|
|
4358
4570
|
worker: string;
|
|
4359
4571
|
/** @description Optional workstation-specific runner override. When omitted, dispatch falls back to the factory runner, then worker modelProvider compatibility when no explicit runner is configured, then the default codex runner. */
|
|
4360
4572
|
runner?: components["schemas"]["RunnerID"];
|
|
4361
|
-
/** @description Optional OpenCode agent profile override for this workstation. When set, overrides the worker default for OpenCode dispatches and invokes `opencode run --agent <name>`. Discover agent names with `opencode agent list` (see https://opencode.ai/docs/cli/). */
|
|
4362
|
-
openCodeAgent?: string;
|
|
4363
4573
|
/** @description Path to a prompt template file loaded for model-oriented workstation execution. */
|
|
4364
4574
|
promptFile?: string;
|
|
4365
4575
|
/** @description JSON schema string used to validate or parse structured model output when configured. */
|
|
@@ -4418,6 +4628,12 @@ export interface components {
|
|
|
4418
4628
|
maxRetries?: number;
|
|
4419
4629
|
/** @description Go duration limit for one dispatch attempt before it times out. */
|
|
4420
4630
|
maxExecutionTime?: string;
|
|
4631
|
+
/** @description Fixed maximum number of Work items one accepted worker-emitted FACTORY_REQUEST_BATCH may contain. */
|
|
4632
|
+
maxGeneratedWorkItems?: number;
|
|
4633
|
+
/** @description Optional invocation argument whose positive integer value tightens the fixed generated-Work ceiling. */
|
|
4634
|
+
maxGeneratedWorkItemsArgument?: string;
|
|
4635
|
+
/** @description Offset added to the invocation argument before applying the generated-Work ceiling. */
|
|
4636
|
+
maxGeneratedWorkItemsArgumentOffset?: number;
|
|
4421
4637
|
};
|
|
4422
4638
|
/**
|
|
4423
4639
|
* @description Scheduling kind for a workstation, which determines how the engine schedules and dispatches work to it. Standard workstations are scheduled as soon as their inputs are ready, and can have multiple work items in-flight at the same time. Repeater workstations are triggered whenever their inputs change, and will reloop the outputs on rejection back to the initial place. Cron workstations create internal time work and dispatch their configured worker when time and input guards are satisfied. Poller workstations bind a poller-capable worker that the service runtime supervises as a long-lived ingress loop.
|
|
@@ -4430,10 +4646,12 @@ export interface components {
|
|
|
4430
4646
|
* @enum {string}
|
|
4431
4647
|
*/
|
|
4432
4648
|
WorkstationType: WorkstationType;
|
|
4433
|
-
/** @description Trigger timing for
|
|
4649
|
+
/** @description Trigger timing for scheduled workstations. Provide exactly one of a five-field cron schedule or a positive duration in every; Factory validation enforces the exclusive choice. */
|
|
4434
4650
|
WorkstationCron: {
|
|
4435
4651
|
/** @description Standard five-field cron expression used to produce internal time work while the factory service is running. */
|
|
4436
|
-
schedule
|
|
4652
|
+
schedule?: string;
|
|
4653
|
+
/** @description Positive Go duration interval, such as 30s, 5m, 1h, or 1h30m, used instead of schedule. */
|
|
4654
|
+
every?: string;
|
|
4437
4655
|
/**
|
|
4438
4656
|
* @description When true, service startup submits one immediate internal time work item before waiting for the next scheduled cron fire.
|
|
4439
4657
|
* @default false
|
|
@@ -4465,8 +4683,10 @@ export interface components {
|
|
|
4465
4683
|
type: components["schemas"]["GuardType"];
|
|
4466
4684
|
/** @description For `VISIT_COUNT` guards, the workstation whose visits are counted. */
|
|
4467
4685
|
workstation?: string;
|
|
4468
|
-
/** @description For `VISIT_COUNT` guards, the visit
|
|
4686
|
+
/** @description For `VISIT_COUNT` guards, the fixed visit ceiling. */
|
|
4469
4687
|
maxVisits?: number;
|
|
4688
|
+
/** @description Optional invocation argument whose positive integer value tightens the fixed visit ceiling. */
|
|
4689
|
+
maxVisitsArgument?: string;
|
|
4470
4690
|
/** @description For `MATCHES_FIELDS` guards, the field-selector configuration used to compare candidate inputs. */
|
|
4471
4691
|
matchConfig?: components["schemas"]["GuardMatchConfig"];
|
|
4472
4692
|
/** @description For parent-aware input guards, the parent workType name from another input in the same workstation. */
|
|
@@ -4759,6 +4979,68 @@ export interface components {
|
|
|
4759
4979
|
/** @description Canonical validation targets for the submitted factory definition. */
|
|
4760
4980
|
targets: components["schemas"]["FactoryValidationTarget"][];
|
|
4761
4981
|
};
|
|
4982
|
+
/** @description Shared operator configuration stored in .you-agent-factory/config.json. */
|
|
4983
|
+
GlobalConfig: {
|
|
4984
|
+
/** @description Stable identifier for the local provider-backed runtime boundary. */
|
|
4985
|
+
backendScopeID?: string;
|
|
4986
|
+
defaults?: components["schemas"]["GlobalConfigDefaults"];
|
|
4987
|
+
runtime?: components["schemas"]["GlobalConfigRuntime"];
|
|
4988
|
+
workers?: components["schemas"]["GlobalConfigWorkers"];
|
|
4989
|
+
/** @description Named worker model presets loaded from the shared configuration file. */
|
|
4990
|
+
workerPresets?: components["schemas"]["GlobalConfigWorkerPreset"][];
|
|
4991
|
+
};
|
|
4992
|
+
/** @description Operator defaults that participate independently in file, environment, and flag precedence. */
|
|
4993
|
+
GlobalConfigDefaults: {
|
|
4994
|
+
/** @description Default worker model provider, including supported aliases and symbolic DEFAULT resolution. */
|
|
4995
|
+
workerModelProvider?: string;
|
|
4996
|
+
/** @description Default worker model name. */
|
|
4997
|
+
workerModel?: string;
|
|
4998
|
+
};
|
|
4999
|
+
/** @description Runtime observability settings loaded from operator configuration before command-line overrides. */
|
|
5000
|
+
GlobalConfigRuntime: {
|
|
5001
|
+
/** @description Structured runtime log storage settings. Omitted values use the documented production defaults. */
|
|
5002
|
+
logging?: components["schemas"]["GlobalConfigRuntimeArtifactSettings"];
|
|
5003
|
+
/** @description Runtime metrics storage settings. Omitted values use the documented production defaults. */
|
|
5004
|
+
metrics?: components["schemas"]["GlobalConfigRuntimeArtifactSettings"];
|
|
5005
|
+
};
|
|
5006
|
+
/** @description Rolling-file storage settings for one runtime observability artifact. */
|
|
5007
|
+
GlobalConfigRuntimeArtifactSettings: {
|
|
5008
|
+
/** @description Optional artifact root. Omission uses the runtime-owned directory below the operator home. */
|
|
5009
|
+
directory?: string;
|
|
5010
|
+
/**
|
|
5011
|
+
* @description Maximum artifact file size in megabytes before rotation.
|
|
5012
|
+
* @default 100
|
|
5013
|
+
*/
|
|
5014
|
+
maxSizeMB: number;
|
|
5015
|
+
/**
|
|
5016
|
+
* @description Maximum number of rotated artifact files to retain.
|
|
5017
|
+
* @default 20
|
|
5018
|
+
*/
|
|
5019
|
+
maxBackups: number;
|
|
5020
|
+
/**
|
|
5021
|
+
* @description Maximum age in days for rotated artifact files.
|
|
5022
|
+
* @default 30
|
|
5023
|
+
*/
|
|
5024
|
+
maxAgeDays: number;
|
|
5025
|
+
/**
|
|
5026
|
+
* @description Whether rotated artifact files are gzip-compressed.
|
|
5027
|
+
* @default false
|
|
5028
|
+
*/
|
|
5029
|
+
compress: boolean;
|
|
5030
|
+
};
|
|
5031
|
+
/** @description Named worker model selection available to Factory Session runtime opening. */
|
|
5032
|
+
GlobalConfigWorkerPreset: {
|
|
5033
|
+
/** @description Non-empty preset identifier after surrounding whitespace is trimmed. */
|
|
5034
|
+
id: string;
|
|
5035
|
+
modelProvider: components["schemas"]["GlobalConfigWorkerPresetModelProvider"];
|
|
5036
|
+
/** @description Optional model name, trimmed when present. */
|
|
5037
|
+
model?: string;
|
|
5038
|
+
reasoningEffort?: components["schemas"]["GlobalConfigWorkerPresetReasoningEffort"];
|
|
5039
|
+
};
|
|
5040
|
+
/** @description Canonical provider identity or built-in compatibility alias; surrounding whitespace is trimmed, and symbolic DEFAULT is not accepted for presets. */
|
|
5041
|
+
GlobalConfigWorkerPresetModelProvider: string;
|
|
5042
|
+
/** @description Optional reasoning effort; surrounding whitespace and letter case are normalized, and an empty value is treated as unspecified. */
|
|
5043
|
+
GlobalConfigWorkerPresetReasoningEffort: string;
|
|
4762
5044
|
WorkRequest: {
|
|
4763
5045
|
/** @description Stable client-provided request identifier used for idempotent batch submission. */
|
|
4764
5046
|
requestId: string;
|
|
@@ -5114,6 +5396,8 @@ export interface components {
|
|
|
5114
5396
|
* @enum {string}
|
|
5115
5397
|
*/
|
|
5116
5398
|
HostedWorkerProvider: HostedWorkerProvider;
|
|
5399
|
+
/** @description Optional provider-neutral reasoning effort. Surrounding whitespace and letter case are normalized. Omit the field to preserve the selected provider and model default. Factory definitions may use an exact invocation-parameter placeholder such as `${executorReasoningEffort}`. */
|
|
5400
|
+
ReasoningEffort: string;
|
|
5117
5401
|
/** @description Hosted-worker authentication contract. V1 hosted workers accept only secret references rather than inline credentials or OAuth-style fields. */
|
|
5118
5402
|
HostedWorkerAuth: {
|
|
5119
5403
|
/** @description Referenced secret name that resolves the hosted provider API key at runtime. */
|
|
@@ -5177,8 +5461,10 @@ export interface components {
|
|
|
5177
5461
|
type: components["schemas"]["WorkstationGuardType"];
|
|
5178
5462
|
/** @description For `VISIT_COUNT` guards, the workstation whose visits are counted. */
|
|
5179
5463
|
workstation?: string;
|
|
5180
|
-
/** @description For `VISIT_COUNT` guards, the visit
|
|
5464
|
+
/** @description For `VISIT_COUNT` guards, the fixed visit ceiling. */
|
|
5181
5465
|
maxVisits?: number;
|
|
5466
|
+
/** @description Optional invocation argument whose positive integer value tightens the fixed visit ceiling. */
|
|
5467
|
+
maxVisitsArgument?: string;
|
|
5182
5468
|
/** @description For `MATCHES_FIELDS` guards, the field-selector configuration used to compare candidate inputs. */
|
|
5183
5469
|
matchConfig?: components["schemas"]["GuardMatchConfig"];
|
|
5184
5470
|
/** @description For parent-aware input guards, the parent workType name from another input in the same workstation. */
|
|
@@ -5188,6 +5474,33 @@ export interface components {
|
|
|
5188
5474
|
/** @description For dynamic fanout input guards, the workstation that spawns the children for count tracking. */
|
|
5189
5475
|
spawnedBy?: string;
|
|
5190
5476
|
};
|
|
5477
|
+
GlobalConfigACPIntegration: {
|
|
5478
|
+
/** @description Stable settings-entry identity. This is distinct from the provider name selected by a Worker. */
|
|
5479
|
+
id: string;
|
|
5480
|
+
/** @description Canonical Providers catalog identity, such as cursor-acp. */
|
|
5481
|
+
name: string;
|
|
5482
|
+
/**
|
|
5483
|
+
* @description ACP transport. P0 supports stdio only.
|
|
5484
|
+
* @enum {string}
|
|
5485
|
+
*/
|
|
5486
|
+
transport: GlobalConfigACPIntegrationTransport;
|
|
5487
|
+
/** @description Operator-authored ACP launch command preserved as one settings value. It contains no permission or timeout policy. */
|
|
5488
|
+
command: string;
|
|
5489
|
+
};
|
|
5490
|
+
GlobalConfigACPAgentProfile: {
|
|
5491
|
+
/** @description Unversioned namespaced Factory target reference, such as factory:@you/factory-builder. Factory Definitions owns enumeration and canonical reference resolution. */
|
|
5492
|
+
defaultTarget: string;
|
|
5493
|
+
/** @description Ordered allowlist of unversioned namespaced Factory target references. Order is authored and preserved. */
|
|
5494
|
+
allowedTargets: string[];
|
|
5495
|
+
};
|
|
5496
|
+
GlobalConfigACPSettings: {
|
|
5497
|
+
/** @description Operator-selected ACP provider integrations. Availability is derived by the Providers catalog and is never persisted here. */
|
|
5498
|
+
integrations?: components["schemas"]["GlobalConfigACPIntegration"][];
|
|
5499
|
+
agentProfile?: components["schemas"]["GlobalConfigACPAgentProfile"];
|
|
5500
|
+
};
|
|
5501
|
+
GlobalConfigWorkers: {
|
|
5502
|
+
acp?: components["schemas"]["GlobalConfigACPSettings"];
|
|
5503
|
+
};
|
|
5191
5504
|
};
|
|
5192
5505
|
responses: {
|
|
5193
5506
|
/** @description Request payload or parameter was invalid. */
|
|
@@ -5625,6 +5938,8 @@ export interface operations {
|
|
|
5625
5938
|
"X-Factory-Session-Factory-Session-Id"?: string;
|
|
5626
5939
|
/** @description Opaque invalidation token for the current live Factory Session event history. Compare this handshake header with session-sync or preflight `streamGenerationID` values before reusing reconnect cursors or stream-derived projections. */
|
|
5627
5940
|
"X-Factory-Session-Stream-Generation-Id"?: string;
|
|
5941
|
+
/** @description Count of already-committed canonical FactoryEvent records written as the retained-history prefix before any live event, captured at subscribe time. A bounded reader can read exactly this many leading data frames instead of inferring completion from stream quiescence. */
|
|
5942
|
+
"X-Factory-Session-Retained-Event-Count"?: number;
|
|
5628
5943
|
[name: string]: unknown;
|
|
5629
5944
|
};
|
|
5630
5945
|
content: {
|
|
@@ -6672,6 +6987,27 @@ export interface operations {
|
|
|
6672
6987
|
500: components["responses"]["InternalError"];
|
|
6673
6988
|
};
|
|
6674
6989
|
};
|
|
6990
|
+
listPackagedFactories: {
|
|
6991
|
+
parameters: {
|
|
6992
|
+
query?: never;
|
|
6993
|
+
header?: never;
|
|
6994
|
+
path?: never;
|
|
6995
|
+
cookie?: never;
|
|
6996
|
+
};
|
|
6997
|
+
requestBody?: never;
|
|
6998
|
+
responses: {
|
|
6999
|
+
/** @description Published packaged factory catalog. */
|
|
7000
|
+
200: {
|
|
7001
|
+
headers: {
|
|
7002
|
+
[name: string]: unknown;
|
|
7003
|
+
};
|
|
7004
|
+
content: {
|
|
7005
|
+
"application/json": components["schemas"]["PackagedFactoryCatalogResponse"];
|
|
7006
|
+
};
|
|
7007
|
+
};
|
|
7008
|
+
500: components["responses"]["InternalError"];
|
|
7009
|
+
};
|
|
7010
|
+
};
|
|
6675
7011
|
}
|
|
6676
7012
|
export declare const InvocationInputSourceKind: {
|
|
6677
7013
|
readonly InvocationInputSourceKindText: "text";
|
|
@@ -6798,6 +7134,7 @@ export declare const ErrorResponseCode: {
|
|
|
6798
7134
|
readonly FACTORY_NOT_IDLE: "FACTORY_NOT_IDLE";
|
|
6799
7135
|
readonly STALE_FACTORY_VERSION: "STALE_FACTORY_VERSION";
|
|
6800
7136
|
readonly MOVE_WORK_REQUEST_ALREADY_APPLIED: "MOVE_WORK_REQUEST_ALREADY_APPLIED";
|
|
7137
|
+
readonly METHOD_NOT_ALLOWED: "METHOD_NOT_ALLOWED";
|
|
6801
7138
|
readonly EXECUTION_REQUEST_ID_CONFLICT: "EXECUTION_REQUEST_ID_CONFLICT";
|
|
6802
7139
|
readonly FACTORY_SESSION_CONTROL_REQUEST_ALREADY_APPLIED: "FACTORY_SESSION_CONTROL_REQUEST_ALREADY_APPLIED";
|
|
6803
7140
|
readonly INVALID_RESPONSE_EVENT_CURSOR: "INVALID_RESPONSE_EVENT_CURSOR";
|
|
@@ -7028,6 +7365,10 @@ export declare const ProviderSessionTranscriptEntryType: {
|
|
|
7028
7365
|
readonly system_event: "system_event";
|
|
7029
7366
|
};
|
|
7030
7367
|
export type ProviderSessionTranscriptEntryType = (typeof ProviderSessionTranscriptEntryType)[keyof typeof ProviderSessionTranscriptEntryType];
|
|
7368
|
+
export declare const NameValueType: {
|
|
7369
|
+
readonly LOCALIZABLE_ASSET: "LOCALIZABLE_ASSET";
|
|
7370
|
+
};
|
|
7371
|
+
export type NameValueType = (typeof NameValueType)[keyof typeof NameValueType];
|
|
7031
7372
|
export declare const FactoryWorldWorkItemRefPayloadStatus: {
|
|
7032
7373
|
readonly RESOLVED: "RESOLVED";
|
|
7033
7374
|
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
@@ -7079,6 +7420,7 @@ export declare const FactoryEventType: {
|
|
|
7079
7420
|
readonly FactoryEventTypeWorkRequest: "WORK_REQUEST";
|
|
7080
7421
|
readonly FactoryEventTypeRelationshipChangeRequest: "RELATIONSHIP_CHANGE_REQUEST";
|
|
7081
7422
|
readonly FactoryEventTypeDispatchRequest: "DISPATCH_REQUEST";
|
|
7423
|
+
readonly FactoryEventTypeDispatchWorkerSessionAssociation: "DISPATCH_WORKER_SESSION_ASSOCIATION";
|
|
7082
7424
|
readonly FactoryEventTypeModelRequest: "MODEL_REQUEST";
|
|
7083
7425
|
readonly FactoryEventTypeModelResponse: "MODEL_RESPONSE";
|
|
7084
7426
|
readonly FactoryEventTypeInferenceRequest: "INFERENCE_REQUEST";
|
|
@@ -7348,23 +7690,48 @@ export type WorkerType = (typeof WorkerType)[keyof typeof WorkerType];
|
|
|
7348
7690
|
export declare const WorkerModelProvider: {
|
|
7349
7691
|
readonly CLAUDE: "CLAUDE";
|
|
7350
7692
|
readonly CODEX: "CODEX";
|
|
7351
|
-
readonly
|
|
7352
|
-
readonly GEMINI: "GEMINI";
|
|
7353
|
-
readonly KIRO: "KIRO";
|
|
7354
|
-
readonly OPENCODE: "OPENCODE";
|
|
7355
|
-
readonly PI: "PI";
|
|
7356
|
-
readonly AGY: "AGY";
|
|
7693
|
+
readonly ANTIGRAVITY: "ANTIGRAVITY";
|
|
7357
7694
|
};
|
|
7358
7695
|
export type WorkerModelProvider = (typeof WorkerModelProvider)[keyof typeof WorkerModelProvider];
|
|
7696
|
+
export declare const ProviderCatalogFormatVersion: {
|
|
7697
|
+
readonly Value1_0_0: "1.0.0";
|
|
7698
|
+
};
|
|
7699
|
+
export type ProviderCatalogFormatVersion = (typeof ProviderCatalogFormatVersion)[keyof typeof ProviderCatalogFormatVersion];
|
|
7700
|
+
export declare const ProviderCatalogProviderSchema: {
|
|
7701
|
+
readonly https_schemas_you_dev_model_providers_provider_manifest_1_0_0_schema_json: "https://schemas.you.dev/model-providers/provider-manifest/1.0.0.schema.json";
|
|
7702
|
+
};
|
|
7703
|
+
export type ProviderCatalogProviderSchema = (typeof ProviderCatalogProviderSchema)[keyof typeof ProviderCatalogProviderSchema];
|
|
7704
|
+
export declare const ProviderTechnicalSupportLevel: {
|
|
7705
|
+
readonly production: "production";
|
|
7706
|
+
readonly experimental: "experimental";
|
|
7707
|
+
readonly not_supported: "not-supported";
|
|
7708
|
+
};
|
|
7709
|
+
export type ProviderTechnicalSupportLevel = (typeof ProviderTechnicalSupportLevel)[keyof typeof ProviderTechnicalSupportLevel];
|
|
7710
|
+
export declare const ProviderImplementationAvailability: {
|
|
7711
|
+
readonly bundled: "bundled";
|
|
7712
|
+
readonly externally_supplied: "externally-supplied";
|
|
7713
|
+
readonly catalog_only: "catalog-only";
|
|
7714
|
+
};
|
|
7715
|
+
export type ProviderImplementationAvailability = (typeof ProviderImplementationAvailability)[keyof typeof ProviderImplementationAvailability];
|
|
7716
|
+
export declare const ProviderDocumentationLinkKind: {
|
|
7717
|
+
readonly homepage: "homepage";
|
|
7718
|
+
readonly setup: "setup";
|
|
7719
|
+
readonly reference: "reference";
|
|
7720
|
+
readonly support: "support";
|
|
7721
|
+
};
|
|
7722
|
+
export type ProviderDocumentationLinkKind = (typeof ProviderDocumentationLinkKind)[keyof typeof ProviderDocumentationLinkKind];
|
|
7723
|
+
export declare const ProviderDiscoveryEndpointKind: {
|
|
7724
|
+
readonly local_http: "local-http";
|
|
7725
|
+
readonly remote_http: "remote-http";
|
|
7726
|
+
readonly stdio: "stdio";
|
|
7727
|
+
readonly unix_socket: "unix-socket";
|
|
7728
|
+
};
|
|
7729
|
+
export type ProviderDiscoveryEndpointKind = (typeof ProviderDiscoveryEndpointKind)[keyof typeof ProviderDiscoveryEndpointKind];
|
|
7359
7730
|
export declare const WorkerModelLocality: {
|
|
7360
7731
|
readonly LOCAL: "LOCAL";
|
|
7361
7732
|
readonly CLOUD: "CLOUD";
|
|
7362
7733
|
};
|
|
7363
7734
|
export type WorkerModelLocality = (typeof WorkerModelLocality)[keyof typeof WorkerModelLocality];
|
|
7364
|
-
export declare const WorkerProvider: {
|
|
7365
|
-
readonly SCRIPT_WRAP: "SCRIPT_WRAP";
|
|
7366
|
-
};
|
|
7367
|
-
export type WorkerProvider = (typeof WorkerProvider)[keyof typeof WorkerProvider];
|
|
7368
7735
|
export declare const ModelOperationContentType: {
|
|
7369
7736
|
readonly TEXT: "TEXT";
|
|
7370
7737
|
readonly IMAGE: "IMAGE";
|
|
@@ -7375,11 +7742,8 @@ export declare const ModelOperationContentType: {
|
|
|
7375
7742
|
export type ModelOperationContentType = (typeof ModelOperationContentType)[keyof typeof ModelOperationContentType];
|
|
7376
7743
|
export declare const RunnerID: {
|
|
7377
7744
|
readonly codex: "codex";
|
|
7378
|
-
readonly
|
|
7379
|
-
readonly
|
|
7380
|
-
readonly cursor_cli: "cursor-cli";
|
|
7381
|
-
readonly opencode: "opencode";
|
|
7382
|
-
readonly pi: "pi";
|
|
7745
|
+
readonly claude: "claude";
|
|
7746
|
+
readonly antigravity: "antigravity";
|
|
7383
7747
|
};
|
|
7384
7748
|
export type RunnerID = (typeof RunnerID)[keyof typeof RunnerID];
|
|
7385
7749
|
export declare const RunnerSelectionSource: {
|
|
@@ -7581,6 +7945,10 @@ export declare const WorkstationGuardType: {
|
|
|
7581
7945
|
readonly MATCHES_FIELDS: "MATCHES_FIELDS";
|
|
7582
7946
|
};
|
|
7583
7947
|
export type WorkstationGuardType = (typeof WorkstationGuardType)[keyof typeof WorkstationGuardType];
|
|
7948
|
+
export declare const GlobalConfigACPIntegrationTransport: {
|
|
7949
|
+
readonly stdio: "stdio";
|
|
7950
|
+
};
|
|
7951
|
+
export type GlobalConfigACPIntegrationTransport = (typeof GlobalConfigACPIntegrationTransport)[keyof typeof GlobalConfigACPIntegrationTransport];
|
|
7584
7952
|
export declare const ComponentsParametersSortBy: {
|
|
7585
7953
|
readonly state_type: "state.type";
|
|
7586
7954
|
};
|