@serkanalgur/opencode-nexus 1.9.3 → 1.9.4

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/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10149,7 +10149,8 @@ class NexusOrchestrator {
10149
10149
  async initialize(ctx, onStateChange) {
10150
10150
  this.ctx = ctx;
10151
10151
  this.onStateChange = onStateChange ?? null;
10152
- this.configManager.loadFromPath(process.cwd());
10152
+ const projectDir = ctx.location?.directory || process.cwd();
10153
+ this.configManager.loadFromPath(projectDir);
10153
10154
  await this.loadModelCosts();
10154
10155
  this.cleanupInterval = setInterval(() => this.cleanupStaleData(), 300000);
10155
10156
  this._healthMonitor = new HealthMonitor({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serkanalgur/opencode-nexus",
3
- "version": "1.9.3",
3
+ "version": "1.9.4",
4
4
  "description": "Adaptive Multi-Agent Orchestration with Cost Intelligence for OpenCode V2",
5
5
  "keywords": [
6
6
  "opencode",