@design.estate/dees-catalog 24.7.1 → 24.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist_bundle/bundle.js +9 -7
  2. package/dist_bundle/bundle.js.map +1 -1
  3. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-YCMGTVXR.js → chunk-2G2FY5BM.js} +2 -2
  4. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-3CEGXWBQ.js → chunk-BND2OLMT.js} +3 -3
  5. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-UMC4X5JL.js → chunk-XWSU4WI2.js} +5 -4
  6. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-UMC4X5JL.js.map → chunk-XWSU4WI2.js.map} +1 -1
  7. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-WDLFKPER.js → de-I3GM2MTM.js} +3 -2
  8. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-WDLFKPER.js.map → de-I3GM2MTM.js.map} +1 -1
  9. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-GOU3ZU3B.js → dees-modal-6ODTVOPW.js} +3 -3
  10. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-X43COPAD.js → dees-workspace-terminal-7SURSDIV.js} +4 -4
  11. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{es-DQCJVY2B.js → es-DHTKD6BL.js} +3 -2
  12. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{es-DQCJVY2B.js.map → es-DHTKD6BL.js.map} +1 -1
  13. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{fr-UU7FTQ55.js → fr-VE4I3OE3.js} +3 -2
  14. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{fr-UU7FTQ55.js.map → fr-VE4I3OE3.js.map} +1 -1
  15. package/dist_ts_web/00_commitinfo_data.js +1 -1
  16. package/dist_ts_web/elements/00group-harness/dees-harness-message/dees-harness-message.demo.js +2 -1
  17. package/dist_ts_web/elements/00group-harness/dees-harness-message/dees-harness-message.js +2 -1
  18. package/dist_ts_web/elements/00group-harness/interfaces.d.ts +4 -1
  19. package/dist_ts_web/i18n/de.d.ts +4 -0
  20. package/dist_ts_web/i18n/de.js +2 -1
  21. package/dist_ts_web/i18n/es.d.ts +4 -0
  22. package/dist_ts_web/i18n/es.js +2 -1
  23. package/dist_ts_web/i18n/fr.d.ts +4 -0
  24. package/dist_ts_web/i18n/fr.js +2 -1
  25. package/dist_ts_web/i18n/messages.d.ts +4 -0
  26. package/dist_ts_web/i18n/messages.js +2 -1
  27. package/package.json +1 -1
  28. package/readme.md +2 -2
  29. package/ts_web/00_commitinfo_data.ts +1 -1
  30. package/ts_web/elements/00group-harness/dees-harness-message/dees-harness-message.demo.ts +1 -0
  31. package/ts_web/elements/00group-harness/dees-harness-message/dees-harness-message.ts +1 -0
  32. package/ts_web/elements/00group-harness/interfaces.ts +4 -1
  33. package/ts_web/i18n/de.ts +1 -0
  34. package/ts_web/i18n/es.ts +1 -0
  35. package/ts_web/i18n/fr.ts +1 -0
  36. package/ts_web/i18n/messages.ts +1 -0
  37. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-YCMGTVXR.js.map → chunk-2G2FY5BM.js.map} +0 -0
  38. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-3CEGXWBQ.js.map → chunk-BND2OLMT.js.map} +0 -0
  39. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-GOU3ZU3B.js.map → dees-modal-6ODTVOPW.js.map} +0 -0
  40. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-X43COPAD.js.map → dees-workspace-terminal-7SURSDIV.js.map} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design.estate/dees-catalog",
3
- "version": "24.7.1",
3
+ "version": "24.8.0",
4
4
  "private": false,
5
5
  "description": "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.",
6
6
  "main": "dist_ts_web/index.js",
package/readme.md CHANGED
@@ -6575,7 +6575,7 @@ Set `groupWork` and each run of a turn's work folds into one line, a [DeesHarnes
6575
6575
 
