Skip to content

@usine/core/step/result

A GitHub comment the agent created or updated during the Attempt.

  • Schema.Class

new Comment(…args): Comment

Parameter Type
…args [props: object, options?: MakeOptions]

Comment

readonly url: URL


A commit the executor found between the workspace base and final HEAD.

  • Schema.Class

new Commit(…args): Commit

Parameter Type
…args [props: object, options?: MakeOptions]

Commit

readonly sha: string & Brand<"CommitSha">

readonly summary: string


A pull request the agent created or updated during the Attempt.

  • Schema.Class

new PullRequest(…args): PullRequest

Parameter Type
…args [props: object, options?: MakeOptions]

PullRequest

readonly number: number

readonly url: URL


The agent’s final message plus the facts that survive workspace cleanup.

  • Schema.Class

new StepResult(…args): StepResult

Parameter Type
…args [props: object, options?: MakeOptions]

StepResult

readonly facts: readonly (Commit | PullRequest | Comment)[]

readonly message: string

StepResultFact = typeof StepResultFact.Type

A commit or GitHub artifact recorded as an outcome of the Agent’s work.

const StepResultFact: Schema.Union<readonly [typeof Commit, typeof PullRequest, typeof Comment]>

A commit or GitHub artifact recorded as an outcome of the Agent’s work.