Implement query execution, scoped RPC enrichment, live collections, and scaffold integration
This commit is contained in:
Vendored
+110
-1
@@ -1,5 +1,6 @@
|
||||
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import type { CaminoObject, CrdtValue, Value } from "../camino/api_pb.js";
|
||||
import type { CaminoObject, CrdtValue, QueryPathPart, QueryRequestSchema, QueryResponse, QueryResponseSchema, Value } from "../camino/api_pb.js";
|
||||
import type { InstalledQuery } from "../camino/schema_pb.js";
|
||||
import type { PackageDescriptor } from "./package_pb.js";
|
||||
import type { CapabilityRef, ConformanceWitness, PackageExportRef } from "./refs_pb.js";
|
||||
import type { DerivedDependency } from "./runtime_pb.js";
|
||||
@@ -8,6 +9,44 @@ import type { Message } from "@bufbuild/protobuf";
|
||||
* Describes the file quixos/orch.proto.
|
||||
*/
|
||||
export declare const file_quixos_orch: GenFile;
|
||||
/**
|
||||
* @generated from message quixos.orch.QueryEvent
|
||||
*/
|
||||
export type QueryEvent = Message<"quixos.orch.QueryEvent"> & {
|
||||
/**
|
||||
* @generated from field: string run_id = 1;
|
||||
*/
|
||||
runId: string;
|
||||
/**
|
||||
* @generated from field: uint64 sequence = 2;
|
||||
*/
|
||||
sequence: bigint;
|
||||
/**
|
||||
* @generated from field: string kind = 3;
|
||||
*/
|
||||
kind: string;
|
||||
/**
|
||||
* @generated from field: camino.QueryResponse snapshot = 4;
|
||||
*/
|
||||
snapshot?: QueryResponse | undefined;
|
||||
/**
|
||||
* @generated from field: repeated camino.QueryPathPart path = 5;
|
||||
*/
|
||||
path: QueryPathPart[];
|
||||
/**
|
||||
* @generated from field: camino.Value value = 6;
|
||||
*/
|
||||
value?: Value | undefined;
|
||||
/**
|
||||
* @generated from field: string error = 7;
|
||||
*/
|
||||
error: string;
|
||||
};
|
||||
/**
|
||||
* Describes the message quixos.orch.QueryEvent.
|
||||
* Use `create(QueryEventSchema)` to create a new message.
|
||||
*/
|
||||
export declare const QueryEventSchema: GenMessage<QueryEvent>;
|
||||
/**
|
||||
* Exact closed interface lookup; no policy selection or competing conformances.
|
||||
*
|
||||
@@ -351,6 +390,10 @@ export type GetWorkspaceRequest = Message<"quixos.orch.GetWorkspaceRequest"> & {
|
||||
* @generated from field: bool include_interface_contracts = 1;
|
||||
*/
|
||||
includeInterfaceContracts: boolean;
|
||||
/**
|
||||
* @generated from field: bool include_query_contracts = 2;
|
||||
*/
|
||||
includeQueryContracts: boolean;
|
||||
};
|
||||
/**
|
||||
* Describes the message quixos.orch.GetWorkspaceRequest.
|
||||
@@ -398,12 +441,62 @@ export type GetWorkspaceResponse = Message<"quixos.orch.GetWorkspaceResponse"> &
|
||||
* @generated from field: repeated quixos.orch.ClassCapability class_capabilities = 8;
|
||||
*/
|
||||
classCapabilities: ClassCapability[];
|
||||
/**
|
||||
* @generated from field: repeated quixos.orch.QueryDescription queries = 9;
|
||||
*/
|
||||
queries: QueryDescription[];
|
||||
/**
|
||||
* @generated from field: uint32 active_query_executions = 10;
|
||||
*/
|
||||
activeQueryExecutions: number;
|
||||
};
|
||||
/**
|
||||
* Describes the message quixos.orch.GetWorkspaceResponse.
|
||||
* Use `create(GetWorkspaceResponseSchema)` to create a new message.
|
||||
*/
|
||||
export declare const GetWorkspaceResponseSchema: GenMessage<GetWorkspaceResponse>;
|
||||
/**
|
||||
* @generated from message quixos.orch.QueryDescription
|
||||
*/
|
||||
export type QueryDescription = Message<"quixos.orch.QueryDescription"> & {
|
||||
/**
|
||||
* @generated from field: string id = 1;
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string package_revision_id = 3;
|
||||
*/
|
||||
packageRevisionId: string;
|
||||
/**
|
||||
* @generated from field: string document = 4;
|
||||
*/
|
||||
document: string;
|
||||
/**
|
||||
* @generated from field: string schema = 5;
|
||||
*/
|
||||
schema: string;
|
||||
/**
|
||||
* @generated from field: repeated string source_files = 6;
|
||||
*/
|
||||
sourceFiles: string[];
|
||||
/**
|
||||
* @generated from field: string effects_json = 7;
|
||||
*/
|
||||
effectsJson: string;
|
||||
/**
|
||||
* @generated from field: camino.InstalledQuery plan = 8;
|
||||
*/
|
||||
plan?: InstalledQuery | undefined;
|
||||
};
|
||||
/**
|
||||
* Describes the message quixos.orch.QueryDescription.
|
||||
* Use `create(QueryDescriptionSchema)` to create a new message.
|
||||
*/
|
||||
export declare const QueryDescriptionSchema: GenMessage<QueryDescription>;
|
||||
/**
|
||||
* @generated from message quixos.orch.ClassCapability
|
||||
*/
|
||||
@@ -695,6 +788,22 @@ export declare const PackageRuntimeStatusSchema: GenMessage<PackageRuntimeStatus
|
||||
* @generated from service quixos.orch.OrchestratorRuntime
|
||||
*/
|
||||
export declare const OrchestratorRuntime: GenService<{
|
||||
/**
|
||||
* @generated from rpc quixos.orch.OrchestratorRuntime.ExecuteQuery
|
||||
*/
|
||||
executeQuery: {
|
||||
methodKind: "unary";
|
||||
input: typeof QueryRequestSchema;
|
||||
output: typeof QueryResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc quixos.orch.OrchestratorRuntime.WatchQuery
|
||||
*/
|
||||
watchQuery: {
|
||||
methodKind: "server_streaming";
|
||||
input: typeof QueryRequestSchema;
|
||||
output: typeof QueryEventSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc quixos.orch.OrchestratorRuntime.TryConform
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user