Skip to content

@codesoul-co/hypha-core / modules/execution-output/planner

Using this module

Use the Planner module for executing runtime behavior at this boundary. It exports 1 class, 1 function.

Import from the package entrypoint

ts
import {
  DefaultExecutionOutputPlanner,
  classifyExecutionOutput,
} from '@codesoul-co/hypha-core';

Usage patterns

  • The module exposes 1 class as constructable runtime implementations. Each symbol entry lists its constructor and public methods.
  • The module exposes 1 function as direct operation entrypoints. Every overload, required/optional parameter, and return type is documented below.

Public exports

SymbolKindSignatureDescription
DefaultExecutionOutputPlannerclassnew DefaultExecutionOutputPlanner(): DefaultExecutionOutputPlannerDefault Execution Output Planner class with 2 public constructor or member entries; its exact declarations are listed below.
classifyExecutionOutputfunctionclassifyExecutionOutput(relativePath: string): ArtifactClassificationClassify Execution Output function with 1 public call signature; parameters and return types are listed below.

DefaultExecutionOutputPlanner

Default Execution Output Planner class with 2 public constructor or member entries; its exact declarations are listed below.

Declaration

text
export declare class DefaultExecutionOutputPlanner implements ExecutionOutputPlanner {
    plan(rawResult: CommandExecutionResult, rawPolicy: ExecutionOutputCollectionPolicy): ExecutionOutputCollectionPlan;
}

Public members

MemberKindSignatureDescription
constructorconstructor(): DefaultExecutionOutputPlannerCreates an instance of this class.
planmethodplan(rawResult: CommandExecutionResult, rawPolicy: ExecutionOutputCollectionPolicy): ExecutionOutputCollectionPlanPublic method; parameters and return type are shown in the signature.

classifyExecutionOutput

Classify Execution Output function with 1 public call signature; parameters and return types are listed below.

Declaration

text
export declare function classifyExecutionOutput(relativePath: string): ArtifactClassification;

Call signature

text
classifyExecutionOutput(relativePath: string): ArtifactClassification

Parameters

ParameterTypeRequiredDescription
relativePathstringYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: ArtifactClassification
  • Description: The return contract is defined by the type shown above.