mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 07:50:24 +00:00
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) <noreply@anthropic.com>
This commit is contained in:
parent
9fe7a3b95e
commit
a207694cbf
1 changed files with 2 additions and 2 deletions
|
|
@ -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"}'
|
||||
|
|
|
|||
Loading…
Reference in a new issue