@hilbras/omninode 2.0.0-alpha.13 → 2.0.0-alpha.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,36 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ OPENAI_COMPATIBLE_TYPES,
4
+ OmniHilbrasProvider,
5
+ OpenAICompatibleProvider,
6
+ authHeaders,
7
+ createProvider,
8
+ extractMessage,
9
+ isNetworkError,
10
+ isRetryable,
11
+ isTimeoutError,
12
+ kindFromStatus,
13
+ parseRetryAfter,
14
+ providerHttpError,
15
+ providerTransportError,
16
+ requestJson,
17
+ resolveApiKey
18
+ } from "./chunk-6Z6O63SS.js";
19
+ export {
20
+ OPENAI_COMPATIBLE_TYPES,
21
+ OmniHilbrasProvider,
22
+ OpenAICompatibleProvider,
23
+ authHeaders,
24
+ createProvider,
25
+ extractMessage,
26
+ isNetworkError,
27
+ isRetryable,
28
+ isTimeoutError,
29
+ kindFromStatus,
30
+ parseRetryAfter,
31
+ providerHttpError,
32
+ providerTransportError,
33
+ requestJson,
34
+ resolveApiKey
35
+ };
36
+ //# sourceMappingURL=providers-OYXBAQTX.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/dist/index.d.ts CHANGED
@@ -517,6 +517,8 @@ interface TaskResult {
517
517
  interface Task {
518
518
  id: string;
519
519
  project?: string;
520
+ /** Pipeline run that owns this task, when created by a pipeline. */
521
+ pipelineId?: string;
520
522
  objective: string;
521
523
  /** Role id from the role system. */
522
524
  role?: string;
@@ -850,7 +852,7 @@ interface IChatProvider extends IProvider {
850
852
  }
851
853
 
852
854
  /** Typed error hierarchy shared across the whole codebase (§4.1 — error model). */
853
- type OmniNodeErrorCode = "CONFIG_NOT_FOUND" | "CONFIG_INVALID" | "PROVIDER_NOT_FOUND" | "PROVIDER_UNAVAILABLE" | "PROVIDER_AUTH_FAILED" | "MODEL_NOT_FOUND" | "AGENT_NOT_FOUND" | "AGENT_FAILED" | "AGENT_TIMEOUT" | "TASK_INVALID" | "TASK_NOT_FOUND" | "TASK_FAILED" | "PIPELINE_NOT_FOUND" | "PIPELINE_INVALID" | "PIPELINE_FAILED" | "PLANNER_FAILED" | "PLAN_INVALID" | "PROTOCOL_VIOLATION" | "MEMORY_UNAVAILABLE" | "REPORT_NOT_FOUND" | "NOT_IMPLEMENTED" | "CLI_USAGE" | "INTERNAL";
855
+ type OmniNodeErrorCode = "CONFIG_NOT_FOUND" | "CONFIG_INVALID" | "PROVIDER_NOT_FOUND" | "PROVIDER_UNAVAILABLE" | "PROVIDER_AUTH_FAILED" | "MODEL_NOT_FOUND" | "AGENT_NOT_FOUND" | "AGENT_FAILED" | "AGENT_TIMEOUT" | "TASK_INVALID" | "TASK_NOT_FOUND" | "TASK_FAILED" | "PIPELINE_NOT_FOUND" | "PIPELINE_INVALID" | "PIPELINE_FAILED" | "PLANNER_FAILED" | "PLAN_INVALID" | "TASK_NOT_FOUND" | "PROVIDER_NOT_FOUND" | "PROTOCOL_VIOLATION" | "MEMORY_UNAVAILABLE" | "REPORT_NOT_FOUND" | "NOT_IMPLEMENTED" | "CLI_USAGE" | "INTERNAL";
854
856
  interface OmniNodeErrorOptions {
855
857
  cause?: unknown;
856
858
  details?: Record<string, unknown>;
@@ -899,14 +901,18 @@ declare class ConsoleLogSink implements LogSink {
899
901
  constructor(stream?: WritableLike);
900
902
  write(_level: LogLevel, line: string): void;
901
903
  }
904
+ type LogFormat = "text" | "json";
902
905
  interface LoggerOptions {
903
906
  level?: LogLevel;
904
907
  sink?: LogSink;
908
+ /** "text" (default) or machine-readable "json" lines (roadmap §18). */
909
+ format?: LogFormat;
905
910
  /** Structured fields attached to every line, e.g. { component: "config" }. */
906
911
  context?: Record<string, unknown>;
907
912
  }
908
913
  declare class Logger {
909
- private readonly level;
914
+ level: LogLevel;
915
+ format: LogFormat;
910
916
  private readonly sink;
911
917
  private readonly context;
912
918
  constructor(options?: LoggerOptions);
@@ -919,6 +925,11 @@ declare class Logger {
919
925
  }
920
926
  /** Default application logger. Writes to stderr so stdout stays clean for CLI output. */
921
927
  declare const logger: Logger;
928
+ /** Applies configuration (level/format) to the default logger — used by the CLI. */
929
+ declare function configureLogger(options: {
930
+ level?: LogLevel;
931
+ format?: LogFormat;
932
+ }): void;
922
933
 
923
934
  /**
924
935
  * Configuration schema. The project file (omninode.yaml) uses snake_case keys
@@ -1836,10 +1847,13 @@ declare const appConfigSchema: z.ZodObject<{
1836
1847
  }>;
1837
1848
  logging: z.ZodOptional<z.ZodObject<{
1838
1849
  level: z.ZodEnum<["debug", "info", "warn", "error"]>;
1850
+ format: z.ZodOptional<z.ZodEnum<["text", "json"]>>;
1839
1851
  }, "strict", z.ZodTypeAny, {
1840
1852
  level: "info" | "error" | "debug" | "warn";
1853
+ format?: "text" | "json" | undefined;
1841
1854
  }, {
1842
1855
  level: "info" | "error" | "debug" | "warn";
1856
+ format?: "text" | "json" | undefined;
1843
1857
  }>>;
1844
1858
  }, "strict", z.ZodTypeAny, {
1845
1859
  project: {
@@ -1912,6 +1926,7 @@ declare const appConfigSchema: z.ZodObject<{
1912
1926
  };
1913
1927
  logging?: {
1914
1928
  level: "info" | "error" | "debug" | "warn";
1929
+ format?: "text" | "json" | undefined;
1915
1930
  } | undefined;
1916
1931
  }, {
1917
1932
  project: {
@@ -1984,6 +1999,7 @@ declare const appConfigSchema: z.ZodObject<{
1984
1999
  };
1985
2000
  logging?: {
1986
2001
  level: "info" | "error" | "debug" | "warn";
2002
+ format?: "text" | "json" | undefined;
1987
2003
  } | undefined;
1988
2004
  }>;
1989
2005
  type ProviderConfigYaml = z.infer<typeof providerConfigSchema>;
@@ -2078,9 +2094,46 @@ interface HttpResponse {
2078
2094
  }
2079
2095
  declare function requestJson(url: string, options?: HttpRequestOptions): Promise<HttpResponse>;
2080
2096
 
2097
+ type AuditAction = "task.created" | "task.queued" | "task.running" | "task.completed" | "task.failed" | "task.cancelled" | "task.retry" | "pipeline.run.started" | "pipeline.run.finished" | "pipeline.run.failed" | "pipeline.run.cancelled" | "plan.generated" | "agent.started" | "agent.completed" | "provider.error" | "memory.context.gathered" | "memory.outcome.recorded";
2098
+ /**
2099
+ * Every event carries correlation ids so a failed execution can be traced
2100
+ * across task → execution → pipeline run → agent → provider (roadmap §18).
2101
+ */
2102
+ interface AuditEvent {
2103
+ at: string;
2104
+ action: AuditAction;
2105
+ project?: string;
2106
+ /** Primary subject: task id, pipeline run id, plan id… */
2107
+ id?: string;
2108
+ taskId?: string;
2109
+ pipelineId?: string;
2110
+ executionId?: string;
2111
+ agentId?: string;
2112
+ providerId?: string;
2113
+ actor?: string;
2114
+ detail?: Record<string, unknown>;
2115
+ }
2116
+ interface AuditSink {
2117
+ record(event: AuditEvent): Promise<void>;
2118
+ }
2119
+ /** Append-only JSONL sink. Failures are logged, never propagated. */
2120
+ declare class FileAuditLog implements AuditSink {
2121
+ private readonly filePath;
2122
+ private readonly log;
2123
+ constructor(directory?: string, log?: Logger);
2124
+ record(event: AuditEvent): Promise<void>;
2125
+ /** Recent events, oldest first; used by the CLI. */
2126
+ recent(limit?: number): Promise<AuditEvent[]>;
2127
+ }
2128
+
2081
2129
  /** Provider types served by the OpenAI-compatible adapter. */
2082
2130
  declare const OPENAI_COMPATIBLE_TYPES: readonly ProviderType[];
2083
- declare function createProvider(config: ProviderConfig): IChatProvider;
2131
+ interface CreateProviderOptions {
2132
+ /** Correlates provider errors in the audit log (§18). */
2133
+ audit?: AuditSink;
2134
+ env?: Record<string, string | undefined>;
2135
+ }
2136
+ declare function createProvider(config: ProviderConfig, options?: CreateProviderOptions): IChatProvider;
2084
2137
 
2085
2138
  /**
2086
2139
  * Provider error normalization (roadmap §10).
@@ -2125,7 +2178,8 @@ declare class OpenAICompatibleProvider implements IChatProvider {
2125
2178
  /** Discovered models, so getModel() answers without another round-trip. */
2126
2179
  private discovered?;
2127
2180
  private readonly env;
2128
- constructor(config: ProviderConfig, log?: Logger, env?: Record<string, string | undefined>);
2181
+ private readonly audit?;
2182
+ constructor(config: ProviderConfig, log?: Logger, env?: Record<string, string | undefined>, audit?: AuditSink);
2129
2183
  /** Provider-level request timeout (roadmap §6.6/§11) with the shared default. */
2130
2184
  private get requestTimeoutMs();
2131
2185
  /** Authenticate + discover (roadmap §10, Model Discovery). */
@@ -2139,6 +2193,8 @@ declare class OpenAICompatibleProvider implements IChatProvider {
2139
2193
  private toModelInfo;
2140
2194
  /** Streaming where the gateway supports it (§11). */
2141
2195
  stream(request: ChatRequest, onChunk: (chunk: ChatStreamChunk) => void): Promise<ChatResponse>;
2196
+ /** Provider errors are part of the audit trail (§14 correlation, §18 observability). */
2197
+ private recordProviderError;
2142
2198
  healthCheck(): Promise<ProviderStatus>;
2143
2199
  chat(request: ChatRequest): Promise<ChatResponse>;
2144
2200
  }
@@ -2439,13 +2495,21 @@ interface JsonFileStoreOptions {
2439
2495
  fileName: string;
2440
2496
  /** Schema version to write (defaults to the current version). */
2441
2497
  schemaVersion?: number;
2498
+ /** Power-loss durability: "rename" (default) or "fsync" (slower). */
2499
+ durability?: Durability;
2442
2500
  /** Called when a persisted file is corrupt (after quarantine). */
2443
2501
  onCorrupt?: (path: string, error: unknown) => void;
2444
2502
  /** Disable file moves (used by dry runs / tests that inspect in place). */
2445
2503
  quarantine?: boolean;
2446
2504
  }
2447
- /** Durably writes a file: temp → fsync → rename → directory fsync. */
2448
- declare function writeFileAtomic(target: string, contents: string): Promise<void>;
2505
+ type Durability = "rename" | "fsync";
2506
+ /**
2507
+ * Writes a file atomically: temp → rename. The rename guarantees readers
2508
+ * never observe a torn file. With `durability: "fsync"` the data and the
2509
+ * directory entry are also flushed, which additionally survives power loss —
2510
+ * at a significant per-write cost, so it is opt-in.
2511
+ */
2512
+ declare function writeFileAtomic(target: string, contents: string, durability?: Durability): Promise<void>;
2449
2513
  /** Reads and classifies a persisted document without modifying it. */
2450
2514
  declare function inspectDocument(path: string): Promise<DocumentState>;
2451
2515
  /** Reads a document, migrating v1 shapes and quarantining corruption. */
@@ -2453,6 +2517,7 @@ declare function readDocument<T>(path: string, onCorrupt?: (path: string, error:
2453
2517
  declare class JsonFileStore<T> {
2454
2518
  private readonly filePath;
2455
2519
  private readonly schemaVersion;
2520
+ private readonly durability;
2456
2521
  private readonly onCorrupt?;
2457
2522
  private readonly quarantine;
2458
2523
  private readonly log;
@@ -2490,28 +2555,6 @@ declare class FileTaskStore extends JsonFileStore<Task> implements TaskStore {
2490
2555
  list(filter?: TaskStoreFilter): Promise<Task[]>;
2491
2556
  }
2492
2557
 
2493
- type AuditAction = "task.created" | "task.queued" | "task.running" | "task.completed" | "task.failed" | "task.cancelled" | "task.retry" | "pipeline.run.started" | "pipeline.run.finished" | "plan.generated" | "memory.context.gathered" | "memory.outcome.recorded";
2494
- interface AuditEvent {
2495
- at: string;
2496
- action: AuditAction;
2497
- project?: string;
2498
- id?: string;
2499
- actor?: string;
2500
- detail?: Record<string, unknown>;
2501
- }
2502
- interface AuditSink {
2503
- record(event: AuditEvent): Promise<void>;
2504
- }
2505
- /** Append-only JSONL sink. Failures are logged, never propagated. */
2506
- declare class FileAuditLog implements AuditSink {
2507
- private readonly filePath;
2508
- private readonly log;
2509
- constructor(directory?: string, log?: Logger);
2510
- record(event: AuditEvent): Promise<void>;
2511
- /** Recent events, oldest first; used by the CLI. */
2512
- recent(limit?: number): Promise<AuditEvent[]>;
2513
- }
2514
-
2515
2558
  /**
2516
2559
  * Local file-based memory provider: the default implementation so persistent
2517
2560
  * memory works out of the box, locally (§25), with no external service.
@@ -2633,6 +2676,7 @@ declare function defaultMetadata(name: string, options?: {
2633
2676
  interface CreateTaskInput {
2634
2677
  objective: string;
2635
2678
  project?: string;
2679
+ pipelineId?: string;
2636
2680
  role?: string;
2637
2681
  agent?: string;
2638
2682
  context?: TaskContext;
@@ -3062,7 +3106,12 @@ declare class PipelineEngine implements IPipelineExecutor {
3062
3106
  private getChat;
3063
3107
  }
3064
3108
  /** Default chat function: resolves "provider:model" against the configured providers. */
3065
- declare function createDefaultChatFn(providers: AppConfig["project"]["providers"]): ChatFn;
3109
+ interface DefaultChatOptions {
3110
+ /** Correlates provider errors in the audit log (§18). */
3111
+ audit?: AuditSink;
3112
+ env?: Record<string, string | undefined>;
3113
+ }
3114
+ declare function createDefaultChatFn(providers: AppConfig["project"]["providers"], options?: DefaultChatOptions): ChatFn;
3066
3115
 
3067
3116
  declare function buildPipelineEngine(config: AppConfig, log?: Logger): PipelineEngine;
3068
3117
 
@@ -3102,6 +3151,6 @@ declare function migrateProjectStores(directory?: string, options?: {
3102
3151
  checkOnly?: boolean;
3103
3152
  }): Promise<MigrationReport[]>;
3104
3153
 
3105
- declare const OMNINODE_VERSION = "2.0.0-alpha.13";
3154
+ declare const OMNINODE_VERSION = "2.0.0-alpha.15";
3106
3155
 
3107
- export { AgentAdapterRegistry, type AgentConfig, type AgentConfigYaml, type AgentDescriptor, AgentError, type AgentInfo, type AgentInputMode, type AgentIntegrationType, AgentRegistry, type AgentStatus, type AgentTaskInput, type AgentTaskOutput, type AgentToNodeMessage, type AggregateOptions, type AggregatedFinding, type AggregatedRecommendation, type AppConfig, type AppConfigYaml, type ArtifactKind, type ArtifactPayload, type AskedQuestion, type AuditAction, type AuditEvent, type AuditSink, type AuditSink as AuditStore, type ChatFn, type ChatMessage, type ChatRequest, type ChatResponse, type ChatRole, type ChatStreamChunk, type ChatUsage, type CollectionDiagnostics, type CombinedMeta, type CombinedReport, type CombinedReportFilter, type Confidence, ConfigError, type ConflictPosition, ConsoleLogSink, type CreateTaskInput, type CwdValidation, DEFAULT_MAX_OUTPUT_BYTES, type DecodeResult, type DiscoveryResult, type DocumentState, type EnvPolicy, type EnvelopeMeta, type Evidence, type EvidenceInput, type EvidenceKind, type ExecutionRecord, type ExtractionMeta, FileAuditLog, FilePipelineRunStore, FilePlanStore, FileReportStore, FileTaskStore, type Finding, type FindingOrigin, type FindingSeverity, type FindingSource, type HelloResult, HeuristicPlanner, type HttpRequestOptions, type HttpResponse, type IAgent, type IAgentAdapter, type IChatProvider, type IMemoryProvider, type IPipelineExecutor, type IPlanner, type IProvider, type JsonDocument, JsonFileStore, type JsonFileStoreOptions, type LoadConfigOptions, LocalMemoryProvider, type LogLevel, type LogSink, Logger, type LoggerOptions, MAX_CONTEXT_CHARS, MAX_MESSAGE_BYTES, MAX_REPORT_BYTES, type MemoryCategory, type MemoryContextQuery, type MemoryEntry, MemoryError, type MemoryProviderConfig, type MemoryProviderMetadata, type MemoryQuery, type MemoryScope, MemoryService, type MemoryServiceOptions, LocalMemoryProvider as MemoryStore, type MemoryTaskContext, type MessageEnvelope, type MigrationReport, type Modality, type ModelCapabilities, type ModelFilter, type ModelInfo, ModelPlanner, ModelRegistry, type ModelStatus, type NodeToAgentMessage, OMNINODE_VERSION, OPENAI_COMPATIBLE_TYPES, type OmniHilbrasConnectionResult, OmniHilbrasProvider, OmniNodeError, type OmniNodeErrorCode, type OmniNodeErrorOptions, OpenAICompatibleProvider, PROTOCOL_V2, type PipelineConfigYaml, type PipelineDefinition, PipelineEngine, type PipelineEngineOptions, PipelineError, type PipelineRun, type PipelineRunAttempt, type PipelineRunFilter, type PipelineRunOptions, type PipelineRunStatus, type PipelineRunStore, type PipelineStep, type PipelineStepCondition, type PipelineStepConfigYaml, type PipelineStepKind, type PipelineStepRun, type PipelineRunStore as PipelineStore, type Plan, type PlanFilter, type PlanJsonResult, type PlanRequest, type PlanStep, type PlanStore, type PlanValidationIssue, type PlanValidationResult, type PlannerConfigYaml, PlannerError, ProcessAgent, ProcessAgentAdapter, type Project, type ProjectConfigYaml, ProjectStores, type ProtocolAgentToNodeType, ProtocolDecoder, type ProtocolEnvelope, ProtocolError, type ProtocolMessageType, type ProtocolNodeToAgentType, ProtocolSession, type ProtocolViolation, type ProtocolViolationCode, type ProviderAuthentication, type ProviderCapability, type ProviderConfig, type ProviderConfigYaml, ProviderError, type ProviderErrorKind, type ProviderHealth, type ProviderStatus, type ProviderType, type QuestionPayload, type QuestionResponder, type RememberaConfig, RememberaMemoryProvider, type Report, type ReportArtifact, type ReportConflict, type ReportFilter, type ReportPayload, ReportService, type ReportStore, type ReportValidationIssue, type ReportValidationResult, type RoleConfigYaml, type RoleDefinition, RoleRegistry, type RunPipelineOptions, SCHEMA_VERSION, STORE_FILES, SUPPORTED_PROTOCOL_VERSIONS, type SecretFinding, type SessionIds, TERMINAL_TASK_STATUSES, type Task, type TaskContext, TaskEngine, type TaskEngineOptions, TaskError, type TaskPayload, type TaskResult, type TaskStatus, type TaskStore, type TaskStoreFilter, type WritableLike, agentConfigSchema, aggregateReports, appConfigSchema, authHeaders, buildAgentRegistry, buildChildEnv, buildHello, buildHelloAck, buildPipelineEngine, buildPlanner, buildPlannerContext, buildRoleRegistry, composeTaskText, createAgent, createDefaultChatFn, createMemoryProvider, createProvider, createTaskEngine, decodeMessage, decodeStream, defaultMetadata, defaultProjectConfigYaml, defaultSearch, describeExit, describeSecretFindings, detectConflicts, encodeMessage, envelope, expandEnvRefs, extractMessage, extractReportFromText, findConfigFile, inspectDocument, isNetworkError, isOmniNodeError, isRetryable, isSupportedProtocol, isTimeoutError, keywords, killTree, kindFromStatus, loadConfig, logger, migrateProjectStores, newMessageId, normalizeEvidence, normalizeFinding, parseHello, parsePlanJson, parseRetryAfter, pipelineConfigSchema, pipelineStepConfigSchema, planJsonSchema, plannerConfigSchema, projectConfigSchema, providerConfigSchema, providerHttpError, providerTransportError, readDocument, registryKey, requestJson, requireCompletion, resolveApiKey, resolveEnvPolicy, roleConfigSchema, sanitizeChunk, scanForInlineSecrets, similar, validateEnvelope, validatePlan, validateReport, validateWorkingDirectory, writeFileAtomic };
3156
+ export { AgentAdapterRegistry, type AgentConfig, type AgentConfigYaml, type AgentDescriptor, AgentError, type AgentInfo, type AgentInputMode, type AgentIntegrationType, AgentRegistry, type AgentStatus, type AgentTaskInput, type AgentTaskOutput, type AgentToNodeMessage, type AggregateOptions, type AggregatedFinding, type AggregatedRecommendation, type AppConfig, type AppConfigYaml, type ArtifactKind, type ArtifactPayload, type AskedQuestion, type AuditAction, type AuditEvent, type AuditSink, type AuditSink as AuditStore, type ChatFn, type ChatMessage, type ChatRequest, type ChatResponse, type ChatRole, type ChatStreamChunk, type ChatUsage, type CollectionDiagnostics, type CombinedMeta, type CombinedReport, type CombinedReportFilter, type Confidence, ConfigError, type ConflictPosition, ConsoleLogSink, type CreateTaskInput, type CwdValidation, DEFAULT_MAX_OUTPUT_BYTES, type DecodeResult, type DefaultChatOptions, type DiscoveryResult, type DocumentState, type Durability, type EnvPolicy, type EnvelopeMeta, type Evidence, type EvidenceInput, type EvidenceKind, type ExecutionRecord, type ExtractionMeta, FileAuditLog, FilePipelineRunStore, FilePlanStore, FileReportStore, FileTaskStore, type Finding, type FindingOrigin, type FindingSeverity, type FindingSource, type HelloResult, HeuristicPlanner, type HttpRequestOptions, type HttpResponse, type IAgent, type IAgentAdapter, type IChatProvider, type IMemoryProvider, type IPipelineExecutor, type IPlanner, type IProvider, type JsonDocument, JsonFileStore, type JsonFileStoreOptions, type LoadConfigOptions, LocalMemoryProvider, type LogFormat, type LogLevel, type LogSink, Logger, type LoggerOptions, MAX_CONTEXT_CHARS, MAX_MESSAGE_BYTES, MAX_REPORT_BYTES, type MemoryCategory, type MemoryContextQuery, type MemoryEntry, MemoryError, type MemoryProviderConfig, type MemoryProviderMetadata, type MemoryQuery, type MemoryScope, MemoryService, type MemoryServiceOptions, LocalMemoryProvider as MemoryStore, type MemoryTaskContext, type MessageEnvelope, type MigrationReport, type Modality, type ModelCapabilities, type ModelFilter, type ModelInfo, ModelPlanner, ModelRegistry, type ModelStatus, type NodeToAgentMessage, OMNINODE_VERSION, OPENAI_COMPATIBLE_TYPES, type OmniHilbrasConnectionResult, OmniHilbrasProvider, OmniNodeError, type OmniNodeErrorCode, type OmniNodeErrorOptions, OpenAICompatibleProvider, PROTOCOL_V2, type PipelineConfigYaml, type PipelineDefinition, PipelineEngine, type PipelineEngineOptions, PipelineError, type PipelineRun, type PipelineRunAttempt, type PipelineRunFilter, type PipelineRunOptions, type PipelineRunStatus, type PipelineRunStore, type PipelineStep, type PipelineStepCondition, type PipelineStepConfigYaml, type PipelineStepKind, type PipelineStepRun, type PipelineRunStore as PipelineStore, type Plan, type PlanFilter, type PlanJsonResult, type PlanRequest, type PlanStep, type PlanStore, type PlanValidationIssue, type PlanValidationResult, type PlannerConfigYaml, PlannerError, ProcessAgent, ProcessAgentAdapter, type Project, type ProjectConfigYaml, ProjectStores, type ProtocolAgentToNodeType, ProtocolDecoder, type ProtocolEnvelope, ProtocolError, type ProtocolMessageType, type ProtocolNodeToAgentType, ProtocolSession, type ProtocolViolation, type ProtocolViolationCode, type ProviderAuthentication, type ProviderCapability, type ProviderConfig, type ProviderConfigYaml, ProviderError, type ProviderErrorKind, type ProviderHealth, type ProviderStatus, type ProviderType, type QuestionPayload, type QuestionResponder, type RememberaConfig, RememberaMemoryProvider, type Report, type ReportArtifact, type ReportConflict, type ReportFilter, type ReportPayload, ReportService, type ReportStore, type ReportValidationIssue, type ReportValidationResult, type RoleConfigYaml, type RoleDefinition, RoleRegistry, type RunPipelineOptions, SCHEMA_VERSION, STORE_FILES, SUPPORTED_PROTOCOL_VERSIONS, type SecretFinding, type SessionIds, TERMINAL_TASK_STATUSES, type Task, type TaskContext, TaskEngine, type TaskEngineOptions, TaskError, type TaskPayload, type TaskResult, type TaskStatus, type TaskStore, type TaskStoreFilter, type WritableLike, agentConfigSchema, aggregateReports, appConfigSchema, authHeaders, buildAgentRegistry, buildChildEnv, buildHello, buildHelloAck, buildPipelineEngine, buildPlanner, buildPlannerContext, buildRoleRegistry, composeTaskText, configureLogger, createAgent, createDefaultChatFn, createMemoryProvider, createProvider, createTaskEngine, decodeMessage, decodeStream, defaultMetadata, defaultProjectConfigYaml, defaultSearch, describeExit, describeSecretFindings, detectConflicts, encodeMessage, envelope, expandEnvRefs, extractMessage, extractReportFromText, findConfigFile, inspectDocument, isNetworkError, isOmniNodeError, isRetryable, isSupportedProtocol, isTimeoutError, keywords, killTree, kindFromStatus, loadConfig, logger, migrateProjectStores, newMessageId, normalizeEvidence, normalizeFinding, parseHello, parsePlanJson, parseRetryAfter, pipelineConfigSchema, pipelineStepConfigSchema, planJsonSchema, plannerConfigSchema, projectConfigSchema, providerConfigSchema, providerHttpError, providerTransportError, readDocument, registryKey, requestJson, requireCompletion, resolveApiKey, resolveEnvPolicy, roleConfigSchema, sanitizeChunk, scanForInlineSecrets, similar, validateEnvelope, validatePlan, validateReport, validateWorkingDirectory, writeFileAtomic };