diff options
| author | Christopher Warner <cwarner@kernelcode.com> | 2026-10-10 18:40:56 -0400 |
|---|---|---|
| committer | Christopher Warner <cwarner@kernelcode.com> | 2026-10-10 18:40:56 -0400 |
| commit | 50b9b2b4c0db6a5e1d9dd511d062d99ae2e11dd3 (patch) | |
| tree | 612f1421cb589e957598aee175ac90e1ee106487 /SKILL.md | |
| parent | ef0165cc6cbe001997e5d05af5de6d4849481d7a (diff) | |
| download | iphone-notes-50b9b2b4c0db6a5e1d9dd511d062d99ae2e11dd3.tar.gz iphone-notes-50b9b2b4c0db6a5e1d9dd511d062d99ae2e11dd3.tar.bz2 iphone-notes-50b9b2b4c0db6a5e1d9dd511d062d99ae2e11dd3.tar.xz iphone-notes-50b9b2b4c0db6a5e1d9dd511d062d99ae2e11dd3.zip | |
fix: run create/status headless without a visible browser
Use a saved storage-state session for note ops so only `login` opens a
window; launchPersistentContext was flashing Chromium on Linux.
Co-authored-by: Cursor <cursoragent@cursor.com>
Diffstat (limited to 'SKILL.md')
| -rw-r--r-- | SKILL.md | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -24,12 +24,15 @@ Linked as: `~/.agents/skills/iphone-icloud-notes` → that repo ```bash icloud-note status -icloud-note login # one-time / when session expired (headed browser) +icloud-note login # ONE-TIME only — only command that opens a window icloud-note create --title "Title" --body "Body text" icloud-note create --title "Title" --body-file /path/to.txt icloud-note create --title "Title" --body-file - # stdin ``` +`create` / `status` are **always headless** (no visible browser). Never pass flags +to force a window. Never run `login` unless the user must re-authenticate. + If `icloud-note` is missing from PATH: ```bash @@ -69,5 +72,5 @@ Browser profile: `~/.config/icloud-notes/browser-profile/` icloud-note login ``` -Requires a graphical session for `login` (DISPLAY/Wayland). After that, `create` -can run headed or headless using the saved profile. +Requires a graphical session for `login` only. After that, `create` / `status` +use `~/.config/icloud-notes/storage-state.json` headlessly — no window. |
