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.5 KB
Raw Blame
export {
  buildClaudeCodeEntrypointEnv,
  CLAUDE_CODE_ENTRYPOINT_ENV,
  DEFAULT_CLAUDE_CODE_ENTRYPOINT,
  normalizeClaudeCodeEntrypoint,
} from '../claudeCodeEntrypoint';
/**
 * Wire contract between hetero dispatch sites and the executing
 * `lh hetero exec` CLI. Pure and isomorphic — no fs, no process, no node-only
 * imports — so any dispatcher (desktop main, `lh connect` daemon, server
 * sandbox runner) can depend on it without dragging in the spawn machinery.
 *
 * Executor-side helpers that materialize this contract (`normalizeImage`,
 * `buildAgentInput`, `spawnAgent`, …) live under `./spawn` instead.
 */
export type {
  HeterogeneousAgentCancellationResult,
  HeterogeneousAgentCancellationSignal,
} from './cancellation';
export { buildHeteroExecStdinPayload, type HeteroExecImageRef } from './execStdinPayload';
export {
  LOBEHUB_CLI_GUIDE_CONTEXT,
  lobeHubCliGuide,
  lobeHubCliGuideBlock,
  lobeHubCliSkillBody,
  lobeHubCliSkillDescription,
} from './lobeHubCliGuide';
export { INHERITED_RUN_IDENTITY_ENV_KEYS, stripInheritedRunIdentity } from './runIdentityEnv';
export const HETERO_EXEC_INHERIT_PROCESS_GROUP_ENV = 'LOBEHUB_HETERO_EXEC_INHERIT_PROCESS_GROUP';
export {
  buildHeterogeneousPrompt,
  type HeterogeneousPromptContextProvider,
  HeterogeneousPromptEngine,
  type HeterogeneousPromptEngineInput,
  type HeterogeneousPromptImage,
} from './promptEngine';
export type {
  AgentContentBlock,
  AgentImageBlock,
  AgentImageSource,
  AgentPromptInput,
  AgentTextBlock,
} from './types';