[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-automattic-dayone-cli":3,"mdc--5lxdqz-key":32,"related-repo-automattic-dayone-cli":2629,"related-org-automattic-dayone-cli":2637},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":22,"topics":26,"repo":27,"sourceUrl":30,"mdContent":31},"dayone-cli","manage Day One journal entries","Read, write, search, and sync a Day One journal from the command line via the `dayone` binary — including journal entries, comments on shared entries, daily chats, and account settings. Use whenever the user wants to do anything with their Day One journal or is asking for something that can be found in a journal or memory system: 'add a journal entry', 'write today's entry', 'log today', 'append a note to today', 'search my journal for X', 'what did I write about X', 'when did I last X', 'show my journals', 'list yesterday's entries', 'sync Day One', 'comment on a shared entry', 'react to a comment', 'append to today's daily chat'. Local-first: `list`, `search`, and `tui` read only the local SQLite store, so ALWAYS run `dayone sync` before the first read in a session unless the user explicitly opts out ('from cache', 'use local data', 'skip sync'). Prefer this skill over hand-rolled shell pipelines whenever any Day One operation is requested.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"automattic","Automattic","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fautomattic.png",[12,16,19],{"name":13,"slug":14,"type":15},"Productivity","productivity","tag",{"name":17,"slug":18,"type":15},"Notes","notes",{"name":20,"slug":21,"type":15},"CLI","cli",0,"https:\u002F\u002Fgithub.com\u002FAutomattic\u002FDayOne-Cli","2026-08-26T04:12:22.424001",null,[],{"repoUrl":23,"stars":22,"forks":22,"topics":28,"description":29},[],"Command-line access to your Day One account, journals, entries, daily chat, and context items.","https:\u002F\u002Fgithub.com\u002FAutomattic\u002FDayOne-Cli\u002Ftree\u002FHEAD\u002Fskills\u002Fdayone-cli","---\nname: dayone-cli\ndescription: \"Read, write, search, and sync a Day One journal from the command line via the `dayone` binary — including journal entries, comments on shared entries, daily chats, and account settings. Use whenever the user wants to do anything with their Day One journal or is asking for something that can be found in a journal or memory system: 'add a journal entry', 'write today's entry', 'log today', 'append a note to today', 'search my journal for X', 'what did I write about X', 'when did I last X', 'show my journals', 'list yesterday's entries', 'sync Day One', 'comment on a shared entry', 'react to a comment', 'append to today's daily chat'. Local-first: `list`, `search`, and `tui` read only the local SQLite store, so ALWAYS run `dayone sync` before the first read in a session unless the user explicitly opts out ('from cache', 'use local data', 'skip sync'). Prefer this skill over hand-rolled shell pipelines whenever any Day One operation is requested.\"\nallowed-tools: \"Bash(dayone:*)\"\n---\n\n# dayone\n\nThe `dayone` binary is a local-first CLI for the Day One service. Everything below — auth, writes, search, sync — runs against a per-profile SQLite store; writes are queued in an outbox and pushed to the server by `dayone sync`.\n\nUse this top-level page as the index. Open the matching `references\u002F\u003Ctopic>.md` only when you need the full flag table or command-specific workflow.\n\n## Command tree\n\n| Group | What it does | Reference |\n|-------|--------------|-----------|\n| `auth` | `login`, `logout`, `key-set`, `whoami` | [references\u002Fauth.md](references\u002Fauth.md) |\n| `profile` | `list`, `set` (switch staging\u002Fproduction endpoint) | [references\u002Fprofile.md](references\u002Fprofile.md) |\n| `sync` | (terminal command) Pull remote state, flush local outbox | [references\u002Fsync.md](references\u002Fsync.md) |\n| `sync-schedule` | `status`, `enable`, `set-interval`, `disable` automatic background sync | [references\u002Fsync-schedule.md](references\u002Fsync-schedule.md) |\n| `entry` | `write`, `delete` journal entries | [references\u002Fentry.md](references\u002Fentry.md) |\n| `journal` | `create`, `update` journals | [references\u002Fjournal.md](references\u002Fjournal.md) |\n| `comment` | `list`, `write`, `update`, `delete`, `react`, `unreact` on shared entries | [references\u002Fcomment.md](references\u002Fcomment.md) |\n| `daily-chat add` | (terminal command) Append one message to a date-based Daily Chat | [references\u002Fdaily-chat.md](references\u002Fdaily-chat.md) |\n| `context-item` | `put`, `delete` Context Library items | [references\u002Fcontext-item.md](references\u002Fcontext-item.md) |\n| `memory process` | (terminal command) Reconcile a conversation into context items | [references\u002Fmemory.md](references\u002Fmemory.md) |\n| `list` | `journals`, `entries`, `daily-chat`, `daily-chat-messages`, `context-items` | [references\u002Flist.md](references\u002Flist.md) |\n| `search` | `entries` (with web-parity filters), `context-items` | [references\u002Fsearch.md](references\u002Fsearch.md) |\n| `tui` | (terminal command) Read-only terminal browser for journals, entries, daily chats | [references\u002Ftui.md](references\u002Ftui.md) |\n| `user-settings get` | (terminal command) Fetch account settings as JSON | [references\u002Fuser-settings.md](references\u002Fuser-settings.md) |\n\n> [!IMPORTANT]\n> Every row that lists subcommands above is a **group** — the command takes the form `dayone \u003Cgroup> \u003Csubcommand> [flags]`. For example:\n> - `dayone search` alone is invalid → use `dayone search entries --query \"X\"` or `dayone search context-items --query \"X\"`.\n> - `dayone list` alone is invalid → use `dayone list entries --journal-id \u003Cid>` etc.\n> - `dayone auth` alone is invalid → use `dayone auth login --email ...` etc.\n>\n> Rows marked `(terminal command)` take flags directly (e.g. `dayone sync`, `dayone tui`).\n\nDiscover any subcommand and its flags with `--help`:\n\n```bash\ndayone --help\ndayone auth --help\ndayone auth login --help\n```\n\n## Common one-liners\n\nCopy-paste shapes for the most frequent tasks. **Use these first** before drilling into `references\u002F` — references only matter when you need a flag not shown here.\n\n```bash\n# ── Always sync first before any read (see \"Read freshness\" below) ──\ndayone sync\n\n# ── Recommended desktop setup: keep local data fresh automatically ──\ndayone sync-schedule enable --interval-minutes 30\ndayone sync-schedule status\n\n# ── Read (local SQLite, instant) ──\ndayone list journals\ndayone list entries --journal-id \u003Cjournal-id> --sort desc --sort-method entryDate\ndayone list entries --journal-id \u003Cjournal-id> --fields id,date,tags,body\ndayone search entries --query \"running\"\ndayone search entries --query \"running\" --journal-id \u003Cjournal-id> --limit 10\ndayone search entries --tag travel --favorite                # wildcard mode (no --query)\ndayone search context-items --query \"tennis\"\n\n# ── Write (local-first; follow with `dayone sync` to push) ──\ndayone entry write --journal-id \u003Cjournal-id> --body \"Today was great.\"\nprintf '%s' 'Draft from stdin' | dayone entry write --journal-id \u003Cjournal-id> --body-stdin\ndayone daily-chat add --message \"Quick thought for today.\"\ndayone journal update --journal-id \u003Cjournal-id> --name \"Renamed\" --color \"#E74C3C\"\ndayone sync\n\n# ── Auth & state ──\nprintf '%s' '\u003Cpassword>' | dayone auth login --email you@example.com --password-stdin\ndayone auth whoami\ndayone profile list\ndayone profile set staging\n```\n\n## Output shapes & `jq` recipes\n\n> [!IMPORTANT]\n> Every command prints a JSON **object** to stdout, never a bare array. Three common `jq` mistakes:\n> 1. `jq '.[] | …'` fails with `Cannot index boolean with string \"x\"` — top level is `{ ok, …, items: […] }`. Use `.items[]` (or `.messages[]` for `list daily-chat-messages` — that one uses a `messages` key instead).\n> 2. For `search`, each hit wraps the real entry\u002Fcontext-item under `.item`. Use `.items[].item.body`, **not** `.items[].body`. Hit envelope: `{ id, similarity, item }`.\n> 3. Entry `date` is **epoch milliseconds** — `(.date \u002F 1000 | todate)` or, inside a `search` hit, `(.item.date \u002F 1000 | todate)` for RFC3339.\n\nCanonical recipe covering all three (adapt and reuse):\n\n```bash\ndayone search entries --query \"running\" --sort entryDate --direction desc --limit 5 \\\n  | jq '.items[] | {id, similarity, date: (.item.date \u002F 1000 | todate), body: .item.body[:200]}'\n```\n\nWrite commands (`entry write`, `comment write`, `context-item put`, `daily-chat add`, `memory process`) return a flat object with `ok`, the resource id (`entry_id`, `comment_id`, …), `queued`, `synced`, `outbox_id` — no `items` wrapper.\n\nFull envelopes and per-command recipes live in the references: [list.md](references\u002Flist.md#output-shape), [search.md](references\u002Fsearch.md#output-shape).\n\n## Endpoint precedence (applies to every command)\n\nIn order of priority:\n\n1. `--api-host \u003Curl>` flag on the command\n2. `DAYONE_API_HOST` environment variable\n3. Active SQLite profile (`dayone profile list` shows it)\n\n## Read freshness\n\n`list`, `search`, and `tui` read **only** local SQLite — never the network — and the CLI exposes no \"last synced at\" timestamp, so freshness can't be checked programmatically.\n\n> [!IMPORTANT]\n> **Run `dayone sync` once at the start of any session that will read journal data**, before the first `list`\u002F`search`\u002F`tui` call. Skip only when the user explicitly opts out (\"from cache\", \"use local data\", \"skip sync\"). Within a session no need to re-sync between successive reads unless a write happened in between (in which case re-sync to flush the outbox).\n\nIncremental sync on an established account is fast; the \"long-running\" warning in [references\u002Fsync.md](references\u002Fsync.md) mostly applies to fresh accounts and first syncs. For normal desktop use, recommend `dayone sync-schedule enable --interval-minutes 30` so local reads stay fresh without manual syncs.\n\n## Local-first write model\n\nEvery write command — `entry write`, `entry delete`, `comment write|update|delete|react|unreact`, `context-item put|delete`, `daily-chat add`, `journal create`, `journal update`, `memory process` — persists locally with `needs_sync=1` and enqueues a durable outbox item. **Run `dayone sync` after writes** to push to the server.\n\nRecommended write flow:\n\n```bash\ndayone sync            # 1. pull latest server state\n# ... your write commands ...\ndayone sync            # 2. push queued changes\n# optional: verify with `dayone list ...` or `dayone comment list --refresh`\n```\n\n> [!CAUTION]\n> Newly created journals are assigned a `pending-…` id until the outbox is flushed. After `dayone sync` the server returns a numeric id. Commands scoped by journal (e.g. `list entries --journal-id …`) need the **resolved** id from `list journals`. Using the `pending-…` id silently returns no rows.\n\n## Output and safety rules\n\n- Output is JSON-first for every command. Pipe it through `jq` for human reading.\n- `list`, `search`, and `tui` read local SQLite only — they never hit the network.\n- Never log or echo `--password`, `--key`, encryption keys, or API tokens. Prefer `--password-stdin` \u002F `--key-stdin` over the flag forms.\n- The CLI does **not** prompt for confirmation on destructive operations. The calling tool MUST require explicit human confirmation before:\n  - `auth logout --force`\n  - `entry delete`\n  - `comment delete`\n  - `context-item delete`\n  - Any command run against a production profile or `--api-host https:\u002F\u002Fdayone.me`\n- Prefer `--api-host` for one-off calls and `profile set` for persistent environment selection.\n",{"data":33,"body":35},{"name":4,"description":6,"allowed-tools":34},"Bash(dayone:*)",{"type":36,"children":37},"root",[38,46,68,81,88,654,778,791,856,862,882,1703,1717,1897,1902,1999,2091,2110,2116,2121,2159,2165,2195,2239,2258,2264,2344,2349,2405,2463,2469,2623],{"type":39,"tag":40,"props":41,"children":43},"element","h1",{"id":42},"dayone",[44],{"type":45,"value":42},"text",{"type":39,"tag":47,"props":48,"children":49},"p",{},[50,52,58,60,66],{"type":45,"value":51},"The ",{"type":39,"tag":53,"props":54,"children":56},"code",{"className":55},[],[57],{"type":45,"value":42},{"type":45,"value":59}," binary is a local-first CLI for the Day One service. Everything below — auth, writes, search, sync — runs against a per-profile SQLite store; writes are queued in an outbox and pushed to the server by ",{"type":39,"tag":53,"props":61,"children":63},{"className":62},[],[64],{"type":45,"value":65},"dayone sync",{"type":45,"value":67},".",{"type":39,"tag":47,"props":69,"children":70},{},[71,73,79],{"type":45,"value":72},"Use this top-level page as the index. Open the matching ",{"type":39,"tag":53,"props":74,"children":76},{"className":75},[],[77],{"type":45,"value":78},"references\u002F\u003Ctopic>.md",{"type":45,"value":80}," only when you need the full flag table or command-specific workflow.",{"type":39,"tag":82,"props":83,"children":85},"h2",{"id":84},"command-tree",[86],{"type":45,"value":87},"Command tree",{"type":39,"tag":89,"props":90,"children":91},"table",{},[92,116],{"type":39,"tag":93,"props":94,"children":95},"thead",{},[96],{"type":39,"tag":97,"props":98,"children":99},"tr",{},[100,106,111],{"type":39,"tag":101,"props":102,"children":103},"th",{},[104],{"type":45,"value":105},"Group",{"type":39,"tag":101,"props":107,"children":108},{},[109],{"type":45,"value":110},"What it does",{"type":39,"tag":101,"props":112,"children":113},{},[114],{"type":45,"value":115},"Reference",{"type":39,"tag":117,"props":118,"children":119},"tbody",{},[120,173,211,236,288,326,364,426,451,488,513,569,604,629],{"type":39,"tag":97,"props":121,"children":122},{},[123,133,164],{"type":39,"tag":124,"props":125,"children":126},"td",{},[127],{"type":39,"tag":53,"props":128,"children":130},{"className":129},[],[131],{"type":45,"value":132},"auth",{"type":39,"tag":124,"props":134,"children":135},{},[136,142,144,150,151,157,158],{"type":39,"tag":53,"props":137,"children":139},{"className":138},[],[140],{"type":45,"value":141},"login",{"type":45,"value":143},", ",{"type":39,"tag":53,"props":145,"children":147},{"className":146},[],[148],{"type":45,"value":149},"logout",{"type":45,"value":143},{"type":39,"tag":53,"props":152,"children":154},{"className":153},[],[155],{"type":45,"value":156},"key-set",{"type":45,"value":143},{"type":39,"tag":53,"props":159,"children":161},{"className":160},[],[162],{"type":45,"value":163},"whoami",{"type":39,"tag":124,"props":165,"children":166},{},[167],{"type":39,"tag":168,"props":169,"children":171},"a",{"href":170},"references\u002Fauth.md",[172],{"type":45,"value":170},{"type":39,"tag":97,"props":174,"children":175},{},[176,185,203],{"type":39,"tag":124,"props":177,"children":178},{},[179],{"type":39,"tag":53,"props":180,"children":182},{"className":181},[],[183],{"type":45,"value":184},"profile",{"type":39,"tag":124,"props":186,"children":187},{},[188,194,195,201],{"type":39,"tag":53,"props":189,"children":191},{"className":190},[],[192],{"type":45,"value":193},"list",{"type":45,"value":143},{"type":39,"tag":53,"props":196,"children":198},{"className":197},[],[199],{"type":45,"value":200},"set",{"type":45,"value":202}," (switch staging\u002Fproduction endpoint)",{"type":39,"tag":124,"props":204,"children":205},{},[206],{"type":39,"tag":168,"props":207,"children":209},{"href":208},"references\u002Fprofile.md",[210],{"type":45,"value":208},{"type":39,"tag":97,"props":212,"children":213},{},[214,223,228],{"type":39,"tag":124,"props":215,"children":216},{},[217],{"type":39,"tag":53,"props":218,"children":220},{"className":219},[],[221],{"type":45,"value":222},"sync",{"type":39,"tag":124,"props":224,"children":225},{},[226],{"type":45,"value":227},"(terminal command) Pull remote state, flush local outbox",{"type":39,"tag":124,"props":229,"children":230},{},[231],{"type":39,"tag":168,"props":232,"children":234},{"href":233},"references\u002Fsync.md",[235],{"type":45,"value":233},{"type":39,"tag":97,"props":237,"children":238},{},[239,248,280],{"type":39,"tag":124,"props":240,"children":241},{},[242],{"type":39,"tag":53,"props":243,"children":245},{"className":244},[],[246],{"type":45,"value":247},"sync-schedule",{"type":39,"tag":124,"props":249,"children":250},{},[251,257,258,264,265,271,272,278],{"type":39,"tag":53,"props":252,"children":254},{"className":253},[],[255],{"type":45,"value":256},"status",{"type":45,"value":143},{"type":39,"tag":53,"props":259,"children":261},{"className":260},[],[262],{"type":45,"value":263},"enable",{"type":45,"value":143},{"type":39,"tag":53,"props":266,"children":268},{"className":267},[],[269],{"type":45,"value":270},"set-interval",{"type":45,"value":143},{"type":39,"tag":53,"props":273,"children":275},{"className":274},[],[276],{"type":45,"value":277},"disable",{"type":45,"value":279}," automatic background sync",{"type":39,"tag":124,"props":281,"children":282},{},[283],{"type":39,"tag":168,"props":284,"children":286},{"href":285},"references\u002Fsync-schedule.md",[287],{"type":45,"value":285},{"type":39,"tag":97,"props":289,"children":290},{},[291,300,318],{"type":39,"tag":124,"props":292,"children":293},{},[294],{"type":39,"tag":53,"props":295,"children":297},{"className":296},[],[298],{"type":45,"value":299},"entry",{"type":39,"tag":124,"props":301,"children":302},{},[303,309,310,316],{"type":39,"tag":53,"props":304,"children":306},{"className":305},[],[307],{"type":45,"value":308},"write",{"type":45,"value":143},{"type":39,"tag":53,"props":311,"children":313},{"className":312},[],[314],{"type":45,"value":315},"delete",{"type":45,"value":317}," journal entries",{"type":39,"tag":124,"props":319,"children":320},{},[321],{"type":39,"tag":168,"props":322,"children":324},{"href":323},"references\u002Fentry.md",[325],{"type":45,"value":323},{"type":39,"tag":97,"props":327,"children":328},{},[329,338,356],{"type":39,"tag":124,"props":330,"children":331},{},[332],{"type":39,"tag":53,"props":333,"children":335},{"className":334},[],[336],{"type":45,"value":337},"journal",{"type":39,"tag":124,"props":339,"children":340},{},[341,347,348,354],{"type":39,"tag":53,"props":342,"children":344},{"className":343},[],[345],{"type":45,"value":346},"create",{"type":45,"value":143},{"type":39,"tag":53,"props":349,"children":351},{"className":350},[],[352],{"type":45,"value":353},"update",{"type":45,"value":355}," journals",{"type":39,"tag":124,"props":357,"children":358},{},[359],{"type":39,"tag":168,"props":360,"children":362},{"href":361},"references\u002Fjournal.md",[363],{"type":45,"value":361},{"type":39,"tag":97,"props":365,"children":366},{},[367,376,418],{"type":39,"tag":124,"props":368,"children":369},{},[370],{"type":39,"tag":53,"props":371,"children":373},{"className":372},[],[374],{"type":45,"value":375},"comment",{"type":39,"tag":124,"props":377,"children":378},{},[379,384,385,390,391,396,397,402,403,409,410,416],{"type":39,"tag":53,"props":380,"children":382},{"className":381},[],[383],{"type":45,"value":193},{"type":45,"value":143},{"type":39,"tag":53,"props":386,"children":388},{"className":387},[],[389],{"type":45,"value":308},{"type":45,"value":143},{"type":39,"tag":53,"props":392,"children":394},{"className":393},[],[395],{"type":45,"value":353},{"type":45,"value":143},{"type":39,"tag":53,"props":398,"children":400},{"className":399},[],[401],{"type":45,"value":315},{"type":45,"value":143},{"type":39,"tag":53,"props":404,"children":406},{"className":405},[],[407],{"type":45,"value":408},"react",{"type":45,"value":143},{"type":39,"tag":53,"props":411,"children":413},{"className":412},[],[414],{"type":45,"value":415},"unreact",{"type":45,"value":417}," on shared entries",{"type":39,"tag":124,"props":419,"children":420},{},[421],{"type":39,"tag":168,"props":422,"children":424},{"href":423},"references\u002Fcomment.md",[425],{"type":45,"value":423},{"type":39,"tag":97,"props":427,"children":428},{},[429,438,443],{"type":39,"tag":124,"props":430,"children":431},{},[432],{"type":39,"tag":53,"props":433,"children":435},{"className":434},[],[436],{"type":45,"value":437},"daily-chat add",{"type":39,"tag":124,"props":439,"children":440},{},[441],{"type":45,"value":442},"(terminal command) Append one message to a date-based Daily Chat",{"type":39,"tag":124,"props":444,"children":445},{},[446],{"type":39,"tag":168,"props":447,"children":449},{"href":448},"references\u002Fdaily-chat.md",[450],{"type":45,"value":448},{"type":39,"tag":97,"props":452,"children":453},{},[454,463,480],{"type":39,"tag":124,"props":455,"children":456},{},[457],{"type":39,"tag":53,"props":458,"children":460},{"className":459},[],[461],{"type":45,"value":462},"context-item",{"type":39,"tag":124,"props":464,"children":465},{},[466,472,473,478],{"type":39,"tag":53,"props":467,"children":469},{"className":468},[],[470],{"type":45,"value":471},"put",{"type":45,"value":143},{"type":39,"tag":53,"props":474,"children":476},{"className":475},[],[477],{"type":45,"value":315},{"type":45,"value":479}," Context Library items",{"type":39,"tag":124,"props":481,"children":482},{},[483],{"type":39,"tag":168,"props":484,"children":486},{"href":485},"references\u002Fcontext-item.md",[487],{"type":45,"value":485},{"type":39,"tag":97,"props":489,"children":490},{},[491,500,505],{"type":39,"tag":124,"props":492,"children":493},{},[494],{"type":39,"tag":53,"props":495,"children":497},{"className":496},[],[498],{"type":45,"value":499},"memory process",{"type":39,"tag":124,"props":501,"children":502},{},[503],{"type":45,"value":504},"(terminal command) Reconcile a conversation into context items",{"type":39,"tag":124,"props":506,"children":507},{},[508],{"type":39,"tag":168,"props":509,"children":511},{"href":510},"references\u002Fmemory.md",[512],{"type":45,"value":510},{"type":39,"tag":97,"props":514,"children":515},{},[516,524,561],{"type":39,"tag":124,"props":517,"children":518},{},[519],{"type":39,"tag":53,"props":520,"children":522},{"className":521},[],[523],{"type":45,"value":193},{"type":39,"tag":124,"props":525,"children":526},{},[527,533,534,540,541,547,548,554,555],{"type":39,"tag":53,"props":528,"children":530},{"className":529},[],[531],{"type":45,"value":532},"journals",{"type":45,"value":143},{"type":39,"tag":53,"props":535,"children":537},{"className":536},[],[538],{"type":45,"value":539},"entries",{"type":45,"value":143},{"type":39,"tag":53,"props":542,"children":544},{"className":543},[],[545],{"type":45,"value":546},"daily-chat",{"type":45,"value":143},{"type":39,"tag":53,"props":549,"children":551},{"className":550},[],[552],{"type":45,"value":553},"daily-chat-messages",{"type":45,"value":143},{"type":39,"tag":53,"props":556,"children":558},{"className":557},[],[559],{"type":45,"value":560},"context-items",{"type":39,"tag":124,"props":562,"children":563},{},[564],{"type":39,"tag":168,"props":565,"children":567},{"href":566},"references\u002Flist.md",[568],{"type":45,"value":566},{"type":39,"tag":97,"props":570,"children":571},{},[572,581,596],{"type":39,"tag":124,"props":573,"children":574},{},[575],{"type":39,"tag":53,"props":576,"children":578},{"className":577},[],[579],{"type":45,"value":580},"search",{"type":39,"tag":124,"props":582,"children":583},{},[584,589,591],{"type":39,"tag":53,"props":585,"children":587},{"className":586},[],[588],{"type":45,"value":539},{"type":45,"value":590}," (with web-parity filters), ",{"type":39,"tag":53,"props":592,"children":594},{"className":593},[],[595],{"type":45,"value":560},{"type":39,"tag":124,"props":597,"children":598},{},[599],{"type":39,"tag":168,"props":600,"children":602},{"href":601},"references\u002Fsearch.md",[603],{"type":45,"value":601},{"type":39,"tag":97,"props":605,"children":606},{},[607,616,621],{"type":39,"tag":124,"props":608,"children":609},{},[610],{"type":39,"tag":53,"props":611,"children":613},{"className":612},[],[614],{"type":45,"value":615},"tui",{"type":39,"tag":124,"props":617,"children":618},{},[619],{"type":45,"value":620},"(terminal command) Read-only terminal browser for journals, entries, daily chats",{"type":39,"tag":124,"props":622,"children":623},{},[624],{"type":39,"tag":168,"props":625,"children":627},{"href":626},"references\u002Ftui.md",[628],{"type":45,"value":626},{"type":39,"tag":97,"props":630,"children":631},{},[632,641,646],{"type":39,"tag":124,"props":633,"children":634},{},[635],{"type":39,"tag":53,"props":636,"children":638},{"className":637},[],[639],{"type":45,"value":640},"user-settings get",{"type":39,"tag":124,"props":642,"children":643},{},[644],{"type":45,"value":645},"(terminal command) Fetch account settings as JSON",{"type":39,"tag":124,"props":647,"children":648},{},[649],{"type":39,"tag":168,"props":650,"children":652},{"href":651},"references\u002Fuser-settings.md",[653],{"type":45,"value":651},{"type":39,"tag":655,"props":656,"children":657},"blockquote",{},[658,685,751],{"type":39,"tag":47,"props":659,"children":660},{},[661,667,669,675,677,683],{"type":39,"tag":662,"props":663,"children":664},"span",{},[665],{"type":45,"value":666},"!IMPORTANT",{"type":45,"value":668},"\nEvery row that lists subcommands above is a ",{"type":39,"tag":670,"props":671,"children":672},"strong",{},[673],{"type":45,"value":674},"group",{"type":45,"value":676}," — the command takes the form ",{"type":39,"tag":53,"props":678,"children":680},{"className":679},[],[681],{"type":45,"value":682},"dayone \u003Cgroup> \u003Csubcommand> [flags]",{"type":45,"value":684},". For example:",{"type":39,"tag":686,"props":687,"children":688},"ul",{},[689,716,734],{"type":39,"tag":690,"props":691,"children":692},"li",{},[693,699,701,707,709,715],{"type":39,"tag":53,"props":694,"children":696},{"className":695},[],[697],{"type":45,"value":698},"dayone search",{"type":45,"value":700}," alone is invalid → use ",{"type":39,"tag":53,"props":702,"children":704},{"className":703},[],[705],{"type":45,"value":706},"dayone search entries --query \"X\"",{"type":45,"value":708}," or ",{"type":39,"tag":53,"props":710,"children":712},{"className":711},[],[713],{"type":45,"value":714},"dayone search context-items --query \"X\"",{"type":45,"value":67},{"type":39,"tag":690,"props":717,"children":718},{},[719,725,726,732],{"type":39,"tag":53,"props":720,"children":722},{"className":721},[],[723],{"type":45,"value":724},"dayone list",{"type":45,"value":700},{"type":39,"tag":53,"props":727,"children":729},{"className":728},[],[730],{"type":45,"value":731},"dayone list entries --journal-id \u003Cid>",{"type":45,"value":733}," etc.",{"type":39,"tag":690,"props":735,"children":736},{},[737,743,744,750],{"type":39,"tag":53,"props":738,"children":740},{"className":739},[],[741],{"type":45,"value":742},"dayone auth",{"type":45,"value":700},{"type":39,"tag":53,"props":745,"children":747},{"className":746},[],[748],{"type":45,"value":749},"dayone auth login --email ...",{"type":45,"value":733},{"type":39,"tag":47,"props":752,"children":753},{},[754,756,762,764,769,770,776],{"type":45,"value":755},"Rows marked ",{"type":39,"tag":53,"props":757,"children":759},{"className":758},[],[760],{"type":45,"value":761},"(terminal command)",{"type":45,"value":763}," take flags directly (e.g. ",{"type":39,"tag":53,"props":765,"children":767},{"className":766},[],[768],{"type":45,"value":65},{"type":45,"value":143},{"type":39,"tag":53,"props":771,"children":773},{"className":772},[],[774],{"type":45,"value":775},"dayone tui",{"type":45,"value":777},").",{"type":39,"tag":47,"props":779,"children":780},{},[781,783,789],{"type":45,"value":782},"Discover any subcommand and its flags with ",{"type":39,"tag":53,"props":784,"children":786},{"className":785},[],[787],{"type":45,"value":788},"--help",{"type":45,"value":790},":",{"type":39,"tag":792,"props":793,"children":798},"pre",{"className":794,"code":795,"language":796,"meta":797,"style":797},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","dayone --help\ndayone auth --help\ndayone auth login --help\n","bash","",[799],{"type":39,"tag":53,"props":800,"children":801},{"__ignoreMap":797},[802,818,835],{"type":39,"tag":662,"props":803,"children":806},{"class":804,"line":805},"line",1,[807,812],{"type":39,"tag":662,"props":808,"children":810},{"style":809},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[811],{"type":45,"value":42},{"type":39,"tag":662,"props":813,"children":815},{"style":814},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[816],{"type":45,"value":817}," --help\n",{"type":39,"tag":662,"props":819,"children":821},{"class":804,"line":820},2,[822,826,831],{"type":39,"tag":662,"props":823,"children":824},{"style":809},[825],{"type":45,"value":42},{"type":39,"tag":662,"props":827,"children":828},{"style":814},[829],{"type":45,"value":830}," auth",{"type":39,"tag":662,"props":832,"children":833},{"style":814},[834],{"type":45,"value":817},{"type":39,"tag":662,"props":836,"children":838},{"class":804,"line":837},3,[839,843,847,852],{"type":39,"tag":662,"props":840,"children":841},{"style":809},[842],{"type":45,"value":42},{"type":39,"tag":662,"props":844,"children":845},{"style":814},[846],{"type":45,"value":830},{"type":39,"tag":662,"props":848,"children":849},{"style":814},[850],{"type":45,"value":851}," login",{"type":39,"tag":662,"props":853,"children":854},{"style":814},[855],{"type":45,"value":817},{"type":39,"tag":82,"props":857,"children":859},{"id":858},"common-one-liners",[860],{"type":45,"value":861},"Common one-liners",{"type":39,"tag":47,"props":863,"children":864},{},[865,867,872,874,880],{"type":45,"value":866},"Copy-paste shapes for the most frequent tasks. ",{"type":39,"tag":670,"props":868,"children":869},{},[870],{"type":45,"value":871},"Use these first",{"type":45,"value":873}," before drilling into ",{"type":39,"tag":53,"props":875,"children":877},{"className":876},[],[878],{"type":45,"value":879},"references\u002F",{"type":45,"value":881}," — references only matter when you need a flag not shown here.",{"type":39,"tag":792,"props":883,"children":885},{"className":794,"code":884,"language":796,"meta":797,"style":797},"# ── Always sync first before any read (see \"Read freshness\" below) ──\ndayone sync\n\n# ── Recommended desktop setup: keep local data fresh automatically ──\ndayone sync-schedule enable --interval-minutes 30\ndayone sync-schedule status\n\n# ── Read (local SQLite, instant) ──\ndayone list journals\ndayone list entries --journal-id \u003Cjournal-id> --sort desc --sort-method entryDate\ndayone list entries --journal-id \u003Cjournal-id> --fields id,date,tags,body\ndayone search entries --query \"running\"\ndayone search entries --query \"running\" --journal-id \u003Cjournal-id> --limit 10\ndayone search entries --tag travel --favorite                # wildcard mode (no --query)\ndayone search context-items --query \"tennis\"\n\n# ── Write (local-first; follow with `dayone sync` to push) ──\ndayone entry write --journal-id \u003Cjournal-id> --body \"Today was great.\"\nprintf '%s' 'Draft from stdin' | dayone entry write --journal-id \u003Cjournal-id> --body-stdin\ndayone daily-chat add --message \"Quick thought for today.\"\ndayone journal update --journal-id \u003Cjournal-id> --name \"Renamed\" --color \"#E74C3C\"\ndayone sync\n\n# ── Auth & state ──\nprintf '%s' '\u003Cpassword>' | dayone auth login --email you@example.com --password-stdin\ndayone auth whoami\ndayone profile list\ndayone profile set staging\n",[886],{"type":39,"tag":53,"props":887,"children":888},{"__ignoreMap":797},[889,898,910,919,928,957,974,982,991,1009,1073,1119,1156,1219,1255,1289,1297,1306,1362,1443,1479,1553,1565,1573,1582,1646,1663,1681],{"type":39,"tag":662,"props":890,"children":891},{"class":804,"line":805},[892],{"type":39,"tag":662,"props":893,"children":895},{"style":894},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[896],{"type":45,"value":897},"# ── Always sync first before any read (see \"Read freshness\" below) ──\n",{"type":39,"tag":662,"props":899,"children":900},{"class":804,"line":820},[901,905],{"type":39,"tag":662,"props":902,"children":903},{"style":809},[904],{"type":45,"value":42},{"type":39,"tag":662,"props":906,"children":907},{"style":814},[908],{"type":45,"value":909}," sync\n",{"type":39,"tag":662,"props":911,"children":912},{"class":804,"line":837},[913],{"type":39,"tag":662,"props":914,"children":916},{"emptyLinePlaceholder":915},true,[917],{"type":45,"value":918},"\n",{"type":39,"tag":662,"props":920,"children":922},{"class":804,"line":921},4,[923],{"type":39,"tag":662,"props":924,"children":925},{"style":894},[926],{"type":45,"value":927},"# ── Recommended desktop setup: keep local data fresh automatically ──\n",{"type":39,"tag":662,"props":929,"children":931},{"class":804,"line":930},5,[932,936,941,946,951],{"type":39,"tag":662,"props":933,"children":934},{"style":809},[935],{"type":45,"value":42},{"type":39,"tag":662,"props":937,"children":938},{"style":814},[939],{"type":45,"value":940}," sync-schedule",{"type":39,"tag":662,"props":942,"children":943},{"style":814},[944],{"type":45,"value":945}," enable",{"type":39,"tag":662,"props":947,"children":948},{"style":814},[949],{"type":45,"value":950}," --interval-minutes",{"type":39,"tag":662,"props":952,"children":954},{"style":953},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[955],{"type":45,"value":956}," 30\n",{"type":39,"tag":662,"props":958,"children":960},{"class":804,"line":959},6,[961,965,969],{"type":39,"tag":662,"props":962,"children":963},{"style":809},[964],{"type":45,"value":42},{"type":39,"tag":662,"props":966,"children":967},{"style":814},[968],{"type":45,"value":940},{"type":39,"tag":662,"props":970,"children":971},{"style":814},[972],{"type":45,"value":973}," status\n",{"type":39,"tag":662,"props":975,"children":977},{"class":804,"line":976},7,[978],{"type":39,"tag":662,"props":979,"children":980},{"emptyLinePlaceholder":915},[981],{"type":45,"value":918},{"type":39,"tag":662,"props":983,"children":985},{"class":804,"line":984},8,[986],{"type":39,"tag":662,"props":987,"children":988},{"style":894},[989],{"type":45,"value":990},"# ── Read (local SQLite, instant) ──\n",{"type":39,"tag":662,"props":992,"children":994},{"class":804,"line":993},9,[995,999,1004],{"type":39,"tag":662,"props":996,"children":997},{"style":809},[998],{"type":45,"value":42},{"type":39,"tag":662,"props":1000,"children":1001},{"style":814},[1002],{"type":45,"value":1003}," list",{"type":39,"tag":662,"props":1005,"children":1006},{"style":814},[1007],{"type":45,"value":1008}," journals\n",{"type":39,"tag":662,"props":1010,"children":1012},{"class":804,"line":1011},10,[1013,1017,1021,1026,1031,1037,1042,1048,1053,1058,1063,1068],{"type":39,"tag":662,"props":1014,"children":1015},{"style":809},[1016],{"type":45,"value":42},{"type":39,"tag":662,"props":1018,"children":1019},{"style":814},[1020],{"type":45,"value":1003},{"type":39,"tag":662,"props":1022,"children":1023},{"style":814},[1024],{"type":45,"value":1025}," entries",{"type":39,"tag":662,"props":1027,"children":1028},{"style":814},[1029],{"type":45,"value":1030}," --journal-id",{"type":39,"tag":662,"props":1032,"children":1034},{"style":1033},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[1035],{"type":45,"value":1036}," \u003C",{"type":39,"tag":662,"props":1038,"children":1039},{"style":814},[1040],{"type":45,"value":1041},"journal-i",{"type":39,"tag":662,"props":1043,"children":1045},{"style":1044},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[1046],{"type":45,"value":1047},"d",{"type":39,"tag":662,"props":1049,"children":1050},{"style":1033},[1051],{"type":45,"value":1052},">",{"type":39,"tag":662,"props":1054,"children":1055},{"style":814},[1056],{"type":45,"value":1057}," --sort",{"type":39,"tag":662,"props":1059,"children":1060},{"style":814},[1061],{"type":45,"value":1062}," desc",{"type":39,"tag":662,"props":1064,"children":1065},{"style":814},[1066],{"type":45,"value":1067}," --sort-method",{"type":39,"tag":662,"props":1069,"children":1070},{"style":814},[1071],{"type":45,"value":1072}," entryDate\n",{"type":39,"tag":662,"props":1074,"children":1076},{"class":804,"line":1075},11,[1077,1081,1085,1089,1093,1097,1101,1105,1109,1114],{"type":39,"tag":662,"props":1078,"children":1079},{"style":809},[1080],{"type":45,"value":42},{"type":39,"tag":662,"props":1082,"children":1083},{"style":814},[1084],{"type":45,"value":1003},{"type":39,"tag":662,"props":1086,"children":1087},{"style":814},[1088],{"type":45,"value":1025},{"type":39,"tag":662,"props":1090,"children":1091},{"style":814},[1092],{"type":45,"value":1030},{"type":39,"tag":662,"props":1094,"children":1095},{"style":1033},[1096],{"type":45,"value":1036},{"type":39,"tag":662,"props":1098,"children":1099},{"style":814},[1100],{"type":45,"value":1041},{"type":39,"tag":662,"props":1102,"children":1103},{"style":1044},[1104],{"type":45,"value":1047},{"type":39,"tag":662,"props":1106,"children":1107},{"style":1033},[1108],{"type":45,"value":1052},{"type":39,"tag":662,"props":1110,"children":1111},{"style":814},[1112],{"type":45,"value":1113}," --fields",{"type":39,"tag":662,"props":1115,"children":1116},{"style":814},[1117],{"type":45,"value":1118}," id,date,tags,body\n",{"type":39,"tag":662,"props":1120,"children":1122},{"class":804,"line":1121},12,[1123,1127,1132,1136,1141,1146,1151],{"type":39,"tag":662,"props":1124,"children":1125},{"style":809},[1126],{"type":45,"value":42},{"type":39,"tag":662,"props":1128,"children":1129},{"style":814},[1130],{"type":45,"value":1131}," search",{"type":39,"tag":662,"props":1133,"children":1134},{"style":814},[1135],{"type":45,"value":1025},{"type":39,"tag":662,"props":1137,"children":1138},{"style":814},[1139],{"type":45,"value":1140}," --query",{"type":39,"tag":662,"props":1142,"children":1143},{"style":1033},[1144],{"type":45,"value":1145}," \"",{"type":39,"tag":662,"props":1147,"children":1148},{"style":814},[1149],{"type":45,"value":1150},"running",{"type":39,"tag":662,"props":1152,"children":1153},{"style":1033},[1154],{"type":45,"value":1155},"\"\n",{"type":39,"tag":662,"props":1157,"children":1159},{"class":804,"line":1158},13,[1160,1164,1168,1172,1176,1180,1184,1189,1193,1197,1201,1205,1209,1214],{"type":39,"tag":662,"props":1161,"children":1162},{"style":809},[1163],{"type":45,"value":42},{"type":39,"tag":662,"props":1165,"children":1166},{"style":814},[1167],{"type":45,"value":1131},{"type":39,"tag":662,"props":1169,"children":1170},{"style":814},[1171],{"type":45,"value":1025},{"type":39,"tag":662,"props":1173,"children":1174},{"style":814},[1175],{"type":45,"value":1140},{"type":39,"tag":662,"props":1177,"children":1178},{"style":1033},[1179],{"type":45,"value":1145},{"type":39,"tag":662,"props":1181,"children":1182},{"style":814},[1183],{"type":45,"value":1150},{"type":39,"tag":662,"props":1185,"children":1186},{"style":1033},[1187],{"type":45,"value":1188},"\"",{"type":39,"tag":662,"props":1190,"children":1191},{"style":814},[1192],{"type":45,"value":1030},{"type":39,"tag":662,"props":1194,"children":1195},{"style":1033},[1196],{"type":45,"value":1036},{"type":39,"tag":662,"props":1198,"children":1199},{"style":814},[1200],{"type":45,"value":1041},{"type":39,"tag":662,"props":1202,"children":1203},{"style":1044},[1204],{"type":45,"value":1047},{"type":39,"tag":662,"props":1206,"children":1207},{"style":1033},[1208],{"type":45,"value":1052},{"type":39,"tag":662,"props":1210,"children":1211},{"style":814},[1212],{"type":45,"value":1213}," --limit",{"type":39,"tag":662,"props":1215,"children":1216},{"style":953},[1217],{"type":45,"value":1218}," 10\n",{"type":39,"tag":662,"props":1220,"children":1222},{"class":804,"line":1221},14,[1223,1227,1231,1235,1240,1245,1250],{"type":39,"tag":662,"props":1224,"children":1225},{"style":809},[1226],{"type":45,"value":42},{"type":39,"tag":662,"props":1228,"children":1229},{"style":814},[1230],{"type":45,"value":1131},{"type":39,"tag":662,"props":1232,"children":1233},{"style":814},[1234],{"type":45,"value":1025},{"type":39,"tag":662,"props":1236,"children":1237},{"style":814},[1238],{"type":45,"value":1239}," --tag",{"type":39,"tag":662,"props":1241,"children":1242},{"style":814},[1243],{"type":45,"value":1244}," travel",{"type":39,"tag":662,"props":1246,"children":1247},{"style":814},[1248],{"type":45,"value":1249}," --favorite",{"type":39,"tag":662,"props":1251,"children":1252},{"style":894},[1253],{"type":45,"value":1254},"                # wildcard mode (no --query)\n",{"type":39,"tag":662,"props":1256,"children":1258},{"class":804,"line":1257},15,[1259,1263,1267,1272,1276,1280,1285],{"type":39,"tag":662,"props":1260,"children":1261},{"style":809},[1262],{"type":45,"value":42},{"type":39,"tag":662,"props":1264,"children":1265},{"style":814},[1266],{"type":45,"value":1131},{"type":39,"tag":662,"props":1268,"children":1269},{"style":814},[1270],{"type":45,"value":1271}," context-items",{"type":39,"tag":662,"props":1273,"children":1274},{"style":814},[1275],{"type":45,"value":1140},{"type":39,"tag":662,"props":1277,"children":1278},{"style":1033},[1279],{"type":45,"value":1145},{"type":39,"tag":662,"props":1281,"children":1282},{"style":814},[1283],{"type":45,"value":1284},"tennis",{"type":39,"tag":662,"props":1286,"children":1287},{"style":1033},[1288],{"type":45,"value":1155},{"type":39,"tag":662,"props":1290,"children":1292},{"class":804,"line":1291},16,[1293],{"type":39,"tag":662,"props":1294,"children":1295},{"emptyLinePlaceholder":915},[1296],{"type":45,"value":918},{"type":39,"tag":662,"props":1298,"children":1300},{"class":804,"line":1299},17,[1301],{"type":39,"tag":662,"props":1302,"children":1303},{"style":894},[1304],{"type":45,"value":1305},"# ── Write (local-first; follow with `dayone sync` to push) ──\n",{"type":39,"tag":662,"props":1307,"children":1309},{"class":804,"line":1308},18,[1310,1314,1319,1324,1328,1332,1336,1340,1344,1349,1353,1358],{"type":39,"tag":662,"props":1311,"children":1312},{"style":809},[1313],{"type":45,"value":42},{"type":39,"tag":662,"props":1315,"children":1316},{"style":814},[1317],{"type":45,"value":1318}," entry",{"type":39,"tag":662,"props":1320,"children":1321},{"style":814},[1322],{"type":45,"value":1323}," write",{"type":39,"tag":662,"props":1325,"children":1326},{"style":814},[1327],{"type":45,"value":1030},{"type":39,"tag":662,"props":1329,"children":1330},{"style":1033},[1331],{"type":45,"value":1036},{"type":39,"tag":662,"props":1333,"children":1334},{"style":814},[1335],{"type":45,"value":1041},{"type":39,"tag":662,"props":1337,"children":1338},{"style":1044},[1339],{"type":45,"value":1047},{"type":39,"tag":662,"props":1341,"children":1342},{"style":1033},[1343],{"type":45,"value":1052},{"type":39,"tag":662,"props":1345,"children":1346},{"style":814},[1347],{"type":45,"value":1348}," --body",{"type":39,"tag":662,"props":1350,"children":1351},{"style":1033},[1352],{"type":45,"value":1145},{"type":39,"tag":662,"props":1354,"children":1355},{"style":814},[1356],{"type":45,"value":1357},"Today was great.",{"type":39,"tag":662,"props":1359,"children":1360},{"style":1033},[1361],{"type":45,"value":1155},{"type":39,"tag":662,"props":1363,"children":1365},{"class":804,"line":1364},19,[1366,1372,1377,1382,1387,1391,1396,1400,1405,1410,1414,1418,1422,1426,1430,1434,1438],{"type":39,"tag":662,"props":1367,"children":1369},{"style":1368},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[1370],{"type":45,"value":1371},"printf",{"type":39,"tag":662,"props":1373,"children":1374},{"style":1033},[1375],{"type":45,"value":1376}," '",{"type":39,"tag":662,"props":1378,"children":1379},{"style":814},[1380],{"type":45,"value":1381},"%s",{"type":39,"tag":662,"props":1383,"children":1384},{"style":1033},[1385],{"type":45,"value":1386},"'",{"type":39,"tag":662,"props":1388,"children":1389},{"style":1033},[1390],{"type":45,"value":1376},{"type":39,"tag":662,"props":1392,"children":1393},{"style":814},[1394],{"type":45,"value":1395},"Draft from stdin",{"type":39,"tag":662,"props":1397,"children":1398},{"style":1033},[1399],{"type":45,"value":1386},{"type":39,"tag":662,"props":1401,"children":1402},{"style":1033},[1403],{"type":45,"value":1404}," |",{"type":39,"tag":662,"props":1406,"children":1407},{"style":809},[1408],{"type":45,"value":1409}," dayone",{"type":39,"tag":662,"props":1411,"children":1412},{"style":814},[1413],{"type":45,"value":1318},{"type":39,"tag":662,"props":1415,"children":1416},{"style":814},[1417],{"type":45,"value":1323},{"type":39,"tag":662,"props":1419,"children":1420},{"style":814},[1421],{"type":45,"value":1030},{"type":39,"tag":662,"props":1423,"children":1424},{"style":1033},[1425],{"type":45,"value":1036},{"type":39,"tag":662,"props":1427,"children":1428},{"style":814},[1429],{"type":45,"value":1041},{"type":39,"tag":662,"props":1431,"children":1432},{"style":1044},[1433],{"type":45,"value":1047},{"type":39,"tag":662,"props":1435,"children":1436},{"style":1033},[1437],{"type":45,"value":1052},{"type":39,"tag":662,"props":1439,"children":1440},{"style":814},[1441],{"type":45,"value":1442}," --body-stdin\n",{"type":39,"tag":662,"props":1444,"children":1446},{"class":804,"line":1445},20,[1447,1451,1456,1461,1466,1470,1475],{"type":39,"tag":662,"props":1448,"children":1449},{"style":809},[1450],{"type":45,"value":42},{"type":39,"tag":662,"props":1452,"children":1453},{"style":814},[1454],{"type":45,"value":1455}," daily-chat",{"type":39,"tag":662,"props":1457,"children":1458},{"style":814},[1459],{"type":45,"value":1460}," add",{"type":39,"tag":662,"props":1462,"children":1463},{"style":814},[1464],{"type":45,"value":1465}," --message",{"type":39,"tag":662,"props":1467,"children":1468},{"style":1033},[1469],{"type":45,"value":1145},{"type":39,"tag":662,"props":1471,"children":1472},{"style":814},[1473],{"type":45,"value":1474},"Quick thought for today.",{"type":39,"tag":662,"props":1476,"children":1477},{"style":1033},[1478],{"type":45,"value":1155},{"type":39,"tag":662,"props":1480,"children":1482},{"class":804,"line":1481},21,[1483,1487,1492,1497,1501,1505,1509,1513,1517,1522,1526,1531,1535,1540,1544,1549],{"type":39,"tag":662,"props":1484,"children":1485},{"style":809},[1486],{"type":45,"value":42},{"type":39,"tag":662,"props":1488,"children":1489},{"style":814},[1490],{"type":45,"value":1491}," journal",{"type":39,"tag":662,"props":1493,"children":1494},{"style":814},[1495],{"type":45,"value":1496}," update",{"type":39,"tag":662,"props":1498,"children":1499},{"style":814},[1500],{"type":45,"value":1030},{"type":39,"tag":662,"props":1502,"children":1503},{"style":1033},[1504],{"type":45,"value":1036},{"type":39,"tag":662,"props":1506,"children":1507},{"style":814},[1508],{"type":45,"value":1041},{"type":39,"tag":662,"props":1510,"children":1511},{"style":1044},[1512],{"type":45,"value":1047},{"type":39,"tag":662,"props":1514,"children":1515},{"style":1033},[1516],{"type":45,"value":1052},{"type":39,"tag":662,"props":1518,"children":1519},{"style":814},[1520],{"type":45,"value":1521}," --name",{"type":39,"tag":662,"props":1523,"children":1524},{"style":1033},[1525],{"type":45,"value":1145},{"type":39,"tag":662,"props":1527,"children":1528},{"style":814},[1529],{"type":45,"value":1530},"Renamed",{"type":39,"tag":662,"props":1532,"children":1533},{"style":1033},[1534],{"type":45,"value":1188},{"type":39,"tag":662,"props":1536,"children":1537},{"style":814},[1538],{"type":45,"value":1539}," --color",{"type":39,"tag":662,"props":1541,"children":1542},{"style":1033},[1543],{"type":45,"value":1145},{"type":39,"tag":662,"props":1545,"children":1546},{"style":814},[1547],{"type":45,"value":1548},"#E74C3C",{"type":39,"tag":662,"props":1550,"children":1551},{"style":1033},[1552],{"type":45,"value":1155},{"type":39,"tag":662,"props":1554,"children":1556},{"class":804,"line":1555},22,[1557,1561],{"type":39,"tag":662,"props":1558,"children":1559},{"style":809},[1560],{"type":45,"value":42},{"type":39,"tag":662,"props":1562,"children":1563},{"style":814},[1564],{"type":45,"value":909},{"type":39,"tag":662,"props":1566,"children":1568},{"class":804,"line":1567},23,[1569],{"type":39,"tag":662,"props":1570,"children":1571},{"emptyLinePlaceholder":915},[1572],{"type":45,"value":918},{"type":39,"tag":662,"props":1574,"children":1576},{"class":804,"line":1575},24,[1577],{"type":39,"tag":662,"props":1578,"children":1579},{"style":894},[1580],{"type":45,"value":1581},"# ── Auth & state ──\n",{"type":39,"tag":662,"props":1583,"children":1585},{"class":804,"line":1584},25,[1586,1590,1594,1598,1602,1606,1611,1615,1619,1623,1627,1631,1636,1641],{"type":39,"tag":662,"props":1587,"children":1588},{"style":1368},[1589],{"type":45,"value":1371},{"type":39,"tag":662,"props":1591,"children":1592},{"style":1033},[1593],{"type":45,"value":1376},{"type":39,"tag":662,"props":1595,"children":1596},{"style":814},[1597],{"type":45,"value":1381},{"type":39,"tag":662,"props":1599,"children":1600},{"style":1033},[1601],{"type":45,"value":1386},{"type":39,"tag":662,"props":1603,"children":1604},{"style":1033},[1605],{"type":45,"value":1376},{"type":39,"tag":662,"props":1607,"children":1608},{"style":814},[1609],{"type":45,"value":1610},"\u003Cpassword>",{"type":39,"tag":662,"props":1612,"children":1613},{"style":1033},[1614],{"type":45,"value":1386},{"type":39,"tag":662,"props":1616,"children":1617},{"style":1033},[1618],{"type":45,"value":1404},{"type":39,"tag":662,"props":1620,"children":1621},{"style":809},[1622],{"type":45,"value":1409},{"type":39,"tag":662,"props":1624,"children":1625},{"style":814},[1626],{"type":45,"value":830},{"type":39,"tag":662,"props":1628,"children":1629},{"style":814},[1630],{"type":45,"value":851},{"type":39,"tag":662,"props":1632,"children":1633},{"style":814},[1634],{"type":45,"value":1635}," --email",{"type":39,"tag":662,"props":1637,"children":1638},{"style":814},[1639],{"type":45,"value":1640}," you@example.com",{"type":39,"tag":662,"props":1642,"children":1643},{"style":814},[1644],{"type":45,"value":1645}," --password-stdin\n",{"type":39,"tag":662,"props":1647,"children":1649},{"class":804,"line":1648},26,[1650,1654,1658],{"type":39,"tag":662,"props":1651,"children":1652},{"style":809},[1653],{"type":45,"value":42},{"type":39,"tag":662,"props":1655,"children":1656},{"style":814},[1657],{"type":45,"value":830},{"type":39,"tag":662,"props":1659,"children":1660},{"style":814},[1661],{"type":45,"value":1662}," whoami\n",{"type":39,"tag":662,"props":1664,"children":1666},{"class":804,"line":1665},27,[1667,1671,1676],{"type":39,"tag":662,"props":1668,"children":1669},{"style":809},[1670],{"type":45,"value":42},{"type":39,"tag":662,"props":1672,"children":1673},{"style":814},[1674],{"type":45,"value":1675}," profile",{"type":39,"tag":662,"props":1677,"children":1678},{"style":814},[1679],{"type":45,"value":1680}," list\n",{"type":39,"tag":662,"props":1682,"children":1684},{"class":804,"line":1683},28,[1685,1689,1693,1698],{"type":39,"tag":662,"props":1686,"children":1687},{"style":809},[1688],{"type":45,"value":42},{"type":39,"tag":662,"props":1690,"children":1691},{"style":814},[1692],{"type":45,"value":1675},{"type":39,"tag":662,"props":1694,"children":1695},{"style":814},[1696],{"type":45,"value":1697}," set",{"type":39,"tag":662,"props":1699,"children":1700},{"style":814},[1701],{"type":45,"value":1702}," staging\n",{"type":39,"tag":82,"props":1704,"children":1706},{"id":1705},"output-shapes-jq-recipes",[1707,1709,1715],{"type":45,"value":1708},"Output shapes & ",{"type":39,"tag":53,"props":1710,"children":1712},{"className":1711},[],[1713],{"type":45,"value":1714},"jq",{"type":45,"value":1716}," recipes",{"type":39,"tag":655,"props":1718,"children":1719},{},[1720,1743],{"type":39,"tag":47,"props":1721,"children":1722},{},[1723,1727,1729,1734,1736,1741],{"type":39,"tag":662,"props":1724,"children":1725},{},[1726],{"type":45,"value":666},{"type":45,"value":1728},"\nEvery command prints a JSON ",{"type":39,"tag":670,"props":1730,"children":1731},{},[1732],{"type":45,"value":1733},"object",{"type":45,"value":1735}," to stdout, never a bare array. Three common ",{"type":39,"tag":53,"props":1737,"children":1739},{"className":1738},[],[1740],{"type":45,"value":1714},{"type":45,"value":1742}," mistakes:",{"type":39,"tag":1744,"props":1745,"children":1746},"ol",{},[1747,1806,1854],{"type":39,"tag":690,"props":1748,"children":1749},{},[1750,1756,1758,1764,1766,1772,1774,1780,1782,1788,1790,1796,1798,1804],{"type":39,"tag":53,"props":1751,"children":1753},{"className":1752},[],[1754],{"type":45,"value":1755},"jq '.[] | …'",{"type":45,"value":1757}," fails with ",{"type":39,"tag":53,"props":1759,"children":1761},{"className":1760},[],[1762],{"type":45,"value":1763},"Cannot index boolean with string \"x\"",{"type":45,"value":1765}," — top level is ",{"type":39,"tag":53,"props":1767,"children":1769},{"className":1768},[],[1770],{"type":45,"value":1771},"{ ok, …, items: […] }",{"type":45,"value":1773},". Use ",{"type":39,"tag":53,"props":1775,"children":1777},{"className":1776},[],[1778],{"type":45,"value":1779},".items[]",{"type":45,"value":1781}," (or ",{"type":39,"tag":53,"props":1783,"children":1785},{"className":1784},[],[1786],{"type":45,"value":1787},".messages[]",{"type":45,"value":1789}," for ",{"type":39,"tag":53,"props":1791,"children":1793},{"className":1792},[],[1794],{"type":45,"value":1795},"list daily-chat-messages",{"type":45,"value":1797}," — that one uses a ",{"type":39,"tag":53,"props":1799,"children":1801},{"className":1800},[],[1802],{"type":45,"value":1803},"messages",{"type":45,"value":1805}," key instead).",{"type":39,"tag":690,"props":1807,"children":1808},{},[1809,1811,1816,1818,1824,1825,1831,1832,1837,1839,1845,1847,1853],{"type":45,"value":1810},"For ",{"type":39,"tag":53,"props":1812,"children":1814},{"className":1813},[],[1815],{"type":45,"value":580},{"type":45,"value":1817},", each hit wraps the real entry\u002Fcontext-item under ",{"type":39,"tag":53,"props":1819,"children":1821},{"className":1820},[],[1822],{"type":45,"value":1823},".item",{"type":45,"value":1773},{"type":39,"tag":53,"props":1826,"children":1828},{"className":1827},[],[1829],{"type":45,"value":1830},".items[].item.body",{"type":45,"value":143},{"type":39,"tag":670,"props":1833,"children":1834},{},[1835],{"type":45,"value":1836},"not",{"type":45,"value":1838}," ",{"type":39,"tag":53,"props":1840,"children":1842},{"className":1841},[],[1843],{"type":45,"value":1844},".items[].body",{"type":45,"value":1846},". Hit envelope: ",{"type":39,"tag":53,"props":1848,"children":1850},{"className":1849},[],[1851],{"type":45,"value":1852},"{ id, similarity, item }",{"type":45,"value":67},{"type":39,"tag":690,"props":1855,"children":1856},{},[1857,1859,1865,1867,1872,1874,1880,1882,1887,1889,1895],{"type":45,"value":1858},"Entry ",{"type":39,"tag":53,"props":1860,"children":1862},{"className":1861},[],[1863],{"type":45,"value":1864},"date",{"type":45,"value":1866}," is ",{"type":39,"tag":670,"props":1868,"children":1869},{},[1870],{"type":45,"value":1871},"epoch milliseconds",{"type":45,"value":1873}," — ",{"type":39,"tag":53,"props":1875,"children":1877},{"className":1876},[],[1878],{"type":45,"value":1879},"(.date \u002F 1000 | todate)",{"type":45,"value":1881}," or, inside a ",{"type":39,"tag":53,"props":1883,"children":1885},{"className":1884},[],[1886],{"type":45,"value":580},{"type":45,"value":1888}," hit, ",{"type":39,"tag":53,"props":1890,"children":1892},{"className":1891},[],[1893],{"type":45,"value":1894},"(.item.date \u002F 1000 | todate)",{"type":45,"value":1896}," for RFC3339.",{"type":39,"tag":47,"props":1898,"children":1899},{},[1900],{"type":45,"value":1901},"Canonical recipe covering all three (adapt and reuse):",{"type":39,"tag":792,"props":1903,"children":1905},{"className":794,"code":1904,"language":796,"meta":797,"style":797},"dayone search entries --query \"running\" --sort entryDate --direction desc --limit 5 \\\n  | jq '.items[] | {id, similarity, date: (.item.date \u002F 1000 | todate), body: .item.body[:200]}'\n",[1906],{"type":39,"tag":53,"props":1907,"children":1908},{"__ignoreMap":797},[1909,1972],{"type":39,"tag":662,"props":1910,"children":1911},{"class":804,"line":805},[1912,1916,1920,1924,1928,1932,1936,1940,1944,1949,1954,1958,1962,1967],{"type":39,"tag":662,"props":1913,"children":1914},{"style":809},[1915],{"type":45,"value":42},{"type":39,"tag":662,"props":1917,"children":1918},{"style":814},[1919],{"type":45,"value":1131},{"type":39,"tag":662,"props":1921,"children":1922},{"style":814},[1923],{"type":45,"value":1025},{"type":39,"tag":662,"props":1925,"children":1926},{"style":814},[1927],{"type":45,"value":1140},{"type":39,"tag":662,"props":1929,"children":1930},{"style":1033},[1931],{"type":45,"value":1145},{"type":39,"tag":662,"props":1933,"children":1934},{"style":814},[1935],{"type":45,"value":1150},{"type":39,"tag":662,"props":1937,"children":1938},{"style":1033},[1939],{"type":45,"value":1188},{"type":39,"tag":662,"props":1941,"children":1942},{"style":814},[1943],{"type":45,"value":1057},{"type":39,"tag":662,"props":1945,"children":1946},{"style":814},[1947],{"type":45,"value":1948}," entryDate",{"type":39,"tag":662,"props":1950,"children":1951},{"style":814},[1952],{"type":45,"value":1953}," --direction",{"type":39,"tag":662,"props":1955,"children":1956},{"style":814},[1957],{"type":45,"value":1062},{"type":39,"tag":662,"props":1959,"children":1960},{"style":814},[1961],{"type":45,"value":1213},{"type":39,"tag":662,"props":1963,"children":1964},{"style":953},[1965],{"type":45,"value":1966}," 5",{"type":39,"tag":662,"props":1968,"children":1969},{"style":1044},[1970],{"type":45,"value":1971}," \\\n",{"type":39,"tag":662,"props":1973,"children":1974},{"class":804,"line":820},[1975,1980,1985,1989,1994],{"type":39,"tag":662,"props":1976,"children":1977},{"style":1033},[1978],{"type":45,"value":1979},"  |",{"type":39,"tag":662,"props":1981,"children":1982},{"style":809},[1983],{"type":45,"value":1984}," jq",{"type":39,"tag":662,"props":1986,"children":1987},{"style":1033},[1988],{"type":45,"value":1376},{"type":39,"tag":662,"props":1990,"children":1991},{"style":814},[1992],{"type":45,"value":1993},".items[] | {id, similarity, date: (.item.date \u002F 1000 | todate), body: .item.body[:200]}",{"type":39,"tag":662,"props":1995,"children":1996},{"style":1033},[1997],{"type":45,"value":1998},"'\n",{"type":39,"tag":47,"props":2000,"children":2001},{},[2002,2004,2010,2011,2017,2018,2024,2025,2030,2031,2036,2038,2044,2046,2052,2053,2059,2061,2067,2068,2074,2075,2081,2083,2089],{"type":45,"value":2003},"Write commands (",{"type":39,"tag":53,"props":2005,"children":2007},{"className":2006},[],[2008],{"type":45,"value":2009},"entry write",{"type":45,"value":143},{"type":39,"tag":53,"props":2012,"children":2014},{"className":2013},[],[2015],{"type":45,"value":2016},"comment write",{"type":45,"value":143},{"type":39,"tag":53,"props":2019,"children":2021},{"className":2020},[],[2022],{"type":45,"value":2023},"context-item put",{"type":45,"value":143},{"type":39,"tag":53,"props":2026,"children":2028},{"className":2027},[],[2029],{"type":45,"value":437},{"type":45,"value":143},{"type":39,"tag":53,"props":2032,"children":2034},{"className":2033},[],[2035],{"type":45,"value":499},{"type":45,"value":2037},") return a flat object with ",{"type":39,"tag":53,"props":2039,"children":2041},{"className":2040},[],[2042],{"type":45,"value":2043},"ok",{"type":45,"value":2045},", the resource id (",{"type":39,"tag":53,"props":2047,"children":2049},{"className":2048},[],[2050],{"type":45,"value":2051},"entry_id",{"type":45,"value":143},{"type":39,"tag":53,"props":2054,"children":2056},{"className":2055},[],[2057],{"type":45,"value":2058},"comment_id",{"type":45,"value":2060},", …), ",{"type":39,"tag":53,"props":2062,"children":2064},{"className":2063},[],[2065],{"type":45,"value":2066},"queued",{"type":45,"value":143},{"type":39,"tag":53,"props":2069,"children":2071},{"className":2070},[],[2072],{"type":45,"value":2073},"synced",{"type":45,"value":143},{"type":39,"tag":53,"props":2076,"children":2078},{"className":2077},[],[2079],{"type":45,"value":2080},"outbox_id",{"type":45,"value":2082}," — no ",{"type":39,"tag":53,"props":2084,"children":2086},{"className":2085},[],[2087],{"type":45,"value":2088},"items",{"type":45,"value":2090}," wrapper.",{"type":39,"tag":47,"props":2092,"children":2093},{},[2094,2096,2102,2103,2109],{"type":45,"value":2095},"Full envelopes and per-command recipes live in the references: ",{"type":39,"tag":168,"props":2097,"children":2099},{"href":2098},"references\u002Flist.md#output-shape",[2100],{"type":45,"value":2101},"list.md",{"type":45,"value":143},{"type":39,"tag":168,"props":2104,"children":2106},{"href":2105},"references\u002Fsearch.md#output-shape",[2107],{"type":45,"value":2108},"search.md",{"type":45,"value":67},{"type":39,"tag":82,"props":2111,"children":2113},{"id":2112},"endpoint-precedence-applies-to-every-command",[2114],{"type":45,"value":2115},"Endpoint precedence (applies to every command)",{"type":39,"tag":47,"props":2117,"children":2118},{},[2119],{"type":45,"value":2120},"In order of priority:",{"type":39,"tag":1744,"props":2122,"children":2123},{},[2124,2135,2146],{"type":39,"tag":690,"props":2125,"children":2126},{},[2127,2133],{"type":39,"tag":53,"props":2128,"children":2130},{"className":2129},[],[2131],{"type":45,"value":2132},"--api-host \u003Curl>",{"type":45,"value":2134}," flag on the command",{"type":39,"tag":690,"props":2136,"children":2137},{},[2138,2144],{"type":39,"tag":53,"props":2139,"children":2141},{"className":2140},[],[2142],{"type":45,"value":2143},"DAYONE_API_HOST",{"type":45,"value":2145}," environment variable",{"type":39,"tag":690,"props":2147,"children":2148},{},[2149,2151,2157],{"type":45,"value":2150},"Active SQLite profile (",{"type":39,"tag":53,"props":2152,"children":2154},{"className":2153},[],[2155],{"type":45,"value":2156},"dayone profile list",{"type":45,"value":2158}," shows it)",{"type":39,"tag":82,"props":2160,"children":2162},{"id":2161},"read-freshness",[2163],{"type":45,"value":2164},"Read freshness",{"type":39,"tag":47,"props":2166,"children":2167},{},[2168,2173,2174,2179,2181,2186,2188,2193],{"type":39,"tag":53,"props":2169,"children":2171},{"className":2170},[],[2172],{"type":45,"value":193},{"type":45,"value":143},{"type":39,"tag":53,"props":2175,"children":2177},{"className":2176},[],[2178],{"type":45,"value":580},{"type":45,"value":2180},", and ",{"type":39,"tag":53,"props":2182,"children":2184},{"className":2183},[],[2185],{"type":45,"value":615},{"type":45,"value":2187}," read ",{"type":39,"tag":670,"props":2189,"children":2190},{},[2191],{"type":45,"value":2192},"only",{"type":45,"value":2194}," local SQLite — never the network — and the CLI exposes no \"last synced at\" timestamp, so freshness can't be checked programmatically.",{"type":39,"tag":655,"props":2196,"children":2197},{},[2198],{"type":39,"tag":47,"props":2199,"children":2200},{},[2201,2205,2217,2219,2224,2226,2231,2232,2237],{"type":39,"tag":662,"props":2202,"children":2203},{},[2204],{"type":45,"value":666},{"type":39,"tag":670,"props":2206,"children":2207},{},[2208,2210,2215],{"type":45,"value":2209},"Run ",{"type":39,"tag":53,"props":2211,"children":2213},{"className":2212},[],[2214],{"type":45,"value":65},{"type":45,"value":2216}," once at the start of any session that will read journal data",{"type":45,"value":2218},", before the first ",{"type":39,"tag":53,"props":2220,"children":2222},{"className":2221},[],[2223],{"type":45,"value":193},{"type":45,"value":2225},"\u002F",{"type":39,"tag":53,"props":2227,"children":2229},{"className":2228},[],[2230],{"type":45,"value":580},{"type":45,"value":2225},{"type":39,"tag":53,"props":2233,"children":2235},{"className":2234},[],[2236],{"type":45,"value":615},{"type":45,"value":2238}," call. Skip only when the user explicitly opts out (\"from cache\", \"use local data\", \"skip sync\"). Within a session no need to re-sync between successive reads unless a write happened in between (in which case re-sync to flush the outbox).",{"type":39,"tag":47,"props":2240,"children":2241},{},[2242,2244,2248,2250,2256],{"type":45,"value":2243},"Incremental sync on an established account is fast; the \"long-running\" warning in ",{"type":39,"tag":168,"props":2245,"children":2246},{"href":233},[2247],{"type":45,"value":233},{"type":45,"value":2249}," mostly applies to fresh accounts and first syncs. For normal desktop use, recommend ",{"type":39,"tag":53,"props":2251,"children":2253},{"className":2252},[],[2254],{"type":45,"value":2255},"dayone sync-schedule enable --interval-minutes 30",{"type":45,"value":2257}," so local reads stay fresh without manual syncs.",{"type":39,"tag":82,"props":2259,"children":2261},{"id":2260},"local-first-write-model",[2262],{"type":45,"value":2263},"Local-first write model",{"type":39,"tag":47,"props":2265,"children":2266},{},[2267,2269,2274,2275,2281,2282,2288,2289,2295,2296,2301,2302,2308,2309,2315,2316,2321,2323,2329,2331,2342],{"type":45,"value":2268},"Every write command — ",{"type":39,"tag":53,"props":2270,"children":2272},{"className":2271},[],[2273],{"type":45,"value":2009},{"type":45,"value":143},{"type":39,"tag":53,"props":2276,"children":2278},{"className":2277},[],[2279],{"type":45,"value":2280},"entry delete",{"type":45,"value":143},{"type":39,"tag":53,"props":2283,"children":2285},{"className":2284},[],[2286],{"type":45,"value":2287},"comment write|update|delete|react|unreact",{"type":45,"value":143},{"type":39,"tag":53,"props":2290,"children":2292},{"className":2291},[],[2293],{"type":45,"value":2294},"context-item put|delete",{"type":45,"value":143},{"type":39,"tag":53,"props":2297,"children":2299},{"className":2298},[],[2300],{"type":45,"value":437},{"type":45,"value":143},{"type":39,"tag":53,"props":2303,"children":2305},{"className":2304},[],[2306],{"type":45,"value":2307},"journal create",{"type":45,"value":143},{"type":39,"tag":53,"props":2310,"children":2312},{"className":2311},[],[2313],{"type":45,"value":2314},"journal update",{"type":45,"value":143},{"type":39,"tag":53,"props":2317,"children":2319},{"className":2318},[],[2320],{"type":45,"value":499},{"type":45,"value":2322}," — persists locally with ",{"type":39,"tag":53,"props":2324,"children":2326},{"className":2325},[],[2327],{"type":45,"value":2328},"needs_sync=1",{"type":45,"value":2330}," and enqueues a durable outbox item. ",{"type":39,"tag":670,"props":2332,"children":2333},{},[2334,2335,2340],{"type":45,"value":2209},{"type":39,"tag":53,"props":2336,"children":2338},{"className":2337},[],[2339],{"type":45,"value":65},{"type":45,"value":2341}," after writes",{"type":45,"value":2343}," to push to the server.",{"type":39,"tag":47,"props":2345,"children":2346},{},[2347],{"type":45,"value":2348},"Recommended write flow:",{"type":39,"tag":792,"props":2350,"children":2352},{"className":794,"code":2351,"language":796,"meta":797,"style":797},"dayone sync            # 1. pull latest server state\n# ... your write commands ...\ndayone sync            # 2. push queued changes\n# optional: verify with `dayone list ...` or `dayone comment list --refresh`\n",[2353],{"type":39,"tag":53,"props":2354,"children":2355},{"__ignoreMap":797},[2356,2373,2381,2397],{"type":39,"tag":662,"props":2357,"children":2358},{"class":804,"line":805},[2359,2363,2368],{"type":39,"tag":662,"props":2360,"children":2361},{"style":809},[2362],{"type":45,"value":42},{"type":39,"tag":662,"props":2364,"children":2365},{"style":814},[2366],{"type":45,"value":2367}," sync",{"type":39,"tag":662,"props":2369,"children":2370},{"style":894},[2371],{"type":45,"value":2372},"            # 1. pull latest server state\n",{"type":39,"tag":662,"props":2374,"children":2375},{"class":804,"line":820},[2376],{"type":39,"tag":662,"props":2377,"children":2378},{"style":894},[2379],{"type":45,"value":2380},"# ... your write commands ...\n",{"type":39,"tag":662,"props":2382,"children":2383},{"class":804,"line":837},[2384,2388,2392],{"type":39,"tag":662,"props":2385,"children":2386},{"style":809},[2387],{"type":45,"value":42},{"type":39,"tag":662,"props":2389,"children":2390},{"style":814},[2391],{"type":45,"value":2367},{"type":39,"tag":662,"props":2393,"children":2394},{"style":894},[2395],{"type":45,"value":2396},"            # 2. push queued changes\n",{"type":39,"tag":662,"props":2398,"children":2399},{"class":804,"line":921},[2400],{"type":39,"tag":662,"props":2401,"children":2402},{"style":894},[2403],{"type":45,"value":2404},"# optional: verify with `dayone list ...` or `dayone comment list --refresh`\n",{"type":39,"tag":655,"props":2406,"children":2407},{},[2408],{"type":39,"tag":47,"props":2409,"children":2410},{},[2411,2416,2418,2424,2426,2431,2433,2439,2441,2446,2448,2454,2456,2461],{"type":39,"tag":662,"props":2412,"children":2413},{},[2414],{"type":45,"value":2415},"!CAUTION",{"type":45,"value":2417},"\nNewly created journals are assigned a ",{"type":39,"tag":53,"props":2419,"children":2421},{"className":2420},[],[2422],{"type":45,"value":2423},"pending-…",{"type":45,"value":2425}," id until the outbox is flushed. After ",{"type":39,"tag":53,"props":2427,"children":2429},{"className":2428},[],[2430],{"type":45,"value":65},{"type":45,"value":2432}," the server returns a numeric id. Commands scoped by journal (e.g. ",{"type":39,"tag":53,"props":2434,"children":2436},{"className":2435},[],[2437],{"type":45,"value":2438},"list entries --journal-id …",{"type":45,"value":2440},") need the ",{"type":39,"tag":670,"props":2442,"children":2443},{},[2444],{"type":45,"value":2445},"resolved",{"type":45,"value":2447}," id from ",{"type":39,"tag":53,"props":2449,"children":2451},{"className":2450},[],[2452],{"type":45,"value":2453},"list journals",{"type":45,"value":2455},". Using the ",{"type":39,"tag":53,"props":2457,"children":2459},{"className":2458},[],[2460],{"type":45,"value":2423},{"type":45,"value":2462}," id silently returns no rows.",{"type":39,"tag":82,"props":2464,"children":2466},{"id":2465},"output-and-safety-rules",[2467],{"type":45,"value":2468},"Output and safety rules",{"type":39,"tag":686,"props":2470,"children":2471},{},[2472,2484,2506,2542,2602],{"type":39,"tag":690,"props":2473,"children":2474},{},[2475,2477,2482],{"type":45,"value":2476},"Output is JSON-first for every command. Pipe it through ",{"type":39,"tag":53,"props":2478,"children":2480},{"className":2479},[],[2481],{"type":45,"value":1714},{"type":45,"value":2483}," for human reading.",{"type":39,"tag":690,"props":2485,"children":2486},{},[2487,2492,2493,2498,2499,2504],{"type":39,"tag":53,"props":2488,"children":2490},{"className":2489},[],[2491],{"type":45,"value":193},{"type":45,"value":143},{"type":39,"tag":53,"props":2494,"children":2496},{"className":2495},[],[2497],{"type":45,"value":580},{"type":45,"value":2180},{"type":39,"tag":53,"props":2500,"children":2502},{"className":2501},[],[2503],{"type":45,"value":615},{"type":45,"value":2505}," read local SQLite only — they never hit the network.",{"type":39,"tag":690,"props":2507,"children":2508},{},[2509,2511,2517,2518,2524,2526,2532,2534,2540],{"type":45,"value":2510},"Never log or echo ",{"type":39,"tag":53,"props":2512,"children":2514},{"className":2513},[],[2515],{"type":45,"value":2516},"--password",{"type":45,"value":143},{"type":39,"tag":53,"props":2519,"children":2521},{"className":2520},[],[2522],{"type":45,"value":2523},"--key",{"type":45,"value":2525},", encryption keys, or API tokens. Prefer ",{"type":39,"tag":53,"props":2527,"children":2529},{"className":2528},[],[2530],{"type":45,"value":2531},"--password-stdin",{"type":45,"value":2533}," \u002F ",{"type":39,"tag":53,"props":2535,"children":2537},{"className":2536},[],[2538],{"type":45,"value":2539},"--key-stdin",{"type":45,"value":2541}," over the flag forms.",{"type":39,"tag":690,"props":2543,"children":2544},{},[2545,2547,2551,2553],{"type":45,"value":2546},"The CLI does ",{"type":39,"tag":670,"props":2548,"children":2549},{},[2550],{"type":45,"value":1836},{"type":45,"value":2552}," prompt for confirmation on destructive operations. The calling tool MUST require explicit human confirmation before:\n",{"type":39,"tag":686,"props":2554,"children":2555},{},[2556,2565,2573,2582,2591],{"type":39,"tag":690,"props":2557,"children":2558},{},[2559],{"type":39,"tag":53,"props":2560,"children":2562},{"className":2561},[],[2563],{"type":45,"value":2564},"auth logout --force",{"type":39,"tag":690,"props":2566,"children":2567},{},[2568],{"type":39,"tag":53,"props":2569,"children":2571},{"className":2570},[],[2572],{"type":45,"value":2280},{"type":39,"tag":690,"props":2574,"children":2575},{},[2576],{"type":39,"tag":53,"props":2577,"children":2579},{"className":2578},[],[2580],{"type":45,"value":2581},"comment delete",{"type":39,"tag":690,"props":2583,"children":2584},{},[2585],{"type":39,"tag":53,"props":2586,"children":2588},{"className":2587},[],[2589],{"type":45,"value":2590},"context-item delete",{"type":39,"tag":690,"props":2592,"children":2593},{},[2594,2596],{"type":45,"value":2595},"Any command run against a production profile or ",{"type":39,"tag":53,"props":2597,"children":2599},{"className":2598},[],[2600],{"type":45,"value":2601},"--api-host https:\u002F\u002Fdayone.me",{"type":39,"tag":690,"props":2603,"children":2604},{},[2605,2607,2613,2615,2621],{"type":45,"value":2606},"Prefer ",{"type":39,"tag":53,"props":2608,"children":2610},{"className":2609},[],[2611],{"type":45,"value":2612},"--api-host",{"type":45,"value":2614}," for one-off calls and ",{"type":39,"tag":53,"props":2616,"children":2618},{"className":2617},[],[2619],{"type":45,"value":2620},"profile set",{"type":45,"value":2622}," for persistent environment selection.",{"type":39,"tag":2624,"props":2625,"children":2626},"style",{},[2627],{"type":45,"value":2628},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2630,"total":805},[2631],{"slug":4,"name":4,"fn":5,"description":6,"org":2632,"tags":2633,"stars":22,"repoUrl":23,"updatedAt":24},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2634,2635,2636],{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"items":2638,"total":2823},[2639,2658,2677,2690,2707,2722,2736,2751,2768,2777,2792,2808],{"slug":2640,"name":2640,"fn":2641,"description":2642,"org":2643,"tags":2644,"stars":2655,"repoUrl":2656,"updatedAt":2657},"annotate","collect visual feedback with browser annotation tools","Open a browser with visual annotation tools. The user clicks elements on their site and leaves feedback — the agent reads annotations and makes changes. Use this when the user wants to point at specific elements to fix, tweak, or redesign.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2645,2648,2649,2652],{"name":2646,"slug":2647,"type":15},"Frontend","frontend",{"name":13,"slug":14,"type":15},{"name":2650,"slug":2651,"type":15},"UX Copy","ux-copy",{"name":2653,"slug":2654,"type":15},"UX Design","ux-design",484,"https:\u002F\u002Fgithub.com\u002FAutomattic\u002Fstudio","2026-05-06T05:40:01.516544",{"slug":2659,"name":2659,"fn":2660,"description":2661,"org":2662,"tags":2663,"stars":2655,"repoUrl":2656,"updatedAt":2676},"block-content","write editable WordPress block markup","Write editable WordPress block markup for local Studio sites, including core\u002Fhtml limits, block-theme layout rules, full-width sections, validation, and skeleton-first page\u002FCSS recipes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2664,2667,2670,2673],{"name":2665,"slug":2666,"type":15},"Block Editor","block-editor",{"name":2668,"slug":2669,"type":15},"CSS","css",{"name":2671,"slug":2672,"type":15},"HTML","html",{"name":2674,"slug":2675,"type":15},"WordPress","wordpress","2026-08-26T03:36:49.986863",{"slug":2678,"name":2678,"fn":2679,"description":2680,"org":2681,"tags":2682,"stars":2655,"repoUrl":2656,"updatedAt":2689},"hosting-plans-helper","provide WordPress.com hosting plan information","Answer WordPress.com plan, pricing, upgrade, and feature-tier questions (plan names, what each tier unlocks — plugins, themes, custom code, SSH, hosting — and current prices) from authoritative live data. Load before answering ANY plan, pricing, or feature-gating question; never answer these from memory.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2683,2686,2688],{"name":2684,"slug":2685,"type":15},"Pricing","pricing",{"name":115,"slug":2687,"type":15},"reference",{"name":2674,"slug":2675,"type":15},"2026-07-02T07:42:33.654791",{"slug":2691,"name":2691,"fn":2692,"description":2693,"org":2694,"tags":2695,"stars":2655,"repoUrl":2656,"updatedAt":2706},"liberate","migrate websites to WordPress","Import and rebuild a website from a closed platform (Wix, Squarespace, Webflow, Shopify, GoDaddy, Hostinger, HubSpot, Weebly) into a Studio WordPress site. Extracts pages\u002Fposts\u002Fproducts + media, then reconstructs the design as editable blocks + WooCommerce OR as a high-fidelity replica theme. Invoke when the user wants to migrate, import, liberate, or rebuild a site from one of these platforms.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2696,2699,2702,2705],{"name":2697,"slug":2698,"type":15},"CMS","cms",{"name":2700,"slug":2701,"type":15},"Migration","migration",{"name":2703,"slug":2704,"type":15},"Web Development","web-development",{"name":2674,"slug":2675,"type":15},"2026-07-09T06:47:33.454311",{"slug":2708,"name":2708,"fn":2709,"description":2710,"org":2711,"tags":2712,"stars":2655,"repoUrl":2656,"updatedAt":2721},"need-for-speed","run frontend performance audits for WordPress sites","Run a frontend performance audit on a WordPress site and get actionable optimization recommendations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2713,2716,2717,2720],{"name":2714,"slug":2715,"type":15},"Audit","audit",{"name":2646,"slug":2647,"type":15},{"name":2718,"slug":2719,"type":15},"Performance","performance",{"name":2674,"slug":2675,"type":15},"2026-05-06T05:40:06.433267",{"slug":2723,"name":2723,"fn":2724,"description":2725,"org":2726,"tags":2727,"stars":2655,"repoUrl":2656,"updatedAt":2735},"plugin-recommendations","recommend WordPress plugins for site features","Choose recommended plugins and plugin-provided blocks for features core WordPress blocks do not cover - ecommerce (WooCommerce), forms and newsletters (Jetpack), online courses and quizzes (Sensei LMS), polls, surveys and ratings (Crowdsignal), spam protection (Akismet) - while keeping generated content editable and avoiding raw HTML fallbacks. Any request to sell products or build a shop, store, or storefront requires WooCommerce with products.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2728,2731,2734],{"name":2729,"slug":2730,"type":15},"Content Creation","content-creation",{"name":2732,"slug":2733,"type":15},"Plugin Development","plugin-development",{"name":2674,"slug":2675,"type":15},"2026-08-22T03:27:47.937007",{"slug":2737,"name":2737,"fn":2738,"description":2739,"org":2740,"tags":2741,"stars":2655,"repoUrl":2656,"updatedAt":2750},"rank-me-up","run on-page SEO audits for WordPress sites","Run an on-page SEO audit on a WordPress site and get actionable recommendations to improve search visibility.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2742,2743,2746,2749],{"name":2714,"slug":2715,"type":15},{"name":2744,"slug":2745,"type":15},"Marketing","marketing",{"name":2747,"slug":2748,"type":15},"SEO","seo",{"name":2674,"slug":2675,"type":15},"2026-05-06T05:40:05.196367",{"slug":2752,"name":2752,"fn":2753,"description":2754,"org":2755,"tags":2756,"stars":2655,"repoUrl":2656,"updatedAt":2767},"site-spec","gather specifications for new WordPress sites","Gather the site name and layout preference before building a WordPress site. Run this before creating any new site.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2757,2760,2763,2766],{"name":2758,"slug":2759,"type":15},"Design","design",{"name":2761,"slug":2762,"type":15},"Product Management","product-management",{"name":2764,"slug":2765,"type":15},"Specs","specs",{"name":2674,"slug":2675,"type":15},"2026-05-06T05:40:02.739409",{"slug":2769,"name":2769,"fn":2770,"description":2771,"org":2772,"tags":2773,"stars":2655,"repoUrl":2656,"updatedAt":2776},"studio-cli","manage local WordPress sites with Studio CLI","Use the Studio CLI to manage local WordPress sites, authentication, and preview sites. Invoke this skill when you need to run Studio CLI commands, manage sites, or troubleshoot site issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2774,2775],{"name":20,"slug":21,"type":15},{"name":2674,"slug":2675,"type":15},"2026-04-06T18:02:57.150231",{"slug":2778,"name":2778,"fn":2779,"description":2780,"org":2781,"tags":2782,"stars":2655,"repoUrl":2656,"updatedAt":2791},"taxonomist","optimize WordPress category taxonomy","Analyze and optimize a WordPress site's category taxonomy. Exports all posts, uses AI to suggest an improved category structure — merging duplicates, retiring dead categories, creating missing ones, writing descriptions, and re-categorizing posts. Run this when the user wants to clean up or improve their categories.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2783,2786,2789,2790],{"name":2784,"slug":2785,"type":15},"Content Strategy","content-strategy",{"name":2787,"slug":2788,"type":15},"Data Cleaning","data-cleaning",{"name":2747,"slug":2748,"type":15},{"name":2674,"slug":2675,"type":15},"2026-05-06T05:40:03.966799",{"slug":2793,"name":2793,"fn":2794,"description":2795,"org":2796,"tags":2797,"stars":2655,"repoUrl":2656,"updatedAt":2807},"visual-design","plan and execute visual design direction","Plan and execute high-quality visual direction for site creation, redesign, layout, typography, color, motion, and visual polish.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2798,2801,2802,2805],{"name":2799,"slug":2800,"type":15},"Animation","animation",{"name":2758,"slug":2759,"type":15},{"name":2803,"slug":2804,"type":15},"Typography","typography",{"name":2806,"slug":2793,"type":15},"Visual Design","2026-07-24T05:40:57.887452",{"slug":2809,"name":2809,"fn":2810,"description":2811,"org":2812,"tags":2813,"stars":2655,"repoUrl":2656,"updatedAt":2822},"visual-polish","verify and polish website visual design","Verify and polish a built or redesigned site by diagnosing rendered-DOM issues against intent and fixing them in a planned, batched screenshot-and-fix loop.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2814,2817,2818,2821],{"name":2815,"slug":2816,"type":15},"Debugging","debugging",{"name":2646,"slug":2647,"type":15},{"name":2819,"slug":2820,"type":15},"Screenshots","screenshots",{"name":2806,"slug":2793,"type":15},"2026-08-19T03:30:56.578508",85]