RegistryDashboard

Dependencies

Dependency graph operations. Inspect what a definition depends on and what depends on it.

2 methods

client.dependencies.get()

Get the forward dependency graph — what this definition depends on. Includes cycle detection.

typerequiredstring

Definition type.

agentcommandworkflowpipeline
namerequiredstring

Definition name.

versionrequiredstring

Definition version.

maxDepthoptionalnumber

Maximum graph depth to traverse.

nodesrequiredDependencyNode[]

Graph nodes with id, type, name, version, and status.

edgesrequiredDependencyEdge[]

Graph edges with from, to, and relationship type.

cycleDetectedrequiredboolean

Whether circular dependencies were detected.

cyclesoptionalstring[][]

Detected dependency cycles, if any.

get(type: DefinitionType, name: string, version: string, options?: GetDependenciesOptions): Promise<DependencyGraph>
typescript
import { RegistryClient } from '@uluops/registry-sdk';

const client = new RegistryClient({
  apiKey: 'ulr_your-api-key',
});

const result = await client.dependencies.get('agent', 'my-project', '1.0.0');

console.log(result.nodes);
Response Type
// Promise<DependencyGraph>
{
  nodes: DependencyNode[];
  edges: DependencyEdge[];
  cycleDetected: boolean;
  cycles?: string[][];
}

client.dependencies.getDependents()

Get the reverse dependency graph — what definitions depend on this one.

typerequiredstring

Definition type.

agentcommandworkflowpipeline
namerequiredstring

Definition name.

versionrequiredstring

Definition version.

getDependents(type: DefinitionType, name: string, version: string): Promise<DependencyGraph>
typescript
import { RegistryClient } from '@uluops/registry-sdk';

const client = new RegistryClient({
  apiKey: 'ulr_your-api-key',
});

const result = await client.dependencies.getDependents('agent', 'my-project', '1.0.0');
Response Type
Promise<DependencyGraph>