@hilbras/omninode 0.5.1 → 0.6.0

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 CHANGED
@@ -18,7 +18,7 @@ existing intelligence; it does not try to become another model.
18
18
 
19
19
  ## Status
20
20
 
21
- **v0.5.0 — Phase 4: Roles & Tasks** (see [docs/DEVELOPMENT_PLAN.md](docs/DEVELOPMENT_PLAN.md)
21
+ **v0.6.0 — Phase 5: Pipeline Engine** (see [docs/DEVELOPMENT_PLAN.md](docs/DEVELOPMENT_PLAN.md)
22
22
  for the full plan and roadmap).
23
23
 
24
24
  What exists today:
@@ -53,6 +53,19 @@ What exists today:
53
53
  results (summary, reports, errors, timestamps)
54
54
  - `TaskStore` interface with a local-first JSON implementation in
55
55
  `.omninode/tasks.json` (atomic writes; swap in any backend)
56
+ - **Pipeline engine** (`src/pipelines/`):
57
+ - Pipelines defined in `omninode.yaml` under `project.pipelines`, validated
58
+ before every run (duplicate ids, unknown dependencies, cycles, missing
59
+ agents)
60
+ - Sequential execution by definition order; explicit `depends_on` unlocks
61
+ parallel branches, and research steps fan out to several agents in
62
+ parallel (§15)
63
+ - Step kinds: `research` (multi-agent fan-out), `collect`, `analyze`,
64
+ `plan` (calls a model as `provider:model-id` via the chat layer),
65
+ `execute`/`custom` (hand-off to an execution agent)
66
+ - Failure handling: retries per step, `on-success`/`on-failure`/`always`
67
+ conditions, combined context threaded downstream; every task runs through
68
+ the TaskEngine and every run is persisted to `.omninode/pipelines.json`
56
69
  - Typed error hierarchy (`src/errors/`)
57
70
  - Leveled logger with pluggable sink (`src/logger/`)
58
71
  - Configuration system: `omninode.yaml` with `${ENV_VAR}` expansion and strict
@@ -111,6 +124,28 @@ omninode task status task-xxxxxx
111
124
  omninode task list
112
125
  ```
113
126
 
127
+ Orchestrate several AI systems with a pipeline (§14):
128
+
129
+ ```yaml
130
+ project:
131
+ pipelines:
132
+ - id: repo-audit
133
+ steps:
134
+ - id: research
135
+ kind: research
136
+ agents: [kimi, gemini, qwen]
137
+ - id: plan
138
+ kind: plan
139
+ model: my-gateway:chatgpt
140
+ - id: execute
141
+ kind: execute
142
+ agent: opencode
143
+ ```
144
+
145
+ ```bash
146
+ omninode pipeline run repo-audit "Audit the authentication module"
147
+ ```
148
+
114
149
  See [omninode.yaml.example](omninode.yaml.example) for a full configuration.
115
150
 
116
151
  ### Configuration
@@ -144,8 +179,8 @@ Phases 0–11 are laid out in [docs/DEVELOPMENT_PLAN.md](docs/DEVELOPMENT_PLAN.m
144
179
  | v0.2.0 | Provider System |
145
180
  | v0.3.0 | OmniHilbras Integration (optional, like every provider) |
146
181
  | v0.4.0 | Agent System |
147
- | **v0.5.0** | **Roles & Tasks (current)** |
148
- | v0.6.0 | Pipeline Engine |
182
+ | v0.5.0 | Roles & Tasks |
183
+ | **v0.6.0** | **Pipeline Engine (current)** |
149
184
  | v0.7.0 | Multi-AI Reports |
150
185
  | v0.8.0 | Remembera (optional memory integration) |
151
186
  | v0.9.0 | Planner |