ToolExecutionAcquisition

Unpublished development API. This package is under development and is not available as a published release.

Store acquisition outcome: execution authority, an encoded cached result, unavailable ownership, or an invocation conflict.

import type { ToolExecutionAcquisition } from '@threadplane/core/tools';

Declaration

export type ToolExecutionAcquisition = {
    readonly status: 'acquired';
    readonly token: string;
} | {
    readonly status: 'complete';
    readonly result: string;
} | {
    readonly status: 'unavailable';
} | {
    readonly status: 'conflict';
};