Files
dev/third_party/pi/packages/chord/src/index.ts
alexion 4def357d09 chore(vendor): import pi 0.85.1
Imported as a linear vendor commit so forge rebases do not replay the upstream root tree.

git-subtree-dir: third_party/pi

git-subtree-split: d981de1229ef899957bbe968bc8dcda02a21f477
2026-09-14 10:48:47 -04:00

80 lines
1.8 KiB
TypeScript

/**
* Chord is a standalone application-composition runtime for agentic applications.
*/
export {
combineFacetLoaders,
createFacetHost,
createRemoteServiceBinding,
createStaticFacetLoader,
defineFacet,
defineService,
replicatedState,
} from "./api.ts";
export { isJsonValue } from "./json.ts";
export {
isRemoteServiceErrorCode,
REMOTE_SERVICE_ERROR_CODES,
RemoteServiceError,
type RemoteServiceErrorCode,
} from "./services/errors.ts";
export {
createRemoteServiceEndpoint,
type RemoteServiceEndpoint,
RemoteServiceProvider,
type ServiceUpdatePublisher,
} from "./services/provider.ts";
export {
createServiceStateDecoder,
createServiceStateEncoder,
type ServiceStateDecoder,
type ServiceStateEncoder,
} from "./services/state-codec.ts";
export {
createServiceCatalogueCall,
createServiceSubscribeCall,
createServiceUnsubscribeCall,
decodeServiceControlCall,
parseServiceCall,
parseServiceCatalogue,
parseServiceProviderUpdate,
parseServiceSubscriptionSnapshot,
parseWireServiceProviderUpdate,
parseWireServiceSubscriptionSnapshot,
type ServiceControlCall,
type WireServiceInstanceSnapshot,
type WireServiceMemberSnapshot,
type WireServiceProviderUpdate,
type WireServiceSubscriptionSnapshot,
} from "./services/wire.ts";
export type {
Context,
ContextKey,
Facet,
FacetEnvironment,
FacetHost,
FacetLoader,
FacetOptions,
JsonRepresentation,
JsonValue,
LoadedFacets,
MutableReplicatedState,
RemoteServiceBinding,
RemoteServiceBindingOptions,
RemoteServiceSource,
RemoteServices,
RemoteServiceTransport,
ReplicatedState,
ReplicatedStateDelivery,
Service,
ServiceCall,
ServiceCatalogueEntry,
ServiceInstanceAddress,
ServiceInstanceSnapshot,
ServiceMemberSnapshot,
ServiceMode,
ServiceProviderUpdate,
ServiceSpawner,
ServiceSubscription,
ServiceSubscriptionSnapshot,
} from "./types.ts";