Public declaration syntax from harness-sdk/src/lib.rs Original source SHA-256: 6eca19f37fa1b24e01d520902899de87916a65baba3661c3d7b50666504e3bfc Function bodies and constant values are omitted. This is not the complete implementation. Source line 42 pub mod adapter; Source line 43 pub mod backtrack; Source line 44 pub mod clipboard; Source line 45 pub mod composer; Source line 46 pub mod error; Source line 47 pub mod external_editor; Source line 48 pub mod harness; Source line 49 pub mod keymap; Source line 50 pub mod onboarding; Source line 51 pub mod session; Source line 52 pub mod settings; Source line 53 pub mod types; Source line 54 pub mod workspace; Source line 56 pub mod interjection; Source line 57 pub mod validation; Source line 59 pub mod commands; Source line 60 pub mod modes; Source line 61 pub mod runtime; Source line 62 pub mod screens; Source line 64 pub mod adapters; Source line 67 #[cfg(feature = "plugins")] pub mod plugins; Source line 72 pub use error::{AdapterError, ParseError, PluginError, SdkError}; Source line 75 pub use session::{ JsonlSessionStore, SessionMetadata, SessionRecord, SessionRecordKind, SessionStore, SessionStoreError, }; Source line 81 pub use keymap::{ parse_key_spec, parse_key_spec_chord, Action, ContextualKeymap, KeyBinding, KeySpecError, Keymap, KeymapContext, KeymapError, }; Source line 87 pub use backtrack::{list_backtrack_targets, rewind_to, BacktrackTarget}; Source line 90 pub use composer::{HistorySearch, MessageQueue, MessageQueueError, MESSAGE_QUEUE_CAPACITY}; Source line 93 pub use settings::{ FlocksCli, ModeInfo, ModelInfo, ProviderInfo, ProviderKind, ProviderSettingField, ProviderSettingKind, ProviderSettingOption, SettingsAction, SettingsApplyResult, SettingsSnapshot, }; Source line 100 pub use clipboard::{Clipboard, ClipboardError, MemoryClipboard, SystemClipboard}; Source line 101 pub use external_editor::{ open_in_editor, open_with_command, resolve_editor_command, ExternalEditorError, }; Source line 106 pub use onboarding::{OnboardingError, OnboardingFlow, OnboardingSelection, OnboardingStep}; Source line 109 pub use workspace::complete_workspace_paths; Source line 112 pub use harness::{ attribute, attribute_entry, AttributionDecision, AttributionVerdict, ChangeManifest, EvidenceCorpus, EvidenceCorpusError, HarnessComponentEdit, HarnessComponentEditKind, HarnessComponentKind, HarnessLoopError, HarnessLoopPhase, HarnessWorkspace, HarnessWorkspaceError, IterationRecord, ManifestEntry, OverviewReport, PredictedImpact, StandardHarnessLoop, TaskAnalysis, TaskDelta, TaskOutcome, TaskOutcomeMap, HARNESS_COMPONENT_KINDS, }; Source line 122 pub use types::{ ActivityLevel, AdapterCapabilities, AutonomyEvent, HumanInterjection, InterjectionAck, InterjectionKind, InterjectionPriority, Mode, ResponseChunk, SdkAgentInfo, SdkAgentStatus, SdkApprovalAction, SdkApprovalRequest, SdkRiskLevel, SdkRole, SessionInfo, }; Source line 129 pub use types::{ DEFAULT_MAX_MESSAGES, DEFAULT_STREAM_TIMEOUT, MAX_AGENT_ID_LEN, MAX_AGENT_NAME_LEN, MAX_CHUNK_SIZE, MAX_INTERJECTION_LEN, MAX_TOOL_INPUT_SIZE, }; Source line 135 pub use adapter::AgentAdapter; Source line 138 pub use runtime::app::{AgentApp, AgentAppBuilder}; Source line 141 pub use runtime::terminal_control::{ clear_title, hyperlink, ring_bell, set_title, write_hyperlink, MAX_HYPERLINK_URL_LEN, MAX_TITLE_LEN, }; Source line 147 pub use runtime::notifications::{ KindMask, NotificationKind, Notifier, NotifierConfig, MAX_NOTIFICATION_LEN, }; Source line 152 pub use screens::custom::{CustomScreen, ScreenEvent, ScreenResult}; Source line 155 pub use adapters::stdio::StdioAdapter; Source line 158 #[cfg(feature = "http")] pub use adapters::http::HttpAdapter;