From a207694cbf4ba9f7bff76512355d976a06beab08 Mon Sep 17 00:00:00 2001 From: Zero Liu Date: Thu, 21 May 2026 11:00:20 -0700 Subject: [PATCH] docs: fix Copilot command ID in CLI testing guide (#2506) Replace non-existent `copilot:open-copilot-chat` with the registered `copilot:agent-chat-open-window` ID in both the "Run a command" example and the smoke-test scaffold so the documented commands actually work. Co-authored-by: Claude Opus 4.7 (1M context) --- OBSIDIAN_CLI_TEST.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OBSIDIAN_CLI_TEST.md b/OBSIDIAN_CLI_TEST.md index a5c99982..5456cf55 100644 --- a/OBSIDIAN_CLI_TEST.md +++ b/OBSIDIAN_CLI_TEST.md @@ -102,7 +102,7 @@ a no-op, but if Obsidian was restarted you need to run it again before ### Run a command ```bash -$OBS vault=$VAULT command id=copilot:open-copilot-chat +$OBS vault=$VAULT command id=copilot:agent-chat-open-window ``` The full set of registered command IDs is available via: @@ -344,7 +344,7 @@ $OBS vault=$VAULT dev:screenshot path=/tmp/test-before.png $OBS vault=$VAULT dev:cdp method=Memory.getDOMCounters > /tmp/dom-before.json # 4. Run the scenario -$OBS vault=$VAULT command id=copilot:open-copilot-chat +$OBS vault=$VAULT command id=copilot:agent-chat-open-window sleep 1 $OBS vault=$VAULT eval code='document.querySelector(".copilot-chat-input")?.focus()' $OBS vault=$VAULT dev:cdp method=Input.insertText params='{"text":"test prompt"}'