ce6ae8f662
Enable evolution by default for source-backed workspaces. Add stable conformance ownership, semantic-major review, candidate typechecking, and durable fenced cutover with explicit migrations and forward recovery. Independently supervise package runtimes so unchanged resource owners keep their processes and connections across cutover. Add scoped invocation authority, resource sessions, and typed callback rebinding. Wire opaque object references through generated bindings and RPCs. Add canonical relationship sets, keyed maps, and ordered lists with scoped transactional mutations, revision checks, and inverse consistency. Support planned cascade deletion, protection, tombstones, and lifecycle foundations. Add journaled structural edits, package/function/migration scaffolding, managed repository creation, and resumable bottom-up dependency pin publication. Document lifetime boundaries, revision pinning, prototype compatibility policy, commands, and deferred work. Validate with 210 tests, user-systemd process/connection continuity, generated-package TypeScript checks, and Nix host/protocol checks. TTL handoff, physical reclamation, general multi-step migrations, and root-systemd migration isolation acceptance remain deferred.
330 lines
9.6 KiB
TypeScript
330 lines
9.6 KiB
TypeScript
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
import type { Value } from "../camino/api_pb.js";
|
|
import type { InjectedDependency, PackageExportRef } from "./refs_pb.js";
|
|
import type { Message } from "@bufbuild/protobuf";
|
|
/**
|
|
* Describes the file quixos/runtime.proto.
|
|
*/
|
|
export declare const file_quixos_runtime: GenFile;
|
|
/**
|
|
* @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 declare const HandshakeRequestSchema: GenMessage<HandshakeRequest>;
|
|
/**
|
|
* @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 declare const HandshakeResponseSchema: GenMessage<HandshakeResponse>;
|
|
/**
|
|
* @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 declare const InvocationContextSchema: GenMessage<InvocationContext>;
|
|
/**
|
|
* @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 declare const InvocationControlRequestSchema: GenMessage<InvocationControlRequest>;
|
|
/**
|
|
* @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 declare const InvocationStatusSchema: GenMessage<InvocationStatus>;
|
|
/**
|
|
* @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<string, camino.Value> 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 declare const InvokeRequestSchema: GenMessage<InvokeRequest>;
|
|
/**
|
|
* @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 declare const InvokeResponseSchema: GenMessage<InvokeResponse>;
|
|
/**
|
|
* @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<string, camino.Value> 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 declare const WatchRequestSchema: GenMessage<WatchRequest>;
|
|
/**
|
|
* @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 declare const DerivedDependencySchema: GenMessage<DerivedDependency>;
|
|
/**
|
|
* @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 declare const WatchEventSchema: GenMessage<WatchEvent>;
|
|
/**
|
|
* @generated from service quixos.runtime.PackageRuntime
|
|
*/
|
|
export declare 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;
|
|
};
|
|
}>;
|
|
//# sourceMappingURL=runtime_pb.d.ts.map
|