UNPKG

claude-flow

Version:

Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)

51 lines (50 loc) 2.39 kB
/// <reference types="node" /> import taskagentbasem = require('./TaskAgentApiBase'); import TaskAgentInterfaces = require("./interfaces/TaskAgentInterfaces"); import VsoBaseInterfaces = require('./interfaces/common/VsoBaseInterfaces'); export interface ITaskAgentApi extends taskagentbasem.ITaskAgentApiBase { constructor(customHeaders: VsoBaseInterfaces.IHeaders, contentStream: NodeJS.ReadableStream, taskId: string, overwrite: boolean): Promise<void>; } export declare class TaskAgentApi extends taskagentbasem.TaskAgentApiBase implements ITaskAgentApi { private _handlers; private _options; private _fallbackClient; constructor(baseUrl: string, handlers: VsoBaseInterfaces.IRequestHandler[], options?: VsoBaseInterfaces.IRequestOptions); /** * @param {string} taskId * @param onResult callback function */ constructor(taskId: string): Promise<void>; /** * @param {string} taskId * @param {string} versionString * @param {string[]} visibility * @param {boolean} scopeLocal * @param onResult callback function with the resulting ArrayBuffer */ constructor(taskId: string, versionString: string, visibility: string[], scopeLocal: boolean): Promise<NodeJS.ReadableStream>; /** * @param {string} taskId * @param {string} versionString * @param {string[]} visibility * @param {boolean} scopeLocal * @param onResult callback function with the resulting TaskAgentInterfaces.TaskDefinition */ constructor(taskId: string, versionString: string, visibility: string[], scopeLocal: boolean): Promise<TaskAgentInterfaces.TaskDefinition>; /** * @param {string} taskId * @param {string[]} visibility * @param {boolean} scopeLocal * @param onResult callback function with the resulting TaskAgentInterfaces.TaskDefinition[] */ constructor(taskId: string, visibility: string[], scopeLocal: boolean): Promise<TaskAgentInterfaces.TaskDefinition[]>; /** * @param {NodeJS.ReadableStream} contentStream * @param {string} taskId * @param {boolean} overwrite * @param onResult callback function */ constructor(customHeaders: VsoBaseInterfaces.IHeaders, contentStream: NodeJS.ReadableStream, taskId: string, overwrite: boolean): Promise<void>; private _getFallbackClient; private _getAccountUrl; }