{
  "name": "@forge-sdk/collab",
  "language": "typescript",
  "version": "0.1.0",
  "description": "ANVIL Collaboration Contract: roles, sessions, task delegation, shared context, and interrupts",
  "manifest": "forge-ts/packages/forge-collab/package.json",
  "manifestSha256": "7a493c4bc693200173c52ed2035a4c49b0360edee17186ef6ca30f65b1e61e00",
  "status": "source-reference",
  "registryPublicationVerified": false,
  "route": "/libraries/typescript/collab",
  "features": {},
  "files": [
    {
      "path": "forge-ts/packages/forge-collab/src/error.ts",
      "sha256": "94621ea65ea54ecc0dfc855253b9195bb89e7f9abf75ebb9d65e5020130744a0",
      "artifactSha256": "03a51b67df872e21fc0404fedb8c45fadb04006340fa45adc25237d630b7fa13",
      "url": "/reference/source/forge-ts/packages/forge-collab/src/error.ts.txt",
      "declarations": [
        {
          "name": "export const CollabErrorCode = {",
          "line": 18,
          "signature": "export const CollabErrorCode /* type inferred in source */;",
          "documentation": "Error types for the forge-collab package.\n\nAll errors are typed, actionable, and include enough context to diagnose\nissues without reading source code.\n\nANVIL Spec section 11 -- Collaboration Contract.\nError codes for collaboration operations.\n\nEach code maps to a specific category of failure in the collaboration\nsession, delegation, context, or interrupt subsystems."
        },
        {
          "name": "CollabErrorCodeType",
          "line": 48,
          "signature": "export type CollabErrorCodeType =\n  (typeof CollabErrorCode)[keyof typeof CollabErrorCode];",
          "documentation": "A collaboration error code value."
        },
        {
          "name": "CollabError",
          "line": 63,
          "signature": "export class CollabError extends Error {\n  readonly code: CollabErrorCodeType;\n  static sessionNotFound(sessionId: string): CollabError;\n  static sessionAlreadyActive(sessionId: string): CollabError;\n  static sessionTimedOut(sessionId: string): CollabError;\n  static invalidSessionTransition(from: string, to: string): CollabError;\n  static notAParticipant(agentDid: string, sessionId: string): CollabError;\n  static taskNotFound(taskId: string): CollabError;\n  static taskAlreadyAssigned(taskId: string, assignee: string): CollabError;\n  static capabilityMismatch(\n    taskType: string,\n    agentDid: string,\n    reason: string\n  ): CollabError;\n  static contextKeyNotFound(key: string): CollabError;\n  static contextPermissionDenied(key: string, agentDid: string): CollabError;\n  static interruptRejected(interruptId: string, reason: string): CollabError;\n  static delegationFailed(reason: string): CollabError;\n  static roleViolation(\n    agentDid: string,\n    role: string,\n    action: string\n  ): CollabError;\n}",
          "documentation": "Error type for collaboration sessions, delegation, context, and interrupts.\n\nEvery instance includes actionable context: what failed, why, and what the\ndeveloper should check."
        }
      ]
    },
    {
      "path": "forge-ts/packages/forge-collab/src/index.ts",
      "sha256": "0a37e3e7c2fb70ae7cb681fe013ff560fcfcc01fc497aa4b09c08c278be51f2f",
      "artifactSha256": "d43cf0ee51ce1601c0876c79beb35ba6765b7890dc984f712a6730c6df2d7056",
      "url": "/reference/source/forge-ts/packages/forge-collab/src/index.ts.txt",
      "declarations": [
        {
          "name": "export {",
          "line": 22,
          "signature": "export {\n  CollaborationRole,\n  type CollaborationRoleType,\n  SessionState,\n  type SessionStateType,\n  validSessionTransitions,\n  isSessionTerminal,\n  type SessionParticipant,\n  type CollaborationSession,\n  type SessionTransition,\n  TaskPriority,\n  type TaskPriorityType,\n  TaskStatus,\n  type TaskStatusType,\n  type TaskConstraints,\n  defaultTaskConstraints,\n  type DelegatedTask,\n  type TaskResult,\n  type TaskAcknowledgment,\n  type TaskProgress,\n  InterruptType,\n  type InterruptTypeType,\n  type Interrupt,\n  type InterruptResponse,\n  type InterruptedState,\n  ContextVisibility,\n  type ContextVisibilityType,\n  type ContextEntry,\n  type AgentCapabilityProfile,\n} from './types.js';",
          "documentation": ""
        },
        {
          "name": "export { SessionManager } from './session.js';",
          "line": 54,
          "signature": "export { SessionManager } from './session.js';",
          "documentation": ""
        },
        {
          "name": "export {",
          "line": 57,
          "signature": "export {\n  type CoordinatorContract,\n  type WorkerContract,\n  type PeerContract,\n} from './roles.js';",
          "documentation": ""
        },
        {
          "name": "export {",
          "line": 64,
          "signature": "export {\n  CollabErrorCode,\n  type CollabErrorCodeType,\n  CollabError,\n} from './error.js';",
          "documentation": ""
        }
      ]
    },
    {
      "path": "forge-ts/packages/forge-collab/src/roles.ts",
      "sha256": "f6aa5cf9195b736a639e7734b4eee3cea2da9323b2e88a57f60e0ac5b74764f1",
      "artifactSha256": "7abf81970143e80b31e77e04fedd2e8d3a7d2cd875cf3f9cb9ec07fc048328b2",
      "url": "/reference/source/forge-ts/packages/forge-collab/src/roles.ts.txt",
      "declarations": [
        {
          "name": "CoordinatorContract",
          "line": 29,
          "signature": "export interface CoordinatorContract {\n  /**\n   * Decomposes a high-level task into smaller sub-tasks.\n   *\n   * @param task - The task to decompose.\n   * @returns A list of sub-tasks derived from the original task.\n   * @throws {CollabError} DelegationFailed if the task cannot be decomposed.\n   */\n  decomposeTask(task: DelegatedTask): Promise<DelegatedTask[]>;\n\n  /**\n   * Assigns a task to a specific worker agent.\n   *\n   * @param task - The task to assign.\n   * @param workerDid - The OAS DID of the target worker.\n   * @returns A TaskAcknowledgment from the worker.\n   * @throws {CollabError} CapabilityMismatch or DelegationFailed.\n   */\n  assignTask(\n    task: DelegatedTask,\n    workerDid: string\n  ): Promise<TaskAcknowledgment>;\n\n  /**\n   * Aggregates results from multiple worker tasks into a single result.\n   *\n   * @param results - The results from all completed sub-tasks.\n   * @returns A single aggregated TaskResult.\n   * @throws {CollabError} DelegationFailed if results cannot be aggregated.\n   */\n  aggregateResults(results: readonly TaskResult[]): Promise<TaskResult>;\n\n  /**\n   * Handles a failure reported by a worker.\n   *\n   * @param taskId - The ID of the failed task.\n   * @param workerDid - The DID of the worker that failed.\n   * @param error - A description of the failure.\n   * @throws {CollabError} DelegationFailed if recovery is not possible.\n   */\n  handleWorkerFailure(\n    taskId: string,\n    workerDid: string,\n    error: string\n  ): Promise<void>;\n}",
          "documentation": "Coordinator role contract -- decomposes and assigns tasks, aggregates results.\n\nThe coordinator is responsible for breaking down high-level objectives into\nindividual tasks, assigning them to suitable workers, collecting results,\nand handling worker failures. There is at most one coordinator per session.\n\nANVIL Spec section 11.1 -- Coordinator Role."
        },
        {
          "name": "WorkerContract",
          "line": 86,
          "signature": "export interface WorkerContract {\n  /**\n   * Called when a task is delegated to this worker.\n   *\n   * @param task - The delegated task to evaluate.\n   * @returns A TaskAcknowledgment indicating acceptance or rejection.\n   */\n  onTaskDelegated(task: DelegatedTask): Promise<TaskAcknowledgment>;\n\n  /**\n   * Reports progress on an in-flight task.\n   *\n   * @param progress - The progress report.\n   * @throws {CollabError} TaskNotFound if the task ID is unknown.\n   */\n  reportProgress(progress: TaskProgress): Promise<void>;\n\n  /**\n   * Submits the result of a completed task.\n   *\n   * @param result - The task result to submit.\n   * @throws {CollabError} TaskNotFound if the task ID is unknown.\n   */\n  submitResult(result: TaskResult): Promise<void>;\n\n  /**\n   * Called when a task is cancelled by the coordinator.\n   *\n   * @param taskId - The ID of the cancelled task.\n   * @param reason - A human-readable cancellation reason.\n   */\n  onTaskCancelled(taskId: string, reason: string): Promise<void>;\n}",
          "documentation": "Worker role contract -- executes delegated tasks, reports progress.\n\nWorkers receive tasks from coordinators, execute them within the given\nconstraints, report progress periodically, and submit results upon\ncompletion.\n\nANVIL Spec section 11.1 -- Worker Role."
        },
        {
          "name": "PeerContract",
          "line": 129,
          "signature": "export interface PeerContract {\n  /**\n   * Submits a proposal for peer consensus.\n   *\n   * @param proposal - The proposal data to submit for voting.\n   * @returns A unique proposal ID string.\n   */\n  propose(proposal: unknown): Promise<string>;\n\n  /**\n   * Votes on an existing proposal.\n   *\n   * @param proposalId - The ID of the proposal to vote on.\n   * @param approve - true to approve, false to reject.\n   */\n  vote(proposalId: string, approve: boolean): Promise<void>;\n\n  /**\n   * Called when consensus is reached on a proposal.\n   *\n   * @param proposalId - The ID of the proposal that reached consensus.\n   * @param result - The consensus result data.\n   */\n  onConsensus(proposalId: string, result: unknown): Promise<void>;\n}",
          "documentation": "Peer role contract -- participates in consensus-based collaboration.\n\nIn peer-mode collaboration, all agents have equal standing. Peers\npropose actions, vote on proposals, and act on consensus decisions.\n\nANVIL Spec section 11.1 -- Peer Role."
        }
      ]
    },
    {
      "path": "forge-ts/packages/forge-collab/src/session.ts",
      "sha256": "deffb1a649db6ecc9c2c3e17ca951d64ad7b8f70e8b93ed7df9ed169cc473343",
      "artifactSha256": "d55ca50305523a32b65fa2edc539251bdcb618affd861368395ecb1ff63f95eb",
      "url": "/reference/source/forge-ts/packages/forge-collab/src/session.ts.txt",
      "declarations": [
        {
          "name": "SessionManager",
          "line": 39,
          "signature": "export class SessionManager {\n  constructor();\n  get state(): SessionStateType;\n  get history(): readonly SessionTransition[];\n  transition(target: SessionStateType): SessionTransition;\n  canTransitionTo(target: SessionStateType): boolean;\n  validTransitions(): readonly SessionStateType[];\n  isTerminal(): boolean;\n}",
          "documentation": "Manages the session state machine per ANVIL Spec section 11.2.\n\nThe SessionManager enforces the immutable transition table for\ncollaboration sessions. It tracks the current state, validates all\ntransitions, and maintains a complete transition history.\n\nSessions start in the Proposed state and progress through Active\nand Completing to terminal states (Completed, TimedOut, Dissolved)."
        }
      ]
    },
    {
      "path": "forge-ts/packages/forge-collab/src/types.ts",
      "sha256": "cdf33e1ce7280e06009a0cfe0c62802b6f0afa7b85125f4e1d4d72c28d7a46a8",
      "artifactSha256": "6e9815dc6c5ac330bda981a0c512360dee60bdc91c638a2fdfc1c46a505b959a",
      "url": "/reference/source/forge-ts/packages/forge-collab/src/types.ts.txt",
      "declarations": [
        {
          "name": "export const CollaborationRole = {",
          "line": 20,
          "signature": "export const CollaborationRole /* type inferred in source */;",
          "documentation": "Collaboration data types per ANVIL Spec section 11.\n\nDefines all data structures used in the ANVIL Collaboration Contract:\nroles, sessions, participants, delegated tasks, interrupts, shared\ncontext entries, and capability profiles.\nRole an agent plays in a collaboration session.\n\nANVIL Spec section 11.1 -- Collaboration Roles."
        },
        {
          "name": "CollaborationRoleType",
          "line": 30,
          "signature": "export type CollaborationRoleType =\n  (typeof CollaborationRole)[keyof typeof CollaborationRole];",
          "documentation": "A collaboration role value."
        },
        {
          "name": "export const SessionState = {",
          "line": 53,
          "signature": "export const SessionState /* type inferred in source */;",
          "documentation": "State of a collaboration session.\n\nThe session state machine controls which operations are valid.\n\nTransition Table (IMMUTABLE -- ANVIL Spec section 11.2):\n\n| Current State | Valid Next States                      |\n|---------------|----------------------------------------|\n| Proposed      | Active, Dissolved                      |\n| Active        | Completing, Dissolved, TimedOut         |\n| Completing    | Completed, Dissolved                   |\n| Completed     | *(terminal)*                           |\n| TimedOut      | *(terminal)*                           |\n| Dissolved     | *(terminal)*                           |"
        },
        {
          "name": "SessionStateType",
          "line": 69,
          "signature": "export type SessionStateType =\n  (typeof SessionState)[keyof typeof SessionState];",
          "documentation": "A session state value."
        },
        {
          "name": "validSessionTransitions",
          "line": 78,
          "signature": "export function validSessionTransitions(\n  state: SessionStateType\n): readonly SessionStateType[];",
          "documentation": "Returns the valid target states from the given state.\n\nANVIL Spec section 11.2 -- Session State Machine."
        },
        {
          "name": "isSessionTerminal",
          "line": 98,
          "signature": "export function isSessionTerminal(state: SessionStateType): boolean;",
          "documentation": "Returns true if the given state is a terminal state (no outgoing transitions)."
        },
        {
          "name": "SessionParticipant",
          "line": 115,
          "signature": "export interface SessionParticipant {\n  /** The OAS DID of the participating agent. */\n  readonly agentDid: string;\n  /** The role this agent plays in the session. */\n  readonly role: CollaborationRoleType;\n  /** ISO 8601 timestamp when the agent joined the session. */\n  readonly joinedAt: string;\n  /** Current participation status (e.g., \"active\", \"left\", \"disconnected\"). */\n  readonly status: string;\n}",
          "documentation": "A participant in a collaboration session.\n\nANVIL Spec section 11.2 -- Collaboration Session."
        },
        {
          "name": "CollaborationSession",
          "line": 131,
          "signature": "export interface CollaborationSession {\n  /** Unique identifier for this session. */\n  readonly sessionId: string;\n  /** The type of collaboration (e.g., \"code-review\", \"data-analysis\"). */\n  readonly sessionType: string;\n  /** The agents participating in this session. */\n  readonly participants: readonly SessionParticipant[];\n  /** The DID of the coordinator agent, if any. */\n  readonly coordinator: string | undefined;\n  /** The ID of the shared context store for this session. */\n  readonly sharedContextId: string | undefined;\n  /** ISO 8601 timestamp when the session was created. */\n  readonly createdAt: string;\n  /** Optional session timeout in seconds. */\n  readonly timeoutSeconds: number | undefined;\n  /** Arbitrary metadata for application-specific session properties. */\n  readonly metadata: Record<string, unknown>;\n}",
          "documentation": "A collaboration session grouping agents for coordinated work.\n\nANVIL Spec section 11.2 -- Collaboration Session."
        },
        {
          "name": "SessionTransition",
          "line": 155,
          "signature": "export interface SessionTransition {\n  /** The state before the transition. */\n  readonly from: SessionStateType;\n  /** The state after the transition. */\n  readonly to: SessionStateType;\n  /** ISO 8601 timestamp when the transition occurred. */\n  readonly timestamp: string;\n}",
          "documentation": "A record of a single session state transition.\n\nANVIL Spec section 11.2."
        },
        {
          "name": "export const TaskPriority = {",
          "line": 173,
          "signature": "export const TaskPriority /* type inferred in source */;",
          "documentation": "Task priority level for scheduling.\n\nANVIL Spec section 11.3 -- Task Priority."
        },
        {
          "name": "TaskPriorityType",
          "line": 185,
          "signature": "export type TaskPriorityType =\n  (typeof TaskPriority)[keyof typeof TaskPriority];",
          "documentation": "A task priority value."
        },
        {
          "name": "export const TaskStatus = {",
          "line": 193,
          "signature": "export const TaskStatus /* type inferred in source */;",
          "documentation": "Status of a completed delegated task.\n\nANVIL Spec section 11.3 -- Task Status."
        },
        {
          "name": "TaskStatusType",
          "line": 203,
          "signature": "export type TaskStatusType =\n  (typeof TaskStatus)[keyof typeof TaskStatus];",
          "documentation": "A task status value."
        },
        {
          "name": "TaskConstraints",
          "line": 211,
          "signature": "export interface TaskConstraints {\n  /** Maximum number of reasoning steps the worker may take. */\n  readonly maxSteps: number | undefined;\n  /** Maximum number of tokens the worker may consume. */\n  readonly maxTokens: number | undefined;\n  /** Maximum duration in seconds for task execution. */\n  readonly maxDurationSeconds: number | undefined;\n  /** Allowed tool names. If empty, no tool restrictions apply. */\n  readonly allowedTools: readonly string[];\n  /** Minimum required confidence score (0.0 to 1.0) for the result. */\n  readonly requiredConfidence: number | undefined;\n}",
          "documentation": "Constraints bounding a delegated task's execution.\n\nANVIL Spec section 11.3 -- Task Constraints."
        },
        {
          "name": "defaultTaskConstraints",
          "line": 225,
          "signature": "export function defaultTaskConstraints(): TaskConstraints;",
          "documentation": "Returns default constraints with no limits and no tool restrictions."
        },
        {
          "name": "DelegatedTask",
          "line": 240,
          "signature": "export interface DelegatedTask {\n  /** Unique identifier for this task. */\n  readonly taskId: string;\n  /** The type of task (e.g., \"code-review\", \"summarize\"). */\n  readonly taskType: string;\n  /** Human-readable description of the task. */\n  readonly description: string;\n  /** Input data for the task. */\n  readonly input: unknown;\n  /** Optional JSON Schema describing the expected output format. */\n  readonly outputSchema: unknown | undefined;\n  /** Constraints bounding the task execution. */\n  readonly constraints: TaskConstraints;\n  /** The OAS DID of the agent that delegated this task. */\n  readonly delegator: string;\n  /** Priority level for task scheduling. */\n  readonly priority: TaskPriorityType;\n  /** Optional ISO 8601 deadline for task completion. */\n  readonly deadline: string | undefined;\n  /** Keys in the shared context that this task may read. */\n  readonly contextKeys: readonly string[];\n}",
          "documentation": "A task delegated from a coordinator to a worker agent.\n\nANVIL Spec section 11.3 -- Delegated Task."
        },
        {
          "name": "TaskResult",
          "line": 268,
          "signature": "export interface TaskResult {\n  /** The ID of the task this result corresponds to. */\n  readonly taskId: string;\n  /** The completion status of the task. */\n  readonly status: TaskStatusType;\n  /** The output data produced by the worker. */\n  readonly output: unknown;\n  /** Optional confidence score (0.0 to 1.0) for the result. */\n  readonly confidence: number | undefined;\n  /** Arbitrary metadata about the task execution. */\n  readonly metadata: Record<string, unknown>;\n  /** Optional Ed25519 signature over the result for verification. */\n  readonly signature: string | undefined;\n}",
          "documentation": "The result of a completed delegated task.\n\nANVIL Spec section 11.3 -- Task Result."
        },
        {
          "name": "TaskAcknowledgment",
          "line": 288,
          "signature": "export interface TaskAcknowledgment {\n  /** The ID of the task being acknowledged. */\n  readonly taskId: string;\n  /** Whether the worker accepts the task. */\n  readonly accepted: boolean;\n  /** Reason for rejection, if accepted is false. */\n  readonly rejectionReason: string | undefined;\n  /** Estimated time to completion in seconds, if accepted. */\n  readonly estimatedCompletionSeconds: number | undefined;\n}",
          "documentation": "A worker's acknowledgment of a delegated task.\n\nANVIL Spec section 11.3 -- Task Acknowledgment."
        },
        {
          "name": "TaskProgress",
          "line": 304,
          "signature": "export interface TaskProgress {\n  /** The ID of the task this progress report corresponds to. */\n  readonly taskId: string;\n  /** Completion percentage (0.0 to 100.0). */\n  readonly percentage: number;\n  /** Human-readable status message. */\n  readonly message: string;\n}",
          "documentation": "Progress report for an in-flight delegated task.\n\nANVIL Spec section 11.3 -- Task Progress."
        },
        {
          "name": "export const InterruptType = {",
          "line": 322,
          "signature": "export const InterruptType /* type inferred in source */;",
          "documentation": "Type of interrupt that can be sent to an agent.\n\nANVIL Spec section 11.5 -- Interrupt Types."
        },
        {
          "name": "InterruptTypeType",
          "line": 338,
          "signature": "export type InterruptTypeType =\n  (typeof InterruptType)[keyof typeof InterruptType];",
          "documentation": "An interrupt type value."
        },
        {
          "name": "Interrupt",
          "line": 346,
          "signature": "export interface Interrupt {\n  /** Unique identifier for this interrupt. */\n  readonly interruptId: string;\n  /** The type of interrupt. */\n  readonly interruptType: InterruptTypeType;\n  /** The OAS DID of the agent that sent the interrupt. */\n  readonly source: string;\n  /** Priority of the interrupt. */\n  readonly priority: TaskPriorityType;\n  /** Arbitrary payload data for the interrupt. */\n  readonly payload: unknown;\n  /** ISO 8601 timestamp when the interrupt was created. */\n  readonly timestamp: string;\n}",
          "documentation": "An interrupt sent to an agent during task execution.\n\nANVIL Spec section 11.5 -- Interrupts."
        },
        {
          "name": "InterruptResponse",
          "line": 366,
          "signature": "export interface InterruptResponse {\n  /** The ID of the interrupt being responded to. */\n  readonly interruptId: string;\n  /** Whether the agent acknowledged and handled the interrupt. */\n  readonly acknowledged: boolean;\n  /** The agent's state at the time of interruption, if applicable. */\n  readonly currentState: InterruptedState | undefined;\n}",
          "documentation": "An agent's response to an interrupt.\n\nANVIL Spec section 11.5 -- Interrupt Response."
        },
        {
          "name": "InterruptedState",
          "line": 380,
          "signature": "export interface InterruptedState {\n  /** The ID of the task that was interrupted, if any. */\n  readonly taskId: string | undefined;\n  /** The number of steps completed before interruption. */\n  readonly stepCount: number;\n  /** Progress percentage at the time of interruption (0.0 to 100.0). */\n  readonly progressPercentage: number;\n  /** Whether the task can be resumed from this state. */\n  readonly canResume: boolean;\n}",
          "documentation": "Snapshot of an agent's state at the moment of interruption.\n\nANVIL Spec section 11.5 -- Interrupted State."
        },
        {
          "name": "export const ContextVisibility = {",
          "line": 400,
          "signature": "export const ContextVisibility /* type inferred in source */;",
          "documentation": "Visibility scope for a shared context entry.\n\nANVIL Spec section 11.4 -- Context Visibility."
        },
        {
          "name": "ContextVisibilityType",
          "line": 410,
          "signature": "export type ContextVisibilityType =\n  (typeof ContextVisibility)[keyof typeof ContextVisibility];",
          "documentation": "A context visibility value."
        },
        {
          "name": "ContextEntry",
          "line": 418,
          "signature": "export interface ContextEntry {\n  /** The key identifying this context entry. */\n  readonly key: string;\n  /** The value stored in this entry. */\n  readonly value: unknown;\n  /** The type of the value (e.g., \"json\", \"text\", \"binary\"). */\n  readonly valueType: string;\n  /** The OAS DID of the agent that wrote this entry. */\n  readonly author: string;\n  /** Monotonically increasing version number for this key. */\n  readonly version: number;\n  /** ISO 8601 timestamp when this version was written. */\n  readonly timestamp: string;\n  /** Visibility scope for this entry. */\n  readonly visibility: ContextVisibilityType;\n  /** Role for role-scoped visibility, or agent DID for agent-scoped. */\n  readonly visibilityTarget: string | undefined;\n}",
          "documentation": "An entry in a session's shared context store.\n\nANVIL Spec section 11.4 -- Shared Context."
        },
        {
          "name": "AgentCapabilityProfile",
          "line": 446,
          "signature": "export interface AgentCapabilityProfile {\n  /** The OAS DID of the agent. */\n  readonly agentDid: string;\n  /** Collaboration roles this agent supports. */\n  readonly supportedRoles: readonly CollaborationRoleType[];\n  /** Task types this agent can handle. */\n  readonly supportedTaskTypes: readonly string[];\n  /** Tool names available to this agent. */\n  readonly availableTools: readonly string[];\n  /** Current load factor (0.0 = idle, 1.0 = fully loaded). */\n  readonly currentLoad: number;\n  /** Maximum number of tasks this agent can execute concurrently. */\n  readonly maxConcurrentTasks: number;\n}",
          "documentation": "An agent's advertised capability profile for task matching.\n\nANVIL Spec section 11.6 -- Agent Capability Profile."
        }
      ]
    }
  ]
}
