Skip to content

@codesoul-co/hypha-core API

Shared contracts, schemas, Events, policy and runtime ports.

  • Install: npm install @codesoul-co/hypha-core@1.0.1
  • Entrypoint import: import { ... } from '@codesoul-co/hypha-core';
  • Public exports: 1895
  • Source modules: 139

Export overview

KindCount
interface535
type133
class67
constant869
function291

Source modules

ModuleUse whenExportsSource
contracts/artifactUse the Artifact module for declaring and runtime-validating contracts. It exports 15 interfaces, 3 types.18source
contracts/artifact-eventsUse the Artifact events module for declaring and runtime-validating contracts. It exports 2 interfaces, 5 types.7source
contracts/artifact-gcUse the Artifact gc module for declaring and runtime-validating contracts. It exports 8 interfaces.8source
contracts/artifact-managerUse the Artifact manager module for declaring and runtime-validating contracts. It exports 17 interfaces, 4 types.21source
contracts/artifact-record-repositoryUse the Artifact record repository module for declaring and runtime-validating contracts. It exports 2 classes, 5 interfaces.7source
contracts/artifact-retentionUse the Artifact retention module for declaring and runtime-validating contracts. It exports 7 interfaces, 2 types.9source
contracts/artifact-storeUse the Artifact store module for declaring and runtime-validating contracts. It exports 12 interfaces, 1 type.13source
contracts/command-executionUse the Command execution module for declaring and runtime-validating contracts. It exports 6 interfaces, 1 type.7source
contracts/executionUse the Execution module for declaring and runtime-validating contracts. It exports 3 interfaces.3source
contracts/execution-activitiesUse the Execution activities module for declaring and runtime-validating contracts. It exports 1 constant, 2 interfaces, 2 types.5source
contracts/execution-cacheUse the Execution cache module for declaring and runtime-validating contracts. It exports 15 interfaces, 6 types.21source
contracts/execution-eventsUse the Execution events module for declaring and runtime-validating contracts. It exports 4 interfaces, 7 types.11source
contracts/execution-governanceUse the Execution governance module for declaring and runtime-validating contracts. It exports 2 constants, 4 interfaces, 3 types.9source
contracts/execution-human-taskUse the Execution human task module for declaring and runtime-validating contracts. It exports 1 constant, 9 interfaces.10source
contracts/execution-outputUse the Execution output module for declaring and runtime-validating contracts. It exports 9 interfaces, 2 types.11source
contracts/execution-portUse the Execution port module for declaring and runtime-validating contracts. It exports 6 interfaces.6source
contracts/execution-storeUse the Execution store module for declaring and runtime-validating contracts. It exports 14 interfaces, 2 types.16source
contracts/react-continuationUse the React continuation module for declaring and runtime-validating contracts. It exports 2 constants, 5 interfaces, 2 types.9source
contracts/react-continuation-schemasUse the React continuation schemas module for declaring and runtime-validating contracts. It exports 10 constants, 2 functions.12source
contracts/recoveryUse the Recovery module for declaring and runtime-validating contracts. It exports 4 constants, 5 functions, 9 interfaces, 5 types.23source
contracts/recovery-knowledge-schemasUse the Recovery knowledge schemas module for declaring and runtime-validating contracts. It exports 10 constants, 2 functions.12source
contracts/remote-sandbox-providerUse the Remote sandbox provider module for declaring and runtime-validating contracts. It exports 10 interfaces, 1 type.11source
contracts/runtimeUse the Runtime module for declaring and runtime-validating contracts. It exports 6 constants, 8 interfaces, 6 types.20source
contracts/runtime-activitiesUse the Runtime activities module for declaring and runtime-validating contracts. It exports 3 constants, 9 interfaces, 8 types.20source
contracts/runtime-activityUse the Runtime activity module for declaring and runtime-validating contracts. It exports 2 constants, 1 interface, 1 type.4source
contracts/runtime-activity-schemasUse the Runtime activity schemas module for declaring and runtime-validating contracts. It exports 13 constants, 4 functions.17source
contracts/runtime-cancellationUse the Runtime cancellation module for declaring and runtime-validating contracts. It exports 4 constants, 10 interfaces, 4 types.18source
contracts/runtime-cancellation-schemasUse the Runtime cancellation schemas module for declaring and runtime-validating contracts. It exports 12 constants, 3 functions.15source
contracts/runtime-capacityUse the Runtime capacity module for declaring and runtime-validating contracts. It exports 1 constant, 12 interfaces, 1 type.14source
contracts/runtime-capacity-schemasUse the Runtime capacity schemas module for declaring and runtime-validating contracts. It exports 22 constants.22source
contracts/runtime-checkpointUse the Runtime checkpoint module for declaring and runtime-validating contracts. It exports 4 constants, 8 interfaces, 4 types.16source
contracts/runtime-checkpoint-schemasUse the Runtime checkpoint schemas module for declaring and runtime-validating contracts. It exports 26 constants, 6 functions.32source
contracts/runtime-controlUse the Runtime control module for declaring and runtime-validating contracts. It exports 2 constants, 4 interfaces, 3 types.9source
contracts/runtime-control-schemasUse the Runtime control schemas module for declaring and runtime-validating contracts. It exports 13 constants, 2 functions.15source
contracts/runtime-coordinationUse the Runtime coordination module for declaring and runtime-validating contracts. It exports 3 constants, 28 interfaces, 3 types.34source
contracts/runtime-coordination-schemasUse the Runtime coordination schemas module for declaring and runtime-validating contracts. It exports 38 constants, 18 functions.56source
contracts/runtime-helper-schemasUse the Runtime helper schemas module for declaring and runtime-validating contracts. It exports 24 constants, 6 functions.30source
contracts/runtime-helpersUse the Runtime helpers module for declaring and runtime-validating contracts. It exports 2 constants, 27 interfaces, 4 types.33source
contracts/runtime-human-taskUse the Runtime human task module for declaring and runtime-validating contracts. It exports 3 constants, 3 interfaces, 3 types.9source
contracts/runtime-human-task-schemasUse the Runtime human task schemas module for declaring and runtime-validating contracts. It exports 12 constants, 3 functions.15source
contracts/runtime-integrity-auditUse the Runtime integrity audit module for declaring and runtime-validating contracts. It exports 9 interfaces.9source
contracts/runtime-message-schemasUse the Runtime message schemas module for declaring and runtime-validating contracts. It exports 8 constants, 2 functions.10source
contracts/runtime-messagesUse the Runtime messages module for declaring and runtime-validating contracts. It exports 3 constants, 4 interfaces, 3 types.10source
contracts/runtime-projectionUse the Runtime projection module for declaring and runtime-validating contracts. It exports 5 interfaces, 1 type.6source
contracts/runtime-projection-schemasUse the Runtime projection schemas module for declaring and runtime-validating contracts. It exports 7 constants, 1 function.8source
contracts/runtime-queryUse the Runtime query module for declaring and runtime-validating contracts. It exports 6 interfaces.6source
contracts/runtime-query-schemasUse the Runtime query schemas module for declaring and runtime-validating contracts. It exports 18 constants, 4 functions.22source
contracts/runtime-recoveryUse the Runtime recovery module for declaring and runtime-validating contracts. It exports 5 constants, 15 interfaces, 5 types.25source
contracts/runtime-recovery-schemasUse the Runtime recovery schemas module for declaring and runtime-validating contracts. It exports 29 constants, 7 functions.36source
contracts/runtime-replayUse the Runtime replay module for declaring and runtime-validating contracts. It exports 1 constant, 6 interfaces, 1 type.8source
contracts/runtime-replay-schemasUse the Runtime replay schemas module for declaring and runtime-validating contracts. It exports 18 constants, 4 functions.22source
contracts/runtime-schemasUse the Runtime schemas module for declaring and runtime-validating contracts. It exports 40 constants, 8 functions.48source
contracts/runtime-timerUse the Runtime timer module for declaring and runtime-validating contracts. It exports 1 constant, 4 interfaces, 1 type.6source
contracts/runtime-timer-schemasUse the Runtime timer schemas module for declaring and runtime-validating contracts. It exports 10 constants, 2 functions.12source
contracts/sandboxUse the Sandbox module for declaring and runtime-validating contracts. It exports 19 interfaces, 1 type.20source
contracts/sandbox-providerUse the Sandbox provider module for declaring and runtime-validating contracts. It exports 6 interfaces, 3 types.9source
contracts/session-queueUse the Session queue module for declaring and runtime-validating contracts. It exports 5 constants, 20 interfaces, 2 types.27source
contracts/session-queue-schemasUse the Session queue schemas module for declaring and runtime-validating contracts. It exports 24 constants, 8 functions.32source
contracts/workspaceUse the Workspace module for declaring and runtime-validating contracts. It exports 30 interfaces, 9 types.39source
errorsUse the Errors module for normalizing, classifying, or exposing error contracts. It exports 1 class, 1 function, 1 interface.3source
eventsUse the Events module for creating, recording, or reading Event contracts. It exports 1 class, 1 function, 6 interfaces, 3 types.11source
idsUse the Ids module for using the public contracts and operations for this capability boundary. It exports 1 function, 1 interface, 1 type.3source
modules/artifact/eventingUse the Eventing module for creating, recording, or reading Event contracts. It exports 3 classes, 3 interfaces.6source
modules/artifact/eventsUse the Events module for creating, recording, or reading Event contracts. It exports 11 constants, 4 functions, 1 interface.16source
modules/artifact/gcUse the Gc module for using the public contracts and operations for this capability boundary. It exports 1 class, 1 function.2source
modules/artifact/indexUse the Index module for using the public contracts and operations for this capability boundary. It exports 40 constants, 6 functions.46source
modules/artifact/managerUse the Manager module for using the public contracts and operations for this capability boundary. It exports 31 constants, 12 functions.43source
modules/artifact/manager-contentUse the Manager content module for using the public contracts and operations for this capability boundary. It exports 1 function, 2 interfaces.3source
modules/artifact/manager-errorUse the Manager error module for normalizing, classifying, or exposing error contracts. It exports 1 class, 5 functions.6source
modules/artifact/manager-policyUse the Manager policy module for applying policy and governance checks. It exports 6 functions, 1 type.7source
modules/artifact/retentionUse the Retention module for using the public contracts and operations for this capability boundary. It exports 2 classes, 9 constants, 3 functions.14source
modules/artifact/runtimeUse the Runtime module for executing runtime behavior at this boundary. It exports 1 class, 1 interface.2source
modules/artifact/storeUse the Store module for persisting and reading data at this boundary. It exports 26 constants, 10 functions.36source
modules/artifact/store-registryUse the Store registry module for persisting and reading data at this boundary. It exports 1 class, 1 interface.2source
modules/command-execution/indexUse the Index module for executing runtime behavior at this boundary. It exports 19 constants, 5 functions.24source
modules/execution-activities/indexUse the Index module for executing runtime behavior at this boundary. It exports 11 constants, 3 functions.14source
modules/execution-cache/indexUse the Index module for executing runtime behavior at this boundary. It exports 23 constants, 9 functions.32source
modules/execution-cache/runtimeUse the Runtime module for executing runtime behavior at this boundary. It exports 1 class, 1 interface.2source
modules/execution-environment/indexUse the Index module for executing runtime behavior at this boundary. It exports 17 constants, 1 function.18source
modules/execution-events/indexUse the Index module for creating, recording, or reading Event contracts. It exports 19 constants, 3 functions.22source
modules/execution-governance/contractsUse the Contracts module for declaring and runtime-validating contracts. It exports 10 constants, 2 functions.12source
modules/execution-governance/risk-evaluatorUse the Risk evaluator module for executing runtime behavior at this boundary. It exports 1 class, 1 constant.2source
modules/execution-human-task/indexUse the Index module for executing runtime behavior at this boundary. It exports 7 constants, 3 functions, 1 interface.11source
modules/execution-output/collectorUse the Collector module for executing runtime behavior at this boundary. It exports 1 class.1source
modules/execution-output/completionUse the Completion module for executing runtime behavior at this boundary. It exports 2 classes, 1 function, 7 interfaces.10source
modules/execution-output/contractsUse the Contracts module for declaring and runtime-validating contracts. It exports 17 constants, 4 functions.21source
modules/execution-output/plannerUse the Planner module for executing runtime behavior at this boundary. It exports 1 class, 1 function.2source
modules/execution-port/contractsUse the Contracts module for declaring and runtime-validating contracts. It exports 10 constants, 3 functions.13source
modules/execution-port/governed-execution-portUse the Governed execution port module for defining or implementing provider-neutral ports. It exports 1 class.1source
modules/execution-store/durable-execution-workerUse the Durable execution worker module for persisting and reading data at this boundary. It exports 3 classes, 2 interfaces.5source
modules/execution-store/indexUse the Index module for persisting and reading data at this boundary. It exports 37 constants, 11 functions.48source
modules/execution-store/registryUse the Registry module for persisting and reading data at this boundary. It exports 1 class, 1 interface.2source
modules/execution/indexUse the Index module for executing runtime behavior at this boundary. It exports 5 constants, 2 functions.7source
modules/execution/recoveryUse the Recovery module for executing runtime behavior at this boundary. It exports 2 functions, 2 interfaces, 1 type.5source
modules/remote-sandbox-provider/indexUse the Index module for binding external or local providers to Hypha ports. It exports 1 class, 28 constants, 9 functions, 1 interface.39source
modules/runtime/canonical-jsonUse the Canonical JSON module for executing runtime behavior at this boundary. It exports 2 functions, 1 type.3source
modules/runtime/event-runtimeUse the Event runtime module for creating, recording, or reading Event contracts. It exports 1 class, 1 function, 6 interfaces, 1 type.9source
modules/runtime/event-schema-registryUse the Event schema registry module for declaring and runtime-validating contracts. It exports 1 class, 5 interfaces.6source
modules/runtime/event-storeUse the Event store module for creating, recording, or reading Event contracts. It exports 1 class, 8 functions, 8 interfaces.17source
modules/runtime/legacy-wait-migrationUse the Legacy wait migration module for executing runtime behavior at this boundary. It exports 1 constant, 2 functions, 3 interfaces, 1 type.7source
modules/runtime/message-busUse the Message bus module for executing runtime behavior at this boundary. It exports 1 class, 7 functions, 6 interfaces.14source
modules/runtime/message-inbox-outboxUse the Message inbox outbox module for executing runtime behavior at this boundary. It exports 4 classes, 8 interfaces.12source
modules/runtime/orchestration-event-schemasUse the Orchestration event schemas module for declaring and runtime-validating contracts. It exports 8 constants, 2 functions, 4 types.14source
modules/runtime/orchestration-projectionUse the Orchestration projection module for executing runtime behavior at this boundary. It exports 2 constants, 2 functions.4source
modules/runtime/projectionUse the Projection module for executing runtime behavior at this boundary. It exports 2 classes, 1 function, 4 interfaces.7source
modules/runtime/resource-coordinatorUse the Resource coordinator module for executing runtime behavior at this boundary. It exports 1 class, 1 function, 1 interface.3source
modules/runtime/run-controlUse the Run control module for executing runtime behavior at this boundary. It exports 1 class, 1 interface.2source
modules/runtime/run-lease-storeUse the Run lease store module for persisting and reading data at this boundary. It exports 1 class, 2 functions, 1 interface.4source
modules/runtime/runtime-activity-descriptor-storeUse the Runtime activity descriptor store module for persisting and reading data at this boundary. It exports 1 class, 3 interfaces.4source
modules/runtime/runtime-activity-helperUse the Runtime activity helper module for executing runtime behavior at this boundary. It exports 2 classes, 1 interface.3source
modules/runtime/runtime-activity-redispatch-serviceUse the Runtime activity redispatch service module for executing runtime behavior at this boundary. It exports 1 class, 1 function, 6 interfaces, 1 type.9source
modules/runtime/runtime-cancellation-serviceUse the Runtime cancellation service module for executing runtime behavior at this boundary. It exports 1 class, 1 interface.2source
modules/runtime/runtime-capacity-semaphoreUse the Runtime capacity semaphore module for executing runtime behavior at this boundary. It exports 1 class, 1 interface.2source
modules/runtime/runtime-checkpoint-serviceUse the Runtime checkpoint service module for executing runtime behavior at this boundary. It exports 1 class, 1 interface.2source
modules/runtime/runtime-checkpoint-storeUse the Runtime checkpoint store module for persisting and reading data at this boundary. It exports 1 class, 2 functions.3source
modules/runtime/runtime-helper-sdkUse the Runtime helper sdk module for executing runtime behavior at this boundary. It exports 5 classes, 2 functions, 1 interface.8source
modules/runtime/runtime-human-taskUse the Runtime human task module for executing runtime behavior at this boundary. It exports 5 functions.5source
modules/runtime/runtime-human-wait-serviceUse the Runtime human wait service module for executing runtime behavior at this boundary. It exports 1 class, 5 interfaces.6source
modules/runtime/runtime-io-helpersUse the Runtime io helpers module for executing runtime behavior at this boundary. It exports 3 classes, 1 function, 1 interface.5source
modules/runtime/runtime-operational-telemetryUse the Runtime operational telemetry module for executing runtime behavior at this boundary. It exports 1 class, 1 constant, 1 interface, 3 types.6source
modules/runtime/runtime-query-serviceUse the Runtime query service module for executing runtime behavior at this boundary. It exports 1 class, 1 interface.2source
modules/runtime/runtime-recovery-serviceUse the Runtime recovery service module for executing runtime behavior at this boundary. It exports 1 class, 2 interfaces.3source
modules/runtime/runtime-replay-serviceUse the Runtime replay service module for executing runtime behavior at this boundary. It exports 1 class, 1 interface.2source
modules/runtime/runtime-timer-workerUse the Runtime timer worker module for executing runtime behavior at this boundary. It exports 1 class, 1 interface.2source
modules/runtime/session-command-payload-storeUse the Session command payload store module for persisting and reading data at this boundary. It exports 1 class, 3 interfaces, 1 type.5source
modules/runtime/session-command-schedulerUse the Session command scheduler module for executing runtime behavior at this boundary. It exports 1 class, 4 interfaces.5source
modules/runtime/session-command-workerUse the Session command worker module for executing runtime behavior at this boundary. It exports 1 class, 3 interfaces, 3 types.7source
modules/runtime/session-queueUse the Session queue module for executing runtime behavior at this boundary. It exports 1 class, 1 function, 2 interfaces.4source
modules/runtime/state-execution-claim-storeUse the State execution claim store module for persisting and reading data at this boundary. It exports 1 class, 2 functions, 1 interface.4source
modules/sandbox-provider/indexUse the Index module for binding external or local providers to Hypha ports. It exports 13 constants, 4 functions.17source
modules/sandbox-provider/registryUse the Registry module for binding external or local providers to Hypha ports. It exports 1 class, 1 interface.2source
modules/sandbox/indexUse the Index module for using the public contracts and operations for this capability boundary. It exports 15 constants, 8 functions.23source
modules/workspace/eventsUse the Events module for declaring and enforcing workspace scope boundaries. It exports 6 constants, 3 functions.9source
modules/workspace/indexUse the Index module for declaring and enforcing workspace scope boundaries. It exports 25 constants, 3 functions.28source
modules/workspace/operationsUse the Operations module for declaring and enforcing workspace scope boundaries. It exports 18 constants, 10 functions.28source
modules/workspace/snapshotsUse the Snapshots module for declaring and enforcing workspace scope boundaries. It exports 16 constants, 10 functions.26source
schemasUse the Schemas module for declaring and runtime-validating contracts. It exports 52 constants, 12 functions, 1 interface.65source
specsUse the Specs module for declaring and runtime-validating contracts. It exports 2 constants, 2 functions, 22 interfaces, 2 types.28source
telemetryUse the Telemetry module for using the public contracts and operations for this capability boundary. It exports 1 class, 2 interfaces, 1 type.4source

Import boundary

This page documents only the public API exported by the @codesoul-co/hypha-core package entrypoint. Implementations under packages/core/src that are not exported from that entrypoint are not part of the npm package contract.