// @generated by protoc-gen-es v2.12.1 with parameter "target=ts,import_extension=js" // @generated from file quixos/runtime.proto (package quixos.runtime, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; import type { Value } from "../camino/api_pb.js"; import { file_camino_api } from "../camino/api_pb.js"; import type { InjectedDependency, PackageExportRef } from "./refs_pb.js"; import { file_quixos_refs } from "./refs_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file quixos/runtime.proto. */ export const file_quixos_runtime: GenFile = /*@__PURE__*/ fileDesc("ChRxdWl4b3MvcnVudGltZS5wcm90bxIOcXVpeG9zLnJ1bnRpbWUiQAoQSGFuZHNoYWtlUmVxdWVzdBIdChVvcmNoX3Byb3RvY29sX3ZlcnNpb24YASABKAkSDQoFbm9uY2UYAiABKAkirwEKEUhhbmRzaGFrZVJlc3BvbnNlEhsKE3BhY2thZ2VfcmV2aXNpb25faWQYASABKAkSIAoYcnVudGltZV9wcm90b2NvbF92ZXJzaW9uGAIgASgJEhIKCmV4cG9ydF9pZHMYAyADKAkSEwoLaW5zdGFuY2VfaWQYBCABKAkSHAoUYXV0aGVudGljYXRpb25fcHJvb2YYBSABKAkSFAoMY2FwYWJpbGl0aWVzGAYgAygJIpoBChFJbnZvY2F0aW9uQ29udGV4dBIXCg93b3Jrc3BhY2VfZXBvY2gYASABKAkSEwoLaW5zdGFuY2VfaWQYAiABKAkSFgoOYmluZGluZ19kaWdlc3QYAyABKAkSDQoFZ3JhbnQYBCABKAkSEgoKc2Vzc2lvbl9pZBgFIAEoCRIcChRvd25lcl9jb25mb3JtYW5jZV9pZBgGIAEoCSIxChhJbnZvY2F0aW9uQ29udHJvbFJlcXVlc3QSFQoNaW52b2NhdGlvbl9pZBgBIAEoCSI4ChBJbnZvY2F0aW9uU3RhdHVzEhUKDWludm9jYXRpb25faWQYASABKAkSDQoFc3RhdGUYAiABKAkivw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W9iamVjdF9pZBgCIAEoCRIVCg1hdHRhY2htZW50X2lkGAMgASgJEhUKDXByb2plY3Rpb25faWQYBCABKAkilQEKCldhdGNoRXZlbnQSEAoId2F0Y2hfaWQYASABKAkSHAoFdmFsdWUYAiABKAsyDS5jYW1pbm8uVmFsdWUSNwoMZGVwZW5kZW5jaWVzGAMgAygLMiEucXVpeG9zLnJ1bnRpbWUuRGVyaXZlZERlcGVuZGVuY3kSDQoFZXJyb3IYBCABKAkSDwoHaW5pdGlhbBgFIAEoCDKzAwoOUGFja2FnZVJ1bnRpbWUSUAoJSGFuZHNoYWtlEiAucXVpeG9zLnJ1bnRpbWUuSGFuZHNoYWtlUmVxdWVzdBohLnF1aXhvcy5ydW50aW1lLkhhbmRzaGFrZVJlc3BvbnNlEkcKBkludm9rZRIdLnF1aXhvcy5ydW50aW1lLkludm9rZVJlcXVlc3QaHi5xdWl4b3MucnVudGltZS5JbnZva2VSZXNwb25zZRJDCgVXYXRjaBIcLnF1aXhvcy5ydW50aW1lLldhdGNoUmVxdWVzdBoaLnF1aXhvcy5ydW50aW1lLldhdGNoRXZlbnQwARJhChNHZXRJbnZvY2F0aW9uU3RhdHVzEigucXVpeG9zLnJ1bnRpbWUuSW52b2NhdGlvbkNvbnRyb2xSZXF1ZXN0GiAucXVpeG9zLnJ1bnRpbWUuSW52b2NhdGlvblN0YXR1cxJeChBDYW5jZWxJbnZvY2F0aW9uEigucXVpeG9zLnJ1bnRpbWUuSW52b2NhdGlvbkNvbnRyb2xSZXF1ZXN0GiAucXVpeG9zLnJ1bnRpbWUuSW52b2NhdGlvblN0YXR1c2IGcHJvdG8z", [file_camino_api, file_quixos_refs]); /** * @generated from message quixos.runtime.HandshakeRequest */ export type HandshakeRequest = Message<"quixos.runtime.HandshakeRequest"> & { /** * @generated from field: string orch_protocol_version = 1; */ orchProtocolVersion: string; /** * @generated from field: string nonce = 2; */ nonce: string; }; /** * Describes the message quixos.runtime.HandshakeRequest. * Use `create(HandshakeRequestSchema)` to create a new message. */ export const HandshakeRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_runtime, 0); /** * @generated from message quixos.runtime.HandshakeResponse */ export type HandshakeResponse = Message<"quixos.runtime.HandshakeResponse"> & { /** * @generated from field: string package_revision_id = 1; */ packageRevisionId: string; /** * @generated from field: string runtime_protocol_version = 2; */ runtimeProtocolVersion: string; /** * @generated from field: repeated string export_ids = 3; */ exportIds: string[]; /** * @generated from field: string instance_id = 4; */ instanceId: string; /** * @generated from field: string authentication_proof = 5; */ authenticationProof: string; /** * @generated from field: repeated string capabilities = 6; */ capabilities: string[]; }; /** * Describes the message quixos.runtime.HandshakeResponse. * Use `create(HandshakeResponseSchema)` to create a new message. */ export const HandshakeResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_runtime, 1); /** * @generated from message quixos.runtime.InvocationContext */ export type InvocationContext = Message<"quixos.runtime.InvocationContext"> & { /** * @generated from field: string workspace_epoch = 1; */ workspaceEpoch: string; /** * @generated from field: string instance_id = 2; */ instanceId: string; /** * @generated from field: string binding_digest = 3; */ bindingDigest: string; /** * @generated from field: string grant = 4; */ grant: string; /** * @generated from field: string session_id = 5; */ sessionId: string; /** * Host-selected owner; packages must not invent workspace-local ownership. * * @generated from field: string owner_conformance_id = 6; */ ownerConformanceId: string; }; /** * Describes the message quixos.runtime.InvocationContext. * Use `create(InvocationContextSchema)` to create a new message. */ export const InvocationContextSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_runtime, 2); /** * @generated from message quixos.runtime.InvocationControlRequest */ export type InvocationControlRequest = Message<"quixos.runtime.InvocationControlRequest"> & { /** * @generated from field: string invocation_id = 1; */ invocationId: string; }; /** * Describes the message quixos.runtime.InvocationControlRequest. * Use `create(InvocationControlRequestSchema)` to create a new message. */ export const InvocationControlRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_runtime, 3); /** * @generated from message quixos.runtime.InvocationStatus */ export type InvocationStatus = Message<"quixos.runtime.InvocationStatus"> & { /** * @generated from field: string invocation_id = 1; */ invocationId: string; /** * unknown, running, cancellation-requested, completed, failed * * @generated from field: string state = 2; */ state: string; }; /** * Describes the message quixos.runtime.InvocationStatus. * Use `create(InvocationStatusSchema)` to create a new message. */ export const InvocationStatusSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_runtime, 4); /** * @generated from message quixos.runtime.InvokeRequest */ export type InvokeRequest = Message<"quixos.runtime.InvokeRequest"> & { /** * @generated from field: string invocation_id = 1; */ invocationId: string; /** * @generated from field: quixos.PackageExportRef export = 2; */ export?: PackageExportRef | undefined; /** * @generated from field: string object_id = 3; */ objectId: string; /** * @generated from field: map input = 4; */ input: { [key: string]: Value }; /** * @generated from field: repeated quixos.InjectedDependency dependencies = 5; */ dependencies: InjectedDependency[]; /** * @generated from field: quixos.runtime.InvocationContext context = 6; */ context?: InvocationContext | undefined; }; /** * Describes the message quixos.runtime.InvokeRequest. * Use `create(InvokeRequestSchema)` to create a new message. */ export const InvokeRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_runtime, 5); /** * @generated from message quixos.runtime.InvokeResponse */ export type InvokeResponse = Message<"quixos.runtime.InvokeResponse"> & { /** * @generated from field: bool ok = 1; */ ok: boolean; /** * @generated from field: camino.Value result = 2; */ result?: Value | undefined; /** * @generated from field: string error = 3; */ error: string; /** * @generated from field: repeated quixos.runtime.DerivedDependency dependencies = 4; */ dependencies: DerivedDependency[]; }; /** * Describes the message quixos.runtime.InvokeResponse. * Use `create(InvokeResponseSchema)` to create a new message. */ export const InvokeResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_runtime, 6); /** * @generated from message quixos.runtime.WatchRequest */ export type WatchRequest = Message<"quixos.runtime.WatchRequest"> & { /** * @generated from field: string invocation_id = 1; */ invocationId: string; /** * @generated from field: quixos.PackageExportRef export = 2; */ export?: PackageExportRef | undefined; /** * @generated from field: string object_id = 3; */ objectId: string; /** * @generated from field: map input = 4; */ input: { [key: string]: Value }; /** * @generated from field: repeated quixos.InjectedDependency dependencies = 5; */ dependencies: InjectedDependency[]; /** * @generated from field: quixos.runtime.InvocationContext context = 6; */ context?: InvocationContext | undefined; }; /** * Describes the message quixos.runtime.WatchRequest. * Use `create(WatchRequestSchema)` to create a new message. */ export const WatchRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_runtime, 7); /** * @generated from message quixos.runtime.DerivedDependency */ export type DerivedDependency = Message<"quixos.runtime.DerivedDependency"> & { /** * @generated from field: string kind = 1; */ kind: string; /** * @generated from field: string object_id = 2; */ objectId: string; /** * @generated from field: string attachment_id = 3; */ attachmentId: string; /** * @generated from field: string projection_id = 4; */ projectionId: string; }; /** * Describes the message quixos.runtime.DerivedDependency. * Use `create(DerivedDependencySchema)` to create a new message. */ export const DerivedDependencySchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_runtime, 8); /** * @generated from message quixos.runtime.WatchEvent */ export type WatchEvent = Message<"quixos.runtime.WatchEvent"> & { /** * @generated from field: string watch_id = 1; */ watchId: string; /** * @generated from field: camino.Value value = 2; */ value?: Value | undefined; /** * @generated from field: repeated quixos.runtime.DerivedDependency dependencies = 3; */ dependencies: DerivedDependency[]; /** * @generated from field: string error = 4; */ error: string; /** * @generated from field: bool initial = 5; */ initial: boolean; }; /** * Describes the message quixos.runtime.WatchEvent. * Use `create(WatchEventSchema)` to create a new message. */ export const WatchEventSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_runtime, 9); /** * @generated from service quixos.runtime.PackageRuntime */ export const PackageRuntime: GenService<{ /** * @generated from rpc quixos.runtime.PackageRuntime.Handshake */ handshake: { methodKind: "unary"; input: typeof HandshakeRequestSchema; output: typeof HandshakeResponseSchema; }, /** * @generated from rpc quixos.runtime.PackageRuntime.Invoke */ invoke: { methodKind: "unary"; input: typeof InvokeRequestSchema; output: typeof InvokeResponseSchema; }, /** * @generated from rpc quixos.runtime.PackageRuntime.Watch */ watch: { methodKind: "server_streaming"; input: typeof WatchRequestSchema; output: typeof WatchEventSchema; }, /** * @generated from rpc quixos.runtime.PackageRuntime.GetInvocationStatus */ getInvocationStatus: { methodKind: "unary"; input: typeof InvocationControlRequestSchema; output: typeof InvocationStatusSchema; }, /** * @generated from rpc quixos.runtime.PackageRuntime.CancelInvocation */ cancelInvocation: { methodKind: "unary"; input: typeof InvocationControlRequestSchema; output: typeof InvocationStatusSchema; }, }> = /*@__PURE__*/ serviceDesc(file_quixos_runtime, 0);