6576
6576
  The empty transcript shows `emptyTitle` and `emptyText` (else the catalog's "No messages yet" and "Start a conversation to see it here.") and the starter prompts in a box that is the stable CSS part `empty`, a grid that centres them; a host can place them through `::part(empty)`.
6577
6577
 
6578
- A `role: 'user'` message with `pending` set has not been taken in by the session yet, and waits in a queue under the working indicator instead of in the transcript: a thin rule either side of a centred "Pending" label in caption size and muted text, then the waiting messages in the order they were sent, each in its ordinary bubble with a line that says where it stands (see `DeesHarnessMessage`), all on the status line's measure. `pending` is a `THarnessPendingState`: `'submitting'` (a local submission in flight, not yet durably acknowledged; no queue admission claimed), `'steering'` (handed to the running turn, read at its next step), `'queued'` (confirmed to wait for the next turn), `'uncertain'` (delivery attempted but unconfirmed), or `'held'` (not sent: the run was stopped before the session took it in). A held message offers **Resend** and **Discard**, which emit `harness-held-resend` and `harness-held-discard` with `{ messageId }` (`IHarnessHeldMessageDetail`), bubbling and composed out of the list and the chat; the host sends it again (setting `'queued'` or `'steering'`) or removes it. Nothing held is ever sent on its own. `heldActions` (`THarnessHeldAction[]`: `'resend'`, `'discard'`) on the message states which of the two a held or uncertain message offers; set `heldActions: ['discard']` on an uncertain message to let the reader drop it without offering a resend that could deliver it twice (see `DeesHarnessMessage`). Without a status line the queue sits directly under the transcript, still under its divider. It is never virtualized: it is the bottom that auto-follow keeps in view. A message joining the queue arrives like a row, and the divider arrives with the first. When the host clears `pending` on the same `id` — by passing the message again without it, or by mutating the shared object and calling `refreshMessages([id])` — the message glides from its slot to its place in the transcript in one motion on `--dees-transition-slow` with `--dees-ease-standard`, while the working indicator, the divider and the rest of the queue travel with it; what waited below it stays where it is (the slot keeps showing the state line the message waited with while it closes, so it gives that line's space back too, and under a followed bottom the transcript settles down by it), and the divider closes its space and blends out with the last message to leave. Its place is chronological like any message's, by `order` or `createdAt`, so a host that delivers queued prompts when the running turn ends stamps them then, and they land at the tail rather than among that turn's output. Taking a message up keeps a pinned transcript pinned and an unpinned reader's anchor still, virtualized or not. Once the message has landed it sweeps its acceptance scan, never over the glide (see `DeesHarnessMessage`). A message taken up while it still arrives in the queue finishes arriving first. Under reduced motion the message is simply in its place, with neither glide nor sweep; a browser without keyword size interpolation places it at once and sweeps; where the list is not rendered — hidden, or skipped by `content-visibility` — or cannot tell (no `Element.checkVisibility`), it is simply in its place. A message the host removes from the queue just goes. The composer's `queuedCount` stays host-driven. Subagent rows have no body at all: activating one opens its thread in the fullscreen view, exactly like opening it from the sidebar, and the transcript stays where it was. The docked composer is a card on the same measure, floating on the chat's own surface, so the prompt lines up with the messages above it. The status line under the transcript sits on that measure too, so the working indicator starts where the messages start rather than at the pane edge. Set the custom property on the chat or the list to widen or disable the column; it is read when rows are measured, so change it at mount rather than while a virtualized transcript is scrolled. Nothing opens or closes on its own: a reader's disclosure is kept in the retained view state and survives status changes, eviction and remounting. Auto-follow responds to streamed growth but does not repeatedly repin while a disclosure shrinks. Permission requests and questions behave as before. Props: `messages`, `permissions`/`permissionsBusy`, `questions`, `elicitations`, `status`, `viewState`, `transcriptKey`, `hasEarlierMessages`, `loadingEarlier`, `autoFollow`, `hideScrollbar`, `fadeScrollEdges`, `showRoles`, `showTimestamps`, `markdownWhileStreaming` (default `true`), `emptyTitle`/`emptyText` (+ `slot="empty"`), `starterPrompts`. `starterPrompts` (`IHarnessStarterPrompt[]`) renders as buttons under the empty transcript's text; choosing one emits the bubbling, composed `harness-starter-prompt` with `IHarnessStarterPromptDetail` `{ prompt }` (its `prompt`, else its `label`) and sends nothing. They belong to the default empty content, so content assigned to `slot="empty"` replaces them. Native browser find and selection cover the mounted window; hosts that require complete-history search or copy should operate on their canonical `messages`, `permissions`, and `questions` models.
6578
+ A `role: 'user'` message with `pending` set has not been taken in by the session yet, and waits in a queue under the working indicator instead of in the transcript: a thin rule either side of a centred "Pending" label in caption size and muted text, then the waiting messages in the order they were sent, each in its ordinary bubble with a line that says where it stands (see `DeesHarnessMessage`), all on the status line's measure. `pending` is a `THarnessPendingState`: `'submitting'` (a local submission in flight, not yet durably acknowledged; no queue admission claimed), `'steering'` (handed to the running turn, read at its next step), `'queued'` (confirmed to wait for the next turn), `'syncing'` (durable settlement receipt received, exact message not yet observed in canonical conversation history), `'uncertain'` (delivery attempted but unconfirmed), or `'held'` (not sent: the run was stopped before the session took it in). A held message offers **Resend** and **Discard**, which emit `harness-held-resend` and `harness-held-discard` with `{ messageId }` (`IHarnessHeldMessageDetail`), bubbling and composed out of the list and the chat; the host sends it again (setting `'queued'` or `'steering'`) or removes it. Nothing held is ever sent on its own. `heldActions` (`THarnessHeldAction[]`: `'resend'`, `'discard'`) on the message states which of the two a held or uncertain message offers; set `heldActions: ['discard']` on an uncertain message to let the reader drop it without offering a resend that could deliver it twice (see `DeesHarnessMessage`). Without a status line the queue sits directly under the transcript, still under its divider. It is never virtualized: it is the bottom that auto-follow keeps in view. A message joining the queue arrives like a row, and the divider arrives with the first. When the host clears `pending` on the same `id` — by passing the message again without it, or by mutating the shared object and calling `refreshMessages([id])` — the message glides from its slot to its place in the transcript in one motion on `--dees-transition-slow` with `--dees-ease-standard`, while the working indicator, the divider and the rest of the queue travel with it; what waited below it stays where it is (the slot keeps showing the state line the message waited with while it closes, so it gives that line's space back too, and under a followed bottom the transcript settles down by it), and the divider closes its space and blends out with the last message to leave. Its place is chronological like any message's, by `order` or `createdAt`, so a host that delivers queued prompts when the running turn ends stamps them then, and they land at the tail rather than among that turn's output. Taking a message up keeps a pinned transcript pinned and an unpinned reader's anchor still, virtualized or not. Once the message has landed it sweeps its acceptance scan, never over the glide (see `DeesHarnessMessage`). A message taken up while it still arrives in the queue finishes arriving first. Under reduced motion the message is simply in its place, with neither glide nor sweep; a browser without keyword size interpolation places it at once and sweeps; where the list is not rendered — hidden, or skipped by `content-visibility` — or cannot tell (no `Element.checkVisibility`), it is simply in its place. A message the host removes from the queue just goes. The composer's `queuedCount` stays host-driven. Subagent rows have no body at all: activating one opens its thread in the fullscreen view, exactly like opening it from the sidebar, and the transcript stays where it was. The docked composer is a card on the same measure, floating on the chat's own surface, so the prompt lines up with the messages above it. The status line under the transcript sits on that measure too, so the working indicator starts where the messages start rather than at the pane edge. Set the custom property on the chat or the list to widen or disable the column; it is read when rows are measured, so change it at mount rather than while a virtualized transcript is scrolled. Nothing opens or closes on its own: a reader's disclosure is kept in the retained view state and survives status changes, eviction and remounting. Auto-follow responds to streamed growth but does not repeatedly repin while a disclosure shrinks. Permission requests and questions behave as before. Props: `messages`, `permissions`/`permissionsBusy`, `questions`, `elicitations`, `status`, `viewState`, `transcriptKey`, `hasEarlierMessages`, `loadingEarlier`, `autoFollow`, `hideScrollbar`, `fadeScrollEdges`, `showRoles`, `showTimestamps`, `markdownWhileStreaming` (default `true`), `emptyTitle`/`emptyText` (+ `slot="empty"`), `starterPrompts`. `starterPrompts` (`IHarnessStarterPrompt[]`) renders as buttons under the empty transcript's text; choosing one emits the bubbling, composed `harness-starter-prompt` with `IHarnessStarterPromptDetail` `{ prompt }` (its `prompt`, else its `label`) and sends nothing. They belong to the default empty content, so content assigned to `slot="empty"` replaces them. Native browser find and selection cover the mounted window; hosts that require complete-history search or copy should operate on their canonical `messages`, `permissions`, and `questions` models.
6579
6579
 
