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