@openagents-org/agent-launcher 0.2.77 → 0.2.78

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": "@openagents-org/agent-launcher",
3
- "version": "0.2.77",
3
+ "version": "0.2.78",
4
4
  "description": "OpenAgents Launcher — install, configure, and run AI coding agents from your terminal",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -39,6 +39,7 @@ class BaseAdapter {
39
39
  this.endpoint = endpoint || DEFAULT_ENDPOINT;
40
40
  this.agentEnv = agentEnv || process.env;
41
41
  this.agentType = agentType;
42
+ this.workingDir = opts.workingDir || undefined;
42
43
  this.client = new WorkspaceClient(this.endpoint);
43
44
  this._lastEventId = null;
44
45
  this._running = false;
@@ -31,7 +31,6 @@ class ClaudeAdapter extends BaseAdapter {
31
31
  constructor(opts) {
32
32
  super(opts);
33
33
  this.disabledModules = opts.disabledModules || new Set();
34
- this.workingDir = opts.workingDir || undefined;
35
34
  this._channelSessions = {}; // channel → Claude CLI session_id
36
35
  this._channelProcesses = {}; // channel → child process
37
36
  this._sessionsFile = path.join(
@@ -30,7 +30,6 @@ class OpenCodeAdapter extends BaseAdapter {
30
30
  constructor(opts) {
31
31
  super(opts);
32
32
  this.disabledModules = opts.disabledModules || new Set();
33
- this.workingDir = opts.workingDir || undefined;
34
33
 
35
34
  // Agent home directory: ~/.openagents/agents/{agentName}/
36
35
  this.agentHome = path.join(os.homedir(), '.openagents', 'agents', this.agentName);