Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
sessionId | string | required | UUID of the session to rename |
title | string | required | New title. Must be non-empty after trimming whitespace |
options.dir | string | undefined | Project directory path. When omitted, searches all project directories |
tagSession()
Tags a session. Pass null to clear the tag. Repeated calls are safe; the most recent tag wins.
typescript
function tagSession(
sessionId: string,
tag: string | null,
options?: SessionMutationOptions
): Promise<void>;