@openagents-org/agent-launcher 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/installer.js +6 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openagents-org/agent-launcher",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "OpenAgents Launcher — install, configure, and run AI coding agents from your terminal",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/installer.js CHANGED
@@ -36,7 +36,12 @@ class Installer {
36
36
  */
37
37
  isInstalled(agentType) {
38
38
  if (this._whichBinary(agentType)) return true;
39
- return this._hasMarker(agentType);
39
+ if (this._hasMarker(agentType)) {
40
+ // Marker exists but binary not found — stale marker, clean it up
41
+ this._markUninstalled(agentType);
42
+ return false;
43
+ }
44
+ return false;
40
45
  }
41
46
 
42
47
  /**