6580
6580
  #### `DeesHarnessMessage`
6581
6581
 
@@ -6585,7 +6585,7 @@ For a queued or held user prompt the host can still withdraw, set `pendingAction
6585
6585
 
6586
6586
  Image attachments with inline `dataBase64` open in a `DeesModal` on click. When an image has metadata only, pass `.resolveAttachment` to `dees-harness-chat`, `dees-harness-message-list`, or the message itself. The `THarnessAttachmentResolver` receives `{ messageId, attachmentId }` and returns a complete `IHarnessAttachment` with the image's `dataBase64` after the host authorizes and reads it. The modal shows loading and read failure; closing it, unmounting the message, or replacing the message ignores a late result. The component accepts image bytes only, never a URL or filesystem path.
6587
6587
 
6588
- One message: role accent, markdown (assistant default, `message.markdown` overrides), attachments grid, reasoning parts, streaming cursor, usage/error footer. Markdown renders through `domtools.plugins.smartmarkdown` (GFM, sanitized) with `harnessMarkdownRenderOptions`: a line break the model wrote is a line break (`breaks: true`), so a finished reply keeps the lines it streamed with, and `---` blocks at a reply's start are its text, never frontmatter (`frontmatter: false`). `markdownWhileStreaming` defaults to `true`, with throttled ≥150 ms re-parses while streaming; set it to `false` to retain plain text during the stream and parse once when the message ends. Fenced code is highlighted lazily after the final parse. Streaming methods: `appendTextDelta()`, `appendReasoningDelta()`, `endReasoning()`, `endStream(usage?, error?)`. A message that carries nothing but a tool call renders the bare row instead of the message frame, forwards `showTimestamp` to it, and reserves one line while virtualized when the transcript marks it with `data-tool-row`. A `role: 'user'` message carries `pending` (`THarnessPendingState`) while the session has not taken it in yet. The transcript list shows such a message in its queue (see `DeesHarnessMessageList`), and the element renders it like any other user message with one caption line under its content, exposed as a `role="status"` label: "Submitting…" (`'submitting'`), "Steering · read at the next step" (`'steering'`), "Queued for the next turn" (`'queued'`), "Delivery unconfirmed" (`'uncertain'`), or "Held · not sent" with **Resend** and **Discard** buttons (`'held'`), which emit `harness-held-resend` and `harness-held-discard` with `{ messageId }`, bubbling and composed. A submitting message offers no resend, discard, edit or retract actions, even when action capabilities are set; keep its existing `id` when acknowledgement changes it to `queued` or `steering`, and clear `pending` only when the session takes it in. A known refusal can be `held` with a separate `error`; an unconfirmed delivery is `uncertain`, not `queued`. The message's `heldActions` (`THarnessHeldAction[]`) states which buttons a held or uncertain message shows, always Resend before Discard; left out, a held message shows both and an uncertain one none, and in any other state it is ignored. `heldActions: ['discard']` on an uncertain message shows **Discard** alone, after "A resend could deliver it twice", since the prompt may already have reached the session; a held message the host lets the reader only discard shows Discard with no such note. A button pressed after the message stopped offering its action emits nothing. The line is gone once `pending` is cleared, and another role never shows it. `playAcceptanceSweep()` sweeps a scan across a user bubble once to mark that the session took it up: the former tool-card outcome scan in `--dees-color-accent-primary`, a band moving on `transform` alone, clipped to the bubble's rounded box, with nothing laid out anew and nothing clipped at rest. The transcript list calls it once a message it moved out of the queue has landed; a host that shows a message on its own calls it when the session takes the prompt up. It does nothing for another role or under `prefers-reduced-motion: reduce`, a sweep already playing plays on, and a new `id` ends it. A sweep that starts where nobody can see it — a row `content-visibility` skips, a hidden list, a background tab — still ends on schedule and never plays late. A block that appears in a message already shown — the thinking block as reasoning starts, the reply's text after it, attachments, a tool call beside text, the error and the usage footer as the stream ends — opens its space and then blends in, exactly like a transcript row, and takes no space on its first frame; later reasoning parts and streamed text grow the block they belong to instead. Nothing arrives on a first render, while `entering` is set (the list sets it while the message's row opens its space, so a block comes with the row), under reduced motion, or where the message is not rendered, and an engine without `Element.checkVisibility` shows the blocks without motion. Subtask activation emits the bubbling, composed, cancelable `harness-subtask-open` event with `{ sessionId, call }` before any inspector opens.
6588
+ One message: role accent, markdown (assistant default, `message.markdown` overrides), attachments grid, reasoning parts, streaming cursor, usage/error footer. Markdown renders through `domtools.plugins.smartmarkdown` (GFM, sanitized) with `harnessMarkdownRenderOptions`: a line break the model wrote is a line break (`breaks: true`), so a finished reply keeps the lines it streamed with, and `---` blocks at a reply's start are its text, never frontmatter (`frontmatter: false`). `markdownWhileStreaming` defaults to `true`, with throttled ≥150 ms re-parses while streaming; set it to `false` to retain plain text during the stream and parse once when the message ends. Fenced code is highlighted lazily after the final parse. Streaming methods: `appendTextDelta()`, `appendReasoningDelta()`, `endReasoning()`, `endStream(usage?, error?)`. A message that carries nothing but a tool call renders the bare row instead of the message frame, forwards `showTimestamp` to it, and reserves one line while virtualized when the transcript marks it with `data-tool-row`. A `role: 'user'` message carries `pending` (`THarnessPendingState`) while the session has not taken it in yet. The transcript list shows such a message in its queue (see `DeesHarnessMessageList`), and the element renders it like any other user message with one caption line under its content, exposed as a `role="status"` label: "Submitting…" (`'submitting'`), "Steering · read at the next step" (`'steering'`), "Queued for the next turn" (`'queued'`), "Syncing conversation history…" (`'syncing'`), "Delivery unconfirmed" (`'uncertain'`), or "Held · not sent" with **Resend** and **Discard** buttons (`'held'`), which emit `harness-held-resend` and `harness-held-discard` with `{ messageId }`, bubbling and composed. Submitting and syncing messages offer no resend, discard, edit or retract actions, even when action capabilities are set; keep its existing `id` when acknowledgement changes it to `queued` or `steering`, and clear `pending` only when the session takes it in. A known refusal can be `held` with a separate `error`; an unconfirmed delivery is `uncertain`, not `queued`. The message's `heldActions` (`THarnessHeldAction[]`) states which buttons a held or uncertain message shows, always Resend before Discard; left out, a held message shows both and an uncertain one none, and in any other state it is ignored. `heldActions: ['discard']` on an uncertain message shows **Discard** alone, after "A resend could deliver it twice", since the prompt may already have reached the session; a held message the host lets the reader only discard shows Discard with no such note. A button pressed after the message stopped offering its action emits nothing. The line is gone once `pending` is cleared, and another role never shows it. `playAcceptanceSweep()` sweeps a scan across a user bubble once to mark that the session took it up: the former tool-card outcome scan in `--dees-color-accent-primary`, a band moving on `transform` alone, clipped to the bubble's rounded box, with nothing laid out anew and nothing clipped at rest. The transcript list calls it once a message it moved out of the queue has landed; a host that shows a message on its own calls it when the session takes the prompt up. It does nothing for another role or under `prefers-reduced-motion: reduce`, a sweep already playing plays on, and a new `id` ends it. A sweep that starts where nobody can see it — a row `content-visibility` skips, a hidden list, a background tab — still ends on schedule and never plays late. A block that appears in a message already shown — the thinking block as reasoning starts, the reply's text after it, attachments, a tool call beside text, the error and the usage footer as the stream ends — opens its space and then blends in, exactly like a transcript row, and takes no space on its first frame; later reasoning parts and streamed text grow the block they belong to instead. Nothing arrives on a first render, while `entering` is set (the list sets it while the message's row opens its space, so a block comes with the row), under reduced motion, or where the message is not rendered, and an engine without `Element.checkVisibility` shows the blocks without motion. Subtask activation emits the bubbling, composed, cancelable `harness-subtask-open` event with `{ sessionId, call }` before any inspector opens.
6589
6589
 
6590
6590
  `refreshMessage()` reconciles direct same-object host mutations across text, reasoning, and tool content.
6591
6591
 
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-catalog',
6
- version: '24.7.1',
6
+ version: '24.8.0',
7
7
  description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
8
8
  }
@@ -113,6 +113,7 @@ export const demoFunc = () => demoPage('Messages', 'Conversation turns, model de
113
113
  ['submitting', 'Inspect the route manifest before changing the cache key.'],
114
114
  ['steering', 'Use the route manifest hash for the cache key.'],
115
115
  ['queued', 'Then run the sitemap tests again.'],
116
+ ['syncing', 'Confirm the sitemap result in the conversation history.'],
116
117
  ['uncertain', 'Check the CDN purge log as well.'],
117
118
  ['held', 'Also bump the cache version.'],
118
119
  ] as const).map(([pending, text]) => html`
