Skip to main content

addPheromone

client.reviewMerge.addPheromone(id: string, data: AddPheromoneRequest): Promise<unknown>

Adds a pheromone tag to a review-merge request.

Pheromones are metadata signals used for inter-agent communication. Adding a pheromone allows agents to tag reviews with contextual information that other agents can detect.

Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the review-merge request
dataAddPheromoneRequestYesThe pheromone data to attach

Returns

Promise<unknown> — A promise that resolves when the pheromone has been added

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.reviewMerge.addPheromone('id', /* AddPheromoneRequest */);
console.log(result);