openclaw/docs/reference
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
..
templates docs: add existing-solutions preflight guardrail (#86608) 2026-06-22 17:17:48 +00:00
AGENTS.default.md docs: add existing-solutions preflight guardrail (#86608) 2026-06-22 17:17:48 +00:00
api-usage-costs.md feat(firecrawl): add keyless scrape support (#94551) 2026-06-19 00:23:41 +08:00
application-modernization-plan.md docs(reference): audit and fix 4 pages (typography, dup H1, Related) 2026-05-05 21:56:31 -07:00
code-mode.md refactor(agents): delete unused helper paths 2026-06-17 19:11:20 +08:00
credits.md docs(reference): audit and fix 4 pages (typography, dup H1, Related) 2026-05-05 21:56:31 -07:00
device-models.md docs: drop parenthetical H1s across gateway, channels, providers, concepts, and reference pages 2026-04-24 10:49:23 -07:00
full-release-validation.md fix(ci): deduplicate release Telegram validation 2026-06-21 12:24:15 +08:00
memory-config.md fix(doctor): warn and document QMD session recall gates (#80947) 2026-06-28 13:55:27 -07:00
prompt-caching.md fix(usage): tidy compact footer defaults 2026-07-01 09:59:37 -07:00
release-performance-sweep.md docs: trim release performance report tail 2026-05-30 22:54:35 +01:00
RELEASING.md feat(release): add monthly npm extended-stable publication (#99352) 2026-07-04 08:22:39 -07:00
rich-output-protocol.md refactor: route browser screenshot vision through shared media understanding 2026-05-31 00:00:19 +01:00
rpc.md docs(imessage): make imsg the supported setup path 2026-05-07 12:53:01 -07:00
secret-placeholder-conventions.md fix(ci): clear signal and docs guard blockers (#85693) 2026-05-23 18:27:12 +08:00
secretref-credential-surface.md [codex] Add Slack relay mode for incoming messages (#94707) 2026-06-21 11:28:33 -07:00
secretref-user-supplied-credentials-matrix.json [codex] Add Slack relay mode for incoming messages (#94707) 2026-06-21 11:28:33 -07:00
session-management-compaction.md feat: add session thread management (#98510) 2026-07-04 14:30:47 -04:00
test.md test: clarify delegated Testbox proof status 2026-06-27 23:53:52 +01:00
token-use.md fix(usage): tidy compact footer defaults 2026-07-01 09:59:37 -07:00
transcript-hygiene.md fix(agents): drop incomplete reasoning replay turns (#88656) 2026-06-14 07:02:03 -07:00
wizard.md feat(minimax): add m3 model support (#88860) 2026-05-31 21:47:47 -04:00