@@ -90,6 +90,7 @@ const pendingStates = {
90
90
  submitting: { icon: 'lucide:Clock', label: 'message.pendingSubmitting' },
91
91
  steering: { icon: 'lucide:CornerDownRight', label: 'message.pendingSteering' },
92
92
  queued: { icon: 'lucide:Clock', label: 'message.pendingQueued' },
93
+ syncing: { icon: 'lucide:RefreshCw', label: 'message.pendingSyncing' },
93
94
  uncertain: { icon: 'lucide:CircleHelp', label: 'message.pendingUncertain' },
94
95
  held: { icon: 'lucide:CirclePause', label: 'message.pendingHeld' },
95
96
  } as const satisfies Record<THarnessPendingState, { icon: string; label: string }>;
@@ -20,6 +20,9 @@ export type THarnessRole = 'user' | 'assistant' | 'system' | 'tool';
20
20
  * next turn's input.
21
21
  * - `queued`: confirmed to wait for the next turn, behind the running turn (the host's queue,
22
22
  * or a harness that reads messages only between turns).
23
+ * - `syncing`: the host has a durable settlement receipt, but has not yet observed the exact
24
+ * message in canonical conversation history. Neither admission nor rejection is proved by the
25
+ * receipt alone; the host retains this message until it reconciles that history.
23
26
  * - `uncertain`: dispatch was attempted, but the host cannot confirm whether the harness took it.
