runtime.ts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. export { AgentRuntime } from "./runtime/agent-runtime.js";
  2. export type {
  3. WorkspaceGenerateTextInput,
  4. WorkspaceGenerateTextResult,
  5. } from "./runtime/methods/workspace-generate-text.js";
  6. export type { StartSavedWorkflowRunResult } from "./runtime/methods/dynamic-workflow-run-start.js";
  7. export type {
  8. AmendWorkflowRunSettingsInput,
  9. AmendWorkflowRunSettingsResult,
  10. } from "./runtime/methods/dynamic-workflow-run-settings.js";
  11. export type {
  12. ActiveTurnInfo,
  13. AgentRuntimeConfig,
  14. AgentRuntimeDeps,
  15. ConversationRewindResult,
  16. ExecuteTurnOptions,
  17. ModelExecutionContext,
  18. PromptAdmissionOptions,
  19. PromptAdmissionReceipt,
  20. PermissionDecisionResult,
  21. ProviderRuntimeHeadersPort,
  22. ResumeSessionOptions,
  23. ResumeSessionResult,
  24. StopActiveForegroundExecutionOptions,
  25. StopActiveForegroundExecutionResult,
  26. TurnResult,
  27. WorkspaceCheckpointSummary,
  28. WorkspaceFileRewindApplyResult,
  29. WorkspaceFileRewindPreview,
  30. WorkspaceForkResult,
  31. WorkspaceRewindRestoredFile,
  32. WorkspaceRewindResult,
  33. } from "./runtime/types.js";
  34. import type { AgentRuntime } from "./runtime/agent-runtime.js";
  35. import type { AgentRuntimeConfig } from "./runtime/types.js";
  36. export interface RuntimeFactory {
  37. create(config: AgentRuntimeConfig): Promise<AgentRuntime>;
  38. }