adhdev 0.7.0 → 0.7.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/cli/index.js +14 -6
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -42860,7 +42860,7 @@ ${e?.stack || ""}`);
|
|
|
42860
42860
|
this.notifyStateChange();
|
|
42861
42861
|
}
|
|
42862
42862
|
}
|
|
42863
|
-
/** Process
|
|
42863
|
+
/** Process unified data channel message */
|
|
42864
42864
|
handleCommandMessage(peerId, msg) {
|
|
42865
42865
|
const text = typeof msg === "string" ? msg : msg.toString("utf-8");
|
|
42866
42866
|
try {
|
|
@@ -43495,7 +43495,7 @@ var init_adhdev_daemon = __esm({
|
|
|
43495
43495
|
fs12 = __toESM(require("fs"));
|
|
43496
43496
|
path14 = __toESM(require("path"));
|
|
43497
43497
|
import_chalk2 = __toESM(require("chalk"));
|
|
43498
|
-
pkgVersion = "0.7.
|
|
43498
|
+
pkgVersion = "0.7.2";
|
|
43499
43499
|
if (pkgVersion === "unknown") {
|
|
43500
43500
|
try {
|
|
43501
43501
|
const possiblePaths = [
|
|
@@ -43889,13 +43889,16 @@ ${err?.stack || ""}`);
|
|
|
43889
43889
|
// ─── CDP helpers ─────────────────────────────
|
|
43890
43890
|
/** Return CDP manager for specific IDE.
|
|
43891
43891
|
* Lookup order:
|
|
43892
|
-
* 1.
|
|
43893
|
-
* 2.
|
|
43892
|
+
* 1. If passed a runtime session UUID, resolve via sessionRegistry → cdpManagerKey
|
|
43893
|
+
* 2. Exact match on cdpManagers (full manager key)
|
|
43894
|
+
* 3. Prefix match on cdpManagers (ideType_workspace)
|
|
43894
43895
|
*/
|
|
43895
43896
|
getCdpFor(ideType) {
|
|
43896
43897
|
if (!this.components) return null;
|
|
43897
43898
|
const key = ideType.toLowerCase();
|
|
43898
|
-
|
|
43899
|
+
const sessionTarget = this.components.sessionRegistry.get(key);
|
|
43900
|
+
const resolvedKey = sessionTarget?.cdpManagerKey || key;
|
|
43901
|
+
return findCdpManager(this.components.cdpManagers, resolvedKey);
|
|
43899
43902
|
}
|
|
43900
43903
|
};
|
|
43901
43904
|
}
|
|
@@ -44429,7 +44432,12 @@ var init_supported = __esm({
|
|
|
44429
44432
|
SUPPORTED_CLI_AGENTS = [
|
|
44430
44433
|
{ id: "claude-cli", name: "Claude Code", icon: "\u{1F7E0}" },
|
|
44431
44434
|
{ id: "gemini-cli", name: "Gemini CLI", icon: "\u2728" },
|
|
44432
|
-
{ id: "codex-cli", name: "Codex CLI", icon: "\u{1F4E6}" }
|
|
44435
|
+
{ id: "codex-cli", name: "Codex CLI", icon: "\u{1F4E6}" },
|
|
44436
|
+
{ id: "aider-cli", name: "Aider", icon: "\u{1F6E0}\uFE0F" },
|
|
44437
|
+
{ id: "cursor-cli", name: "Cursor CLI", icon: "\u26A1" },
|
|
44438
|
+
{ id: "github-copilot-cli", name: "GitHub Copilot CLI", icon: "\u{1F916}" },
|
|
44439
|
+
{ id: "goose-cli", name: "Goose CLI", icon: "\u{1FABF}" },
|
|
44440
|
+
{ id: "opencode-cli", name: "OpenCode CLI", icon: "\u{1F9E9}" }
|
|
44433
44441
|
];
|
|
44434
44442
|
SUPPORTED_EXTENSIONS = [
|
|
44435
44443
|
{ id: "copilot", name: "GitHub Copilot", icon: "\u{1F916}" },
|