@openenthrium/oe-runtime 1.6.0 → 1.6.1

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 +17 -6
  2. 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: SELECT table_name, table_rows
86
- FROM information_schema.tables
87
- WHERE table_schema = 'public'
88
- ORDER BY table_rows DESC;
89
- Summarise the top 10 tables by row count.
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 a clean summary report to Telegram.
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openenthrium/oe-runtime",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
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": {