Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

1.8 KB
Raw Blame
// GENERATED CODE! DO NOT MODIFY BY HAND!

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AbsolutePathBuf } from '../AbsolutePathBuf';
import type { CollaborationMode } from '../CollaborationMode';
import type { MultiAgentMode } from '../MultiAgentMode';
import type { Personality } from '../Personality';
import type { ReasoningEffort } from '../ReasoningEffort';
import type { ReasoningSummary } from '../ReasoningSummary';
import type { ActivePermissionProfile } from './ActivePermissionProfile';
import type { ApprovalsReviewer } from './ApprovalsReviewer';
import type { AskForApproval } from './AskForApproval';
import type { SandboxPolicy } from './SandboxPolicy';
import type { ThreadEnvironment } from './ThreadEnvironment';

export type ThreadSettings = {
  /**
   * Saved list of disabled plugin IDs. Does not yet filter plugin capabilities.
   */
  disabledPluginIds: Array<string>;
  cwd: AbsolutePathBuf;
  /**
   * Environments configured for future turns, in priority order, primary first.
   * `null` means the server does not expose the selection; [] means none are selected.
   */
  environments: Array<ThreadEnvironment> | null;
  approvalPolicy: AskForApproval;
  approvalsReviewer: ApprovalsReviewer;
  sandboxPolicy: SandboxPolicy;
  activePermissionProfile: ActivePermissionProfile | null;
  model: string;
  modelProvider: string;
  serviceTier: string | null;
  effort: ReasoningEffort | null;
  summary: ReasoningSummary | null;
  collaborationMode: CollaborationMode;
  /**
   * @deprecated Always `explicitRequestOnly`. Use `effort` for Ultra behavior.
   */
  multiAgentMode: MultiAgentMode;
  /**
   * @deprecated Reports the saved setting; `friendly` and `pragmatic` no longer select a style.
   */
  personality: Personality | null;
};