import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import type { CaminoObject, Value } from "../camino/api_pb.js"; import type { PackageDescriptor } from "./package_pb.js"; import type { CapabilityRef, PackageExportRef } from "./refs_pb.js"; import type { DerivedDependency } from "./runtime_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file quixos/orch.proto. */ export declare const file_quixos_orch: GenFile; /** * @generated from message quixos.orch.ConstructObjectRequest */ export type ConstructObjectRequest = Message<"quixos.orch.ConstructObjectRequest"> & { /** * @generated from field: string atom_id = 1; */ atomId: string; /** * @generated from field: map input = 2; */ input: { [key: string]: Value; }; }; /** * Describes the message quixos.orch.ConstructObjectRequest. * Use `create(ConstructObjectRequestSchema)` to create a new message. */ export declare const ConstructObjectRequestSchema: GenMessage; /** * @generated from message quixos.orch.ConstructObjectResponse */ export type ConstructObjectResponse = Message<"quixos.orch.ConstructObjectResponse"> & { /** * @generated from field: camino.CaminoObject object = 1; */ object?: CaminoObject | undefined; }; /** * Describes the message quixos.orch.ConstructObjectResponse. * Use `create(ConstructObjectResponseSchema)` to create a new message. */ export declare const ConstructObjectResponseSchema: GenMessage; /** * @generated from message quixos.orch.ResolveOrConstructRelatedObjectRequest */ export type ResolveOrConstructRelatedObjectRequest = Message<"quixos.orch.ResolveOrConstructRelatedObjectRequest"> & { /** * @generated from field: string object_id = 1; */ objectId: string; /** * @generated from field: string interface_revision_id = 2; */ interfaceRevisionId: string; /** * @generated from field: string member_id = 3; */ memberId: string; }; /** * Describes the message quixos.orch.ResolveOrConstructRelatedObjectRequest. * Use `create(ResolveOrConstructRelatedObjectRequestSchema)` to create a new message. */ export declare const ResolveOrConstructRelatedObjectRequestSchema: GenMessage; /** * @generated from message quixos.orch.ResolveOrConstructRelatedObjectResponse */ export type ResolveOrConstructRelatedObjectResponse = Message<"quixos.orch.ResolveOrConstructRelatedObjectResponse"> & { /** * @generated from field: camino.CaminoObject object = 1; */ object?: CaminoObject | undefined; /** * @generated from field: bool constructed = 2; */ constructed: boolean; }; /** * Describes the message quixos.orch.ResolveOrConstructRelatedObjectResponse. * Use `create(ResolveOrConstructRelatedObjectResponseSchema)` to create a new message. */ export declare const ResolveOrConstructRelatedObjectResponseSchema: GenMessage; /** * @generated from message quixos.orch.InvokeCapabilityRequest */ export type InvokeCapabilityRequest = Message<"quixos.orch.InvokeCapabilityRequest"> & { /** * @generated from field: quixos.CapabilityRef capability = 1; */ capability?: CapabilityRef | undefined; /** * @generated from field: string object_id = 2; */ objectId: string; /** * @generated from field: map input = 3; */ input: { [key: string]: Value; }; }; /** * Describes the message quixos.orch.InvokeCapabilityRequest. * Use `create(InvokeCapabilityRequestSchema)` to create a new message. */ export declare const InvokeCapabilityRequestSchema: GenMessage; /** * @generated from message quixos.orch.InvokeCapabilityResponse */ export type InvokeCapabilityResponse = Message<"quixos.orch.InvokeCapabilityResponse"> & { /** * @generated from field: string invocation_id = 1; */ invocationId: string; /** * @generated from field: quixos.orch.Activation activation = 2; */ activation?: Activation | undefined; /** * @generated from field: bool ok = 3; */ ok: boolean; /** * @generated from field: camino.Value result = 4; */ result?: Value | undefined; /** * @generated from field: string error = 5; */ error: string; }; /** * Describes the message quixos.orch.InvokeCapabilityResponse. * Use `create(InvokeCapabilityResponseSchema)` to create a new message. */ export declare const InvokeCapabilityResponseSchema: GenMessage; /** * @generated from message quixos.orch.WatchCapabilityRequest */ export type WatchCapabilityRequest = Message<"quixos.orch.WatchCapabilityRequest"> & { /** * @generated from field: quixos.CapabilityRef capability = 1; */ capability?: CapabilityRef | undefined; /** * @generated from field: string object_id = 2; */ objectId: string; /** * @generated from field: map input = 3; */ input: { [key: string]: Value; }; }; /** * Describes the message quixos.orch.WatchCapabilityRequest. * Use `create(WatchCapabilityRequestSchema)` to create a new message. */ export declare const WatchCapabilityRequestSchema: GenMessage; /** * @generated from message quixos.orch.WatchCapabilityEvent */ export type WatchCapabilityEvent = Message<"quixos.orch.WatchCapabilityEvent"> & { /** * @generated from field: string invocation_id = 1; */ invocationId: string; /** * @generated from field: quixos.orch.Activation activation = 2; */ activation?: Activation | undefined; /** * @generated from field: string watch_id = 3; */ watchId: string; /** * @generated from field: camino.Value value = 4; */ value?: Value | undefined; /** * @generated from field: repeated quixos.runtime.DerivedDependency dependencies = 5; */ dependencies: DerivedDependency[]; /** * @generated from field: string error = 6; */ error: string; /** * @generated from field: bool initial = 7; */ initial: boolean; }; /** * Describes the message quixos.orch.WatchCapabilityEvent. * Use `create(WatchCapabilityEventSchema)` to create a new message. */ export declare const WatchCapabilityEventSchema: GenMessage; /** * @generated from message quixos.orch.GetWorkspaceRequest */ export type GetWorkspaceRequest = Message<"quixos.orch.GetWorkspaceRequest"> & {}; /** * Describes the message quixos.orch.GetWorkspaceRequest. * Use `create(GetWorkspaceRequestSchema)` to create a new message. */ export declare const GetWorkspaceRequestSchema: GenMessage; /** * @generated from message quixos.orch.GetWorkspaceResponse */ export type GetWorkspaceResponse = Message<"quixos.orch.GetWorkspaceResponse"> & { /** * @generated from field: string workspace_id = 1; */ workspaceId: string; /** * @generated from field: string workspace_revision_id = 2; */ workspaceRevisionId: string; /** * @generated from field: string source_root_commit = 3; */ sourceRootCommit: string; }; /** * Describes the message quixos.orch.GetWorkspaceResponse. * Use `create(GetWorkspaceResponseSchema)` to create a new message. */ export declare const GetWorkspaceResponseSchema: GenMessage; /** * @generated from message quixos.orch.ListActivationsRequest */ export type ListActivationsRequest = Message<"quixos.orch.ListActivationsRequest"> & {}; /** * Describes the message quixos.orch.ListActivationsRequest. * Use `create(ListActivationsRequestSchema)` to create a new message. */ export declare const ListActivationsRequestSchema: GenMessage; /** * @generated from message quixos.orch.ListPackageDescriptorsRequest */ export type ListPackageDescriptorsRequest = Message<"quixos.orch.ListPackageDescriptorsRequest"> & {}; /** * Describes the message quixos.orch.ListPackageDescriptorsRequest. * Use `create(ListPackageDescriptorsRequestSchema)` to create a new message. */ export declare const ListPackageDescriptorsRequestSchema: GenMessage; /** * @generated from message quixos.orch.ListPackageDescriptorsResponse */ export type ListPackageDescriptorsResponse = Message<"quixos.orch.ListPackageDescriptorsResponse"> & { /** * @generated from field: repeated quixos.PackageDescriptor descriptors = 1; */ descriptors: PackageDescriptor[]; }; /** * Describes the message quixos.orch.ListPackageDescriptorsResponse. * Use `create(ListPackageDescriptorsResponseSchema)` to create a new message. */ export declare const ListPackageDescriptorsResponseSchema: GenMessage; /** * @generated from message quixos.orch.ListPackageRuntimesRequest */ export type ListPackageRuntimesRequest = Message<"quixos.orch.ListPackageRuntimesRequest"> & {}; /** * Describes the message quixos.orch.ListPackageRuntimesRequest. * Use `create(ListPackageRuntimesRequestSchema)` to create a new message. */ export declare const ListPackageRuntimesRequestSchema: GenMessage; /** * @generated from message quixos.orch.ListPackageRuntimesResponse */ export type ListPackageRuntimesResponse = Message<"quixos.orch.ListPackageRuntimesResponse"> & { /** * @generated from field: repeated quixos.orch.PackageRuntimeStatus runtimes = 1; */ runtimes: PackageRuntimeStatus[]; }; /** * Describes the message quixos.orch.ListPackageRuntimesResponse. * Use `create(ListPackageRuntimesResponseSchema)` to create a new message. */ export declare const ListPackageRuntimesResponseSchema: GenMessage; /** * @generated from message quixos.orch.ListActivationsResponse */ export type ListActivationsResponse = Message<"quixos.orch.ListActivationsResponse"> & { /** * @generated from field: repeated quixos.orch.Activation activations = 1; */ activations: Activation[]; }; /** * Describes the message quixos.orch.ListActivationsResponse. * Use `create(ListActivationsResponseSchema)` to create a new message. */ export declare const ListActivationsResponseSchema: GenMessage; /** * @generated from message quixos.orch.CloseActivationRequest */ export type CloseActivationRequest = Message<"quixos.orch.CloseActivationRequest"> & { /** * @generated from field: string activation_id = 1; */ activationId: string; /** * @generated from field: string reason = 2; */ reason: string; }; /** * Describes the message quixos.orch.CloseActivationRequest. * Use `create(CloseActivationRequestSchema)` to create a new message. */ export declare const CloseActivationRequestSchema: GenMessage; /** * @generated from message quixos.orch.CloseActivationResponse */ export type CloseActivationResponse = Message<"quixos.orch.CloseActivationResponse"> & { /** * @generated from field: quixos.orch.Activation activation = 1; */ activation?: Activation | undefined; }; /** * Describes the message quixos.orch.CloseActivationResponse. * Use `create(CloseActivationResponseSchema)` to create a new message. */ export declare const CloseActivationResponseSchema: GenMessage; /** * @generated from message quixos.orch.Activation */ export type Activation = Message<"quixos.orch.Activation"> & { /** * @generated from field: string activation_id = 1; */ activationId: string; /** * @generated from field: quixos.PackageExportRef export = 2; */ export?: PackageExportRef | undefined; /** * @generated from field: string object_id = 3; */ objectId: string; /** * @generated from field: string state = 4; */ state: string; /** * @generated from field: uint32 demand = 5; */ demand: number; /** * @generated from field: string opened_at = 6; */ openedAt: string; /** * @generated from field: string last_used_at = 7; */ lastUsedAt: string; /** * @generated from field: string idle_deadline_at = 8; */ idleDeadlineAt: string; /** * @generated from field: string closed_at = 9; */ closedAt: string; /** * @generated from field: string close_reason = 10; */ closeReason: string; }; /** * Describes the message quixos.orch.Activation. * Use `create(ActivationSchema)` to create a new message. */ export declare const ActivationSchema: GenMessage; /** * @generated from message quixos.orch.PackageRuntimeStatus */ export type PackageRuntimeStatus = Message<"quixos.orch.PackageRuntimeStatus"> & { /** * @generated from field: string runtime_key = 1; */ runtimeKey: string; /** * @generated from field: string package_revision_id = 2; */ packageRevisionId: string; /** * @generated from field: string source_repository = 3; */ sourceRepository: string; /** * @generated from field: string source_commit = 4; */ sourceCommit: string; /** * @generated from field: string build_target = 5; */ buildTarget: string; /** * @generated from field: string server_path = 6; */ serverPath: string; /** * @generated from field: uint32 pid = 7; */ pid: number; /** * @generated from field: string state = 8; */ state: string; /** * @generated from field: string started_at = 9; */ startedAt: string; /** * @generated from field: string last_handshake_at = 10; */ lastHandshakeAt: string; /** * @generated from field: string runtime_protocol_version = 11; */ runtimeProtocolVersion: string; /** * @generated from field: uint32 advertised_export_count = 12; */ advertisedExportCount: number; }; /** * Describes the message quixos.orch.PackageRuntimeStatus. * Use `create(PackageRuntimeStatusSchema)` to create a new message. */ export declare const PackageRuntimeStatusSchema: GenMessage; /** * @generated from service quixos.orch.OrchestratorRuntime */ export declare const OrchestratorRuntime: GenService<{ /** * @generated from rpc quixos.orch.OrchestratorRuntime.InvokeCapability */ invokeCapability: { methodKind: "unary"; input: typeof InvokeCapabilityRequestSchema; output: typeof InvokeCapabilityResponseSchema; }; /** * @generated from rpc quixos.orch.OrchestratorRuntime.WatchCapability */ watchCapability: { methodKind: "server_streaming"; input: typeof WatchCapabilityRequestSchema; output: typeof WatchCapabilityEventSchema; }; /** * @generated from rpc quixos.orch.OrchestratorRuntime.ConstructObject */ constructObject: { methodKind: "unary"; input: typeof ConstructObjectRequestSchema; output: typeof ConstructObjectResponseSchema; }; /** * @generated from rpc quixos.orch.OrchestratorRuntime.ResolveOrConstructRelatedObject */ resolveOrConstructRelatedObject: { methodKind: "unary"; input: typeof ResolveOrConstructRelatedObjectRequestSchema; output: typeof ResolveOrConstructRelatedObjectResponseSchema; }; /** * @generated from rpc quixos.orch.OrchestratorRuntime.GetWorkspace */ getWorkspace: { methodKind: "unary"; input: typeof GetWorkspaceRequestSchema; output: typeof GetWorkspaceResponseSchema; }; /** * @generated from rpc quixos.orch.OrchestratorRuntime.ListPackageDescriptors */ listPackageDescriptors: { methodKind: "unary"; input: typeof ListPackageDescriptorsRequestSchema; output: typeof ListPackageDescriptorsResponseSchema; }; /** * @generated from rpc quixos.orch.OrchestratorRuntime.ListPackageRuntimes */ listPackageRuntimes: { methodKind: "unary"; input: typeof ListPackageRuntimesRequestSchema; output: typeof ListPackageRuntimesResponseSchema; }; /** * @generated from rpc quixos.orch.OrchestratorRuntime.ListActivations */ listActivations: { methodKind: "unary"; input: typeof ListActivationsRequestSchema; output: typeof ListActivationsResponseSchema; }; /** * @generated from rpc quixos.orch.OrchestratorRuntime.CloseActivation */ closeActivation: { methodKind: "unary"; input: typeof CloseActivationRequestSchema; output: typeof CloseActivationResponseSchema; }; }>; //# sourceMappingURL=orch_pb.d.ts.map