@openenthrium/oe-runtime 1.6.0 → 1.6.2
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 +19 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -79,17 +79,28 @@ description: Queries a database and sends a summary to Telegram
|
|
|
79
79
|
instructions: |
|
|
80
80
|
You are a data analyst. Query the database for key metrics,
|
|
81
81
|
summarise the findings clearly, and send the report to Telegram.
|
|
82
|
+
Complete all steps fully before writing your report.
|
|
82
83
|
steps:
|
|
83
84
|
- name: Query metrics
|
|
84
85
|
content: |
|
|
85
|
-
Run
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
Run exactly this query against My Database, no other queries:
|
|
87
|
+
SELECT table_name FROM information_schema.tables
|
|
88
|
+
WHERE table_schema = 'public';
|
|
89
|
+
Summarise the results.
|
|
90
|
+
- name: Get chat ID
|
|
91
|
+
content: |
|
|
92
|
+
Call My Telegram Bot:
|
|
93
|
+
GET /getUpdates with params: { "limit": "1" }
|
|
94
|
+
Extract the chat_id from the most recent message.
|
|
90
95
|
- name: Send report
|
|
91
96
|
content: |
|
|
92
|
-
Send
|
|
97
|
+
Send the summary via My Telegram Bot:
|
|
98
|
+
POST /sendMessage with body:
|
|
99
|
+
{
|
|
100
|
+
"chat_id": "<chat_id from previous step>",
|
|
101
|
+
"text": "<your summary>",
|
|
102
|
+
"parse_mode": "Markdown"
|
|
103
|
+
}
|
|
93
104
|
connectors:
|
|
94
105
|
- connection_name: My Database
|
|
95
106
|
connection_type: postgresql
|
|
@@ -154,7 +165,8 @@ Turn the runtime into a persistent HTTP API — call agents from mobile apps, we
|
|
|
154
165
|
|
|
155
166
|
```bash
|
|
156
167
|
npx -y @openenthrium/oe-runtime --serve --config oe-config.json
|
|
157
|
-
# 🚀 OE Runtime Server v1.
|
|
168
|
+
# 🚀 OE Runtime Server v1.6.1
|
|
169
|
+
# Run AI agents via HTTP
|
|
158
170
|
# Listening http://localhost:3333
|
|
159
171
|
```
|
|
160
172
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openenthrium/oe-runtime",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "OE Runtime - run AI agents against 2,600+ enterprise data sources. One binary, one YAML agent, one config file.",
|
|
5
5
|
"homepage": "https://www.openenthrium.com/runtime.html",
|
|
6
6
|
"repository": {
|