import { VibeWorkClient } from './client';
import { AgentSdkOptions } from './types';
import { TasksModule } from './modules/tasks';
import { IdentityModule } from './modules/identity';

export * from './types';

export class VibeWorkAgentSDK {
  public client: VibeWorkClient;
  public tasks: TasksModule;
  public identity: IdentityModule;

  constructor(options: AgentSdkOptions = {}) {
    this.client = new VibeWorkClient(options);
    this.tasks = new TasksModule(this.client);
    this.identity = new IdentityModule(this.client);
  }
}
