// @generated by protoc-gen-es v2.12.1 with parameter "target=ts,import_extension=js" // @generated from file quixos/orch.proto (package quixos.orch, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; import type { CaminoObject, Value } from "../camino/api_pb.js"; import { file_camino_api } from "../camino/api_pb.js"; import type { PackageDescriptor } from "./package_pb.js"; import { file_quixos_package } from "./package_pb.js"; import type { CapabilityRef, PackageExportRef } from "./refs_pb.js"; import { file_quixos_refs } from "./refs_pb.js"; import type { DerivedDependency } from "./runtime_pb.js"; import { file_quixos_runtime } from "./runtime_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file quixos/orch.proto. */ export const file_quixos_orch: GenFile = /*@__PURE__*/ fileDesc("ChFxdWl4b3Mvb3JjaC5wcm90bxILcXVpeG9zLm9yY2gipQEKFkNvbnN0cnVjdE9iamVjdFJlcXVlc3QSDwoHYXRvbV9pZBgBIAEoCRI9CgVpbnB1dBgCIAMoCzIuLnF1aXhvcy5vcmNoLkNvbnN0cnVjdE9iamVjdFJlcXVlc3QuSW5wdXRFbnRyeRo7CgpJbnB1dEVudHJ5EgsKA2tleRgBIAEoCRIcCgV2YWx1ZRgCIAEoCzINLmNhbWluby5WYWx1ZToCOAEiPwoXQ29uc3RydWN0T2JqZWN0UmVzcG9uc2USJAoGb2JqZWN0GAEgASgLMhQuY2FtaW5vLkNhbWlub09iamVjdCLUAQoXSW52b2tlQ2FwYWJpbGl0eVJlcXVlc3QSKQoKY2FwYWJpbGl0eRgBIAEoCzIVLnF1aXhvcy5DYXBhYmlsaXR5UmVmEhEKCW9iamVjdF9pZBgCIAEoCRI+CgVpbnB1dBgDIAMoCzIvLnF1aXhvcy5vcmNoLkludm9rZUNhcGFiaWxpdHlSZXF1ZXN0LklucHV0RW50cnkaOwoKSW5wdXRFbnRyeRILCgNrZXkYASABKAkSHAoFdmFsdWUYAiABKAsy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dGlvbnMSIy5xdWl4b3Mub3JjaC5MaXN0QWN0aXZhdGlvbnNSZXF1ZXN0GiQucXVpeG9zLm9yY2guTGlzdEFjdGl2YXRpb25zUmVzcG9uc2USXAoPQ2xvc2VBY3RpdmF0aW9uEiMucXVpeG9zLm9yY2guQ2xvc2VBY3RpdmF0aW9uUmVxdWVzdBokLnF1aXhvcy5vcmNoLkNsb3NlQWN0aXZhdGlvblJlc3BvbnNlYgZwcm90bzM", [file_camino_api, file_quixos_package, file_quixos_refs, file_quixos_runtime]); /** * @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 const ConstructObjectRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 0); /** * @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 const ConstructObjectResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 1); /** * @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 const InvokeCapabilityRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 2); /** * @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 const InvokeCapabilityResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 3); /** * @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 const WatchCapabilityRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 4); /** * @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 const WatchCapabilityEventSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 5); /** * @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 const GetWorkspaceRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 6); /** * @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 const GetWorkspaceResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 7); /** * @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 const ListActivationsRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 8); /** * @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 const ListPackageDescriptorsRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 9); /** * @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 const ListPackageDescriptorsResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 10); /** * @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 const ListPackageRuntimesRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 11); /** * @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 const ListPackageRuntimesResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 12); /** * @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 const ListActivationsResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 13); /** * @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 const CloseActivationRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 14); /** * @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 const CloseActivationResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 15); /** * @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 const ActivationSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 16); /** * @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 const PackageRuntimeStatusSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 17); /** * @generated from service quixos.orch.OrchestratorRuntime */ export 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.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; }, }> = /*@__PURE__*/ serviceDesc(file_quixos_orch, 0);