opencode-pilot 0.7.2 → 0.7.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-pilot",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "type": "module",
5
5
  "main": "plugin/index.js",
6
6
  "description": "Automation daemon for OpenCode - polls for work and spawns sessions",
@@ -95,6 +95,11 @@ export async function pollOnce(options = {}) {
95
95
  // Load configuration
96
96
  loadRepoConfig(configPath);
97
97
 
98
+ // Ensure poller is initialized for state tracking
99
+ if (!pollerInstance) {
100
+ pollerInstance = createPoller({ configPath });
101
+ }
102
+
98
103
  // Get all sources
99
104
  const sources = getAllSources();
100
105