@theoremjs/react 0.3.5-next.1007.g0511d99 → 0.3.5-next.1009.g7c07ce6

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.
package/README.md CHANGED
@@ -606,7 +606,7 @@ The composer bar has a selector for the model, its effort, and each option. When
606
606
 
607
607
  A tool call that runs on in the background after its reply ends shows as running, with "⋅ running in the background" after its name (`@theorem.transcript.tool_background`). The words go when the call's end reaches the transcript.
608
608
 
609
- A failed tool call in `ChatTranscript` shows its failure in the person's wording: the row shows the failure's `error`, or "Failed" (`@theorem.transcript.tool_failed`) when it has none. The message the model read shows only in the call's details, with its `code`, `kind`, and `details`.
609
+ A failed tool call in `ChatTranscript` shows its failure in the person's wording: the row shows the failure's `error`, which the server words in the profile's labels. The message the model read shows only in the call's details, with its `code`, `kind`, and `details`.
610
610
 
611
611
  `ChatTranscript` places `citation` blocks after the answer text by default (the Sources strip under the prose). Pass `bodyKindPlacement={{}}` when citations must stay in stream order between text segments (inline citations).
612
612
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theoremjs/react",
3
- "version": "0.3.5-next.1007.g0511d99",
3
+ "version": "0.3.5-next.1009.g7c07ce6",
4
4
  "description": "React bindings for Theorem: headless hooks + transport, an Astryx chat UI, and a Web-standard server handler.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -60,8 +60,8 @@
60
60
  "@stylexjs/stylex": "0.19.0",
61
61
  "react": "^19.0.0",
62
62
  "react-dom": "^19.0.0",
63
- "@theoremjs/agents": "^0.3.5-next.1007.g0511d99",
64
- "@theoremjs/web": "^0.3.5-next.1007.g0511d99"
63
+ "@theoremjs/agents": "^0.3.5-next.1009.g7c07ce6",
64
+ "@theoremjs/web": "^0.3.5-next.1009.g7c07ce6"
65
65
  },
66
66
  "peerDependenciesMeta": {
67
67
  "@astryxdesign/core": {
@@ -493,9 +493,9 @@ function rowDetail(t, tool, shows, result) {
493
493
  }
494
494
  /** A failed call's row: the person's wording of its failure, and the rest in its detail. */
495
495
  function failedToolItem(t, base, tool, state, shows) {
496
- // why: A failure the server worded carries `error`; one saved before it did falls back to
497
- // the transcript's own line, never to the model's message.
498
- const said = state.failure.error ?? t('@theorem.transcript.tool_failed');
496
+ // why: The server words every failure it hands the page, in the profile's labels; the row
497
+ // shows that wording, never the model's message.
498
+ const said = state.failure.error;
499
499
  return {
500
500
  ...base,
501
501
  status: 'error',
package/ui/labels.d.ts CHANGED
@@ -293,10 +293,6 @@ export declare const THEOREM_UI_CATALOG: {
293
293
  readonly defaultMessage: "Output";
294
294
  readonly description: "A tool call's result, in its detail.";
295
295
  };
296
- readonly '@theorem.transcript.tool_failed': {
297
- readonly defaultMessage: "Failed";
298
- readonly description: "A failed tool call, on its row, when the failure carries no wording of its own.";
299
- };
300
296
  readonly '@theorem.transcript.tool_error': {
301
297
  readonly defaultMessage: "Error";
302
298
  readonly description: "A failed tool call's failure, in its detail.";
package/ui/labels.js CHANGED
@@ -277,10 +277,6 @@ export const THEOREM_UI_CATALOG = {
277
277
  defaultMessage: 'Output',
278
278
  description: "A tool call's result, in its detail.",
279
279
  },
280
- '@theorem.transcript.tool_failed': {
281
- defaultMessage: 'Failed',
282
- description: 'A failed tool call, on its row, when the failure carries no wording of its own.',
283
- },
284
280
  '@theorem.transcript.tool_error': {
285
281
  defaultMessage: 'Error',
286
282
  description: "A failed tool call's failure, in its detail.",