Expose bounded snapshot-bound definition reads and latest-only watches from the serving checked bundle. Add checked reflection dependency ports, generated SDK bindings and selector-scoped invocation authority. Move Studio factory, contract and query discovery to public reflection inventories. Share an active-definition watch across canvas and standalone routes and invalidate/reload on epoch changes instead of polling GetWorkspace. Document the API and deferred scope; cover compiler/codegen, SDK injection, transport authorization, activation publication, pagination and reconnect behavior. Keep all work local; no deployment or publication.
1251 lines
38 KiB
TypeScript
1251 lines
38 KiB
TypeScript
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
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, FieldEditing, PackageExportRef, WorkspaceQueryScope } 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;
|
|
/**
|
|
* Activated definitions, not runtime metrics or object data. Nested type JSON
|
|
* uses the compiler's canonical ValueType/InterfaceRevision public contracts.
|
|
*
|
|
* @generated from message quixos.orch.DefinitionSelector
|
|
*/
|
|
export type DefinitionSelector = Message<"quixos.orch.DefinitionSelector"> & {
|
|
/**
|
|
* active | atoms | interfaces | conformances | queries | indexes
|
|
*
|
|
* @generated from field: string kind = 1;
|
|
*/
|
|
kind: string;
|
|
/**
|
|
* @generated from field: repeated string ids = 2;
|
|
*/
|
|
ids: string[];
|
|
/**
|
|
* @generated from field: string atom_id = 3;
|
|
*/
|
|
atomId: string;
|
|
/**
|
|
* @generated from field: string interface_revision_id = 4;
|
|
*/
|
|
interfaceRevisionId: string;
|
|
/**
|
|
* @generated from field: string package_revision_id = 5;
|
|
*/
|
|
packageRevisionId: string;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.DefinitionSelector.
|
|
* Use `create(DefinitionSelectorSchema)` to create a new message.
|
|
*/
|
|
export declare const DefinitionSelectorSchema: GenMessage<DefinitionSelector>;
|
|
/**
|
|
* @generated from message quixos.orch.DefinitionIdentity
|
|
*/
|
|
export type DefinitionIdentity = Message<"quixos.orch.DefinitionIdentity"> & {
|
|
/**
|
|
* @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;
|
|
/**
|
|
* @generated from field: string workspace_epoch = 4;
|
|
*/
|
|
workspaceEpoch: string;
|
|
/**
|
|
* @generated from field: string definition_digest = 5;
|
|
*/
|
|
definitionDigest: string;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.DefinitionIdentity.
|
|
* Use `create(DefinitionIdentitySchema)` to create a new message.
|
|
*/
|
|
export declare const DefinitionIdentitySchema: GenMessage<DefinitionIdentity>;
|
|
/**
|
|
* @generated from message quixos.orch.DefinitionRequest
|
|
*/
|
|
export type DefinitionRequest = Message<"quixos.orch.DefinitionRequest"> & {
|
|
/**
|
|
* @generated from field: quixos.orch.DefinitionSelector selector = 1;
|
|
*/
|
|
selector?: DefinitionSelector | undefined;
|
|
/**
|
|
* 1..100; 0 uses 50
|
|
*
|
|
* @generated from field: uint32 first = 2;
|
|
*/
|
|
first: number;
|
|
/**
|
|
* @generated from field: string after = 3;
|
|
*/
|
|
after: string;
|
|
/**
|
|
* issued definition_digest; current serving snapshot only
|
|
*
|
|
* @generated from field: string snapshot = 4;
|
|
*/
|
|
snapshot: string;
|
|
/**
|
|
* required for injected package authority
|
|
*
|
|
* @generated from field: string workspace_id = 5;
|
|
*/
|
|
workspaceId: string;
|
|
/**
|
|
* required for invocation-bound package calls
|
|
*
|
|
* @generated from field: string workspace_epoch = 6;
|
|
*/
|
|
workspaceEpoch: string;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.DefinitionRequest.
|
|
* Use `create(DefinitionRequestSchema)` to create a new message.
|
|
*/
|
|
export declare const DefinitionRequestSchema: GenMessage<DefinitionRequest>;
|
|
/**
|
|
* @generated from message quixos.orch.ReflectedAtom
|
|
*/
|
|
export type ReflectedAtom = Message<"quixos.orch.ReflectedAtom"> & {
|
|
/**
|
|
* @generated from field: string id = 1;
|
|
*/
|
|
id: string;
|
|
/**
|
|
* @generated from field: string display_name = 2;
|
|
*/
|
|
displayName: string;
|
|
/**
|
|
* @generated from field: string constructor_input_type_json = 3;
|
|
*/
|
|
constructorInputTypeJson: string;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.ReflectedAtom.
|
|
* Use `create(ReflectedAtomSchema)` to create a new message.
|
|
*/
|
|
export declare const ReflectedAtomSchema: GenMessage<ReflectedAtom>;
|
|
/**
|
|
* @generated from message quixos.orch.ReflectedInterface
|
|
*/
|
|
export type ReflectedInterface = Message<"quixos.orch.ReflectedInterface"> & {
|
|
/**
|
|
* @generated from field: string id = 1;
|
|
*/
|
|
id: string;
|
|
/**
|
|
* @generated from field: string interface_id = 2;
|
|
*/
|
|
interfaceId: string;
|
|
/**
|
|
* @generated from field: string display_name = 3;
|
|
*/
|
|
displayName: string;
|
|
/**
|
|
* canonical interface contract, excluding source location
|
|
*
|
|
* @generated from field: string contract_json = 4;
|
|
*/
|
|
contractJson: string;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.ReflectedInterface.
|
|
* Use `create(ReflectedInterfaceSchema)` to create a new message.
|
|
*/
|
|
export declare const ReflectedInterfaceSchema: GenMessage<ReflectedInterface>;
|
|
/**
|
|
* @generated from message quixos.orch.ReflectedConformance
|
|
*/
|
|
export type ReflectedConformance = Message<"quixos.orch.ReflectedConformance"> & {
|
|
/**
|
|
* @generated from field: string id = 1;
|
|
*/
|
|
id: string;
|
|
/**
|
|
* @generated from field: string atom_id = 2;
|
|
*/
|
|
atomId: string;
|
|
/**
|
|
* @generated from field: string interface_revision_id = 3;
|
|
*/
|
|
interfaceRevisionId: string;
|
|
/**
|
|
* @generated from field: string definition_id = 4;
|
|
*/
|
|
definitionId: string;
|
|
/**
|
|
* @generated from field: repeated string operation_ids = 5;
|
|
*/
|
|
operationIds: string[];
|
|
/**
|
|
* @generated from field: repeated quixos.orch.ClassCapability class_capabilities = 6;
|
|
*/
|
|
classCapabilities: ClassCapability[];
|
|
/**
|
|
* @generated from field: bool instance = 7;
|
|
*/
|
|
instance: boolean;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.ReflectedConformance.
|
|
* Use `create(ReflectedConformanceSchema)` to create a new message.
|
|
*/
|
|
export declare const ReflectedConformanceSchema: GenMessage<ReflectedConformance>;
|
|
/**
|
|
* @generated from message quixos.orch.ReflectedQuery
|
|
*/
|
|
export type ReflectedQuery = Message<"quixos.orch.ReflectedQuery"> & {
|
|
/**
|
|
* @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 definition_digest = 4;
|
|
*/
|
|
definitionDigest: string;
|
|
/**
|
|
* @generated from field: string binding_digest = 5;
|
|
*/
|
|
bindingDigest: string;
|
|
/**
|
|
* @generated from field: string root_kind = 6;
|
|
*/
|
|
rootKind: string;
|
|
/**
|
|
* @generated from field: string interface_revision_id = 7;
|
|
*/
|
|
interfaceRevisionId: string;
|
|
/**
|
|
* @generated from field: string variables_type_json = 8;
|
|
*/
|
|
variablesTypeJson: string;
|
|
/**
|
|
* @generated from field: string output_type_json = 9;
|
|
*/
|
|
outputTypeJson: string;
|
|
/**
|
|
* @generated from field: string effects_json = 10;
|
|
*/
|
|
effectsJson: string;
|
|
/**
|
|
* @generated from field: bool watch = 11;
|
|
*/
|
|
watch: boolean;
|
|
/**
|
|
* @generated from field: quixos.WorkspaceQueryScope workspace_scope = 12;
|
|
*/
|
|
workspaceScope?: WorkspaceQueryScope | undefined;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.ReflectedQuery.
|
|
* Use `create(ReflectedQuerySchema)` to create a new message.
|
|
*/
|
|
export declare const ReflectedQuerySchema: GenMessage<ReflectedQuery>;
|
|
/**
|
|
* @generated from message quixos.orch.ReflectedIndex
|
|
*/
|
|
export type ReflectedIndex = Message<"quixos.orch.ReflectedIndex"> & {
|
|
/**
|
|
* @generated from field: string id = 1;
|
|
*/
|
|
id: string;
|
|
/**
|
|
* @generated from field: string contract_json = 2;
|
|
*/
|
|
contractJson: string;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.ReflectedIndex.
|
|
* Use `create(ReflectedIndexSchema)` to create a new message.
|
|
*/
|
|
export declare const ReflectedIndexSchema: GenMessage<ReflectedIndex>;
|
|
/**
|
|
* @generated from message quixos.orch.DefinitionRecord
|
|
*/
|
|
export type DefinitionRecord = Message<"quixos.orch.DefinitionRecord"> & {
|
|
/**
|
|
* @generated from oneof quixos.orch.DefinitionRecord.definition
|
|
*/
|
|
definition: {
|
|
/**
|
|
* @generated from field: quixos.orch.ReflectedAtom atom = 1;
|
|
*/
|
|
value: ReflectedAtom;
|
|
case: "atom";
|
|
} | {
|
|
/**
|
|
* @generated from field: quixos.orch.ReflectedInterface interface = 2;
|
|
*/
|
|
value: ReflectedInterface;
|
|
case: "interface";
|
|
} | {
|
|
/**
|
|
* @generated from field: quixos.orch.ReflectedConformance conformance = 3;
|
|
*/
|
|
value: ReflectedConformance;
|
|
case: "conformance";
|
|
} | {
|
|
/**
|
|
* @generated from field: quixos.orch.ReflectedQuery query = 4;
|
|
*/
|
|
value: ReflectedQuery;
|
|
case: "query";
|
|
} | {
|
|
/**
|
|
* @generated from field: quixos.orch.ReflectedIndex index = 5;
|
|
*/
|
|
value: ReflectedIndex;
|
|
case: "index";
|
|
} | {
|
|
case: undefined;
|
|
value?: undefined;
|
|
};
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.DefinitionRecord.
|
|
* Use `create(DefinitionRecordSchema)` to create a new message.
|
|
*/
|
|
export declare const DefinitionRecordSchema: GenMessage<DefinitionRecord>;
|
|
/**
|
|
* @generated from message quixos.orch.DefinitionPage
|
|
*/
|
|
export type DefinitionPage = Message<"quixos.orch.DefinitionPage"> & {
|
|
/**
|
|
* @generated from field: quixos.orch.DefinitionIdentity identity = 1;
|
|
*/
|
|
identity?: DefinitionIdentity | undefined;
|
|
/**
|
|
* @generated from field: repeated quixos.orch.DefinitionRecord records = 2;
|
|
*/
|
|
records: DefinitionRecord[];
|
|
/**
|
|
* @generated from field: string next_cursor = 3;
|
|
*/
|
|
nextCursor: string;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.DefinitionPage.
|
|
* Use `create(DefinitionPageSchema)` to create a new message.
|
|
*/
|
|
export declare const DefinitionPageSchema: GenMessage<DefinitionPage>;
|
|
/**
|
|
* @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.
|
|
*
|
|
* @generated from message quixos.orch.TryConformRequest
|
|
*/
|
|
export type TryConformRequest = Message<"quixos.orch.TryConformRequest"> & {
|
|
/**
|
|
* @generated from field: string object_id = 1;
|
|
*/
|
|
objectId: string;
|
|
/**
|
|
* @generated from field: string interface_revision_id = 2;
|
|
*/
|
|
interfaceRevisionId: string;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.TryConformRequest.
|
|
* Use `create(TryConformRequestSchema)` to create a new message.
|
|
*/
|
|
export declare const TryConformRequestSchema: GenMessage<TryConformRequest>;
|
|
/**
|
|
* @generated from message quixos.orch.TryConformResponse
|
|
*/
|
|
export type TryConformResponse = Message<"quixos.orch.TryConformResponse"> & {
|
|
/**
|
|
* Absent only when this object lacks a known contract. Other failures are errors.
|
|
*
|
|
* @generated from field: quixos.ConformanceWitness conformance = 1;
|
|
*/
|
|
conformance?: ConformanceWitness | undefined;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.TryConformResponse.
|
|
* Use `create(TryConformResponseSchema)` to create a new message.
|
|
*/
|
|
export declare const TryConformResponseSchema: GenMessage<TryConformResponse>;
|
|
/**
|
|
* @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<string, camino.Value> 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<ConstructObjectRequest>;
|
|
/**
|
|
* @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<ConstructObjectResponse>;
|
|
/**
|
|
* @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<ResolveOrConstructRelatedObjectRequest>;
|
|
/**
|
|
* @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<ResolveOrConstructRelatedObjectResponse>;
|
|
/**
|
|
* @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<string, camino.Value> input = 3;
|
|
*/
|
|
input: {
|
|
[key: string]: Value;
|
|
};
|
|
/**
|
|
* Identifies one logical client mutation across the capability and Camino
|
|
* layers so a live-value controller can recognize its own confirmation.
|
|
*
|
|
* @generated from field: string client_mutation_id = 4;
|
|
*/
|
|
clientMutationId: string;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.InvokeCapabilityRequest.
|
|
* Use `create(InvokeCapabilityRequestSchema)` to create a new message.
|
|
*/
|
|
export declare const InvokeCapabilityRequestSchema: GenMessage<InvokeCapabilityRequest>;
|
|
/**
|
|
* @generated from message quixos.orch.InvokeClassCapabilityRequest
|
|
*/
|
|
export type InvokeClassCapabilityRequest = Message<"quixos.orch.InvokeClassCapabilityRequest"> & {
|
|
/**
|
|
* @generated from field: string conformance_id = 1;
|
|
*/
|
|
conformanceId: string;
|
|
/**
|
|
* @generated from field: string operation_id = 2;
|
|
*/
|
|
operationId: string;
|
|
/**
|
|
* @generated from field: map<string, camino.Value> input = 3;
|
|
*/
|
|
input: {
|
|
[key: string]: Value;
|
|
};
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.InvokeClassCapabilityRequest.
|
|
* Use `create(InvokeClassCapabilityRequestSchema)` to create a new message.
|
|
*/
|
|
export declare const InvokeClassCapabilityRequestSchema: GenMessage<InvokeClassCapabilityRequest>;
|
|
/**
|
|
* @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;
|
|
/**
|
|
* @generated from field: repeated quixos.runtime.DerivedDependency dependencies = 6;
|
|
*/
|
|
dependencies: DerivedDependency[];
|
|
/**
|
|
* @generated from field: quixos.FieldEditing field_editing = 7;
|
|
*/
|
|
fieldEditing?: FieldEditing | undefined;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.InvokeCapabilityResponse.
|
|
* Use `create(InvokeCapabilityResponseSchema)` to create a new message.
|
|
*/
|
|
export declare const InvokeCapabilityResponseSchema: GenMessage<InvokeCapabilityResponse>;
|
|
/**
|
|
* @generated from message quixos.orch.EditCapabilityFieldRequest
|
|
*/
|
|
export type EditCapabilityFieldRequest = Message<"quixos.orch.EditCapabilityFieldRequest"> & {
|
|
/**
|
|
* The public getter; setter must belong to the same value member.
|
|
*
|
|
* @generated from field: quixos.CapabilityRef capability = 1;
|
|
*/
|
|
capability?: CapabilityRef | undefined;
|
|
/**
|
|
* @generated from field: string object_id = 2;
|
|
*/
|
|
objectId: string;
|
|
/**
|
|
* @generated from field: string setter_operation_id = 3;
|
|
*/
|
|
setterOperationId: string;
|
|
/**
|
|
* @generated from field: string binding_digest = 4;
|
|
*/
|
|
bindingDigest: string;
|
|
/**
|
|
* @generated from oneof quixos.orch.EditCapabilityFieldRequest.edit
|
|
*/
|
|
edit: {
|
|
/**
|
|
* @generated from field: camino.CrdtValue update = 5;
|
|
*/
|
|
value: CrdtValue;
|
|
case: "update";
|
|
} | {
|
|
/**
|
|
* @generated from field: camino.Value replacement = 7;
|
|
*/
|
|
value: Value;
|
|
case: "replacement";
|
|
} | {
|
|
case: undefined;
|
|
value?: undefined;
|
|
};
|
|
/**
|
|
* @generated from field: string client_mutation_id = 6;
|
|
*/
|
|
clientMutationId: string;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.EditCapabilityFieldRequest.
|
|
* Use `create(EditCapabilityFieldRequestSchema)` to create a new message.
|
|
*/
|
|
export declare const EditCapabilityFieldRequestSchema: GenMessage<EditCapabilityFieldRequest>;
|
|
/**
|
|
* @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<string, camino.Value> 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<WatchCapabilityRequest>;
|
|
/**
|
|
* @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;
|
|
/**
|
|
* @generated from field: quixos.FieldEditing field_editing = 8;
|
|
*/
|
|
fieldEditing?: FieldEditing | undefined;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.WatchCapabilityEvent.
|
|
* Use `create(WatchCapabilityEventSchema)` to create a new message.
|
|
*/
|
|
export declare const WatchCapabilityEventSchema: GenMessage<WatchCapabilityEvent>;
|
|
/**
|
|
* @generated from message quixos.orch.GetWorkspaceRequest
|
|
*/
|
|
export type GetWorkspaceRequest = Message<"quixos.orch.GetWorkspaceRequest"> & {
|
|
/**
|
|
* Revision polling must not download the entire interface graph.
|
|
*
|
|
* @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.
|
|
* Use `create(GetWorkspaceRequestSchema)` to create a new message.
|
|
*/
|
|
export declare const GetWorkspaceRequestSchema: GenMessage<GetWorkspaceRequest>;
|
|
/**
|
|
* @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;
|
|
/**
|
|
* Checked constructors whose wire input can be empty. The create panel uses
|
|
* class factory conformances instead of this constructor inventory.
|
|
*
|
|
* @generated from field: repeated string empty_input_constructible_atom_ids = 4;
|
|
*/
|
|
emptyInputConstructibleAtomIds: string[];
|
|
/**
|
|
* @generated from field: repeated quixos.orch.CapabilityInputContract capability_inputs = 5;
|
|
*/
|
|
capabilityInputs: CapabilityInputContract[];
|
|
/**
|
|
* @generated from field: repeated quixos.orch.ConstructorInputContract constructor_inputs = 6;
|
|
*/
|
|
constructorInputs: ConstructorInputContract[];
|
|
/**
|
|
* Exact closed interface contracts used by checked presentation consumers.
|
|
*
|
|
* @generated from field: string interfaces_json = 7;
|
|
*/
|
|
interfacesJson: string;
|
|
/**
|
|
* @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;
|
|
/**
|
|
* @generated from field: quixos.WorkspaceQueryScope workspace_scope = 9;
|
|
*/
|
|
workspaceScope?: WorkspaceQueryScope | 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
|
|
*/
|
|
export type ClassCapability = Message<"quixos.orch.ClassCapability"> & {
|
|
/**
|
|
* @generated from field: string conformance_id = 1;
|
|
*/
|
|
conformanceId: string;
|
|
/**
|
|
* @generated from field: string atom_id = 2;
|
|
*/
|
|
atomId: string;
|
|
/**
|
|
* @generated from field: string interface_revision_id = 3;
|
|
*/
|
|
interfaceRevisionId: string;
|
|
/**
|
|
* @generated from field: string definition_id = 4;
|
|
*/
|
|
definitionId: string;
|
|
/**
|
|
* @generated from field: string operation_id = 5;
|
|
*/
|
|
operationId: string;
|
|
/**
|
|
* @generated from field: string input_type_json = 6;
|
|
*/
|
|
inputTypeJson: string;
|
|
/**
|
|
* @generated from field: string output_type_json = 7;
|
|
*/
|
|
outputTypeJson: string;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.ClassCapability.
|
|
* Use `create(ClassCapabilitySchema)` to create a new message.
|
|
*/
|
|
export declare const ClassCapabilitySchema: GenMessage<ClassCapability>;
|
|
/**
|
|
* @generated from message quixos.orch.CapabilityInputContract
|
|
*/
|
|
export type CapabilityInputContract = Message<"quixos.orch.CapabilityInputContract"> & {
|
|
/**
|
|
* @generated from field: string interface_revision_id = 1;
|
|
*/
|
|
interfaceRevisionId: string;
|
|
/**
|
|
* @generated from field: string operation_id = 2;
|
|
*/
|
|
operationId: string;
|
|
/**
|
|
* @generated from field: string type_json = 3;
|
|
*/
|
|
typeJson: string;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.CapabilityInputContract.
|
|
* Use `create(CapabilityInputContractSchema)` to create a new message.
|
|
*/
|
|
export declare const CapabilityInputContractSchema: GenMessage<CapabilityInputContract>;
|
|
/**
|
|
* @generated from message quixos.orch.ConstructorInputContract
|
|
*/
|
|
export type ConstructorInputContract = Message<"quixos.orch.ConstructorInputContract"> & {
|
|
/**
|
|
* @generated from field: string atom_id = 1;
|
|
*/
|
|
atomId: string;
|
|
/**
|
|
* @generated from field: string type_json = 2;
|
|
*/
|
|
typeJson: string;
|
|
};
|
|
/**
|
|
* Describes the message quixos.orch.ConstructorInputContract.
|
|
* Use `create(ConstructorInputContractSchema)` to create a new message.
|
|
*/
|
|
export declare const ConstructorInputContractSchema: GenMessage<ConstructorInputContract>;
|
|
/**
|
|
* @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<ListActivationsRequest>;
|
|
/**
|
|
* @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<ListPackageDescriptorsRequest>;
|
|
/**
|
|
* @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<ListPackageDescriptorsResponse>;
|
|
/**
|
|
* @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<ListPackageRuntimesRequest>;
|
|
/**
|
|
* @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<ListPackageRuntimesResponse>;
|
|
/**
|
|
* @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<ListActivationsResponse>;
|
|
/**
|
|
* @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<CloseActivationRequest>;
|
|
/**
|
|
* @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<CloseActivationResponse>;
|
|
/**
|
|
* @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<Activation>;
|
|
/**
|
|
* @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<PackageRuntimeStatus>;
|
|
/**
|
|
* @generated from service quixos.orch.OrchestratorRuntime
|
|
*/
|
|
export declare const OrchestratorRuntime: GenService<{
|
|
/**
|
|
* @generated from rpc quixos.orch.OrchestratorRuntime.ReadDefinitions
|
|
*/
|
|
readDefinitions: {
|
|
methodKind: "unary";
|
|
input: typeof DefinitionRequestSchema;
|
|
output: typeof DefinitionPageSchema;
|
|
};
|
|
/**
|
|
* @generated from rpc quixos.orch.OrchestratorRuntime.WatchDefinitions
|
|
*/
|
|
watchDefinitions: {
|
|
methodKind: "server_streaming";
|
|
input: typeof DefinitionRequestSchema;
|
|
output: typeof DefinitionPageSchema;
|
|
};
|
|
/**
|
|
* @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
|
|
*/
|
|
tryConform: {
|
|
methodKind: "unary";
|
|
input: typeof TryConformRequestSchema;
|
|
output: typeof TryConformResponseSchema;
|
|
};
|
|
/**
|
|
* @generated from rpc quixos.orch.OrchestratorRuntime.InvokeCapability
|
|
*/
|
|
invokeCapability: {
|
|
methodKind: "unary";
|
|
input: typeof InvokeCapabilityRequestSchema;
|
|
output: typeof InvokeCapabilityResponseSchema;
|
|
};
|
|
/**
|
|
* @generated from rpc quixos.orch.OrchestratorRuntime.EditCapabilityField
|
|
*/
|
|
editCapabilityField: {
|
|
methodKind: "unary";
|
|
input: typeof EditCapabilityFieldRequestSchema;
|
|
output: typeof InvokeCapabilityResponseSchema;
|
|
};
|
|
/**
|
|
* @generated from rpc quixos.orch.OrchestratorRuntime.InvokeClassCapability
|
|
*/
|
|
invokeClassCapability: {
|
|
methodKind: "unary";
|
|
input: typeof InvokeClassCapabilityRequestSchema;
|
|
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
|