openclaw/docs/cli
Peter Steinberger 6df0fb818d
feat: add session thread management (#98510)
* feat: add session thread management

Squash of codex/thread-management (025aefc3ad1) onto origin/main:
pin/archive/rename sessions via sessions.patch, archived-aware
sessions.list, lifecycle fencing, read-only archived chat, SDK +
Swift protocol support, Control UI session management.

* refactor(ui): minimal session rows with hover-revealed management

Chat picker and sidebar recents share session-row primitives: single-line
rows, relative timestamps, rename/archive/pin revealed on hover or focus,
accent pin badge for pinned rows, and an active-run spinner in the trail
slot. Sidebar floats pinned sessions above recency via the shared
comparator and gains archive/pin actions through the unified sessions-view
patch fallback. Archive eligibility is one shared policy
(canArchiveSessionRow); the sidebar/picker active-run tooltip now uses the
real sessionsView.activeRun locale key.

* fix: align session admission with mailbox-era main

Integration fixes after rebasing onto current main: sessions_list mailbox
test expectations learn the archived/pinned row fields and archived:false
list param; gateway agent admission treats a session as deleted only when
both the requested and canonical alias sets miss it (legacy bare-main
stores and exec-approval followups read under different spellings); cron
persist tests keep a consistent store across claim-guarded persist calls;
the ACP abort hook test asserts abort propagation instead of signal
identity; drop dead lifecycle writes flagged by no-useless-assignment and
fix the promise-executor return in the codex compact test.

* fix(qa): align UI e2e and shard fixtures with redesigned session rows

Sidebar session rows are wrapper divs with an inner link now: update the
navigation browser tests and chat-flow Playwright selectors. Seed a real
per-test session store for the auto-fallback admission guard instead of
depending on leftover host files at /tmp/sessions.json. Teach the
test-projects routing fixture about the suites that newly import the
shared temp-dir helper. Document the Codex thread-format contract for
archivedAt/pinnedAt (flag derived from server-stamped timestamp, epoch ms
here vs Codex epoch seconds) at the type and in the session docs.

* test: route auto-fallback suite through temp-dir helper plans

The auto-fallback suite now imports the shared temp-dir helper for its
seeded session store, so the top-level helper routing fixture must list
it in the auto-reply plan.
2026-07-04 14:30:47 -04:00
..
acp.md fix(acp): keep bridge sessions out of stale ACP classification [AI-assisted] (#93573) 2026-06-16 18:39:53 +08:00
agent.md feat(cli): add --message-file to openclaw agent 2026-06-22 20:13:57 +08:00
agents.md docs: document local avatar file size limit (#78884) 2026-06-23 02:17:04 +00:00
approvals.md fix(exec): honor state dir approvals (#92056) 2026-06-11 09:30:56 +09:00
attach.md feat(cli): add attach launcher (#96454) 2026-07-01 15:52:39 -07:00
backup.md docs: absorb documentation PR sweep 2026-05-23 10:23:34 +01:00
browser.md docs(browser): clarify networkidle session support (#94020) 2026-06-19 11:53:07 +01:00
channels.md
clawbot.md
commitments.md
completion.md
config.md docs(cli): clarify strict json parsing (#80981) 2026-06-28 14:19:19 -07:00
configure.md Streamline OpenClaw onboarding (#98218) 2026-06-30 11:22:26 -07:00
crestodian.md feat: add Claude Opus 4.8 support (#87890) 2026-05-29 06:10:42 +01:00
cron.md fix(cron): clear agentTurn thinking override by blanking the field (#96293) 2026-06-30 17:43:22 -07:00
daemon.md fix(cli): clarify safe restart bounded-then-force behavior in help and docs 2026-06-28 19:18:13 -07:00
dashboard.md
devices.md fix(gateway): require admin for device role approvals (#87146) 2026-05-27 08:08:51 -07:00
directory.md feat(signal): add target aliases (#95738) 2026-07-03 23:40:10 +10:00
dns.md
docs.md fix(docs): use Cloudflare docs search API 2026-05-27 00:58:09 +01:00
doctor.md Doctor: add lint --all (#96471) 2026-06-25 22:26:42 -07:00
flows.md
gateway.md fix(gateway): emit stale exec approval followup diagnostics (#98293) 2026-07-01 05:20:53 +01:00
health.md
hooks.md
index.md feat(cli): add attach launcher (#96454) 2026-07-01 15:52:39 -07:00
infer.md fix: retry image describe fallback models (#98347) 2026-07-01 04:00:39 +00:00
logs.md fix(cli): retry logs.tail after journal fallback in logs follow (#88159) 2026-07-01 06:55:11 -07:00
mcp.md fix(mcp): require owner for Claude permission replies (#98256) 2026-06-30 13:58:02 -07:00
memory.md fix(memory): require privileged dreaming config changes (#97869) 2026-06-29 13:03:22 -07:00
message.md
migrate.md revert(codex): revert first-party marketplace allowlist 2026-06-03 15:35:35 -07:00
models.md refactor: unify OpenAI provider identity (#88451) 2026-05-31 00:29:44 +01:00
node.md feat(node): add gateway context path support 2026-07-01 03:58:47 -07:00
nodes.md fix(gateway): remove device-backed node pairings (#90373) 2026-06-19 22:04:16 +01:00
onboard.md docs(cli): correct bare openclaw routing in onboard reference 2026-07-04 19:11:11 +01:00
pairing.md
path.md fix(oc-path): support deep config edits (#86060) 2026-05-24 18:10:02 -07:00
plugins.md Add marketplace feed entries command (#96158) 2026-06-28 14:11:29 -07:00
policy.md feat(policy): cover exec approvals artifact (#90003) 2026-06-15 17:30:48 -07:00
proxy.md
qr.md feat: pair mobile devices from the Control UI (#94672) 2026-07-04 12:41:14 -04:00
reset.md
sandbox.md refactor: store sandbox registry in sqlite 2026-06-07 02:05:28 -07:00
secrets.md
security.md fix(security): audit open dm tool exposure (#92883) 2026-06-16 14:38:39 +08:00
sessions.md feat: add session thread management (#98510) 2026-07-04 14:30:47 -04:00
setup.md Streamline OpenClaw onboarding (#98218) 2026-06-30 11:22:26 -07:00
skills.md fix: rebase clawhub install trust (#81364) 2026-06-26 18:33:19 +10:00
status.md fix(status): correct pinned model clear hint (#93231) 2026-06-15 10:15:54 +00:00
system.md
tasks.md
transcripts.md refactor: move transcripts into core 2026-05-26 14:51:11 +01:00
tui.md fix: gate tui host footer behind config 2026-06-09 17:35:03 +01:00
uninstall.md fix: preserve workspaces during state-only uninstall 2026-05-31 19:54:34 +01:00
update.md fix: rebase clawhub install trust (#81364) 2026-06-26 18:33:19 +10:00
voicecall.md
webhooks.md
wiki.md feat(memory-wiki): import OKF bundles 2026-06-13 19:27:52 +08:00
workboard.md fix(workboard): hide archived cards in CLI list by default (#94562) 2026-06-24 10:57:06 +08:00