24
27
  * The host retains the prompt until it can reconcile the outcome; it cannot be withdrawn, and a
25
28
  * resend could deliver it twice. A host that can let the reader drop it lists `'discard'` in
@@ -28,7 +31,7 @@ export type THarnessRole = 'user' | 'assistant' | 'system' | 'tool';
28
31
  * reader to resend it (`harness-held-resend`) or discard it (`harness-held-discard`) and is
29
32
  * never sent on its own.
30
33
  */
31
- export type THarnessPendingState = 'submitting' | 'steering' | 'queued' | 'uncertain' | 'held';
34
+ export type THarnessPendingState = 'submitting' | 'steering' | 'queued' | 'syncing' | 'uncertain' | 'held';
32
35
 
33
36
  /**
34
37
  * What the reader can do with a held or unconfirmed user message (`IHarnessMessage.heldActions`):
package/ts_web/i18n/de.ts CHANGED
@@ -1354,6 +1354,7 @@ export default dcMessages.translation('de', {
1354
1354
  'message.pendingSubmitting': 'Wird übermittelt…',
1355
1355
  'message.pendingSteering': 'Steuert · wird beim nächsten Schritt gelesen',
1356
1356
  'message.pendingQueued': 'Für den nächsten Lauf eingereiht',
1357
+ 'message.pendingSyncing': 'Gesprächsverlauf wird abgeglichen…',
1357
1358
  'message.pendingUncertain': 'Zustellung unbestätigt',
1358
1359
  'message.pendingHeld': 'Zurückgehalten · nicht gesendet',
1359
1360
  'message.resendUnconfirmed': 'Erneutes Senden könnte sie doppelt zustellen',
package/ts_web/i18n/es.ts CHANGED
@@ -1282,6 +1282,7 @@ export default dcMessages.translation('es', {
1282
1282
  'message.pendingSubmitting': 'Enviando…',
1283
1283
  'message.pendingSteering': 'Dirigiendo · se leerá en el siguiente paso',
1284
1284
  'message.pendingQueued': 'En cola para el siguiente turno',
1285
+ 'message.pendingSyncing': 'Sincronizando el historial de la conversación…',
1285
1286
  'message.pendingUncertain': 'Entrega sin confirmar',
1286
1287
  'message.pendingHeld': 'Retenido · no enviado',
1287
1288
  'message.resendUnconfirmed': 'Reenviarlo podría entregarlo dos veces',
package/ts_web/i18n/fr.ts CHANGED
@@ -1282,6 +1282,7 @@ export default dcMessages.translation('fr', {
1282
1282
  'message.pendingSubmitting': 'Envoi en cours…',
1283
1283
  'message.pendingSteering': 'Orientation · lu à la prochaine étape',
1284
1284
  'message.pendingQueued': 'En attente du prochain tour',
1285
+ 'message.pendingSyncing': 'Synchronisation de l’historique de la conversation…',
1285
1286
  'message.pendingUncertain': 'Remise non confirmée',
1286
1287
  'message.pendingHeld': 'Retenu · non envoyé',
1287
1288
  'message.resendUnconfirmed': 'Un nouvel envoi pourrait le remettre deux fois',
@@ -1416,6 +1416,7 @@ export const dcMessages = plugins.smarti18n.defineCatalog({
1416
1416
  'message.pendingSubmitting': { message: 'Submitting…', description: 'A local prompt submission is in flight and has not yet been durably acknowledged; it is not confirmed queued.' },
1417
1417
  'message.pendingSteering': { message: 'Steering · read at the next step', description: 'Said on a message handed to the running turn that it has not read yet.' },
1418
1418
  'message.pendingQueued': { message: 'Queued for the next turn', description: 'Said on a message that waits for the next turn.' },
1419
+ 'message.pendingSyncing': { message: 'Syncing conversation history…', description: 'The host has a durable settlement receipt but has not yet observed this exact message in canonical history.' },
1419
1420
  'message.pendingUncertain': { message: 'Delivery unconfirmed', description: 'Said when the host cannot confirm whether an attempted prompt reached the harness.' },
1420
1421
  'message.pendingHeld': { message: 'Held · not sent', description: 'Said on a message that was not sent because the run was stopped.' },
1421
1422
  'message.resendUnconfirmed': { message: 'A resend could deliver it twice', description: 'Said beside Discard on a prompt whose delivery is unconfirmed, to say why it offers no Resend.' },