opengate 0.2.1 → 0.2.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/dist/index.js CHANGED
@@ -174,7 +174,7 @@ async function fetchInbox(url, apiKey) {
174
174
  throw new Error(`OpenGate inbox returned HTTP ${resp.status}`);
175
175
  }
176
176
  const body = await resp.json();
177
- return body.todo ?? [];
177
+ return body.todo_tasks ?? [];
178
178
  }
179
179
  var OpenGatePoller = class {
180
180
  constructor(pluginCfg, openclawCfg, logger, stateDir) {
@@ -2,7 +2,7 @@
2
2
  "id": "opengate",
3
3
  "name": "OpenGate",
4
4
  "description": "Polls OpenGate for assigned tasks and spawns isolated OpenClaw sessions to execute them. Turns OpenGate into the orchestrator.",
5
- "version": "0.2.1",
5
+ "version": "0.2.2",
6
6
  "skills": ["./skills/opengate"],
7
7
  "configSchema": {
8
8
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opengate",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "OpenGate task executor plugin for OpenClaw — polls assigned tasks and spawns isolated agent sessions",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",