Clear History
Changed onClear conversation history — rotates the conversation to a fresh thread (JEEVY-1691a slice 1), so no state channel, queued memory job, or later turn from before the clear reaches the next message.
lifecycle.clear_* tombstones the CURRENT thread and bumps the generation (the write that actually rotates the conversation — fails loud, no silent success). lifecycle.clear_thread_messages on the just-retired old thread stays too (JEEVY-1679's RemoveMessage sentinel, not a plain empty-list write — see that helper's docstring) — belt and braces: harmless once the thread is rotated away from, since nothing resolves to it again. For shop, thread is resolved from session (shop_id + user + instance_id query).
JEEVY-1740: keep_draft_ids, if given, are kept (as project/ quote-owned copies) INSIDE lifecycle._clear, before the tombstone insert — a keep failure means this clear fails closed (nothing tombstoned) rather than silently dropping what the caller asked to keep.
Request
- Base URLhttps://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
Query parameters
Chat instance id (default 'default'). Shop: per-user tab. Estimator/project_manager: additional tabs on the same quote/project.
Draft ids to keep (as project/quote-owned copies, JEEVY-1740) before this clear tombstones their conversation. Omit for today's behavior — a plain clear with nothing kept.
Response
Successful Response
Changes
- info
added the new optional
queryrequest parameterkeep_draft_ids
- info