@openenthrium/oe-runtime 1.8.7 → 1.8.9

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.
Files changed (2) hide show
  1. package/README.md +54 -11
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -19,7 +19,7 @@ A standalone binary that reads a declarative agent file, connects to your enterp
19
19
  Supports two agent formats:
20
20
 
21
21
  - **SKILL.md** — portable Markdown-based agent skills ([agentskills.io](https://agentskills.io) spec). The same file runs on Claude, Cursor, Windsurf, or OE Runtime unchanged.
22
- - **agent.yaml** — OE-native YAML format with inline steps, chains, and scheduling.
22
+ - **agent.yaml** — OE-native YAML format with inline steps, skill pipelines, and scheduling.
23
23
 
24
24
  ---
25
25
 
@@ -57,7 +57,7 @@ connectors:
57
57
  - connection_name: My Database
58
58
  connection_type: postgresql
59
59
  skills:
60
- - path: ./SKILL.md
60
+ - path: ./
61
61
  trigger_type: auto
62
62
  ```
63
63
 
@@ -65,11 +65,12 @@ skills:
65
65
 
66
66
  ```markdown
67
67
  ---
68
- name: SQL Database Analyst
69
- version: 1.0.0
70
- description: Query a database and summarise results in plain English
71
- author: Your Name
68
+ name: sql-database-analyst
69
+ description: Query a database and summarise results in plain English.
72
70
  license: Apache-2.0
71
+ metadata:
72
+ author: Your Name
73
+ version: "1.0"
73
74
  ---
74
75
 
75
76
  You are a data analyst. Use the available database tools to answer the user's question clearly.
@@ -113,6 +114,31 @@ Pass the folder — OE Runtime resolves `agent.yaml` inside it automatically.
113
114
 
114
115
  ---
115
116
 
117
+ ## Skill Pipelines
118
+
119
+ Chain multiple SKILL.md skills in one `agent.yaml`. Skills run in order, passing output as context to the next. Use `trigger_type: manual` to pause and require approval before a skill executes.
120
+
121
+ ```yaml
122
+ name: My Agent
123
+ skills:
124
+ - path: ./hello-world
125
+ trigger_type: auto # runs immediately
126
+
127
+ - path: ./email
128
+ trigger_type: manual # pauses — requires approval
129
+ connectors: ["My Email"] # only this connector visible to the skill
130
+
131
+ - path: ./team-messaging
132
+ trigger_type: manual
133
+ connectors: ["My Slack"]
134
+ ```
135
+
136
+ **CLI:** manual skills prompt `[Y/n]` — press Enter to approve, `n` to skip, `Ctrl+C` to abort.
137
+
138
+ **HTTP Server:** see `/approve-chain` below.
139
+
140
+ ---
141
+
116
142
  ## Skills Library
117
143
 
118
144
  Download [oe-runtime-skills.zip](https://github.com/enthrium/open-enthrium-ai-agent-runtime/releases/latest/download/oe-runtime-skills.zip) — 27 ready-to-run skills covering:
@@ -148,16 +174,33 @@ npx -y @openenthrium/oe-runtime --serve --config oe-config.json
148
174
  | `GET` | `/health` | Liveness check |
149
175
  | `POST` | `/run` | Run an agent from inline YAML |
150
176
  | `POST` | `/run-file` | Run an agent from a file path on disk |
151
- | `POST` | `/approve-chain` | Approve or reject a pending manual chain |
177
+ | `POST` | `/approve-chain` | Approve, skip, or abort a paused manual skill |
178
+
179
+ ### Skill Approval Flow
180
+
181
+ When a pipeline has manual skills, the server pauses at each one and returns a `pending_skill_chain` token. The client resumes by calling `/approve-chain`.
152
182
 
153
183
  ```bash
154
- # Run a SKILL.md agent via HTTP
184
+ # 1. Start the agent
155
185
  curl -X POST http://localhost:3333/run-file \
156
- -H "x-api-key: your-secret" \
157
- -H "Content-Type: application/json" \
158
- -d '{"file": "/path/to/my-skill/agent.yaml", "params": {}, "input": "run"}'
186
+ -H "x-api-key: your-secret" -H "Content-Type: application/json" \
187
+ -d '{"file": "/path/to/agent.yaml", "input": "run"}'
188
+ # { "pending_skill_chain": { "chain_id": "abc123", "skill_name": "email" } }
189
+
190
+ # 2. Approve
191
+ curl -X POST http://localhost:3333/approve-chain \
192
+ -H "x-api-key: your-secret" -H "Content-Type: application/json" \
193
+ -d '{"chain_id": "abc123", "approved": true, "abort": false}'
194
+
195
+ # 3. Skip (continue to next skill without running this one)
196
+ curl ... -d '{"chain_id": "abc123", "approved": false, "abort": false}'
197
+
198
+ # 4. Abort (stop the entire pipeline)
199
+ curl ... -d '{"chain_id": "abc123", "approved": false, "abort": true}'
159
200
  ```
160
201
 
202
+ `chain_id` is one-time use. When another manual skill follows, the response carries a new `pending_skill_chain`. `null` means the pipeline is complete.
203
+
161
204
  ---
162
205
 
163
206
  ## Embed in Node.js (SDK)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openenthrium/oe-runtime",
3
- "version": "1.8.7",
3
+ "version": "1.8.9",
4
4
  "description": "OE Runtime - run AI agents against enterprise data sources. One binary, one YAML agent, one config file.",
5
5
  "homepage": "https://www.openenthrium.com/runtime.html",
6
6
  "repository": {