Hyperlinkv0.8.0-beta.28

Hyperlink

Hyperlink.MethodAnnotationsinterfacesrc/Hyperlink.ts:382

Tool metadata attached to a method via Method.annotate — the Effect annotation idiom. Inert to the type inference and the wire contract; it only feeds the tools that render this resource.

modelsMethod.annotate
Source src/Hyperlink.ts:38211 lines
export interface MethodAnnotations {
  /** Help text — CLI/TUI help, dashboard tooltips. */
  readonly description?: string;
  /** A `mutate` that loses state (`shutdown`/`clear`/`drop`) → confirm / danger styling. */
  readonly destructive?: boolean;
  /**
   * When `"pair"`, a 2-tuple payload is surfaced as two call arguments `(first, second?)`
   * instead of a single tuple (used by custom-queue `add(item, level?)`).
   */
  readonly callStyle?: "pair";
}
Referenced by 6 symbols