@hilbras/omninode 2.0.0-alpha.1 → 2.0.0-alpha.11
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 +73 -10
- package/dist/cli/index.js +1727 -323
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +1037 -113
- package/dist/index.js +1864 -438
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,7 +18,9 @@ existing intelligence; it does not try to become another model.
|
|
|
18
18
|
|
|
19
19
|
## Status
|
|
20
20
|
|
|
21
|
-
**v2.0.0-alpha.
|
|
21
|
+
**v2.0.0-alpha.11 — v2 Phase 11: Planner v2**
|
|
22
|
+
(the reliability & interoperability line: architecture → execution →
|
|
23
|
+
protocol → adapters → pipelines → providers → OmniHilbras → memory → reports) (the v2
|
|
22
24
|
roadmap is [docs/ROADMAP_V2.md](docs/ROADMAP_V2.md); the v1 plan is complete:
|
|
23
25
|
the
|
|
24
26
|
full loop from §28 runs in one command —
|
|
@@ -27,14 +29,75 @@ planner → plan → execution → result` — with audit logging, error recover
|
|
|
27
29
|
production hardening (see [docs/DEVELOPMENT_PLAN.md](docs/DEVELOPMENT_PLAN.md)
|
|
28
30
|
for the plan and [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) for the design).
|
|
29
31
|
|
|
30
|
-
### What
|
|
31
|
-
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
### What's new in v2 (so far)
|
|
33
|
+
|
|
34
|
+
- **Phase 11 — Planner v2**: the planner now receives the full §15 input —
|
|
35
|
+
task, project context, agent reports, **aggregated findings (consensus and
|
|
36
|
+
conflicts included)**, memory and **constraints** (settable per pipeline
|
|
37
|
+
step). Plans carry an explicit goal, every generated plan is **schema
|
|
38
|
+
validated**, invalid output produces a **structured error** or falls back to
|
|
39
|
+
heuristic planning, and a guard test proves the planner module depends on no
|
|
40
|
+
specific provider.
|
|
41
|
+
- **Phase 10 — Aggregation Improvements**: when agents disagree,
|
|
42
|
+
OmniNode now says so instead of flattening the answer — **conflict
|
|
43
|
+
detection** preserves every position (severity spread, divergent
|
|
44
|
+
recommended fixes), multi-agent **agreements** are recorded as
|
|
45
|
+
consensus, confidence is preserved per source, and the combined
|
|
46
|
+
report carries provenance-rich metadata. Still fully deterministic.
|
|
47
|
+
- **Phase 9 — Report System v2**: reports are validated machine-readable
|
|
48
|
+
objects — `validateReport()` runs on everything entering the system and
|
|
49
|
+
malformed reports are rejected with diagnostics instead of poisoning
|
|
50
|
+
aggregation. Findings gain description/confidence/source/recommendation,
|
|
51
|
+
evidence is typed (`file`, `line`, `url`, `command`, `observation`,
|
|
52
|
+
`artifact`), and reports carry artifacts and run provenance.
|
|
53
|
+
Details: [REPORTS.md](docs/REPORTS.md).
|
|
54
|
+
- **Phase 8 — Remembera / Memory v2**: the memory contract is formalized
|
|
55
|
+
(`retrieve` / `store` / `search` / `metadata` with v1 `query` / `write`
|
|
56
|
+
aliases kept working), memory gains structured **categories** (decisions,
|
|
57
|
+
problems, conventions, tasks…), retrieval is **task-oriented and budgeted**
|
|
58
|
+
(never "load all memory"), and `memory.required: true` makes backend
|
|
59
|
+
failures fatal instead of tolerated. Details: [MEMORY.md](docs/MEMORY.md).
|
|
60
|
+
- **Phase 7 — OmniHilbras Integration v2**: the dedicated adapter now
|
|
61
|
+
captures gateway-level metadata (version, tier, region) and attaches it
|
|
62
|
+
to discovered models, honors provider-level `timeout_ms`, and supports
|
|
63
|
+
streaming completions (`stream()` over SSE) — while a guard test proves
|
|
64
|
+
the core references OmniHilbras *only* through the provider layer, and a
|
|
65
|
+
full pipeline runs with no OmniHilbras configured at all.
|
|
66
|
+
- **Phase 6 — Provider Infrastructure v2**: standardized provider contract
|
|
67
|
+
(`providerId`, secret-free `authentication`, declared `capabilities`,
|
|
68
|
+
`connect()` / `getModel()` discovery), richer model metadata (context
|
|
69
|
+
window, input/output modalities, tool/vision/structured-output/streaming
|
|
70
|
+
support), and **unified error normalization** — every provider failure now
|
|
71
|
+
carries a stable `kind` (auth, rate limit, invalid request, model not
|
|
72
|
+
found, timeout, network, server, unknown) plus `retryable` and
|
|
73
|
+
`retryAfterMs`. Details: [PROVIDERS.md](docs/PROVIDERS.md).
|
|
74
|
+
- **Phase 5 — Pipeline Lifecycle**: first-class pipeline cancellation
|
|
75
|
+
(`omninode pipeline cancel <run-id>`: stop scheduling → cancel running
|
|
76
|
+
tasks → terminate agent processes → persist a `cancelled` run), `pipeline
|
|
77
|
+
validate` for pre-run checks (deps, cycles, agents, model references),
|
|
78
|
+
explicit run/step **attempts** in the run record, the
|
|
79
|
+
`IPipelineExecutor` contract, and recovery awareness — runs left `running`
|
|
80
|
+
without a `finishedAt` are flagged as interrupted in `pipeline runs`.
|
|
81
|
+
- **Phase 4 — Agent Adapter Hardening**: process-tree cleanup (agents run in
|
|
82
|
+
their own process group; timeout, cancel and Ctrl-C reap the whole tree, so
|
|
83
|
+
no orphaned children), explicit environment policies
|
|
84
|
+
(`inherit` / `allowlist` / `denylist` / `explicit`), working-directory
|
|
85
|
+
validation against project boundaries, per-stream output limits that kill
|
|
86
|
+
runaway agents, binary-safe output decoding, human-readable exit/signal
|
|
87
|
+
reporting, and a native `IAgentAdapter` registry so new integration styles
|
|
88
|
+
plug in without touching core.
|
|
89
|
+
- **Phase 3 — Agent Protocol v2**: versioned protocol
|
|
90
|
+
(`omninode-agent-protocol/2`), fully correlated envelopes, the complete
|
|
91
|
+
message-type set, HELLO handshake, QUESTION/RESPONSE round-trips, and
|
|
92
|
+
malformed input that can never crash OmniNode. Spec:
|
|
93
|
+
[PROTOCOL.md](docs/PROTOCOL.md).
|
|
94
|
+
- **Phase 2 — Execution Reliability**: a task killed after dispatch is
|
|
95
|
+
`unknown`, **not** `failed` — retries never duplicate side effects blindly;
|
|
96
|
+
bounded retries with backoff, execution identity and history.
|
|
97
|
+
- **Phase 1 — Architecture & API Stabilization**: one shared `JsonFileStore`
|
|
98
|
+
behind every local store, corrected dependency direction, and a guarded
|
|
99
|
+
public API ([API_STABILITY.md](docs/API_STABILITY.md), [API.md](docs/API.md),
|
|
100
|
+
[DEPRECATIONS.md](docs/DEPRECATIONS.md)).
|
|
38
101
|
|
|
39
102
|
### What's in v1.0
|
|
40
103
|
|
|
@@ -296,7 +359,7 @@ required for the core engine.
|
|
|
296
359
|
- [Architecture](docs/ARCHITECTURE.md) — module map, workflow, local state
|
|
297
360
|
- [Security model](docs/SECURITY.md) — secrets, process execution, env isolation, audit log
|
|
298
361
|
- [API stability policy](docs/API_STABILITY.md) and [public API inventory](docs/API.md)
|
|
299
|
-
- [Deprecations](docs/DEPRECATIONS.md) · [Changelog](CHANGELOG.md) · [v2 roadmap](docs/ROADMAP_V2.md)
|
|
362
|
+
- [Agent Protocol v2 spec](docs/PROTOCOL.md) · [Providers](docs/PROVIDERS.md) · [Memory](docs/MEMORY.md) · [Reports](docs/REPORTS.md) · [Deprecations](docs/DEPRECATIONS.md) · [Changelog](CHANGELOG.md) · [v2 roadmap](docs/ROADMAP_V2.md)
|
|
300
363
|
- [Example project](examples/demo/) — a runnable end-to-end demo (`./demo.sh`)
|
|
301
364
|
|
|
302
365
|
Prefer a container? `docker build -t omninode .` then
|