@hilbras/omninode 2.0.0-alpha.3 → 2.0.0-alpha.4
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.
- package/README.md +25 -9
- package/dist/cli/index.js +229 -35
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +165 -9
- package/dist/index.js +231 -34
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ChildProcess } from 'node:child_process';
|
|
2
3
|
|
|
3
4
|
/** Structured report format so reports can be processed programmatically (§16). */
|
|
4
5
|
type Confidence = "low" | "medium" | "high";
|
|
@@ -191,8 +192,21 @@ interface AgentConfig {
|
|
|
191
192
|
inputMode?: AgentInputMode;
|
|
192
193
|
/** Per-task timeout in milliseconds; the process is killed when exceeded. */
|
|
193
194
|
timeoutMs?: number;
|
|
194
|
-
/**
|
|
195
|
+
/**
|
|
196
|
+
* When false, the agent process starts with a minimal environment (PATH +
|
|
197
|
+
* env). Deprecated in v2 — prefer `envPolicy`.
|
|
198
|
+
*/
|
|
195
199
|
inheritEnv?: boolean;
|
|
200
|
+
/** Explicit environment policy (roadmap §8). */
|
|
201
|
+
envPolicy?: "inherit" | "allowlist" | "denylist" | "explicit";
|
|
202
|
+
/** Variables forwarded from the parent under the `allowlist` policy. */
|
|
203
|
+
envAllowlist?: string[];
|
|
204
|
+
/** Variables removed from the parent under the `denylist` policy. */
|
|
205
|
+
envDenylist?: string[];
|
|
206
|
+
/** Per-stream byte budget for agent stdout/stderr (default 5 MiB). */
|
|
207
|
+
maxOutputBytes?: number;
|
|
208
|
+
/** Allow a working directory outside the project root. */
|
|
209
|
+
allowExternalCwd?: boolean;
|
|
196
210
|
/** Models (as "provider:model-id") this agent may use, if restricted. */
|
|
197
211
|
allowedModels?: string[];
|
|
198
212
|
metadata?: Record<string, unknown>;
|
|
@@ -745,6 +759,11 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
745
759
|
input_mode: z.ZodDefault<z.ZodEnum<["stdin", "arg", "protocol"]>>;
|
|
746
760
|
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
747
761
|
inherit_env: z.ZodOptional<z.ZodBoolean>;
|
|
762
|
+
env_policy: z.ZodOptional<z.ZodEnum<["inherit", "allowlist", "denylist", "explicit"]>>;
|
|
763
|
+
env_allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
764
|
+
env_denylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
765
|
+
max_output_bytes: z.ZodOptional<z.ZodNumber>;
|
|
766
|
+
allow_external_cwd: z.ZodOptional<z.ZodBoolean>;
|
|
748
767
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
749
768
|
}, "strict", z.ZodTypeAny, {
|
|
750
769
|
name: string;
|
|
@@ -757,6 +776,11 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
757
776
|
env?: Record<string, string> | undefined;
|
|
758
777
|
timeout_ms?: number | undefined;
|
|
759
778
|
inherit_env?: boolean | undefined;
|
|
779
|
+
env_policy?: "inherit" | "allowlist" | "denylist" | "explicit" | undefined;
|
|
780
|
+
env_allowlist?: string[] | undefined;
|
|
781
|
+
env_denylist?: string[] | undefined;
|
|
782
|
+
max_output_bytes?: number | undefined;
|
|
783
|
+
allow_external_cwd?: boolean | undefined;
|
|
760
784
|
}, {
|
|
761
785
|
name: string;
|
|
762
786
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -768,6 +792,11 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
768
792
|
input_mode?: "protocol" | "stdin" | "arg" | undefined;
|
|
769
793
|
timeout_ms?: number | undefined;
|
|
770
794
|
inherit_env?: boolean | undefined;
|
|
795
|
+
env_policy?: "inherit" | "allowlist" | "denylist" | "explicit" | undefined;
|
|
796
|
+
env_allowlist?: string[] | undefined;
|
|
797
|
+
env_denylist?: string[] | undefined;
|
|
798
|
+
max_output_bytes?: number | undefined;
|
|
799
|
+
allow_external_cwd?: boolean | undefined;
|
|
771
800
|
}>;
|
|
772
801
|
declare const roleConfigSchema: z.ZodObject<{
|
|
773
802
|
id: z.ZodString;
|
|
@@ -940,6 +969,11 @@ declare const projectConfigSchema: z.ZodObject<{
|
|
|
940
969
|
input_mode: z.ZodDefault<z.ZodEnum<["stdin", "arg", "protocol"]>>;
|
|
941
970
|
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
942
971
|
inherit_env: z.ZodOptional<z.ZodBoolean>;
|
|
972
|
+
env_policy: z.ZodOptional<z.ZodEnum<["inherit", "allowlist", "denylist", "explicit"]>>;
|
|
973
|
+
env_allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
974
|
+
env_denylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
975
|
+
max_output_bytes: z.ZodOptional<z.ZodNumber>;
|
|
976
|
+
allow_external_cwd: z.ZodOptional<z.ZodBoolean>;
|
|
943
977
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
944
978
|
}, "strict", z.ZodTypeAny, {
|
|
945
979
|
name: string;
|
|
@@ -952,6 +986,11 @@ declare const projectConfigSchema: z.ZodObject<{
|
|
|
952
986
|
env?: Record<string, string> | undefined;
|
|
953
987
|
timeout_ms?: number | undefined;
|
|
954
988
|
inherit_env?: boolean | undefined;
|
|
989
|
+
env_policy?: "inherit" | "allowlist" | "denylist" | "explicit" | undefined;
|
|
990
|
+
env_allowlist?: string[] | undefined;
|
|
991
|
+
env_denylist?: string[] | undefined;
|
|
992
|
+
max_output_bytes?: number | undefined;
|
|
993
|
+
allow_external_cwd?: boolean | undefined;
|
|
955
994
|
}, {
|
|
956
995
|
name: string;
|
|
957
996
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -963,6 +1002,11 @@ declare const projectConfigSchema: z.ZodObject<{
|
|
|
963
1002
|
input_mode?: "protocol" | "stdin" | "arg" | undefined;
|
|
964
1003
|
timeout_ms?: number | undefined;
|
|
965
1004
|
inherit_env?: boolean | undefined;
|
|
1005
|
+
env_policy?: "inherit" | "allowlist" | "denylist" | "explicit" | undefined;
|
|
1006
|
+
env_allowlist?: string[] | undefined;
|
|
1007
|
+
env_denylist?: string[] | undefined;
|
|
1008
|
+
max_output_bytes?: number | undefined;
|
|
1009
|
+
allow_external_cwd?: boolean | undefined;
|
|
966
1010
|
}>, "many">>;
|
|
967
1011
|
roles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
968
1012
|
id: z.ZodString;
|
|
@@ -1095,6 +1139,11 @@ declare const projectConfigSchema: z.ZodObject<{
|
|
|
1095
1139
|
env?: Record<string, string> | undefined;
|
|
1096
1140
|
timeout_ms?: number | undefined;
|
|
1097
1141
|
inherit_env?: boolean | undefined;
|
|
1142
|
+
env_policy?: "inherit" | "allowlist" | "denylist" | "explicit" | undefined;
|
|
1143
|
+
env_allowlist?: string[] | undefined;
|
|
1144
|
+
env_denylist?: string[] | undefined;
|
|
1145
|
+
max_output_bytes?: number | undefined;
|
|
1146
|
+
allow_external_cwd?: boolean | undefined;
|
|
1098
1147
|
}[];
|
|
1099
1148
|
providers: {
|
|
1100
1149
|
name: string;
|
|
@@ -1154,6 +1203,11 @@ declare const projectConfigSchema: z.ZodObject<{
|
|
|
1154
1203
|
input_mode?: "protocol" | "stdin" | "arg" | undefined;
|
|
1155
1204
|
timeout_ms?: number | undefined;
|
|
1156
1205
|
inherit_env?: boolean | undefined;
|
|
1206
|
+
env_policy?: "inherit" | "allowlist" | "denylist" | "explicit" | undefined;
|
|
1207
|
+
env_allowlist?: string[] | undefined;
|
|
1208
|
+
env_denylist?: string[] | undefined;
|
|
1209
|
+
max_output_bytes?: number | undefined;
|
|
1210
|
+
allow_external_cwd?: boolean | undefined;
|
|
1157
1211
|
}[] | undefined;
|
|
1158
1212
|
providers?: {
|
|
1159
1213
|
name: string;
|
|
@@ -1240,6 +1294,11 @@ declare const appConfigSchema: z.ZodObject<{
|
|
|
1240
1294
|
input_mode: z.ZodDefault<z.ZodEnum<["stdin", "arg", "protocol"]>>;
|
|
1241
1295
|
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
1242
1296
|
inherit_env: z.ZodOptional<z.ZodBoolean>;
|
|
1297
|
+
env_policy: z.ZodOptional<z.ZodEnum<["inherit", "allowlist", "denylist", "explicit"]>>;
|
|
1298
|
+
env_allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1299
|
+
env_denylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1300
|
+
max_output_bytes: z.ZodOptional<z.ZodNumber>;
|
|
1301
|
+
allow_external_cwd: z.ZodOptional<z.ZodBoolean>;
|
|
1243
1302
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1244
1303
|
}, "strict", z.ZodTypeAny, {
|
|
1245
1304
|
name: string;
|
|
@@ -1252,6 +1311,11 @@ declare const appConfigSchema: z.ZodObject<{
|
|
|
1252
1311
|
env?: Record<string, string> | undefined;
|
|
1253
1312
|
timeout_ms?: number | undefined;
|
|
1254
1313
|
inherit_env?: boolean | undefined;
|
|
1314
|
+
env_policy?: "inherit" | "allowlist" | "denylist" | "explicit" | undefined;
|
|
1315
|
+
env_allowlist?: string[] | undefined;
|
|
1316
|
+
env_denylist?: string[] | undefined;
|
|
1317
|
+
max_output_bytes?: number | undefined;
|
|
1318
|
+
allow_external_cwd?: boolean | undefined;
|
|
1255
1319
|
}, {
|
|
1256
1320
|
name: string;
|
|
1257
1321
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -1263,6 +1327,11 @@ declare const appConfigSchema: z.ZodObject<{
|
|
|
1263
1327
|
input_mode?: "protocol" | "stdin" | "arg" | undefined;
|
|
1264
1328
|
timeout_ms?: number | undefined;
|
|
1265
1329
|
inherit_env?: boolean | undefined;
|
|
1330
|
+
env_policy?: "inherit" | "allowlist" | "denylist" | "explicit" | undefined;
|
|
1331
|
+
env_allowlist?: string[] | undefined;
|
|
1332
|
+
env_denylist?: string[] | undefined;
|
|
1333
|
+
max_output_bytes?: number | undefined;
|
|
1334
|
+
allow_external_cwd?: boolean | undefined;
|
|
1266
1335
|
}>, "many">>;
|
|
1267
1336
|
roles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1268
1337
|
id: z.ZodString;
|
|
@@ -1395,6 +1464,11 @@ declare const appConfigSchema: z.ZodObject<{
|
|
|
1395
1464
|
env?: Record<string, string> | undefined;
|
|
1396
1465
|
timeout_ms?: number | undefined;
|
|
1397
1466
|
inherit_env?: boolean | undefined;
|
|
1467
|
+
env_policy?: "inherit" | "allowlist" | "denylist" | "explicit" | undefined;
|
|
1468
|
+
env_allowlist?: string[] | undefined;
|
|
1469
|
+
env_denylist?: string[] | undefined;
|
|
1470
|
+
max_output_bytes?: number | undefined;
|
|
1471
|
+
allow_external_cwd?: boolean | undefined;
|
|
1398
1472
|
}[];
|
|
1399
1473
|
providers: {
|
|
1400
1474
|
name: string;
|
|
@@ -1454,6 +1528,11 @@ declare const appConfigSchema: z.ZodObject<{
|
|
|
1454
1528
|
input_mode?: "protocol" | "stdin" | "arg" | undefined;
|
|
1455
1529
|
timeout_ms?: number | undefined;
|
|
1456
1530
|
inherit_env?: boolean | undefined;
|
|
1531
|
+
env_policy?: "inherit" | "allowlist" | "denylist" | "explicit" | undefined;
|
|
1532
|
+
env_allowlist?: string[] | undefined;
|
|
1533
|
+
env_denylist?: string[] | undefined;
|
|
1534
|
+
max_output_bytes?: number | undefined;
|
|
1535
|
+
allow_external_cwd?: boolean | undefined;
|
|
1457
1536
|
}[] | undefined;
|
|
1458
1537
|
providers?: {
|
|
1459
1538
|
name: string;
|
|
@@ -1522,6 +1601,11 @@ declare const appConfigSchema: z.ZodObject<{
|
|
|
1522
1601
|
env?: Record<string, string> | undefined;
|
|
1523
1602
|
timeout_ms?: number | undefined;
|
|
1524
1603
|
inherit_env?: boolean | undefined;
|
|
1604
|
+
env_policy?: "inherit" | "allowlist" | "denylist" | "explicit" | undefined;
|
|
1605
|
+
env_allowlist?: string[] | undefined;
|
|
1606
|
+
env_denylist?: string[] | undefined;
|
|
1607
|
+
max_output_bytes?: number | undefined;
|
|
1608
|
+
allow_external_cwd?: boolean | undefined;
|
|
1525
1609
|
}[];
|
|
1526
1610
|
providers: {
|
|
1527
1611
|
name: string;
|
|
@@ -1586,6 +1670,11 @@ declare const appConfigSchema: z.ZodObject<{
|
|
|
1586
1670
|
input_mode?: "protocol" | "stdin" | "arg" | undefined;
|
|
1587
1671
|
timeout_ms?: number | undefined;
|
|
1588
1672
|
inherit_env?: boolean | undefined;
|
|
1673
|
+
env_policy?: "inherit" | "allowlist" | "denylist" | "explicit" | undefined;
|
|
1674
|
+
env_allowlist?: string[] | undefined;
|
|
1675
|
+
env_denylist?: string[] | undefined;
|
|
1676
|
+
max_output_bytes?: number | undefined;
|
|
1677
|
+
allow_external_cwd?: boolean | undefined;
|
|
1589
1678
|
}[] | undefined;
|
|
1590
1679
|
providers?: {
|
|
1591
1680
|
name: string;
|
|
@@ -1767,12 +1856,21 @@ declare class OmniHilbrasProvider extends OpenAICompatibleProvider {
|
|
|
1767
1856
|
}
|
|
1768
1857
|
|
|
1769
1858
|
/**
|
|
1770
|
-
*
|
|
1771
|
-
*
|
|
1772
|
-
*
|
|
1773
|
-
*
|
|
1859
|
+
* Process adapter (§9): runs CLI agents as child processes and communicates
|
|
1860
|
+
* over stdin/stdout, managing the process lifecycle, working directory,
|
|
1861
|
+
* environment, exit codes, logs and timeouts.
|
|
1862
|
+
*
|
|
1863
|
+
* Three input modes (§9, §21):
|
|
1864
|
+
* - "stdin": the composed task text is written to the agent's stdin.
|
|
1865
|
+
* - "arg": the composed task text is appended as the last command argument.
|
|
1866
|
+
* - "protocol": NodeToAgentMessage envelopes as JSON lines on stdin; the
|
|
1867
|
+
* agent answers with AgentToNodeMessage JSON lines (REPORT,
|
|
1868
|
+
* COMPLETION, ERROR, ...) whose structured payloads are parsed
|
|
1869
|
+
* into reports.
|
|
1774
1870
|
*/
|
|
1775
|
-
|
|
1871
|
+
|
|
1872
|
+
/** Per-stream byte budget before output is truncated and the agent killed. */
|
|
1873
|
+
declare const DEFAULT_MAX_OUTPUT_BYTES: number;
|
|
1776
1874
|
declare function composeTaskText(input: AgentTaskInput): string;
|
|
1777
1875
|
declare class ProcessAgent implements IAgent {
|
|
1778
1876
|
readonly config: AgentConfig;
|
|
@@ -1785,6 +1883,63 @@ declare class ProcessAgent implements IAgent {
|
|
|
1785
1883
|
cancel(taskId: string): Promise<void>;
|
|
1786
1884
|
runningTaskIds(): string[];
|
|
1787
1885
|
}
|
|
1886
|
+
/** Kills a child and, on POSIX, its whole process group (roadmap §8 tree cleanup). */
|
|
1887
|
+
declare function killTree(child: ChildProcess, signal: NodeJS.Signals): void;
|
|
1888
|
+
/** Human-readable exit reason, including signal terminations. */
|
|
1889
|
+
declare function describeExit(code: number | null, signal: NodeJS.Signals | null): string;
|
|
1890
|
+
/**
|
|
1891
|
+
* Decodes a stdout/stderr chunk safely: invalid UTF-8 becomes replacement
|
|
1892
|
+
* characters and NUL bytes are stripped, so binary noise cannot poison the
|
|
1893
|
+
* protocol decoder or the terminal (roadmap §8, encoding hardening).
|
|
1894
|
+
*/
|
|
1895
|
+
declare function sanitizeChunk(chunk: Buffer): string;
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* Agent environment policies (roadmap §8, Environment Isolation).
|
|
1899
|
+
*
|
|
1900
|
+
* Four explicit policies, so operators decide exactly what an agent can see:
|
|
1901
|
+
* - `inherit` (default, backwards compatible): the full parent environment
|
|
1902
|
+
* - `allowlist`: only the allow-listed variables (+ PATH/HOME)
|
|
1903
|
+
* - `denylist`: the parent environment minus the deny-listed variables
|
|
1904
|
+
* - `explicit`: nothing from the parent; only PATH/HOME and `env`
|
|
1905
|
+
*
|
|
1906
|
+
* The v1 boolean `inherit_env: false` is still honored and maps to `explicit`.
|
|
1907
|
+
*/
|
|
1908
|
+
|
|
1909
|
+
type EnvPolicy = "inherit" | "allowlist" | "denylist" | "explicit";
|
|
1910
|
+
declare function resolveEnvPolicy(config: Partial<AgentConfig>): EnvPolicy;
|
|
1911
|
+
declare function buildChildEnv(config: AgentConfig): NodeJS.ProcessEnv;
|
|
1912
|
+
|
|
1913
|
+
interface CwdValidation {
|
|
1914
|
+
/** Normalized absolute path. */
|
|
1915
|
+
cwd: string;
|
|
1916
|
+
/** True when the directory sits outside the project root (project boundary). */
|
|
1917
|
+
outsideProject: boolean;
|
|
1918
|
+
}
|
|
1919
|
+
declare function validateWorkingDirectory(cwd: string | undefined, options?: {
|
|
1920
|
+
projectRoot?: string;
|
|
1921
|
+
allowExternal?: boolean;
|
|
1922
|
+
}): CwdValidation | undefined;
|
|
1923
|
+
|
|
1924
|
+
interface IAgentAdapter {
|
|
1925
|
+
/** Integration type this adapter serves, e.g. "native" or "process". */
|
|
1926
|
+
readonly integration: string;
|
|
1927
|
+
create(config: AgentConfig): IAgent;
|
|
1928
|
+
}
|
|
1929
|
+
declare class AgentAdapterRegistry {
|
|
1930
|
+
private readonly adapters;
|
|
1931
|
+
register(adapter: IAgentAdapter): void;
|
|
1932
|
+
get(integration: string): IAgentAdapter | undefined;
|
|
1933
|
+
list(): IAgentAdapter[];
|
|
1934
|
+
create(config: AgentConfig): IAgent;
|
|
1935
|
+
}
|
|
1936
|
+
/** Process-level adapter — the built-in CLI integration. */
|
|
1937
|
+
declare class ProcessAgentAdapter implements IAgentAdapter {
|
|
1938
|
+
private readonly factory;
|
|
1939
|
+
readonly integration = "process";
|
|
1940
|
+
constructor(factory: (config: AgentConfig) => IAgent);
|
|
1941
|
+
create(config: AgentConfig): IAgent;
|
|
1942
|
+
}
|
|
1788
1943
|
|
|
1789
1944
|
/** Agent registry (§10): the set of agents connected to OmniNode. */
|
|
1790
1945
|
|
|
@@ -1800,7 +1955,8 @@ declare class AgentRegistry {
|
|
|
1800
1955
|
* "cli" agent configs are mapped to the process integration by the loader.
|
|
1801
1956
|
*/
|
|
1802
1957
|
|
|
1803
|
-
declare function createAgent(config: AgentConfig): IAgent;
|
|
1958
|
+
declare function createAgent(config: AgentConfig, adapters?: AgentAdapterRegistry): IAgent;
|
|
1959
|
+
|
|
1804
1960
|
/** Builds an agent registry from the project configuration, skipping agents that fail to construct. */
|
|
1805
1961
|
declare function buildAgentRegistry(config: AppConfig, log?: Logger): AgentRegistry;
|
|
1806
1962
|
|
|
@@ -2353,6 +2509,6 @@ declare class ProjectStores {
|
|
|
2353
2509
|
constructor(directory?: string);
|
|
2354
2510
|
}
|
|
2355
2511
|
|
|
2356
|
-
declare const OMNINODE_VERSION = "2.0.0-alpha.
|
|
2512
|
+
declare const OMNINODE_VERSION = "2.0.0-alpha.4";
|
|
2357
2513
|
|
|
2358
|
-
export { 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 ChatFn, type ChatMessage, type ChatRequest, type ChatResponse, type ChatRole, type ChatUsage, type CombinedMeta, type CombinedReport, type CombinedReportFilter, type Confidence, ConfigError, ConsoleLogSink, type CreateTaskInput, type DecodeResult, type DiscoveryResult, type EnvelopeMeta, type ExecutionRecord, type ExtractionMeta, FileAuditLog, FilePipelineRunStore, FilePlanStore, FileReportStore, FileTaskStore, type Finding, type FindingSeverity, type FindingSource, type HelloResult, HeuristicPlanner, type HttpRequestOptions, type HttpResponse, type IAgent, type IChatProvider, type IMemoryProvider, type IPlanner, type IProvider, type JsonDocument, JsonFileStore, type JsonFileStoreOptions, type LoadConfigOptions, LocalMemoryProvider, type LogLevel, type LogSink, Logger, type LoggerOptions, MAX_MESSAGE_BYTES, type MemoryContextQuery, type MemoryEntry, MemoryError, type MemoryProviderConfig, type MemoryQuery, type MemoryScope, MemoryService, type MessageEnvelope, 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 PipelineRunFilter, type PipelineRunStatus, type PipelineRunStore, type PipelineStep, type PipelineStepCondition, type PipelineStepConfigYaml, type PipelineStepKind, type PipelineStepRun, type Plan, type PlanFilter, type PlanRequest, type PlanStep, type PlanStore, type PlannerConfigYaml, PlannerError, ProcessAgent, type Project, type ProjectConfigYaml, ProjectStores, type ProtocolAgentToNodeType, ProtocolDecoder, type ProtocolEnvelope, ProtocolError, type ProtocolMessageType, type ProtocolNodeToAgentType, ProtocolSession, type ProtocolViolation, type ProtocolViolationCode, type ProviderConfig, type ProviderConfigYaml, ProviderError, type ProviderHealth, type ProviderStatus, type ProviderType, type QuestionPayload, type QuestionResponder, type RememberaConfig, RememberaMemoryProvider, type Report, type ReportFilter, type ReportPayload, ReportService, type ReportStore, type RoleConfigYaml, type RoleDefinition, RoleRegistry, type RunPipelineOptions, SUPPORTED_PROTOCOL_VERSIONS, 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, defaultProjectConfigYaml, encodeMessage, envelope, expandEnvRefs, extractReportFromText, findConfigFile, isOmniNodeError, isSupportedProtocol, keywords, loadConfig, logger, newMessageId, parseHello, parsePlanJson, pipelineConfigSchema, pipelineStepConfigSchema, plannerConfigSchema, projectConfigSchema, providerConfigSchema, registryKey, requestJson, requireCompletion, resolveApiKey, roleConfigSchema, similar, validateEnvelope };
|
|
2514
|
+
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 ChatFn, type ChatMessage, type ChatRequest, type ChatResponse, type ChatRole, type ChatUsage, type CombinedMeta, type CombinedReport, type CombinedReportFilter, type Confidence, ConfigError, ConsoleLogSink, type CreateTaskInput, type CwdValidation, DEFAULT_MAX_OUTPUT_BYTES, type DecodeResult, type DiscoveryResult, type EnvPolicy, type EnvelopeMeta, type ExecutionRecord, type ExtractionMeta, FileAuditLog, FilePipelineRunStore, FilePlanStore, FileReportStore, FileTaskStore, type Finding, type FindingSeverity, type FindingSource, type HelloResult, HeuristicPlanner, type HttpRequestOptions, type HttpResponse, type IAgent, type IAgentAdapter, type IChatProvider, type IMemoryProvider, type IPlanner, type IProvider, type JsonDocument, JsonFileStore, type JsonFileStoreOptions, type LoadConfigOptions, LocalMemoryProvider, type LogLevel, type LogSink, Logger, type LoggerOptions, MAX_MESSAGE_BYTES, type MemoryContextQuery, type MemoryEntry, MemoryError, type MemoryProviderConfig, type MemoryQuery, type MemoryScope, MemoryService, type MessageEnvelope, 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 PipelineRunFilter, type PipelineRunStatus, type PipelineRunStore, type PipelineStep, type PipelineStepCondition, type PipelineStepConfigYaml, type PipelineStepKind, type PipelineStepRun, type Plan, type PlanFilter, type PlanRequest, type PlanStep, type PlanStore, 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 ProviderConfig, type ProviderConfigYaml, ProviderError, type ProviderHealth, type ProviderStatus, type ProviderType, type QuestionPayload, type QuestionResponder, type RememberaConfig, RememberaMemoryProvider, type Report, type ReportFilter, type ReportPayload, ReportService, type ReportStore, type RoleConfigYaml, type RoleDefinition, RoleRegistry, type RunPipelineOptions, SUPPORTED_PROTOCOL_VERSIONS, 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, defaultProjectConfigYaml, describeExit, encodeMessage, envelope, expandEnvRefs, extractReportFromText, findConfigFile, isOmniNodeError, isSupportedProtocol, keywords, killTree, loadConfig, logger, newMessageId, parseHello, parsePlanJson, pipelineConfigSchema, pipelineStepConfigSchema, plannerConfigSchema, projectConfigSchema, providerConfigSchema, registryKey, requestJson, requireCompletion, resolveApiKey, resolveEnvPolicy, roleConfigSchema, sanitizeChunk, similar, validateEnvelope, validateWorkingDirectory };
|